Base class for fluid properties used with HEM. More...
#include <HEMFluidProperties.h>
Public Member Functions | |
| HEMFluidProperties (const InputParameters ¶meters) | |
| virtual Real | pressure (Real v, Real e) const =0 |
| Pressure as a function of specific internal energy and specific volume. More... | |
| virtual void | dp_duv (Real v, Real e, Real &dp_dv, Real &dp_de, Real &dT_dv, Real &dT_de) const =0 |
| Derivative of pressure w.r.t internal energy and specific volume. More... | |
| virtual Real | temperature (Real v, Real e) const =0 |
| Temperature as a function of specific internal energy and specific volume. More... | |
| virtual Real | gamma (Real v, Real e) const =0 |
| Ratio of specific heats. More... | |
| virtual Real | quality (Real v, Real e) const =0 |
| Quality as a function of specific volume and specific internal energy. More... | |
| virtual Real | quality_Tsat_h (Real Tsat, Real h) const =0 |
| Quality as a function of saturation temperature and enthalpy. More... | |
| virtual Real | c (Real v, Real e) const =0 |
| Sound speed as a function of specific volume and specific internal energy. More... | |
| virtual Real | cp (Real v, Real e) const =0 |
| Constant pressure specific heat capacity as a function of specific volume and specific internal energy. More... | |
| virtual Real | cv (Real v, Real e) const =0 |
| Constant volume specific heat capacity as a function of specific volume and specific internal energy. More... | |
| virtual Real | beta (Real pressure, Real temperature) const =0 |
| Thermal expansion coefficient [1/K] as a function of pressure and temperature. More... | |
| virtual Real | mu (Real v, Real e) const =0 |
| Dynamic viscosity, [Pa-s], as a function of specific volume and specific internal energy. More... | |
| virtual Real | k (Real v, Real e) const =0 |
| Thermal conductivity, [W/K-m], as a function of specific volume and specific internal energy. More... | |
| virtual Real | alpha_vapor (Real v, Real e) const =0 |
| Vapor void fraction as a function of specific volume and specific internal energy. More... | |
| virtual Real | dT_dP_saturation (Real pressure) const =0 |
| dT/dp along the saturation line More... | |
| virtual Real | rho (Real pressure, Real temperature, Real quality) const =0 |
| Density as a function of pressure and temperature. More... | |
| virtual void | rho_dpT (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const =0 |
| Density derivative as a function of pressure and temperature. More... | |
| virtual void | rho_e (Real pressure, Real temperature, Real &rho, Real &e) const =0 |
| Density and internal energy as a function of pressure and temperature. More... | |
| virtual Real | e (Real pressure, Real rho) const =0 |
| Internal energy as a function of pressure and density. More... | |
| virtual Real | saturation_T (Real pressure) const =0 |
| Saturation temperature. More... | |
| virtual Real | saturation_P (Real temperature) const =0 |
| Saturation pressure. More... | |
| virtual Real | surfaceTension (Real temperature) const =0 |
| Surface Tension. More... | |
| virtual Real | h (Real pressure, Real temperature, Real quality) const =0 |
| Enthalpy. More... | |
| virtual void | h_dpT (Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const =0 |
| Derivative of Enthalpy as a function of temperature and pressure. More... | |
| virtual Real | p_critical () const =0 |
| Critical pressure. More... | |
| virtual void | h_lat (Real temperature, Real &hf, Real &hg, Real &hfg) const =0 |
| Latent enthalpy as a function of temperature. More... | |
| virtual Real | v_ph (Real pressure, Real enthalpy) const =0 |
| Specific volume as a function of pressure and enthalpy. More... | |
| virtual Real | molarMass () const |
| Molar mass [kg/mol]. More... | |
| virtual Real | criticalPressure () const |
| Critical pressure. More... | |
| virtual Real | criticalTemperature () const |
| Critical temperature. More... | |
| virtual Real | criticalDensity () const |
| Critical density. More... | |
| virtual Real | criticalInternalEnergy () const |
| Critical specific internal energy. More... | |
| virtual Real | triplePointPressure () const |
| Triple point pressure. More... | |
| virtual Real | triplePointTemperature () const |
| Triple point temperature. More... | |
| virtual void | execute () final |
| virtual void | initialize () final |
| virtual void | finalize () final |
| virtual void | threadJoin (const UserObject &) final |
| virtual void | subdomainSetup () final |
Static Public Attributes | |
| static const Real | _R = 8.3144598 |
| Universal gas constant (J/mol/K) More... | |
Protected Attributes | |
| const Real | _T_c2k |
| Conversion of temperature from Celsius to Kelvin. More... | |
| const bool | _allow_imperfect_jacobians |
| Flag to set unimplemented Jacobian entries to zero. More... | |
Base class for fluid properties used with HEM.
Definition at line 22 of file HEMFluidProperties.h.
| HEMFluidProperties::HEMFluidProperties | ( | const InputParameters & | parameters | ) |
Definition at line 23 of file HEMFluidProperties.C.
|
pure virtual |
Vapor void fraction as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Thermal expansion coefficient [1/K] as a function of pressure and temperature.
| pressure | pressure |
| temperature | temperature |
|
pure virtual |
Sound speed as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Constant pressure specific heat capacity as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
virtual |
Critical density.
Definition at line 46 of file HEMFluidProperties.C.
|
virtual |
Critical specific internal energy.
Definition at line 52 of file HEMFluidProperties.C.
|
virtual |
Critical pressure.
Definition at line 34 of file HEMFluidProperties.C.
|
virtual |
Critical temperature.
Definition at line 40 of file HEMFluidProperties.C.
|
pure virtual |
Constant volume specific heat capacity as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Derivative of pressure w.r.t internal energy and specific volume.
|
pure virtual |
dT/dp along the saturation line
|
pure virtual |
Internal energy as a function of pressure and density.
| pressure | pressure |
| rho | density |
|
inlinefinalvirtualinherited |
Definition at line 34 of file FluidProperties.h.
|
inlinefinalvirtualinherited |
Definition at line 36 of file FluidProperties.h.
|
pure virtual |
Ratio of specific heats.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Enthalpy.
| pressure | pressure |
| temperature | temperature |
| quality | quality |
|
pure virtual |
Derivative of Enthalpy as a function of temperature and pressure.
| pressure | pressure |
| temperature | temperature |
|
pure virtual |
Latent enthalpy as a function of temperature.
|
inlinefinalvirtualinherited |
Definition at line 35 of file FluidProperties.h.
|
pure virtual |
Thermal conductivity, [W/K-m], as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
virtual |
|
pure virtual |
Dynamic viscosity, [Pa-s], as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Critical pressure.
|
pure virtual |
Pressure as a function of specific internal energy and specific volume.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Quality as a function of specific volume and specific internal energy.
| v | Specific volume |
| e | Specific internal energy |
|
pure virtual |
Quality as a function of saturation temperature and enthalpy.
| Tsat | Saturation temperature |
| h | Enthalpy |
|
pure virtual |
Density as a function of pressure and temperature.
| pressure | pressure |
| temperature | temperature |
| quality | quality |
|
pure virtual |
Density derivative as a function of pressure and temperature.
| pressure | pressure |
| temperature | temperature |
|
pure virtual |
Density and internal energy as a function of pressure and temperature.
| pressure | pressure |
| temperature | temperature |
|
pure virtual |
Saturation pressure.
| temperature | temperature |
|
pure virtual |
Saturation temperature.
| pressure | pressure |
|
inlinefinalvirtualinherited |
Definition at line 39 of file FluidProperties.h.
|
pure virtual |
Surface Tension.
| temperature | temperature |
|
pure virtual |
Temperature as a function of specific internal energy and specific volume.
| v | Specific volume |
| e | Specific internal energy |
|
inlinefinalvirtualinherited |
Definition at line 38 of file FluidProperties.h.
|
virtual |
Triple point pressure.
Definition at line 58 of file HEMFluidProperties.C.
|
virtual |
Triple point temperature.
Definition at line 64 of file HEMFluidProperties.C.
|
pure virtual |
Specific volume as a function of pressure and enthalpy.
| pressure | pressure |
| enthalpy | enthalpy |
|
protectedinherited |
Flag to set unimplemented Jacobian entries to zero.
Definition at line 48 of file FluidProperties.h.
Referenced by SinglePhaseFluidProperties::fluidPropError().
|
staticinherited |
Universal gas constant (J/mol/K)
Definition at line 42 of file FluidProperties.h.
Referenced by HelmholtzFluidProperties::c_from_p_T(), IdealGasFluidProperties::c_from_p_T(), HelmholtzFluidProperties::cp_from_p_T(), HelmholtzFluidProperties::cv_from_p_T(), HelmholtzFluidProperties::e_from_p_T(), HelmholtzFluidProperties::h_from_p_T(), HelmholtzFluidProperties::p_from_rho_T(), HelmholtzFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), and HelmholtzFluidProperties::s_from_p_T().
|
protectedinherited |
Conversion of temperature from Celsius to Kelvin.
Definition at line 46 of file FluidProperties.h.
Referenced by NaClFluidProperties::cp_from_p_T(), BrineFluidProperties::cp_from_p_T_X(), NaClFluidProperties::h_from_p_T(), BrineFluidProperties::h_from_p_T_X(), BrineFluidProperties::haliteSolubility(), NaClFluidProperties::k_from_p_T(), BrineFluidProperties::k_from_p_T_X(), BrineFluidProperties::mu_from_p_T_X(), CO2FluidProperties::partialDensity(), NaClFluidProperties::rho_from_p_T(), and BrineFluidProperties::rho_from_p_T_X().
1.8.16