SpectraSim Documentation
Parameter · 04 Material

Molar mass

material.compressible.molar_mass Unit: kg/kmol Step 04 · Material

The molar mass of the gas. It sets the specific gas constant and so the density at a given pressure and temperature. Typed only with the constant heat-capacity model; with the temperature-dependent model the box shows the mixture's value and is locked.

Last updated

Theory

The ideal-gas law relates pressure, density and temperature through the specific gas constant Rs=R/MR_s = \mathcal{R}/M. A heavier gas is denser at the same pressure and temperature and carries sound more slowly. The molar mass enters the density of every run (incompressible: the constant density; compressible: the solver's molWeight), the ratio of heat capacities and the speed of sound of the acoustics.

Equations

Rs=RM,ρ=p MR T,c=γ Rs TR_s = \frac{\mathcal{R}}{M}, \qquad \rho = \frac{p\,M}{\mathcal{R}\,T}, \qquad c = \sqrt{\gamma\,R_s\,T}
(1)
wheremeaningunit
MMMolar mass (this setting)kg/kmol
R\mathcal{R}Universal gas constant, 8314.47J/(kmol K)
RsR_sSpecific gas constantJ/(kg K)
ρ\rhoDensitykg/m³
ppAbsolute pressurePa
TTTemperatureK
ccSpeed of soundm/s
γ\gammaRatio of heat capacities-

Default and rule

Default
28.9644 kg/kmol (dry air); with the temperature-dependent model, the mixture value of the selected gas
Rule

28.9644 kg/kmol (dry air). Temperature-dependent model: the mixture value, e.g. 28.965 for dry air, 29.04 for diesel exhaust at λ=1.5\lambda = 1.5, 27.74 for natural-gas exhaust at λ=1\lambda = 1.

Source

The dry-air value is that of the standard atmosphere (U.S. Standard Atmosphere, 1976). The relations of equation (1) are the ideal-gas law.

Valid range > 0

Values

Above 0. Used only with the constant heat-capacity model.

One definition of R

The program uses one value of the universal gas constant, 8314.47 J/(kmol K), throughout: solver set-up, results and report.

References 1

  1. NOAA, NASA and USAF (1976). U.S. Standard Atmosphere, 1976. NOAA-S/T-76-1562, NASA-TM-X-74335. Web page