SpectraSim Documentation
Parameter · 04 Material

Viscosity (custom gas)

custom_gas.viscosity Unit: Pa s Step 04 · Material

The dynamic viscosity of the custom gas as a function of temperature, defined by one measured value μref\mu_\mathrm{ref} at TrefT_\mathrm{ref} and the Sutherland temperature SS.

Last updated

Theory

The program uses Sutherland's law (Sutherland, 1893) in the reference form of equation (1). It converts this to the two-constant form of equation (2), which OpenFOAM's sutherland transport model requires (OpenFOAM user guide, 2026): AsA_s from equation (3) and Ts=ST_s = S. The same law provides the viscosity for:

  • the incompressible solution (at the Material step's temperature);
  • the heat-transfer correlations;
  • the acoustic packing and perforate models.

S=0S = 0 makes the viscosity grow as T1/2T^{1/2} (hard spheres). The packing flow resistivity, which is measured with room-temperature air, is scaled with the viscosity of this gas relative to that of air at 20 °C.

Equations

μ(T)=μref(TTref)3/2Tref+ST+S\mu(T) = \mu_\mathrm{ref}\left(\frac{T}{T_\mathrm{ref}}\right)^{3/2}\frac{T_\mathrm{ref} + S}{T + S}
(1)
μ(T)=As T3/2T+Ts\mu(T) = \frac{A_s\,T^{3/2}}{T + T_s}
(2)
As=μref Tref+STref3/2,Ts=SA_s = \mu_\mathrm{ref}\,\frac{T_\mathrm{ref} + S}{T_\mathrm{ref}^{3/2}}, \qquad T_s = S
(3)
wheremeaningunit
μ\muDynamic viscosityPa s
μref\mu_\mathrm{ref}Viscosity at the reference temperature (entered in µPa s)Pa s
TrefT_\mathrm{ref}Reference temperatureK
SSSutherland temperatureK
AsA_sSutherland coefficientkg/(m s K^0.5)
TsT_sSutherland temperature of the solverK
TTTemperatureK

Default and rule

Default
17.16 µPa s at 273.15 K, S = 110.4 K (air)
Rule

A new material starts with the values for air: 17.16 µPa s at 273.15 K, SS = 110.4 K (AsA_s = 1.458e-6).

Source

Sutherland's law (Sutherland, 1893) in the two-constant form of OpenFOAM's sutherland transport model (OpenFOAM user guide, 2026).

Valid range mu_ref > 0; T_ref > 0; 0 <= S <= 5000 K

Typical S

Air 110.4 K, N₂ 111 K, CO₂ 240 K, helium about 79 K.

Fit range

Sutherland's law with one reference point is accurate over a few hundred kelvin around that point; choose the reference near the temperature of the run.

References 2

  1. OpenCFD Ltd. (2026). OpenFOAM user guide. openfoam.com. Web page
  2. Sutherland, W. (1893). The viscosity of gases and molecular force. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 36(223), 507-531. DOI 10.1080/14786449308620508