Feb 7, 2017 by Hugo Milan

Analytical solutions of the heat equation can be used to solve the diffusion equation because these equations are similar.

We define the diffusion equation in time-domain as:

\begin{equation} \frac{\partial C}{\partial t} = D\nabla^2 C + S \end{equation}

with the following definition of flux

\begin{equation} \bar{q} = -D\nabla C \end{equation}

where \(C\) is concentration, \(\bar{q}\) is concentration flux, \(t\) is time, \(D\) is diffusivity, and \(S\) is source.

And we define the heat equation in time-domain as:

\begin{equation} \rho c_{p}\frac{\partial T}{\partial t} = k\nabla^2 T + S \end{equation}

with the following definition of flux

\begin{equation} \bar{q} = -k\nabla T \end{equation}

where \(T\) is temperature, \(\bar{q}\) is heat flux, \(t\) is time, \(\rho\) is density, \(c_{p}\) is specific heat, \(k\) is heat conductivity, and \(S\) is source.

Note that the diffusion equation and the heat equation have the same form when \(\rho c_{p} = 1\).

Cartesian coordinates

1) One-dimension

Click here to see how to solve the problem with the following initial condition and boundary conditions:

2) Two-dimensions

Click here to see how to solve the problem with the following initial condition and boundary conditions:

3) Three-dimensions

Click here to see how to solve the problem with the following initial condition and boundary conditions:

Cylindrical coordinates

1) One-dimension

Click here to see how to solve the problem with the following initial condition and boundary conditions:

Spherical coordinates

1) One-dimension

Something.

You can go to: