For compressible flows, the gas law is as following:
(7–16) |
| where, | |
| | |
| |
The inputs for the ideal gas law are as follows:
Enable the ideal gas law for a compressible fluid by choosing ideal-gas from the drop-down list to the right of Density in the Create/Edit Materials Dialog Box.
Specify the ideal gas law individually for each material that you want to use it for. See Composition-Dependent Density for Multicomponent Mixtures for information on specifying the ideal gas law for mixtures.
Set the operating pressure by defining the Operating Pressure in the Operating Conditions Dialog Box.
Setup →
Cell Zone Conditions → Operating Conditions...
Important: The input of the operating pressure is of great importance when you are computing density with the ideal gas law. Equation 7–16 notes that the operating pressure is added to the relative pressure field computed by the solver, yielding the absolute static pressure. See Operating Pressure for recommendations on setting appropriate values for the operating pressure. By default, operating pressure is set to 101325 Pa.
Set the molecular weight of the homogeneous or single-component fluid (if no chemical species transport equations are to be solved), or the molecular weights of each fluid material (species) in a multicomponent mixture. For each fluid material, enter the value of the Molecular Weight in the Create/Edit Materials Dialog Box.