Skip to main content

MOC; diffusion, dispersion and stability

Short answer

Method of characteristics converts the PDEs into ODEs along dx/dt=plus or minus a. Diffusion is truncation-error smoothing, especially when interpolation is used for off-grid characteristic feet; dispersion is phase-error wave spreading that distorts fronts. Stability requires Courant number a dt/dx less than or equal to 1; C=1 gives no interpolation error.

What is the method of characteristics? Define diffusion, dispersion and stability.

Method of characteristics

The method of characteristics replaces the two partial differential equations of unsteady flow by ordinary differential equations along the characteristic lines dx/dt=±adx/dt=\pm a in the xx-tt plane (the C+C^+ and C−C^- lines). These are integrated by finite differences from the known time level to the next. It is widely used for water hammer.

Numerical diffusion

Smoothing of the solution (loss of amplitude) caused by the truncation error of the scheme. In the MOC it arises when the characteristic foot falls between grid points and Q,HQ,H are found by linear interpolation: sharp pressure peaks are averaged and flattened.

Numerical dispersion

Spreading of waves caused by phase errors: different frequency components travel at different speeds, so a steep wave front becomes distorted and may show spurious oscillations. It is a property of the discretisation, not of the physical pipe.

Stability

A scheme is stable if errors made at one step do not grow in later steps. For the MOC with interpolation, the Courant condition must hold:

C=a ΔtΔx≤1C=\frac{a\,\Delta t}{\Delta x}\le1

so that the characteristic foot lies within the grid interval used for interpolation. C=1C=1 (characteristics along the grid diagonal) gives no interpolation error, no numerical diffusion and the most accurate result.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computational Techniques in Civil Engineering chapter 6 questions →