Fundamentals / Numerical mathematics / Numerical partial differential equations

Numerical partial differential equations · Notation and assumptions

Read each defining equation with its assumptions and units, then follow the link to the argument that gives the equation its meaning.

Compatibility condition

\[\int_\Omega f\,dV=-\int_{\partial\Omega}\partial_nu\,dA\]

For minus the Laplacian of u equal to f with pure Neumann data, this integral condition is required. A constant still has to be fixed separately.

Derivation · Pure flux boundaries, compatibility and the missing constant

Conservative face flux

\[|C_i|\dot u_i+\sum_{f\subset\partial C_i}F_{if}=|C_i|s_i\]

Use the same face flux with opposite orientations in neighbouring cells. Interior contributions then cancel in the global balance.

Derivation · Flux differences for an elliptic balance

Courant number

\[C=|a|\Delta t/\Delta x\]

For scalar advection this compares a transported distance with a cell width. An admissible range depends on the spatial method and time integrator jointly.

Derivation · Finite volumes and moving fronts

Numerical dispersion

\[c_{\rm ph,h}=\omega_h(k)/k\]

A discretised wave can retain its amplitude and still propagate at the wrong speed. Compare phase and group errors over the actual resolved wavelengths.

Derivation · Why two finite-element wave solvers propagate the same mode at different speeds

Observed convergence order

\[p_{\rm obs}=\log(e_h/e_{h/2})/\log 2\]

Errors must refer to the same observable and norm. Cancellation, singular boundaries and a reference solution of insufficient accuracy can distort the result.

Derivation · Verification, refinement and local error

Weak form

\[\int k\nabla u\cdot\nabla v\,dV=\int fv\,dV+\text{boundary terms}\]

Integration by parts lowers the derivative requirement. Essential and natural boundary data enter the discrete system differently.

Derivation · Weak forms and finite elements