Skip to content
← Series

Numerical Methods

Discretization, meshes, boundary conditions and pressure–velocity coupling: the numerical backbone of a CFD solver.

31 parts · 2026.03.08 – 2026.10.14

  1. 01

    FDM discretizes the operator, FEM projects onto a basis, and FVM balances face fluxes. That choice fixes conservation, shocks, and unstructured meshes.

    2026.03.09

  2. 02

    In 3D the degrees of freedom at K = 1, 2, 3 are 4, 10, and 20. Halving the mesh spacing should cut the error by 4, 8, and 16, not by 2.

    2026.04.20

  3. 03

    Three HP, five stages: the quiz runs from the CFL condition through Godunov limiters and Riemann problems to Abgrall's multiphase pressure fix.

    2026.03.08

  4. 04

    At γ = 1.4 the choke ratio is 0.5283 and the M = 2 area ratio is about 1.6875. Back pressure between those two parks a normal shock inside the nozzle.

    2026.03.11

  5. 05

    On a 60-unknown Poisson system Jacobi is still at residual 2.11e-2 after 2000 sweeps, while CG reaches 1.87e-13 in exactly 60 steps.

    2026.04.22

  6. 06

    Ten million cells and half a million walls mean five trillion distance checks. Fast Marching solves that wall distance as an Eikonal problem in O(N log N).

    2026.04.22

  7. 07

    At CFL 0.5 and 500 steps, Lax–Wendroff overshoots a unit step by 0.181. minmod, van Leer, and MC stay at zero overshoot on the same pulse.

    2026.04.24

  8. 08

    A 10 percent bump in one smoothness indicator already shifts WENO-JS weights. TENO's 0/1 cutoff does not flip, so the fifth-order linear stencil stays on.

    2026.04.25

  9. 09

    At 28 m depth the explicit limit is 0.2 s. Keeping only the free-surface gradient implicit is what lets a five-minute step survive the estuary.

    2026.04.26

  10. 10

    Level-7 uniform needs 128 cells; one Gaussian keeps 41 leaves, about 32 percent. A quadtree, slope threshold tau, and a 2:1 rule decide which cells split.

    2026.04.27

  11. 11

    A sine of amplitude 0.35 and wavenumber 1 breaks at t* ≈ 0.455 when characteristics cross, and the weak solution cuts that fold with one line.

    2026.05.01

  12. 12

    Deng (2018) builds MUSCL and THINC in every cell, then keeps the one with the smaller jump on the two faces. The rule is called BVD.

    2026.05.02

  13. 13

    At r=0.6 explicit diffusion reaches 1e12 in 60 steps. One Thomas sweep keeps the implicit update finite at that same r, and still finite at r=2.

    2026.05.04

  14. 14

    At c=0.8 the worst FTCS mode grows by about 1.28 each step. Upwind artificial viscosity drops to zero only when c equals 1.

    2026.05.08

  15. 15

    At skew 0.9 the printed Green–Gauss error is 31% and least squares is 9%. Their ratio stays near 3.4 from the symmetric ring onward.

    2026.05.11

  16. 16

    Mis-discretize 2P/r and a quiet star will leak gas out of its center.

    2026.05.22

  17. 17

    N=60 and 8 hull points fix the triangle count at 2N-2-h=110. Four cocircular corners make the in-circle determinant zero, so either diagonal is legal.

    2026.05.27

  18. 18

    A six-hour LES drifted 0.3 bar because the outlet reflected sound. NSCBC sets the incoming wave with σ near 0.25 so acoustics leave and the mean holds.

    2026.05.29

  19. 19

    With h=0.07, order 2 and 25 scattered points, the Taylor MLS derivative of sin(2πx) has RMSE 0.21, about 3% of the 2π amplitude.

    2026.06.01

  20. 20

    On a wavy mesh the Jacobian runs from 0.62 to 1.38 and stays positive. Write the flux as y_η and the freestream residual falls to about 1e-16.

    2026.06.17

  21. 21

    The face-area vector splits into an implicit piece and a deferred correction. Minimum correction hits ratio 1 at 45 degrees and stops contracting.

    2026.07.01

  22. 22

    After the predictor the divergence sits near 1e-2. One FFT projection drops it to 1e-13, and the pressure Poisson still takes most of the step.

    2026.07.03

  23. 23

    A second-order face value on an unstructured cell can leave the neighbor range. Barth–Jespersen clips that slope; Venkatakrishnan rounds the clip with K.

    2026.07.06

  24. 24

    Twelve points become 17 triangles. A sliced airfoil edge is not restored by the empty circumcircle; a pipe or the front has to take that edge back.

    2026.07.08

  25. 25

    On a 48-cell periodic line the naive stencil keeps a checkerboard of 0.80, while Rhie-Chow drives the same sawtooth down to 3.1e-16.

    2026.07.22

  26. 26

    Of 4408 valid models, tetgen dies on about 8.5 percent, and 2 of those failures remain even with infinite-precision arithmetic.

    2026.07.29

  27. 27

    Pipe flow rate rides on the fourth power of the diameter. The same exponent explains a mesh with the wall half a cell off and Poiseuille's 1838 tubes.

    2026.09.01

  28. 28

    Scalar dissipation rose 202-fold while peak temperature fell only 13%, then the burning solution vanished. Python pins that quench limit.

    2026.09.22

  29. 29

    Pairing BDF2 with convection at N^n drops the scheme to first order and inflates the error. The extrapolation 2N^n − N^(n−1) restores second order.

    2026.10.12

  30. 30

    Cell-center Jacobian volumes make ∂x/∂x miss 1 on a wavy FVM grid. The diagonal cross product matches straight faces, so a linear field stays exact.

    2026.10.13

  31. 31

    In SIMPLE, cutting α_u from 0.7 to 0.3 changes the converged velocity. Standard Rhie–Chow keeps α_u on the damping term; Majumdar's face store removes it.

    2026.10.14