Solution of diffusion equation with three independent variable (r,z,t)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
nazmulislam
Messages
21
Reaction score
0
Hi,

I want to solve the following diffusion equation:

(d/dt) C(r,z,t)=D*∇^2 C(r,z,t)

where C is the concentartion and D is the coefficient of diffusivity (constant)

with initial condition C(r,z,0)=C0 (constant)
and boundary condition dc/dr=0 at r=0; (dc/dz) at z=-L equal to (dc/dz) at z=L

where I have considered axisymmetric tube of length L.

Can anybody help to solve the above mentioned problem for the concentration C?
 
Physics news on Phys.org
Since you are using "symmetric tube" you will probably want to use "cylindrical coordinates", suppressing the [itex]\theta[/itex] dependence. In cylindrical coordinates the Laplacian is
[tex]\nabla^2 f= \frac{\partial^2 f}{\partial r^2}+ \frac{1}{r}\frac{\partial f}{\partial r}+ \frac{\partial^2 f}{\partial \theta^2}+ \frac{\partial^2 f}{\partial z^2}[/tex]

Assuming "axially symmetric" so f does not depend on [itex]\theta[/itex], that is
[tex]\nabla^2 f= \frac{\partial^2 f}{\partial r^2}+ \frac{1}{r}\frac{\partial f}{\partial r}+ \frac{\partial^2 f}{\partial z^2}[/tex]

So your equation says
[tex]\frac{\partial C}{\partial t}= D\left(\frac{\partial^2 C}{\partial r^2}+ \frac{1}{r}\frac{\partial C}{\partial r}+ \frac{\partial^2 C}{\partial z^2}\right)[/tex]

A standard method of solving that is to look for "separable solutions". That is, look for solutions of the from [itex]C(r,z,t)= R(r)Z(z)T(t)[/itex]. That will separate the equation into ordinary differential equations for R, Z, and T separately. Depending on the boundary and initial conditions, the solution can be written as a sum of such "separated" solutions.
 
  • Like
Likes   Reactions: 1 person
Thanks Hallsoflvy for your nice explanation.