Solution to diffusion equation in spherical coordinatesSolving a PDE in $1$DHeat equation in cylindrical coordinates with Neumann boundary conditionDiffusion in Spherical Coordinates with mixed BCHeat equation on a thin spherical domeEquation of a circle in spherical coordinatesDiffusion equation in spherical symmetrySolving a heat equation in spherical coordinatesShifted spherical coordinatesSeparation of variables in inhomogeneous PDE (Spherical coordinates)Analytic solution of reaction diffusion in a finite cylinderSolving a PDE in $1$D
What should I do when a paper is published similar to my PhD thesis without citation?
What would be the most expensive material to an intergalactic society?
What can I do if someone tampers with my SSH public key?
What is better: yes / no radio, or simple checkbox?
How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?
How can I portion out frozen cookie dough?
How do we create new idioms and use them in a novel?
-1 to the power of a irrational number
Is this Paypal Github SDK reference really a dangerous site?
How do spaceships determine each other's mass in space?
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Computation logic of Partway in TikZ
Smooth vector fields on a surface modulo diffeomorphisms
Is it appropriate to ask a former professor to order a book for me through an inter-library loan?
Why is there an extra space when I type "ls" on the Desktop?
Logistic regression BIC: what's the right N?
Is there a logarithm base for which the logarithm becomes an identity function?
Cycles on the torus
Doublet with ladder line vs coax w.r.t. noise
Is there stress on two letters on the word стоят
What is Tony Stark injecting into himself in Iron Man 3?
(Codewars) Linked Lists-Sorted Insert
Which country has more?
PTIJ: Sport in the Torah
Solution to diffusion equation in spherical coordinates
Solving a PDE in $1$DHeat equation in cylindrical coordinates with Neumann boundary conditionDiffusion in Spherical Coordinates with mixed BCHeat equation on a thin spherical domeEquation of a circle in spherical coordinatesDiffusion equation in spherical symmetrySolving a heat equation in spherical coordinatesShifted spherical coordinatesSeparation of variables in inhomogeneous PDE (Spherical coordinates)Analytic solution of reaction diffusion in a finite cylinderSolving a PDE in $1$D
$begingroup$
I want to solve the equation below
$$partial_t F(r,t)= fracar^d-1partial_rbig(r^d-1 partial_r F(r,t)big)$$
where $r$ denotes the radius in spherical coordinates, and $a$ is a constant. The initial and boundary conditions are:
$$F(r,t=0)=delta(r-R_0)$$
and
$$partial_r F(r,t)|_r=R_0=0$$
Does anyone have any idea of if it is solvable or not?
pde spherical-coordinates
$endgroup$
add a comment |
$begingroup$
I want to solve the equation below
$$partial_t F(r,t)= fracar^d-1partial_rbig(r^d-1 partial_r F(r,t)big)$$
where $r$ denotes the radius in spherical coordinates, and $a$ is a constant. The initial and boundary conditions are:
$$F(r,t=0)=delta(r-R_0)$$
and
$$partial_r F(r,t)|_r=R_0=0$$
Does anyone have any idea of if it is solvable or not?
pde spherical-coordinates
$endgroup$
$begingroup$
Is the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10
add a comment |
$begingroup$
I want to solve the equation below
$$partial_t F(r,t)= fracar^d-1partial_rbig(r^d-1 partial_r F(r,t)big)$$
where $r$ denotes the radius in spherical coordinates, and $a$ is a constant. The initial and boundary conditions are:
$$F(r,t=0)=delta(r-R_0)$$
and
$$partial_r F(r,t)|_r=R_0=0$$
Does anyone have any idea of if it is solvable or not?
pde spherical-coordinates
$endgroup$
I want to solve the equation below
$$partial_t F(r,t)= fracar^d-1partial_rbig(r^d-1 partial_r F(r,t)big)$$
where $r$ denotes the radius in spherical coordinates, and $a$ is a constant. The initial and boundary conditions are:
$$F(r,t=0)=delta(r-R_0)$$
and
$$partial_r F(r,t)|_r=R_0=0$$
Does anyone have any idea of if it is solvable or not?
pde spherical-coordinates
pde spherical-coordinates
edited yesterday
Rodrigo de Azevedo
13.1k41960
13.1k41960
asked Mar 1 at 11:28
Zhi RuoZhi Ruo
216
216
$begingroup$
Is the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10
add a comment |
$begingroup$
Is the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10
$begingroup$
Is the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
Is the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
By variable separation, taking $F(r,t)=G(r)T(t)$, you get
$$
T(t)=Ae^-k^2t qquad G(r)=C_1J_0left(kfracraright)+C_2Y_0left(kfracraright).
$$
We remove the singularity in the origin by taking $C_2=0$. Then, by the second boundary condition, we get
$$
J_1left(kfracR_0aright)=0
$$
That has an infinite set of solutions $u_n=fracR_0ak_n$. So, the solution can be written in the form
$$
F(r,t)=sum_n=0^infty B_n e^-fracu_n^2a^2R_0^2tJ_0left(u_nfracrR_0right)
$$
given the Fourier-Bessel series
$$
delta(r-R_0)=sum_n=0^infty B_n J_0left(u_nfracrR_0right).
$$
$endgroup$
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
add a comment |
$begingroup$
Let $F(r,t) = R(r)T(t)$ then
$$ fracT'aT = fracfrac1r(rR')'R = -lambda $$
and
begincases
T' + lambda aT = 0 \
(rR')' + lambda rR = 0
endcases
The radial equation is
$$ r^2R'' + rR' + lambda r^2R = 0 $$
of which the solution is in the form of Bessel functions
$$ R(r) = J_0(sqrtlambdar) $$
The boundary condition requires
$$ R'(r_0) = -sqrtlambdaJ_1(sqrtlambdar_0) = 0 $$
Then $sqrtlambda_nr_0 = alpha_n$ where $alpha_n$ are the zeroes of $J_1(x)$. There are no closed forms for these zeroes, but numerical approximations can be found. Rewriting the solution
$$ R_n(r) = J_0left(fracalpha_n rr_0right) $$
The general solution is then
$$ F(x,t) = sum_n=1^infty c_n J_0left(fracalpha_n rr_0right) e^-a(alpha_n/r_0)^2t$$
Next, I will prove that the eigen-solutions $R_n$ are orthogonal with respect to a weighting function. By definition we have
$$ (rR_n')' = -lambda_n rR_n $$
and all solutions satisfy $R_n'(r_0) = 0$
Through integration by parts
beginalign
int_0^r_0 (rR_n')'R_m dr &= rR_n'R_mBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_n'R_m' dr \
int_0^r_0 (rR_m')'R_n dr &= rR_m'R_nBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_m'R_n' dr
endalign
Using the definition
$$ int_0^r_0 big[(rR_n')'R_m - (rR_m')R_n big] dr = -(lambda_n-lambda_m)int_0^r_0 rR_nR_m dr = 0 $$
which follows that
$$ int_0^r_0 rR_nR_m dr = 0 $$
for $nne m$
Finally, the initial condition
$$ F(x,0) = delta(r-s) = sum_n=1^infty c_n J_0 left(fracalpha_n rr_0right) $$
where $delta(r)$ is the polar Dirac-Delta and $0<s<r_0$
Using the proven orthogonality
beginalign
int_0^r_0 rdelta(r-s) J_0left(fracalpha_m rr_0right) &= int_0^r_0sum_n=1^infty c_n rJ_0 left(fracalpha_n rr_0right)J_0left(fracalpha_m rr_0right) dr \
J_0left(fracalpha_m sr_0right) &= c_m int_0^r_0 rJ_0^2left(fracalpha_m rr_0right) dr
endalign
Edit 3/5: In spherical coordinates the Laplacian turns out to be
$$ nabla^2 F = frac1r^2fracpartial partial rleft(r^2fracpartial Fpartial rright) $$
Following this, we have the radial equation
$$ (r^2R')' + lambda r^2 R = 0 $$
This has a solution in terms of spherical Bessel functions. Once again, we only take the one that's finite at $r=0$
$$ R(r) = j_0(sqrtlambdar) = fracsin(sqrtlambdar)r $$
The B.C. gives
$$ R'(r_0) = 0 implies sqrtlambdar_0cos(sqrtlambdar_0) - sin(sqrtlambdar_0) = 0 implies sqrtlambdar_0 = tan(sqrtlambdar_0) $$
Let $alpha_n$ be the solutions to the equation $x=tan(x)$ (again ignoring $alpha_0=0$), you have the general solution
$$ F(x,t) = sum_n=1^infty fracc_nr sinleft(fracalpha_n rr_0right)e^-a(alpha_n/r_0)^2t$$
In spherical the weighting factor is $r^2$ and not $r$, so we have
$$ c_n = fracint_0^r_0 F(x,0) R_n(r) r^2 drint_0^r_0 R_n(r) r^2 dr = fracint_0^r_0F(x,0)sinleft(fracalpha_n rr_0right) r drint_0^r_0sin^2left(fracalpha_n rr_0right) dr $$
$endgroup$
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
|
show 1 more 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%2f3131319%2fsolution-to-diffusion-equation-in-spherical-coordinates%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
By variable separation, taking $F(r,t)=G(r)T(t)$, you get
$$
T(t)=Ae^-k^2t qquad G(r)=C_1J_0left(kfracraright)+C_2Y_0left(kfracraright).
$$
We remove the singularity in the origin by taking $C_2=0$. Then, by the second boundary condition, we get
$$
J_1left(kfracR_0aright)=0
$$
That has an infinite set of solutions $u_n=fracR_0ak_n$. So, the solution can be written in the form
$$
F(r,t)=sum_n=0^infty B_n e^-fracu_n^2a^2R_0^2tJ_0left(u_nfracrR_0right)
$$
given the Fourier-Bessel series
$$
delta(r-R_0)=sum_n=0^infty B_n J_0left(u_nfracrR_0right).
$$
$endgroup$
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
add a comment |
$begingroup$
By variable separation, taking $F(r,t)=G(r)T(t)$, you get
$$
T(t)=Ae^-k^2t qquad G(r)=C_1J_0left(kfracraright)+C_2Y_0left(kfracraright).
$$
We remove the singularity in the origin by taking $C_2=0$. Then, by the second boundary condition, we get
$$
J_1left(kfracR_0aright)=0
$$
That has an infinite set of solutions $u_n=fracR_0ak_n$. So, the solution can be written in the form
$$
F(r,t)=sum_n=0^infty B_n e^-fracu_n^2a^2R_0^2tJ_0left(u_nfracrR_0right)
$$
given the Fourier-Bessel series
$$
delta(r-R_0)=sum_n=0^infty B_n J_0left(u_nfracrR_0right).
$$
$endgroup$
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
add a comment |
$begingroup$
By variable separation, taking $F(r,t)=G(r)T(t)$, you get
$$
T(t)=Ae^-k^2t qquad G(r)=C_1J_0left(kfracraright)+C_2Y_0left(kfracraright).
$$
We remove the singularity in the origin by taking $C_2=0$. Then, by the second boundary condition, we get
$$
J_1left(kfracR_0aright)=0
$$
That has an infinite set of solutions $u_n=fracR_0ak_n$. So, the solution can be written in the form
$$
F(r,t)=sum_n=0^infty B_n e^-fracu_n^2a^2R_0^2tJ_0left(u_nfracrR_0right)
$$
given the Fourier-Bessel series
$$
delta(r-R_0)=sum_n=0^infty B_n J_0left(u_nfracrR_0right).
$$
$endgroup$
By variable separation, taking $F(r,t)=G(r)T(t)$, you get
$$
T(t)=Ae^-k^2t qquad G(r)=C_1J_0left(kfracraright)+C_2Y_0left(kfracraright).
$$
We remove the singularity in the origin by taking $C_2=0$. Then, by the second boundary condition, we get
$$
J_1left(kfracR_0aright)=0
$$
That has an infinite set of solutions $u_n=fracR_0ak_n$. So, the solution can be written in the form
$$
F(r,t)=sum_n=0^infty B_n e^-fracu_n^2a^2R_0^2tJ_0left(u_nfracrR_0right)
$$
given the Fourier-Bessel series
$$
delta(r-R_0)=sum_n=0^infty B_n J_0left(u_nfracrR_0right).
$$
answered Mar 1 at 15:05
JonJon
4,42711122
4,42711122
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
add a comment |
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
$begingroup$
Do you have any idea of how can one find $B_n$ for $n=0$
$endgroup$
– Zhi Ruo
Mar 5 at 11:00
add a comment |
$begingroup$
Let $F(r,t) = R(r)T(t)$ then
$$ fracT'aT = fracfrac1r(rR')'R = -lambda $$
and
begincases
T' + lambda aT = 0 \
(rR')' + lambda rR = 0
endcases
The radial equation is
$$ r^2R'' + rR' + lambda r^2R = 0 $$
of which the solution is in the form of Bessel functions
$$ R(r) = J_0(sqrtlambdar) $$
The boundary condition requires
$$ R'(r_0) = -sqrtlambdaJ_1(sqrtlambdar_0) = 0 $$
Then $sqrtlambda_nr_0 = alpha_n$ where $alpha_n$ are the zeroes of $J_1(x)$. There are no closed forms for these zeroes, but numerical approximations can be found. Rewriting the solution
$$ R_n(r) = J_0left(fracalpha_n rr_0right) $$
The general solution is then
$$ F(x,t) = sum_n=1^infty c_n J_0left(fracalpha_n rr_0right) e^-a(alpha_n/r_0)^2t$$
Next, I will prove that the eigen-solutions $R_n$ are orthogonal with respect to a weighting function. By definition we have
$$ (rR_n')' = -lambda_n rR_n $$
and all solutions satisfy $R_n'(r_0) = 0$
Through integration by parts
beginalign
int_0^r_0 (rR_n')'R_m dr &= rR_n'R_mBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_n'R_m' dr \
int_0^r_0 (rR_m')'R_n dr &= rR_m'R_nBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_m'R_n' dr
endalign
Using the definition
$$ int_0^r_0 big[(rR_n')'R_m - (rR_m')R_n big] dr = -(lambda_n-lambda_m)int_0^r_0 rR_nR_m dr = 0 $$
which follows that
$$ int_0^r_0 rR_nR_m dr = 0 $$
for $nne m$
Finally, the initial condition
$$ F(x,0) = delta(r-s) = sum_n=1^infty c_n J_0 left(fracalpha_n rr_0right) $$
where $delta(r)$ is the polar Dirac-Delta and $0<s<r_0$
Using the proven orthogonality
beginalign
int_0^r_0 rdelta(r-s) J_0left(fracalpha_m rr_0right) &= int_0^r_0sum_n=1^infty c_n rJ_0 left(fracalpha_n rr_0right)J_0left(fracalpha_m rr_0right) dr \
J_0left(fracalpha_m sr_0right) &= c_m int_0^r_0 rJ_0^2left(fracalpha_m rr_0right) dr
endalign
Edit 3/5: In spherical coordinates the Laplacian turns out to be
$$ nabla^2 F = frac1r^2fracpartial partial rleft(r^2fracpartial Fpartial rright) $$
Following this, we have the radial equation
$$ (r^2R')' + lambda r^2 R = 0 $$
This has a solution in terms of spherical Bessel functions. Once again, we only take the one that's finite at $r=0$
$$ R(r) = j_0(sqrtlambdar) = fracsin(sqrtlambdar)r $$
The B.C. gives
$$ R'(r_0) = 0 implies sqrtlambdar_0cos(sqrtlambdar_0) - sin(sqrtlambdar_0) = 0 implies sqrtlambdar_0 = tan(sqrtlambdar_0) $$
Let $alpha_n$ be the solutions to the equation $x=tan(x)$ (again ignoring $alpha_0=0$), you have the general solution
$$ F(x,t) = sum_n=1^infty fracc_nr sinleft(fracalpha_n rr_0right)e^-a(alpha_n/r_0)^2t$$
In spherical the weighting factor is $r^2$ and not $r$, so we have
$$ c_n = fracint_0^r_0 F(x,0) R_n(r) r^2 drint_0^r_0 R_n(r) r^2 dr = fracint_0^r_0F(x,0)sinleft(fracalpha_n rr_0right) r drint_0^r_0sin^2left(fracalpha_n rr_0right) dr $$
$endgroup$
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
|
show 1 more comment
$begingroup$
Let $F(r,t) = R(r)T(t)$ then
$$ fracT'aT = fracfrac1r(rR')'R = -lambda $$
and
begincases
T' + lambda aT = 0 \
(rR')' + lambda rR = 0
endcases
The radial equation is
$$ r^2R'' + rR' + lambda r^2R = 0 $$
of which the solution is in the form of Bessel functions
$$ R(r) = J_0(sqrtlambdar) $$
The boundary condition requires
$$ R'(r_0) = -sqrtlambdaJ_1(sqrtlambdar_0) = 0 $$
Then $sqrtlambda_nr_0 = alpha_n$ where $alpha_n$ are the zeroes of $J_1(x)$. There are no closed forms for these zeroes, but numerical approximations can be found. Rewriting the solution
$$ R_n(r) = J_0left(fracalpha_n rr_0right) $$
The general solution is then
$$ F(x,t) = sum_n=1^infty c_n J_0left(fracalpha_n rr_0right) e^-a(alpha_n/r_0)^2t$$
Next, I will prove that the eigen-solutions $R_n$ are orthogonal with respect to a weighting function. By definition we have
$$ (rR_n')' = -lambda_n rR_n $$
and all solutions satisfy $R_n'(r_0) = 0$
Through integration by parts
beginalign
int_0^r_0 (rR_n')'R_m dr &= rR_n'R_mBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_n'R_m' dr \
int_0^r_0 (rR_m')'R_n dr &= rR_m'R_nBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_m'R_n' dr
endalign
Using the definition
$$ int_0^r_0 big[(rR_n')'R_m - (rR_m')R_n big] dr = -(lambda_n-lambda_m)int_0^r_0 rR_nR_m dr = 0 $$
which follows that
$$ int_0^r_0 rR_nR_m dr = 0 $$
for $nne m$
Finally, the initial condition
$$ F(x,0) = delta(r-s) = sum_n=1^infty c_n J_0 left(fracalpha_n rr_0right) $$
where $delta(r)$ is the polar Dirac-Delta and $0<s<r_0$
Using the proven orthogonality
beginalign
int_0^r_0 rdelta(r-s) J_0left(fracalpha_m rr_0right) &= int_0^r_0sum_n=1^infty c_n rJ_0 left(fracalpha_n rr_0right)J_0left(fracalpha_m rr_0right) dr \
J_0left(fracalpha_m sr_0right) &= c_m int_0^r_0 rJ_0^2left(fracalpha_m rr_0right) dr
endalign
Edit 3/5: In spherical coordinates the Laplacian turns out to be
$$ nabla^2 F = frac1r^2fracpartial partial rleft(r^2fracpartial Fpartial rright) $$
Following this, we have the radial equation
$$ (r^2R')' + lambda r^2 R = 0 $$
This has a solution in terms of spherical Bessel functions. Once again, we only take the one that's finite at $r=0$
$$ R(r) = j_0(sqrtlambdar) = fracsin(sqrtlambdar)r $$
The B.C. gives
$$ R'(r_0) = 0 implies sqrtlambdar_0cos(sqrtlambdar_0) - sin(sqrtlambdar_0) = 0 implies sqrtlambdar_0 = tan(sqrtlambdar_0) $$
Let $alpha_n$ be the solutions to the equation $x=tan(x)$ (again ignoring $alpha_0=0$), you have the general solution
$$ F(x,t) = sum_n=1^infty fracc_nr sinleft(fracalpha_n rr_0right)e^-a(alpha_n/r_0)^2t$$
In spherical the weighting factor is $r^2$ and not $r$, so we have
$$ c_n = fracint_0^r_0 F(x,0) R_n(r) r^2 drint_0^r_0 R_n(r) r^2 dr = fracint_0^r_0F(x,0)sinleft(fracalpha_n rr_0right) r drint_0^r_0sin^2left(fracalpha_n rr_0right) dr $$
$endgroup$
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
|
show 1 more comment
$begingroup$
Let $F(r,t) = R(r)T(t)$ then
$$ fracT'aT = fracfrac1r(rR')'R = -lambda $$
and
begincases
T' + lambda aT = 0 \
(rR')' + lambda rR = 0
endcases
The radial equation is
$$ r^2R'' + rR' + lambda r^2R = 0 $$
of which the solution is in the form of Bessel functions
$$ R(r) = J_0(sqrtlambdar) $$
The boundary condition requires
$$ R'(r_0) = -sqrtlambdaJ_1(sqrtlambdar_0) = 0 $$
Then $sqrtlambda_nr_0 = alpha_n$ where $alpha_n$ are the zeroes of $J_1(x)$. There are no closed forms for these zeroes, but numerical approximations can be found. Rewriting the solution
$$ R_n(r) = J_0left(fracalpha_n rr_0right) $$
The general solution is then
$$ F(x,t) = sum_n=1^infty c_n J_0left(fracalpha_n rr_0right) e^-a(alpha_n/r_0)^2t$$
Next, I will prove that the eigen-solutions $R_n$ are orthogonal with respect to a weighting function. By definition we have
$$ (rR_n')' = -lambda_n rR_n $$
and all solutions satisfy $R_n'(r_0) = 0$
Through integration by parts
beginalign
int_0^r_0 (rR_n')'R_m dr &= rR_n'R_mBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_n'R_m' dr \
int_0^r_0 (rR_m')'R_n dr &= rR_m'R_nBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_m'R_n' dr
endalign
Using the definition
$$ int_0^r_0 big[(rR_n')'R_m - (rR_m')R_n big] dr = -(lambda_n-lambda_m)int_0^r_0 rR_nR_m dr = 0 $$
which follows that
$$ int_0^r_0 rR_nR_m dr = 0 $$
for $nne m$
Finally, the initial condition
$$ F(x,0) = delta(r-s) = sum_n=1^infty c_n J_0 left(fracalpha_n rr_0right) $$
where $delta(r)$ is the polar Dirac-Delta and $0<s<r_0$
Using the proven orthogonality
beginalign
int_0^r_0 rdelta(r-s) J_0left(fracalpha_m rr_0right) &= int_0^r_0sum_n=1^infty c_n rJ_0 left(fracalpha_n rr_0right)J_0left(fracalpha_m rr_0right) dr \
J_0left(fracalpha_m sr_0right) &= c_m int_0^r_0 rJ_0^2left(fracalpha_m rr_0right) dr
endalign
Edit 3/5: In spherical coordinates the Laplacian turns out to be
$$ nabla^2 F = frac1r^2fracpartial partial rleft(r^2fracpartial Fpartial rright) $$
Following this, we have the radial equation
$$ (r^2R')' + lambda r^2 R = 0 $$
This has a solution in terms of spherical Bessel functions. Once again, we only take the one that's finite at $r=0$
$$ R(r) = j_0(sqrtlambdar) = fracsin(sqrtlambdar)r $$
The B.C. gives
$$ R'(r_0) = 0 implies sqrtlambdar_0cos(sqrtlambdar_0) - sin(sqrtlambdar_0) = 0 implies sqrtlambdar_0 = tan(sqrtlambdar_0) $$
Let $alpha_n$ be the solutions to the equation $x=tan(x)$ (again ignoring $alpha_0=0$), you have the general solution
$$ F(x,t) = sum_n=1^infty fracc_nr sinleft(fracalpha_n rr_0right)e^-a(alpha_n/r_0)^2t$$
In spherical the weighting factor is $r^2$ and not $r$, so we have
$$ c_n = fracint_0^r_0 F(x,0) R_n(r) r^2 drint_0^r_0 R_n(r) r^2 dr = fracint_0^r_0F(x,0)sinleft(fracalpha_n rr_0right) r drint_0^r_0sin^2left(fracalpha_n rr_0right) dr $$
$endgroup$
Let $F(r,t) = R(r)T(t)$ then
$$ fracT'aT = fracfrac1r(rR')'R = -lambda $$
and
begincases
T' + lambda aT = 0 \
(rR')' + lambda rR = 0
endcases
The radial equation is
$$ r^2R'' + rR' + lambda r^2R = 0 $$
of which the solution is in the form of Bessel functions
$$ R(r) = J_0(sqrtlambdar) $$
The boundary condition requires
$$ R'(r_0) = -sqrtlambdaJ_1(sqrtlambdar_0) = 0 $$
Then $sqrtlambda_nr_0 = alpha_n$ where $alpha_n$ are the zeroes of $J_1(x)$. There are no closed forms for these zeroes, but numerical approximations can be found. Rewriting the solution
$$ R_n(r) = J_0left(fracalpha_n rr_0right) $$
The general solution is then
$$ F(x,t) = sum_n=1^infty c_n J_0left(fracalpha_n rr_0right) e^-a(alpha_n/r_0)^2t$$
Next, I will prove that the eigen-solutions $R_n$ are orthogonal with respect to a weighting function. By definition we have
$$ (rR_n')' = -lambda_n rR_n $$
and all solutions satisfy $R_n'(r_0) = 0$
Through integration by parts
beginalign
int_0^r_0 (rR_n')'R_m dr &= rR_n'R_mBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_n'R_m' dr \
int_0^r_0 (rR_m')'R_n dr &= rR_m'R_nBigvert_0^r_0 -int_0^r_0 rR_n'R_m' dr = -int_0^r_0 rR_m'R_n' dr
endalign
Using the definition
$$ int_0^r_0 big[(rR_n')'R_m - (rR_m')R_n big] dr = -(lambda_n-lambda_m)int_0^r_0 rR_nR_m dr = 0 $$
which follows that
$$ int_0^r_0 rR_nR_m dr = 0 $$
for $nne m$
Finally, the initial condition
$$ F(x,0) = delta(r-s) = sum_n=1^infty c_n J_0 left(fracalpha_n rr_0right) $$
where $delta(r)$ is the polar Dirac-Delta and $0<s<r_0$
Using the proven orthogonality
beginalign
int_0^r_0 rdelta(r-s) J_0left(fracalpha_m rr_0right) &= int_0^r_0sum_n=1^infty c_n rJ_0 left(fracalpha_n rr_0right)J_0left(fracalpha_m rr_0right) dr \
J_0left(fracalpha_m sr_0right) &= c_m int_0^r_0 rJ_0^2left(fracalpha_m rr_0right) dr
endalign
Edit 3/5: In spherical coordinates the Laplacian turns out to be
$$ nabla^2 F = frac1r^2fracpartial partial rleft(r^2fracpartial Fpartial rright) $$
Following this, we have the radial equation
$$ (r^2R')' + lambda r^2 R = 0 $$
This has a solution in terms of spherical Bessel functions. Once again, we only take the one that's finite at $r=0$
$$ R(r) = j_0(sqrtlambdar) = fracsin(sqrtlambdar)r $$
The B.C. gives
$$ R'(r_0) = 0 implies sqrtlambdar_0cos(sqrtlambdar_0) - sin(sqrtlambdar_0) = 0 implies sqrtlambdar_0 = tan(sqrtlambdar_0) $$
Let $alpha_n$ be the solutions to the equation $x=tan(x)$ (again ignoring $alpha_0=0$), you have the general solution
$$ F(x,t) = sum_n=1^infty fracc_nr sinleft(fracalpha_n rr_0right)e^-a(alpha_n/r_0)^2t$$
In spherical the weighting factor is $r^2$ and not $r$, so we have
$$ c_n = fracint_0^r_0 F(x,0) R_n(r) r^2 drint_0^r_0 R_n(r) r^2 dr = fracint_0^r_0F(x,0)sinleft(fracalpha_n rr_0right) r drint_0^r_0sin^2left(fracalpha_n rr_0right) dr $$
edited Mar 5 at 12:45
answered Mar 1 at 15:14
DylanDylan
13.6k31027
13.6k31027
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
|
show 1 more comment
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I'm using the definition of the Dirac-delta in polar coordinates: $$ int_Bbb R rdelta(r-s)f(r) dr = f(s) $$ or $delta(x,y) = frac1rdelta(r,phi)$. If your initial condition is just the regular delta, then adjust accordingly. But I don't think that's the case.
$endgroup$
– Dylan
Mar 1 at 15:47
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
I thought your title was typo so I didn't say anything, but yes you did. $frac1rpartial_r(rpartial_r)$ the Laplacian in cylindrical/polar coordinates. The Laplacian in spherical is $frac1r^2partial_r(r^2partial_r)$. Fortunately the eigensolutions to the spherical problem are a bit easier. It's $R(r) = fracsin(sqrtlambda r)r$
$endgroup$
– Dylan
Mar 5 at 3:05
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
What do you mean? There are no close form for $alpha_n$, you have to find them numerically.
$endgroup$
– Dylan
Mar 5 at 11:00
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
I'm confused what you're asking? I already gave an expression for $c_m$. If you want to know what it looks like in spherical, I'll add to my answer later.
$endgroup$
– Dylan
Mar 5 at 11:04
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
$begingroup$
if you integrate the initial condition inside the sphere, you will find a finite result. But if you integrate over your solution you will get zero! So I think something is not correct
$endgroup$
– Zhi Ruo
Mar 5 at 11:05
|
show 1 more 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%2f3131319%2fsolution-to-diffusion-equation-in-spherical-coordinates%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 the domain $(0,R_0)$ or $(R_0,infty)$?
$endgroup$
– Dylan
Mar 1 at 13:43
$begingroup$
0 to R_0 @Dylan
$endgroup$
– Zhi Ruo
Mar 1 at 14:07
$begingroup$
Do you need the solution to be finite? If so then the radial functions can't contain $Y_0$, only $J_0$
$endgroup$
– Dylan
Mar 1 at 14:08
$begingroup$
Yes, I need :( THen maybe my solution is completely incorrect! @Dylan I have also added another boundary condition to the problem
$endgroup$
– Zhi Ruo
Mar 1 at 14:10