Theory
and must stay positive. A second-order scheme that overshoots near the steep gradients of a jet edge can produce negative values, which the solver clips ("bounding"), and this slows convergence. Every steady run therefore starts with first-order bounded Gauss upwind for and for Upwind iterations before the switch iterations, then restarts with the scheme chosen here (OpenFOAM user guide, 2026):
- limitedLinear 1: a TVD blend of central and upwind interpolation with the limiter of equation (1); it returns to upwind where the solution is not smooth, so it stays bounded.
- linearUpwind: the upwind value extrapolated with a cell-limited gradient (
limitedGrad), equation (2). Less limited, sharper jets; on a poor mesh and can go negative and be clipped. - upwind: first order throughout, equation (3).
Steady runs use all of them in the bounded form (the continuity error of the iteration subtracted, see Momentum (U) convection scheme). The gradients of and are cell-limited too, because the SST cross-diffusion term uses directly.
A transient run always uses first-order Gauss upwind for and , whatever this setting says.
Equations
| where | meaning | unit |
|---|---|---|
| or | m²/s², 1/s | |
| Value interpolated to face f | m²/s², 1/s | |
| Value of the upwind cell | m²/s², 1/s | |
| Central (linear) interpolation | m²/s², 1/s | |
| Limiter, with the smoothness ratio of Momentum (U) convection scheme | - | |
| Face and upwind cell centres | m |
Default and rule
- Default
- auto: limitedLinear 1Computed by the programMeasured
- Rule
Auto = limitedLinear 1, for both analysis types. A typed linearUpwind gets a warning for a compressible run.
- Source
limitedLinear 1 is the program's default for the muffler jets, chosen from validation runs as robust and bounded. In the program's residual-sensitivity study the transient solver with
limitedLinear 1for and diverged on every case tested, a plain pipe included ( reaching about ); with first-order upwind it was stable. This is the basis of the fixed first-order scheme of transient runs. Schemes: (OpenFOAM user guide, 2026).
Valid range auto | limitedLinear | linearUpwind | upwind; steady runs only
Choice
Auto (limitedLinear 1), limitedLinear, linearUpwind, upwind. Not used by transient runs.
linearUpwind for compressible
Near high-Mach jets and can go negative and be clipped.