Parabolic PDEs include a time-dependent component – transient effects up to steady-state response. Let us continue considering the heated plate example introduced in Parabolic Equations. Rather than examine the steady-state case, the present balance also considers the amount of heat stored in the element over a unit time period .

The balance expression for parabolic equations also considers the amount of heat stored in the element over a unit time period , such that we have .

Dividing by the volume of the element () and gives:

Taking the limit yields

We can find an expression for based on Fourier’s law of heat conduction, we have:

Here is heat flux in the direction of the dimension, is the coefficient of thermal conductivity, is the density of the material. is the heat capacity of the material.

Substituting this into our gives

We are solving the equation with respect to two variables, position and time .

For position, we can use the same centered finite divided-difference expression that we used in Elliptic Equations:

For time, we can use forward finite divided difference:

Substituting:

Solving:

where .

This is applicable to all interior nodes. It then provides an explicit means to compute values at each node for a future time based on the present values at the node and its neighbors.

The grid below is used for the finite-difference solution of parabolic PDEs in two independent variables such as the heat-conduction equation. Note that grid is open-ended in time.

Convergence and Stability

  • Convergence means that as and approach zero, the results of the finite-difference technique approach the true solution.
  • Stability means that errors at any stage of the computation are not amplified but are attenuated as the computation progresses

Note that finite difference methods propagate the solutions from boundary conditions inwards, so not all points that should affect the solution are included. We can address this through implicit equations, but with added complexity.

Implicit methods to solve PDEs are unconditionally stable, but do incur a penalty for calculation time.

  • For explicit methods, we approximate the spatial derivative at time level . Recall above that when we substituted this approximation into the PDE, we obtained a difference equation with a single unknown
  • For implicit methods, the spatial derivative is approximated, for example something like . When this relationship is substituted into the original PDE, the resulting difference equation contains several unknowns. Thus, it cannot be solved explicitly by simple algebraic rearrangement. Instead, the entire system of equations must be solved simultaneously. This is possible because, along with the boundary conditions, the implicit formulations result in a set of linear algebraic equations with the same number of unknowns. Thus, the method reduces to the solution of a set of simultaneous equations at each point in time.

Crank-Nicholson

The Crank-Nicolson method provides an alternative implicit scheme that is second-order accurate in both space and time. To provide this accuracy, difference approximations are developed at the midpoint of the time increment. To do this, the temporal first derivative can be approximated at by

The second derivative in space can be determined at the midpoint by averaging the difference approximations at the beginning () and at the end () of the time increment:

Then, we substitute these into to solve.