luminarycloud.params.simulation.material.fluid.material_model.real_gas_backend¶
Classes¶
Use the Cantera library to compute equilibrium chemistry fluid properties from a specified reaction mechanism. |
|
Use the CoolProp material library to compute fluid properties using the Helmholtz equation of state. |
|
Model a thermally perfect gas with specific heat normalized by the gas constant (c<sub>p</sub>/R) given by a 7-term polynomial (NASA format). |
Package Contents¶
- class RealGasCantera¶
Use the Cantera library to compute equilibrium chemistry fluid properties from a specified reaction mechanism.
- max_pressure: LcFloat = 1000000.0¶
Upper bound for the pressure axis of real gas tables. For accuracy and numerical stability, this value should be greater than the maximum absolute total pressure expected in the solution.
- max_temperature: LcFloat = 1000¶
Upper bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be greater than the maximum total temperature expected in the solution.
- mechanism: luminarycloud.params.enum.CanteraFluid¶
Cantera mechanism used to compute equilibrium fluid properties.
- min_pressure: LcFloat = 1000¶
Lower bound for the pressure axis of real gas tables. For accuracy and numerical stability, this value should be lower than the minimum absolute static pressure expected in the solution.
- min_temperature: LcFloat = 100¶
Lower bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be lower than the minimum static temperature expected in the solution.
- n_pressure: int = 1000¶
Number of linearly-spaced values in the pressure axis of real gas tables.
- n_temperature: int = 200¶
Number of linearly-spaced values in the temperature axis of real gas tables.
- class RealGasCoolprop¶
Use the CoolProp material library to compute fluid properties using the Helmholtz equation of state.
- fluid: luminarycloud.params.enum.PtTableFluid¶
Fluid for which the real gas tables are created. The liquid phase is not included, properties in the saturation region are extrapolated to ensure numerical stability.
- max_pressure: LcFloat = 1000000.0¶
Upper bound for the pressure axis of real gas tables. For accuracy and numerical stability, this value should be greater than the maximum absolute total pressure expected in the solution.
- max_temperature: LcFloat = 1000¶
Upper bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be greater than the maximum total temperature expected in the solution.
- min_pressure: LcFloat = 1000¶
Lower bound for the pressure axis of real gas tables. For accuracy and numerical stability, this value should be lower than the minimum absolute static pressure expected in the solution.
- min_temperature: LcFloat = 100¶
Lower bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be lower than the minimum static temperature expected in the solution.
- n_pressure: int = 1000¶
Number of linearly-spaced values in the pressure axis of real gas tables.
- n_temperature: int = 200¶
Number of linearly-spaced values in the temperature axis of real gas tables.
- class RealGasPolynomial¶
Model a thermally perfect gas with specific heat normalized by the gas constant (c<sub>p</sub>/R) given by a 7-term polynomial (NASA format).
- a1: LcFloat = 0.0¶
Coefficient of term T<sup>-2</sup> in the polynomial for c<sub>p</sub>/R.
- a2: LcFloat = 0.0¶
Coefficient of term T<sup>-1</sup> in the polynomial for c<sub>p</sub>/R.
- a3: LcFloat = 3.5¶
Coefficient of term T<sup>0</sup> in the polynomial for c<sub>p</sub>/R.
- a4: LcFloat = 0.0¶
Coefficient of term T<sup>1</sup> in the polynomial for c<sub>p</sub>/R.
- a5: LcFloat = 0.0¶
Coefficient of term T<sup>2</sup> in the polynomial for c<sub>p</sub>/R.
- a6: LcFloat = 0.0¶
Coefficient of term T<sup>3</sup> in the polynomial for c<sub>p</sub>/R.
- a7: LcFloat = 0.0¶
Coefficient of term T<sup>4</sup> in the polynomial for c<sub>p</sub>/R.
- b1: LcFloat = 0.0¶
Integration constant for enthalpy.
- b2: LcFloat = 0.0¶
Integration constant for entropy.
- max_temperature: LcFloat = 1000¶
Upper bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be greater than the maximum total temperature expected in the solution.
- min_pressure: LcFloat = 0¶
Lower bound imposed by the solver on the absolute pressure for this fluid. Increasing this value can prevent solver divergence due to unphysical conditions in small regions of the domain. The optimum value is case-dependent.
- min_temperature: LcFloat = 100¶
Lower bound for the temperature in real gas equations of state. For accuracy and numerical stability, this value should be lower than the minimum static temperature expected in the solution.
- molecular_weight: LcFloat = 28.96¶
Molecular weight of the gas used to compute its specific gas constant. Air is 28.96 g/mol.