OGS
|
This class provides a series of functions to calculate the water vapor properties, including the saturation vapor pressure calculation(Kelvin equation regularized vapor pressure), and corresponding derivatives calculations. The unit of temperature used here are all in Kelvin.
Definition at line 27 of file WaterVaporProperties.h.
#include <WaterVaporProperties.h>
Public Member Functions | |
WaterVaporProperties ()=default | |
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. | |
double | calculateDerivativedPgwdPC (const double pc, const double T, const double mass_density_water) const |
Derivative of partial vapor pressure in terms of PC. | |
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. | |
Static Public Member Functions | |
static double | getWaterVaporEnthalpySimple (const double temperature, const double heat_capacity_water_vapor, const double, const double) |
Specific enthalpy of water vapor. | |
Private Attributes | |
const double & | _water_mol_mass = PhysicalConstant::MolarMass::Water |
const double & | _air_mol_mass = PhysicalConstant::MolarMass::Air |
|
default |
double MaterialLib::Fluid::WaterVaporProperties::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.
Definition at line 68 of file WaterVaporProperties.cpp.
References _air_mol_mass, _water_mol_mass, calculateDerivativedPgwdT(), and MaterialLib::Fluid::T.
double MaterialLib::Fluid::WaterVaporProperties::calculateDerivativedPgwdPC | ( | const double | pc, |
const double | T, | ||
const double | mass_density_water ) const |
Derivative of partial vapor pressure in terms of PC.
Definition at line 60 of file WaterVaporProperties.cpp.
References _water_mol_mass, calculateSaturatedVaporPressure(), and MaterialLib::Fluid::T.
double MaterialLib::Fluid::WaterVaporProperties::calculateDerivativedPgwdT | ( | const double | pc, |
const double | T, | ||
const double | mass_density_water ) const |
Derivative of partial vapor pressure in terms of T.
Definition at line 49 of file WaterVaporProperties.cpp.
References _water_mol_mass, calculateDerivativedPsatdT(), calculateSaturatedVaporPressure(), and MaterialLib::Fluid::T.
Referenced by calculatedDensityNonwetdT().
double MaterialLib::Fluid::WaterVaporProperties::calculateDerivativedPsatdT | ( | const double | T | ) | const |
Derivative of SaturatedVaporPressure in terms of T.
Definition at line 35 of file WaterVaporProperties.cpp.
References _water_mol_mass, MaterialLib::Fluid::h_wg, MaterialLib::Fluid::p_0, MaterialLib::Fluid::T, and MaterialLib::Fluid::temperature_0.
Referenced by calculateDerivativedPgwdT().
double MaterialLib::Fluid::WaterVaporProperties::calculateSaturatedVaporPressure | ( | const double | T | ) | const |
water vapor saturation pressure
latent heat of water evaporation
Definition at line 28 of file WaterVaporProperties.cpp.
References _water_mol_mass, MaterialLib::Fluid::h_wg, MaterialLib::Fluid::p_0, MaterialLib::Fluid::T, and MaterialLib::Fluid::temperature_0.
Referenced by calculateDerivativedPgwdPC(), calculateDerivativedPgwdT(), and calculateVaporPressureNonwet().
double MaterialLib::Fluid::WaterVaporProperties::calculateVaporPressureNonwet | ( | const double | pc, |
const double | T, | ||
const double | mass_density_water ) const |
partial water vapor pressure in nonwetting phase Kelvin equation
pc | capillary pressure |
T | temperature |
mass_density_water | mass density of water |
Definition at line 42 of file WaterVaporProperties.cpp.
References _water_mol_mass, calculateSaturatedVaporPressure(), and MaterialLib::Fluid::T.
|
static |
Specific enthalpy of water vapor.
Definition at line 77 of file WaterVaporProperties.cpp.
References MaterialLib::Fluid::h_wg.
|
private |
Definition at line 62 of file WaterVaporProperties.h.
Referenced by calculatedDensityNonwetdT().
|
private |
Definition at line 61 of file WaterVaporProperties.h.
Referenced by calculatedDensityNonwetdT(), calculateDerivativedPgwdPC(), calculateDerivativedPgwdT(), calculateDerivativedPsatdT(), calculateSaturatedVaporPressure(), and calculateVaporPressureNonwet().