Solutions to the heat equation with a ring of coolant
$begingroup$
I'm interested in solutions to the heat equation for the following problem
$ dfrac{partial u}{partial t} = c^2 nabla^2 u $
on $ left{ (x,y) vert x^2+y^2 leq R^2 right} $
such that
$ D = left{ (x,y) vert x^2+y^2 = r^2 right}$
$ u(t,x,y) = h$ if $ (x,y) in D$
and $ u(0,x,y) = H$ if $(x,y) notin D$
and $dfrac{partial u}{ partial hat{n}} = 0$
If I have written this correctly, this is a PDE on an insulated disk on radius $ R $ with a ring of radius $ r $ on the interior held at a constant temperature of $ h $.
My main question is: Are there analytic methods of solving problems of this form, or are numerical solutions required. I've searched my undergrad PDE texts, but all the problems studied a PDE with a point source of heat/cold.
This is a problem of personal interest, not homework or research. References are appreciated.
ordinary-differential-equations pde mathematical-modeling boundary-value-problem
$endgroup$
add a comment |
$begingroup$
I'm interested in solutions to the heat equation for the following problem
$ dfrac{partial u}{partial t} = c^2 nabla^2 u $
on $ left{ (x,y) vert x^2+y^2 leq R^2 right} $
such that
$ D = left{ (x,y) vert x^2+y^2 = r^2 right}$
$ u(t,x,y) = h$ if $ (x,y) in D$
and $ u(0,x,y) = H$ if $(x,y) notin D$
and $dfrac{partial u}{ partial hat{n}} = 0$
If I have written this correctly, this is a PDE on an insulated disk on radius $ R $ with a ring of radius $ r $ on the interior held at a constant temperature of $ h $.
My main question is: Are there analytic methods of solving problems of this form, or are numerical solutions required. I've searched my undergrad PDE texts, but all the problems studied a PDE with a point source of heat/cold.
This is a problem of personal interest, not homework or research. References are appreciated.
ordinary-differential-equations pde mathematical-modeling boundary-value-problem
$endgroup$
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39
add a comment |
$begingroup$
I'm interested in solutions to the heat equation for the following problem
$ dfrac{partial u}{partial t} = c^2 nabla^2 u $
on $ left{ (x,y) vert x^2+y^2 leq R^2 right} $
such that
$ D = left{ (x,y) vert x^2+y^2 = r^2 right}$
$ u(t,x,y) = h$ if $ (x,y) in D$
and $ u(0,x,y) = H$ if $(x,y) notin D$
and $dfrac{partial u}{ partial hat{n}} = 0$
If I have written this correctly, this is a PDE on an insulated disk on radius $ R $ with a ring of radius $ r $ on the interior held at a constant temperature of $ h $.
My main question is: Are there analytic methods of solving problems of this form, or are numerical solutions required. I've searched my undergrad PDE texts, but all the problems studied a PDE with a point source of heat/cold.
This is a problem of personal interest, not homework or research. References are appreciated.
ordinary-differential-equations pde mathematical-modeling boundary-value-problem
$endgroup$
I'm interested in solutions to the heat equation for the following problem
$ dfrac{partial u}{partial t} = c^2 nabla^2 u $
on $ left{ (x,y) vert x^2+y^2 leq R^2 right} $
such that
$ D = left{ (x,y) vert x^2+y^2 = r^2 right}$
$ u(t,x,y) = h$ if $ (x,y) in D$
and $ u(0,x,y) = H$ if $(x,y) notin D$
and $dfrac{partial u}{ partial hat{n}} = 0$
If I have written this correctly, this is a PDE on an insulated disk on radius $ R $ with a ring of radius $ r $ on the interior held at a constant temperature of $ h $.
My main question is: Are there analytic methods of solving problems of this form, or are numerical solutions required. I've searched my undergrad PDE texts, but all the problems studied a PDE with a point source of heat/cold.
This is a problem of personal interest, not homework or research. References are appreciated.
ordinary-differential-equations pde mathematical-modeling boundary-value-problem
ordinary-differential-equations pde mathematical-modeling boundary-value-problem
edited Dec 21 '18 at 14:52
Dylan
13.7k31027
13.7k31027
asked Dec 16 '18 at 5:36
Demetri PananosDemetri Pananos
1,18911125
1,18911125
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39
add a comment |
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
First convert to polar coordinates $(x,y,t) to (rho,phi,t) $. The equation becomes
$$ frac{1}{c^2}u_t = u_{rhorho} + frac{1}{rho}u_{rho} + frac{1}{rho^2}u_{phiphi} $$
Observe that $u = h$ is a steady-state solution satisfying the two boundary conditions, so we can write $u = h + v$, where $v$ also satisfies the heat equation but is homogeneous on the boundary
$$ begin{align} v(r,phi,t) &= 0 \ v_rho(R,phi, t) &= 0 \ v(rho,phi,0) &= H(rho,phi) - h equiv f(rho,phi) end{align} $$
Now use separation of variables. Let $v(rho,phi,t) = P(rho)Phi(phi)T(t)$, then
$$ frac{P''}{P} + frac{P'}{rho P} + frac{Phi''}{rho^2 Phi} = frac{T'}{c^2 T} = -lambda^2 $$
which gives $T(t) = e^{-c^2lambda^2t}$. Next, separate again
$$ frac{rho^2P''}{P} + frac{rho P'}{P} + lambda^2 rho^2 = -frac{Phi''}{Phi} = n^2 $$
Here, $n$ must be an integer to satisfy the periodicity condition $Phi(phi + 2pi) = Phi(phi)$. Hence, $Phi(phi) = Dcos(nphi) + Esin(nphi)$
For the radial function
$$ rho^2 P'' + rho P' + (lambda^2rho^2 - n^2)P = 0 $$
The substitution $z=lambdarho$ leads to the Bessel equation, thus we can write
$$ P(rho) = A J_n(lambda rho) + B Y_n(lambda rho) $$
As stated in the comments, you have two separate problems due to the boundary condition at $rho = r$. The solution on the smaller disk $rho in (0,r)$ is finite at the origin, so $B=0$ and
$$ P_{n,m}(rho) = J_n(lambda_{n,m} rho) $$
where the eigenvalue $lambda_{n,m}$ is such that $P(r) = J_n(lambda_{n,m} r) = 0$. Here $m$ refer to the order of the zeroes of $J_n$, which can be found numerically.
The solution on the annulus $rho in (r,R)$ has different eigenvalues, so I'll call it $mu$ to avoid confusion. The radial function needs to satisfy $P(r) = P'(R) = 0$ therefore
begin{align}
A J_n(mu r) + B Y_n(mu r) &= 0 \
A J_n'(mu R) + B Y_n'(mu R) &= 0
end{align}
Eliminating either $A$ or $B$ leads to
$$ J_n(mu r) Y_n'(mu R) - Y_n(mu r)J_n'(mu R) = 0 $$
This is equation for $mu$ that can be solved numerically. Once again, there are infinitely many solutions, so $mu = mu_{n,m}$. The derivatives of the Bessel function are given by the recurrence relations:
begin{cases} J_0'(x) = -J_1(x) \ J_n'(x) = dfrac{J_{n-1}(x) - J_{n+1}(x)}{2} end{cases}
Then the radial function is
$$ P_{n,m}(rho) = Y_n(mu_{n,m} r) J_n(mu_{n,m} rho) - J_n(mu_{n,m} r) Y_n (mu_{n,m} rho) $$
We can assemble the general solution
$$ v(rho,phi,t) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big]e^{-c^2lambda_{n,m}^2 t} $$
Note that the function is piece-wise with different eigenvalues.
Matching the initial condition gives
$$ u(rho,phi,0) = f(rho,phi) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big] $$
You can use orthogonality to find the constants. For example
$$ D_{n,m} = dfrac{displaystyle int_0^{2pi}int_0^r f(rho,phi) J_n(lambda_{n,m} rho) cos(nphi) rho drho dphi}{displaystyle int_0^r rho J_n^2(lambda_{n,m}rho) drho int_0^{2pi} cos^2 (nphi) dphi} $$
$endgroup$
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3042274%2fsolutions-to-the-heat-equation-with-a-ring-of-coolant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
First convert to polar coordinates $(x,y,t) to (rho,phi,t) $. The equation becomes
$$ frac{1}{c^2}u_t = u_{rhorho} + frac{1}{rho}u_{rho} + frac{1}{rho^2}u_{phiphi} $$
Observe that $u = h$ is a steady-state solution satisfying the two boundary conditions, so we can write $u = h + v$, where $v$ also satisfies the heat equation but is homogeneous on the boundary
$$ begin{align} v(r,phi,t) &= 0 \ v_rho(R,phi, t) &= 0 \ v(rho,phi,0) &= H(rho,phi) - h equiv f(rho,phi) end{align} $$
Now use separation of variables. Let $v(rho,phi,t) = P(rho)Phi(phi)T(t)$, then
$$ frac{P''}{P} + frac{P'}{rho P} + frac{Phi''}{rho^2 Phi} = frac{T'}{c^2 T} = -lambda^2 $$
which gives $T(t) = e^{-c^2lambda^2t}$. Next, separate again
$$ frac{rho^2P''}{P} + frac{rho P'}{P} + lambda^2 rho^2 = -frac{Phi''}{Phi} = n^2 $$
Here, $n$ must be an integer to satisfy the periodicity condition $Phi(phi + 2pi) = Phi(phi)$. Hence, $Phi(phi) = Dcos(nphi) + Esin(nphi)$
For the radial function
$$ rho^2 P'' + rho P' + (lambda^2rho^2 - n^2)P = 0 $$
The substitution $z=lambdarho$ leads to the Bessel equation, thus we can write
$$ P(rho) = A J_n(lambda rho) + B Y_n(lambda rho) $$
As stated in the comments, you have two separate problems due to the boundary condition at $rho = r$. The solution on the smaller disk $rho in (0,r)$ is finite at the origin, so $B=0$ and
$$ P_{n,m}(rho) = J_n(lambda_{n,m} rho) $$
where the eigenvalue $lambda_{n,m}$ is such that $P(r) = J_n(lambda_{n,m} r) = 0$. Here $m$ refer to the order of the zeroes of $J_n$, which can be found numerically.
The solution on the annulus $rho in (r,R)$ has different eigenvalues, so I'll call it $mu$ to avoid confusion. The radial function needs to satisfy $P(r) = P'(R) = 0$ therefore
begin{align}
A J_n(mu r) + B Y_n(mu r) &= 0 \
A J_n'(mu R) + B Y_n'(mu R) &= 0
end{align}
Eliminating either $A$ or $B$ leads to
$$ J_n(mu r) Y_n'(mu R) - Y_n(mu r)J_n'(mu R) = 0 $$
This is equation for $mu$ that can be solved numerically. Once again, there are infinitely many solutions, so $mu = mu_{n,m}$. The derivatives of the Bessel function are given by the recurrence relations:
begin{cases} J_0'(x) = -J_1(x) \ J_n'(x) = dfrac{J_{n-1}(x) - J_{n+1}(x)}{2} end{cases}
Then the radial function is
$$ P_{n,m}(rho) = Y_n(mu_{n,m} r) J_n(mu_{n,m} rho) - J_n(mu_{n,m} r) Y_n (mu_{n,m} rho) $$
We can assemble the general solution
$$ v(rho,phi,t) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big]e^{-c^2lambda_{n,m}^2 t} $$
Note that the function is piece-wise with different eigenvalues.
Matching the initial condition gives
$$ u(rho,phi,0) = f(rho,phi) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big] $$
You can use orthogonality to find the constants. For example
$$ D_{n,m} = dfrac{displaystyle int_0^{2pi}int_0^r f(rho,phi) J_n(lambda_{n,m} rho) cos(nphi) rho drho dphi}{displaystyle int_0^r rho J_n^2(lambda_{n,m}rho) drho int_0^{2pi} cos^2 (nphi) dphi} $$
$endgroup$
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
add a comment |
$begingroup$
First convert to polar coordinates $(x,y,t) to (rho,phi,t) $. The equation becomes
$$ frac{1}{c^2}u_t = u_{rhorho} + frac{1}{rho}u_{rho} + frac{1}{rho^2}u_{phiphi} $$
Observe that $u = h$ is a steady-state solution satisfying the two boundary conditions, so we can write $u = h + v$, where $v$ also satisfies the heat equation but is homogeneous on the boundary
$$ begin{align} v(r,phi,t) &= 0 \ v_rho(R,phi, t) &= 0 \ v(rho,phi,0) &= H(rho,phi) - h equiv f(rho,phi) end{align} $$
Now use separation of variables. Let $v(rho,phi,t) = P(rho)Phi(phi)T(t)$, then
$$ frac{P''}{P} + frac{P'}{rho P} + frac{Phi''}{rho^2 Phi} = frac{T'}{c^2 T} = -lambda^2 $$
which gives $T(t) = e^{-c^2lambda^2t}$. Next, separate again
$$ frac{rho^2P''}{P} + frac{rho P'}{P} + lambda^2 rho^2 = -frac{Phi''}{Phi} = n^2 $$
Here, $n$ must be an integer to satisfy the periodicity condition $Phi(phi + 2pi) = Phi(phi)$. Hence, $Phi(phi) = Dcos(nphi) + Esin(nphi)$
For the radial function
$$ rho^2 P'' + rho P' + (lambda^2rho^2 - n^2)P = 0 $$
The substitution $z=lambdarho$ leads to the Bessel equation, thus we can write
$$ P(rho) = A J_n(lambda rho) + B Y_n(lambda rho) $$
As stated in the comments, you have two separate problems due to the boundary condition at $rho = r$. The solution on the smaller disk $rho in (0,r)$ is finite at the origin, so $B=0$ and
$$ P_{n,m}(rho) = J_n(lambda_{n,m} rho) $$
where the eigenvalue $lambda_{n,m}$ is such that $P(r) = J_n(lambda_{n,m} r) = 0$. Here $m$ refer to the order of the zeroes of $J_n$, which can be found numerically.
The solution on the annulus $rho in (r,R)$ has different eigenvalues, so I'll call it $mu$ to avoid confusion. The radial function needs to satisfy $P(r) = P'(R) = 0$ therefore
begin{align}
A J_n(mu r) + B Y_n(mu r) &= 0 \
A J_n'(mu R) + B Y_n'(mu R) &= 0
end{align}
Eliminating either $A$ or $B$ leads to
$$ J_n(mu r) Y_n'(mu R) - Y_n(mu r)J_n'(mu R) = 0 $$
This is equation for $mu$ that can be solved numerically. Once again, there are infinitely many solutions, so $mu = mu_{n,m}$. The derivatives of the Bessel function are given by the recurrence relations:
begin{cases} J_0'(x) = -J_1(x) \ J_n'(x) = dfrac{J_{n-1}(x) - J_{n+1}(x)}{2} end{cases}
Then the radial function is
$$ P_{n,m}(rho) = Y_n(mu_{n,m} r) J_n(mu_{n,m} rho) - J_n(mu_{n,m} r) Y_n (mu_{n,m} rho) $$
We can assemble the general solution
$$ v(rho,phi,t) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big]e^{-c^2lambda_{n,m}^2 t} $$
Note that the function is piece-wise with different eigenvalues.
Matching the initial condition gives
$$ u(rho,phi,0) = f(rho,phi) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big] $$
You can use orthogonality to find the constants. For example
$$ D_{n,m} = dfrac{displaystyle int_0^{2pi}int_0^r f(rho,phi) J_n(lambda_{n,m} rho) cos(nphi) rho drho dphi}{displaystyle int_0^r rho J_n^2(lambda_{n,m}rho) drho int_0^{2pi} cos^2 (nphi) dphi} $$
$endgroup$
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
add a comment |
$begingroup$
First convert to polar coordinates $(x,y,t) to (rho,phi,t) $. The equation becomes
$$ frac{1}{c^2}u_t = u_{rhorho} + frac{1}{rho}u_{rho} + frac{1}{rho^2}u_{phiphi} $$
Observe that $u = h$ is a steady-state solution satisfying the two boundary conditions, so we can write $u = h + v$, where $v$ also satisfies the heat equation but is homogeneous on the boundary
$$ begin{align} v(r,phi,t) &= 0 \ v_rho(R,phi, t) &= 0 \ v(rho,phi,0) &= H(rho,phi) - h equiv f(rho,phi) end{align} $$
Now use separation of variables. Let $v(rho,phi,t) = P(rho)Phi(phi)T(t)$, then
$$ frac{P''}{P} + frac{P'}{rho P} + frac{Phi''}{rho^2 Phi} = frac{T'}{c^2 T} = -lambda^2 $$
which gives $T(t) = e^{-c^2lambda^2t}$. Next, separate again
$$ frac{rho^2P''}{P} + frac{rho P'}{P} + lambda^2 rho^2 = -frac{Phi''}{Phi} = n^2 $$
Here, $n$ must be an integer to satisfy the periodicity condition $Phi(phi + 2pi) = Phi(phi)$. Hence, $Phi(phi) = Dcos(nphi) + Esin(nphi)$
For the radial function
$$ rho^2 P'' + rho P' + (lambda^2rho^2 - n^2)P = 0 $$
The substitution $z=lambdarho$ leads to the Bessel equation, thus we can write
$$ P(rho) = A J_n(lambda rho) + B Y_n(lambda rho) $$
As stated in the comments, you have two separate problems due to the boundary condition at $rho = r$. The solution on the smaller disk $rho in (0,r)$ is finite at the origin, so $B=0$ and
$$ P_{n,m}(rho) = J_n(lambda_{n,m} rho) $$
where the eigenvalue $lambda_{n,m}$ is such that $P(r) = J_n(lambda_{n,m} r) = 0$. Here $m$ refer to the order of the zeroes of $J_n$, which can be found numerically.
The solution on the annulus $rho in (r,R)$ has different eigenvalues, so I'll call it $mu$ to avoid confusion. The radial function needs to satisfy $P(r) = P'(R) = 0$ therefore
begin{align}
A J_n(mu r) + B Y_n(mu r) &= 0 \
A J_n'(mu R) + B Y_n'(mu R) &= 0
end{align}
Eliminating either $A$ or $B$ leads to
$$ J_n(mu r) Y_n'(mu R) - Y_n(mu r)J_n'(mu R) = 0 $$
This is equation for $mu$ that can be solved numerically. Once again, there are infinitely many solutions, so $mu = mu_{n,m}$. The derivatives of the Bessel function are given by the recurrence relations:
begin{cases} J_0'(x) = -J_1(x) \ J_n'(x) = dfrac{J_{n-1}(x) - J_{n+1}(x)}{2} end{cases}
Then the radial function is
$$ P_{n,m}(rho) = Y_n(mu_{n,m} r) J_n(mu_{n,m} rho) - J_n(mu_{n,m} r) Y_n (mu_{n,m} rho) $$
We can assemble the general solution
$$ v(rho,phi,t) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big]e^{-c^2lambda_{n,m}^2 t} $$
Note that the function is piece-wise with different eigenvalues.
Matching the initial condition gives
$$ u(rho,phi,0) = f(rho,phi) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big] $$
You can use orthogonality to find the constants. For example
$$ D_{n,m} = dfrac{displaystyle int_0^{2pi}int_0^r f(rho,phi) J_n(lambda_{n,m} rho) cos(nphi) rho drho dphi}{displaystyle int_0^r rho J_n^2(lambda_{n,m}rho) drho int_0^{2pi} cos^2 (nphi) dphi} $$
$endgroup$
First convert to polar coordinates $(x,y,t) to (rho,phi,t) $. The equation becomes
$$ frac{1}{c^2}u_t = u_{rhorho} + frac{1}{rho}u_{rho} + frac{1}{rho^2}u_{phiphi} $$
Observe that $u = h$ is a steady-state solution satisfying the two boundary conditions, so we can write $u = h + v$, where $v$ also satisfies the heat equation but is homogeneous on the boundary
$$ begin{align} v(r,phi,t) &= 0 \ v_rho(R,phi, t) &= 0 \ v(rho,phi,0) &= H(rho,phi) - h equiv f(rho,phi) end{align} $$
Now use separation of variables. Let $v(rho,phi,t) = P(rho)Phi(phi)T(t)$, then
$$ frac{P''}{P} + frac{P'}{rho P} + frac{Phi''}{rho^2 Phi} = frac{T'}{c^2 T} = -lambda^2 $$
which gives $T(t) = e^{-c^2lambda^2t}$. Next, separate again
$$ frac{rho^2P''}{P} + frac{rho P'}{P} + lambda^2 rho^2 = -frac{Phi''}{Phi} = n^2 $$
Here, $n$ must be an integer to satisfy the periodicity condition $Phi(phi + 2pi) = Phi(phi)$. Hence, $Phi(phi) = Dcos(nphi) + Esin(nphi)$
For the radial function
$$ rho^2 P'' + rho P' + (lambda^2rho^2 - n^2)P = 0 $$
The substitution $z=lambdarho$ leads to the Bessel equation, thus we can write
$$ P(rho) = A J_n(lambda rho) + B Y_n(lambda rho) $$
As stated in the comments, you have two separate problems due to the boundary condition at $rho = r$. The solution on the smaller disk $rho in (0,r)$ is finite at the origin, so $B=0$ and
$$ P_{n,m}(rho) = J_n(lambda_{n,m} rho) $$
where the eigenvalue $lambda_{n,m}$ is such that $P(r) = J_n(lambda_{n,m} r) = 0$. Here $m$ refer to the order of the zeroes of $J_n$, which can be found numerically.
The solution on the annulus $rho in (r,R)$ has different eigenvalues, so I'll call it $mu$ to avoid confusion. The radial function needs to satisfy $P(r) = P'(R) = 0$ therefore
begin{align}
A J_n(mu r) + B Y_n(mu r) &= 0 \
A J_n'(mu R) + B Y_n'(mu R) &= 0
end{align}
Eliminating either $A$ or $B$ leads to
$$ J_n(mu r) Y_n'(mu R) - Y_n(mu r)J_n'(mu R) = 0 $$
This is equation for $mu$ that can be solved numerically. Once again, there are infinitely many solutions, so $mu = mu_{n,m}$. The derivatives of the Bessel function are given by the recurrence relations:
begin{cases} J_0'(x) = -J_1(x) \ J_n'(x) = dfrac{J_{n-1}(x) - J_{n+1}(x)}{2} end{cases}
Then the radial function is
$$ P_{n,m}(rho) = Y_n(mu_{n,m} r) J_n(mu_{n,m} rho) - J_n(mu_{n,m} r) Y_n (mu_{n,m} rho) $$
We can assemble the general solution
$$ v(rho,phi,t) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big]e^{-c^2lambda_{n,m}^2 t} $$
Note that the function is piece-wise with different eigenvalues.
Matching the initial condition gives
$$ u(rho,phi,0) = f(rho,phi) = sum_{n=0}^inftysum_{m=0}^infty P_{n,m}(rho) big[D_{n,m} cos(nphi) + E_{n,m}sin(nphi)big] $$
You can use orthogonality to find the constants. For example
$$ D_{n,m} = dfrac{displaystyle int_0^{2pi}int_0^r f(rho,phi) J_n(lambda_{n,m} rho) cos(nphi) rho drho dphi}{displaystyle int_0^r rho J_n^2(lambda_{n,m}rho) drho int_0^{2pi} cos^2 (nphi) dphi} $$
edited Dec 16 '18 at 17:56
answered Dec 16 '18 at 17:19
DylanDylan
13.7k31027
13.7k31027
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
add a comment |
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
$begingroup$
Incredible answer, thank you.
$endgroup$
– Demetri Pananos
Dec 16 '18 at 18:31
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3042274%2fsolutions-to-the-heat-equation-with-a-ring-of-coolant%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Is $H$ constant?
$endgroup$
– caverac
Dec 16 '18 at 5:49
$begingroup$
Since there is no flux across the boundary $x^2+y^2=r^2$, I imagine that you can solve two separate problems: one is for the annulus $r^2 leq x^2+y^2 leq R^2$ and the other for the disc $0<x^2+y^2 leq r^2$. Separation of variables might be a good method to use since you have simple geometries. Since your domain is 2D, your solution should be logarithmic with respect to the distance from the origin.
$endgroup$
– D.B.
Dec 16 '18 at 6:05
$begingroup$
There is something off about the second boundary condition for $H$. Not being in $D$ implies that that temperature is held on $mathbb{R}^2 - D$ I think he meant to write a different formulation if the domain of interest is only on the disk.
$endgroup$
– DaveNine
Dec 16 '18 at 18:39