Solution To The Diffusion Equation: Ole Witt-Hansen 2018
Solution To The Diffusion Equation: Ole Witt-Hansen 2018
Solution To The Diffusion Equation: Ole Witt-Hansen 2018
1
(1.1) 2 0
t
2 2 2 k
2 2 2 2 is the Laplace operator, and , where k is the heat conductivity, c is
x y z c
the specific heat and ρ is the density. The connection between the heat conducting vector h and
the temperature gradient is:
(1.2) h kT
(1.3) h
surface
dA cTdV
t volume
If we use Gauss’ law on the first integral, and using
that h kT , we have:
2
(1.4) dA
h
surface
h dV k
volume
TdV
volume
2
k
volume
TdV =
t cTdV
volume
Since this equation must hold for all volumes, it must also hold for the infinitesimal volume dV,
therefore:
T c T 1 T
(1.5) k 2T c or 2T 2T
t k t t
Our aim is then to solve this equation in some special cases, with radial symmetry.
1 1 2 1
(1.7) 2 (r )
t r r
2
r t
1 1 1
(1.8) ( 2 ) ( 2 )
2
k t
2
t
There are (as far as I know) no general methods to solve this partial differential equation but 35
years ago, when I was occupied with this equation, analyzing geothermal heating pipes.
I made my way by an educated guess to find the solution:
2
0
(1.8) ( , t) 3
e 4t
(4t ) 2
1 2 1 3 1 1 4
( ) ( ) (3 2
)
2 2 2t 2 2t 2t
So
1 2 2 3
( ) ( )
2 4t 2 2t
And
2 2
0 1 0 2 2 3
32 e 4t
e 4t
( )( )
t 3
t 3
4t 2
4t 2
2t
(4t ) 2
(4t ) 2
r
The solution to (1.7) is then, apart from a constant, obtained by substituting in (1.8).
k
r2
And since e 4t
dr 4t , we write the expression for dimensional and normalization purposes
0
2
r 0 r0t0 4rt
(1.9) ( , t) e
t 4t
Solving the diffusion equation 3
r
We notice that if r 0 then ( , t ) 0 for t 0 . This is what we may expect if a heat is
released at r = 0 and t = 0.
rt
But (0, t ) 0 0 0 has a pole at t = 0, so a more correct description is:
t 4t
r2
r rt
( , t ) 0 0 0 e 4t for t 0 and ( r , 0) ( r )
t 4t
0 for r 0
Where (r ) is the Dirac delta function.
for r 0
1
(1.10) ( , , )
r r z
And the Laplace operator can be shown to be. (See e.g. www.olewitthansen.dk vector analysis).
1 2 1 2
(1.11) 2 ( r )
r 2 2 r r r z 2
If the field ψ = ψ(r,t) depends neither on θ nor on z, the Laplacian reduces to:
1
(1.12) 2 (r )
r r r
1
And the diffusion equation 2 reduces to
t
1 1
(1.13) (r )
r r r t
As we did in the spherical symmetric case, we eliminate the factor κ, by the substitution r ,
which results in the equation:
1
(1.14) ( )
t
Solving the diffusion equation 4
Neither this equation can be solved by traditional methods, but an educated guess, suggests:
2
1
(1.15) ( , t ) e 4t
t
Proof:
2 2 2
1 2 4t 1 2 2 4 t 2 4t
( )e => ( )e 2 e
d t 4t d t 4t 2t
So
2 2 2 2
1 1 2 1 2 1 2
( ) ( 2 e 4 t ) ( 2 e 4t 2 ( )e 4 t 2 ( 1)e 4 t
2t t 2t 2t t 4t
And
2 2 2 2
1 4t 1 1 2 4t 1 2
( e ) 2 e 4t e 2 ( 1)e 4t
t t t t t 4t 2
t 4t
2
0 2
(1.16) (, t) 0 e 4t
t
To obtain the solution to the original diffusion equation we reverse the substitution r , and
we find, when adding two constants.
2
r 0 r0 2 4rt
(1.17) ( , t) e
t
2 r2
r Tr
T( , t ) 0 0 e 4t
t
r2
Since e
0
4t
dr 4t we shall write the equation for normalization purposes as:
2 r2
r Tr
T( , t ) 0 0 e 4t
4 t
r
As in the spherical symmetric case, we have for r 0, T ( , t ) 0 for t 0 ,
2
But T ( 0 , t ) T 0 r0 has a pole at t = 0, so the correct description is:
4 t
2 r2
r Tr
T( , t ) 0 0 e 4t for t 0 and T ( r ,0 ) ( r )
4 t
Solving the diffusion equation 5
Even having found the mathematical solutions to the diffusion equation, it is not so easy to apply it
to the boundary conditions of concrete physical examples.
2 2 1
k TdV
volume
wdV 0
volume
volume
TdV wdV
k volume
or
w
(2.2) 2T
k
This is formally the same equation as Gauss’ law for the electric field of a charge distribution of
charge (Maxwell’s 1. equation): 2 E , and for spherical symmetric heat source W, placed in
0
the centre of a sphere, it has the solution.
1 W
(2.3) T
4k r 2
By the same token, we may find the temperature distribution for a cylindrical symmetric heat
source:
1 W
(2.4) T
2k r