Theory
The compressible solver updates the density from the equation of state after each pressure correction. Like the pressure, the density is relaxed as a FIELD, equation (1): only the fraction of the change is kept. With the subsonic pressure equation (transonic false) the density in the mass fluxes is that of the previous iteration; a large density change between iterations then feeds back into the pressure, which is why plain SIMPLE relaxes the density strongly.
On auto the value moves with the pressure relaxation:
- 0.1 with plain SIMPLE (the compressible auto choice);
- 1.0 when SIMPLEC is applied (a typed pressure relaxation with SIMPLEC on) and with the transonic SIMPLE solver;
- the pseudo-transient solver relaxes nothing.
Full table: Pressure relaxation.
Equations
| where | meaning | unit |
|---|---|---|
| Density of the previous iteration | kg/m³ | |
| Density from the equation of state with the new pressure | kg/m³ | |
| Specific gas constant | J/(kg K) | |
| Temperature | K | |
| Density relaxation factor | - |
Default and rule
- Default
- auto: 0.1 (compressible SIMPLE), 1.0 (SIMPLEC with a typed p, transonic SIMPLE)Computed by the programMeasured
- Rule
Auto: 0.1 for the compressible SIMPLE solver (also after a divergence fallback); 1.0 with SIMPLEC or transonic SIMPLE.
- Source
Validation on case V1 (a 2.0 m multi-chamber muffler with a perforated pipe and three absorptive packings; the compressible solver, 691k cells): under SIMPLEC, changing from 1.0 to 0.01 changed nothing (identical abort in iteration 3); plain SIMPLE with , ran. The transonic value 1.0 is that of OpenFOAM's squareBend tutorial. Field relaxation in SIMPLE: (Patankar and Spalding, 1972).
Valid range 0 < α ≤ 1; compressible only
Values
. Used only by the compressible SIMPLE solvers.