25static const double p_0 = 101325.0;
26static const double h_wg = 2258000.0;
32 h_wg / IdealGasConstant);
43 const double pc,
const double T,
const double mass_density_water)
const
47 return p_sat * std::exp(-pc * c_w / mass_density_water);
50 const double pc,
const double T,
const double mass_density_water)
const
55 return dPsatdT * std::exp(-pc * c_w / mass_density_water) +
56 p_sat * std::exp(-pc * c_w / mass_density_water) *
61 const double pc,
const double T,
const double mass_density_water)
const
65 return p_sat * std::exp(-pc * c_w / mass_density_water) *
66 (-c_w / mass_density_water);
69 const double p_air_nonwet,
const double p_vapor_nonwet,
const double pc,
70 const double T,
const double mass_density_water)
const
74 IdealGasConstant /
T /
T) +
78 const double temperature,
79 const double heat_capacity_water_vapor,
83 return heat_capacity_water_vapor * (temperature - CelsiusZeroInKelvin) +
double calculatedDensityNonwetdT(const double p_air_nonwet, const double p_vapor_nonwet, const double pc, const double T, const double mass_density_water) const
Derivative of vapor density in terms of T.
double calculateSaturatedVaporPressure(const double T) const
water vapor saturation pressure
double calculateDerivativedPsatdT(const double T) const
Derivative of SaturatedVaporPressure in terms of T.
double calculateVaporPressureNonwet(const double pc, const double T, const double mass_density_water) const
double calculateDerivativedPgwdT(const double pc, const double T, const double mass_density_water) const
Derivative of partial vapor pressure in terms of T.
const double & _water_mol_mass
double calculateDerivativedPgwdPC(const double pc, const double T, const double mass_density_water) const
Derivative of partial vapor pressure in terms of PC.
static double getWaterVaporEnthalpySimple(const double temperature, const double heat_capacity_water_vapor, const double, const double)
Specific enthalpy of water vapor.
const double & _air_mol_mass
static const double p_0
reference temperature in [K]
static const double temperature_0
static const double h_wg
reference pressure
constexpr double CelsiusZeroInKelvin
Zero degrees Celsius in Kelvin.
constexpr double IdealGasConstant