HelmholtzEquationOfStateGetTemperatureAfterAdiabaticPressureChangeInGasPhase(Double, Double, Double) Method |
Gets the gas temperature after an adiabatic pressure change in a gas. ATTENTION UNCHECKED: this function assumes that the
adiabatic pressure change happens in single gas phase, i.e., no phase transitions occur.
Namespace: Altaxo.Science.Thermodynamics.FluidsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic double GetTemperatureAfterAdiabaticPressureChangeInGasPhase(
double initialPressure,
double initialTemperature,
double targetPressure
)
Parameters
- initialPressure Double
- The initial pressure in Pa.
- initialTemperature Double
- The initial temperature in K.
- targetPressure Double
- The target pressure in Pa, i.e. the pressure after the adiabatic pressure change.
Return Value
DoubleThe temperature of the gas in K after the adiabatic pressure change. If no solution is found,
NaN is returned.
Exceptions
See Also