Write , , and assume are sufficiently smooth for the following Taylor expansions. The symmetric half-grid diffusion consistency calculation giveswhereThe normalized local truncation error of the full update is consequentlyThe PDF prints an advection equation, , whereas this stencil approximates conservative diffusion, . For the literal printed equation the leading defect is , which generally does not vanish: the method is inconsistent, with an normalized defect.
For the intended variable-coefficient conservative diffusion equation, the first two terms cancel and . Under the parabolic step scaling , this is , while the unnormalized one-step local truncation error is . These two orders use different normalizations. With numerical stability and compatible smooth initial and boundary conditions, the intended diffusion problem has global error on a fixed time interval. Positivity and boundedness of alone do not justify the displayed Taylor expansion; coefficient regularity is also needed for that error formula.
Put . The update isUnder , all three weights are nonnegative and sum to one. With the imposed zero Dirichlet boundary conditions, this is a convex combination including any boundary values. Thus the monotone half-grid diffusion update givesDifferences of two computed solutions obey the same estimate, proving numerical stability in the discrete maximum norm, uniformly in .
There is also an L2 norm proof. The diffusion matrix is symmetric and satisfiesSince , every eigenvalue lies in . Hence the eigenvalues of lie in under the same step restriction, and the spectral theorem for real symmetric matrices gives an L2 norm contraction. These stability estimates are valid for the printed recurrence, although they cannot repair its inconsistency with the printed advection equation.
Articles by others on the same topic
There are currently no matching articles.