www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SimpleFluidProperties Class Reference

Fluid properties of a simple, idealised fluid density=density0 * exp(P / bulk_modulus - thermal_expansion * T) internal_energy = cv * T enthalpy = cv * T + P / density The following parameters are constant: thermal expansion cv cp bulk modulus thermal conductivity specific entropy viscosity. More...

#include <SimpleFluidProperties.h>

Inheritance diagram for SimpleFluidProperties:
[legend]

Public Member Functions

 SimpleFluidProperties (const InputParameters &parameters)
 
virtual ~SimpleFluidProperties ()
 
virtual std::string fluidName () const override
 Fluid name. More...
 
virtual Real molarMass () const override
 Molar mass (kg/mol) More...
 
virtual Real beta (Real pressure, Real temperature) const override
 Thermal expansion coefficient (1/K) More...
 
virtual Real cp (Real pressure, Real temperature) const override
 Isobaric specific heat capacity (J/kg/K) More...
 
virtual Real cv (Real pressure, Real temperature) const override
 Isochoric specific heat capacity (J/kg/K) More...
 
virtual Real c (Real pressure, Real temperature) const override
 Speed of sound (m/s) More...
 
virtual Real k (Real pressure, Real temperature) const override
 Thermal conductivity (W/m/K) More...
 
virtual void k_dpT (Real pressure, Real temperature, Real &k, Real &dk_dp, Real &dk_dT) const override
 Thermal conductivity and its derivatives wrt pressure and temperature. More...
 
virtual Real k_from_rho_T (Real density, Real temperature) const override
 Thermal conductivity (W/m/K) More...
 
virtual Real s (Real pressure, Real temperature) const override
 Specific entropy (J/kg/K) More...
 
virtual Real rho (Real pressure, Real temperature) const override
 Density from pressure and temperature (kg/m^3) More...
 
virtual void rho_dpT (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override
 Density from pressure and temperature and its derivatives wrt pressure and temperature. More...
 
virtual Real e (Real pressure, Real temperature) const override
 Internal energy from pressure and temperature (J/kg) More...
 
virtual void e_dpT (Real pressure, Real temperature, Real &e, Real &de_dp, Real &de_dT) const override
 Internal energy and its derivatives wrt pressure and temperature. More...
 
virtual void rho_e_dpT (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT, Real &e, Real &de_dp, Real &de_dT) const override
 Density and internal energy from pressure and temperature and derivatives wrt pressure and temperature. More...
 
virtual Real mu (Real pressure, Real temperature) const override
 
virtual void mu_dpT (Real pressure, Real temperature, Real &mu, Real &dmu_dp, Real &dmu_dT) const override
 
virtual Real mu_from_rho_T (Real density, Real temperature) const override
 Dynamic viscosity (Pa s) More...
 
virtual void mu_drhoT_from_rho_T (Real density, Real temperature, Real ddensity_dT, Real &mu, Real &dmu_drho, Real &dmu_dT) const override
 Dynamic viscosity and its derivatives wrt density and temperature. More...
 
virtual Real h (Real p, Real T) const override
 Specific enthalpy (J/kg) More...
 
virtual void h_dpT (Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const override
 Specific enthalpy and its derivatives. More...
 
virtual Real henryConstant (Real temperature) const override
 Henry's law constant for dissolution in water. More...
 
virtual void henryConstant_dT (Real temperature, Real &Kh, Real &dKh_dT) const override
 Henry's law constant for dissolution in water and derivative wrt temperature. More...
 
virtual Real gamma (Real pressure, Real temperature) const
 Adiabatic index - ratio of specific heats. More...
 
virtual void execute () final
 
virtual void initialize () final
 
virtual void finalize () final
 

Protected Member Functions

virtual Real henryConstantIAPWS (Real temperature, Real A, Real B, Real C) const
 IAPWS formulation of Henry's law constant for dissolution in water From Guidelines on the Henry's constant and vapour liquid distribution constant for gases in H20 and D20 at high temperatures, IAPWS (2004) More...
 
virtual void henryConstantIAPWS_dT (Real temperature, Real &Kh, Real &dKh_dT, Real A, Real B, Real C) const
 IAPWS formulation of Henry's law constant for dissolution in water and derivative wrt temperature. More...
 

Protected Attributes

const Real _molar_mass
 molar mass More...
 
const Real _thermal_expansion
 thermal expansion coefficient More...
 
const Real _cv
 specific heat at constant volume More...
 
const Real _cp
 specific heat at constant pressure More...
 
const Real _bulk_modulus
 bulk modulus More...
 
const Real _thermal_conductivity
 thermal conductivity More...
 
const Real _specific_entropy
 specific entropy More...
 
const Real _viscosity
 viscosity More...
 
const Real _density0
 density at zero pressure and temperature More...
 
const Real _henry_constant
 Henry constant. More...
 
const Real _pp_coeff
 Porepressure coefficient: enthalpy = internal_energy + porepressure / density * _pp_coeff. More...
 
const Real _R
 Universal gas constant (J/mol/K) More...
 
const Real _T_c2k
 Conversion of temperature from Celcius to Kelvin. More...
 

Detailed Description

Fluid properties of a simple, idealised fluid density=density0 * exp(P / bulk_modulus - thermal_expansion * T) internal_energy = cv * T enthalpy = cv * T + P / density The following parameters are constant: thermal expansion cv cp bulk modulus thermal conductivity specific entropy viscosity.

Definition at line 32 of file SimpleFluidProperties.h.

Constructor & Destructor Documentation

SimpleFluidProperties::SimpleFluidProperties ( const InputParameters &  parameters)

Definition at line 38 of file SimpleFluidProperties.C.

39  : SinglePhaseFluidPropertiesPT(parameters),
40  _molar_mass(getParam<Real>("molar_mass")),
41  _thermal_expansion(getParam<Real>("thermal_expansion")),
42  _cv(getParam<Real>("cv")),
43  _cp(getParam<Real>("cp")),
44  _bulk_modulus(getParam<Real>("bulk_modulus")),
45  _thermal_conductivity(getParam<Real>("thermal_conductivity")),
46  _specific_entropy(getParam<Real>("specific_entropy")),
47  _viscosity(getParam<Real>("viscosity")),
48  _density0(getParam<Real>("density0")),
49  _henry_constant(getParam<Real>("henry_constant")),
50  _pp_coeff(getParam<Real>("porepressure_coefficient"))
51 {
52 }
const Real _thermal_expansion
thermal expansion coefficient
const Real _pp_coeff
Porepressure coefficient: enthalpy = internal_energy + porepressure / density * _pp_coeff.
const Real _cv
specific heat at constant volume
const Real _specific_entropy
specific entropy
const Real _viscosity
viscosity
const Real _bulk_modulus
bulk modulus
const Real _henry_constant
Henry constant.
const Real _molar_mass
molar mass
const Real _density0
density at zero pressure and temperature
const Real _thermal_conductivity
thermal conductivity
SinglePhaseFluidPropertiesPT(const InputParameters &parameters)
const Real _cp
specific heat at constant pressure
SimpleFluidProperties::~SimpleFluidProperties ( )
virtual

Definition at line 54 of file SimpleFluidProperties.C.

54 {}

Member Function Documentation

Real SimpleFluidProperties::beta ( Real  pressure,
Real  temperature 
) const
overridevirtual

Thermal expansion coefficient (1/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 68 of file SimpleFluidProperties.C.

69 {
70  return _thermal_expansion;
71 }
const Real _thermal_expansion
thermal expansion coefficient
Real SimpleFluidProperties::c ( Real  pressure,
Real  temperature 
) const
overridevirtual

Speed of sound (m/s)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 78 of file SimpleFluidProperties.C.

79 {
80  return std::sqrt(_bulk_modulus / rho(pressure, temperature));
81 }
virtual Real rho(Real pressure, Real temperature) const override
Density from pressure and temperature (kg/m^3)
const Real _bulk_modulus
bulk modulus
const std::string temperature
Definition: NS.h:25
const std::string pressure
Definition: NS.h:24
Real SimpleFluidProperties::cp ( Real  pressure,
Real  temperature 
) const
overridevirtual

Isobaric specific heat capacity (J/kg/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 73 of file SimpleFluidProperties.C.

73 { return _cp; }
const Real _cp
specific heat at constant pressure
Real SimpleFluidProperties::cv ( Real  pressure,
Real  temperature 
) const
overridevirtual

Isochoric specific heat capacity (J/kg/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 75 of file SimpleFluidProperties.C.

75 { return _cv; }
const Real _cv
specific heat at constant volume
Real SimpleFluidProperties::e ( Real  pressure,
Real  temperature 
) const
overridevirtual

Internal energy from pressure and temperature (J/kg)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 123 of file SimpleFluidProperties.C.

Referenced by e_dpT(), and h().

124 {
125  return _cv * temperature;
126 }
const Real _cv
specific heat at constant volume
const std::string temperature
Definition: NS.h:25
void SimpleFluidProperties::e_dpT ( Real  pressure,
Real  temperature,
Real &  e,
Real &  de_dp,
Real &  de_dT 
) const
overridevirtual

Internal energy and its derivatives wrt pressure and temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 129 of file SimpleFluidProperties.C.

Referenced by rho_e_dpT().

131 {
132  e = this->e(pressure, temperature);
133  de_dp = 0.0;
134  de_dT = _cv;
135 }
virtual Real e(Real pressure, Real temperature) const override
Internal energy from pressure and temperature (J/kg)
const Real _cv
specific heat at constant volume
const std::string temperature
Definition: NS.h:25
const std::string pressure
Definition: NS.h:24
virtual void FluidProperties::execute ( )
inlinefinalvirtualinherited

Definition at line 25 of file FluidProperties.h.

25 {}
virtual void FluidProperties::finalize ( )
inlinefinalvirtualinherited

Definition at line 27 of file FluidProperties.h.

27 {}
std::string SimpleFluidProperties::fluidName ( ) const
overridevirtual

Fluid name.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 57 of file SimpleFluidProperties.C.

58 {
59  return "simple_fluid";
60 }
Real SinglePhaseFluidPropertiesPT::gamma ( Real  pressure,
Real  temperature 
) const
virtualinherited

Adiabatic index - ratio of specific heats.

Parameters
pressurefluid pressure (Pa)
temperaturefluid temperature (K)
Returns
gamma (-)

Definition at line 27 of file SinglePhaseFluidPropertiesPT.C.

Referenced by MethaneFluidProperties::c().

28 {
30 }
virtual Real cp(Real pressure, Real temperature) const =0
Isobaric specific heat capacity.
const std::string temperature
Definition: NS.h:25
virtual Real cv(Real pressure, Real temperature) const =0
Isochoric specific heat.
const std::string pressure
Definition: NS.h:24
Real SimpleFluidProperties::h ( Real  p,
Real  T 
) const
overridevirtual

Specific enthalpy (J/kg)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 190 of file SimpleFluidProperties.C.

Referenced by h_dpT().

191 {
193 }
const Real _pp_coeff
Porepressure coefficient: enthalpy = internal_energy + porepressure / density * _pp_coeff.
virtual Real e(Real pressure, Real temperature) const override
Internal energy from pressure and temperature (J/kg)
virtual Real rho(Real pressure, Real temperature) const override
Density from pressure and temperature (kg/m^3)
const std::string temperature
Definition: NS.h:25
const std::string pressure
Definition: NS.h:24
void SimpleFluidProperties::h_dpT ( Real  pressure,
Real  temperature,
Real &  h,
Real &  dh_dp,
Real &  dh_dT 
) const
overridevirtual

Specific enthalpy and its derivatives.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 196 of file SimpleFluidProperties.C.

198 {
199  h = this->h(pressure, temperature);
200 
201  Real density, ddensity_dp, ddensity_dT;
202  rho_dpT(pressure, temperature, density, ddensity_dp, ddensity_dT);
203 
204  dh_dp = _pp_coeff / density - _pp_coeff * pressure * ddensity_dp / density / density;
205  dh_dT = _cv - _pp_coeff * pressure * ddensity_dT / density / density;
206 }
const Real _pp_coeff
Porepressure coefficient: enthalpy = internal_energy + porepressure / density * _pp_coeff.
const Real _cv
specific heat at constant volume
const std::string density
Definition: NS.h:15
const std::string temperature
Definition: NS.h:25
virtual Real h(Real p, Real T) const override
Specific enthalpy (J/kg)
virtual void rho_dpT(Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override
Density from pressure and temperature and its derivatives wrt pressure and temperature.
const std::string pressure
Definition: NS.h:24
Real SimpleFluidProperties::henryConstant ( Real  temperature) const
overridevirtual

Henry's law constant for dissolution in water.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 208 of file SimpleFluidProperties.C.

208 { return _henry_constant; }
const Real _henry_constant
Henry constant.
void SimpleFluidProperties::henryConstant_dT ( Real  temperature,
Real &  Kh,
Real &  dKh_dT 
) const
overridevirtual

Henry's law constant for dissolution in water and derivative wrt temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 211 of file SimpleFluidProperties.C.

212 {
213  Kh = _henry_constant;
214  dKh_dT = 0.0;
215 }
const Real _henry_constant
Henry constant.
Real SinglePhaseFluidPropertiesPT::henryConstantIAPWS ( Real  temperature,
Real  A,
Real  B,
Real  C 
) const
protectedvirtualinherited

IAPWS formulation of Henry's law constant for dissolution in water From Guidelines on the Henry's constant and vapour liquid distribution constant for gases in H20 and D20 at high temperatures, IAPWS (2004)

Definition at line 33 of file SinglePhaseFluidPropertiesPT.C.

Referenced by MethaneFluidProperties::henryConstant(), and CO2FluidProperties::henryConstant().

34 {
35  Real Tr = temperature / 647.096;
36  Real tau = 1.0 - Tr;
37 
38  Real lnkh = A / Tr + B * std::pow(tau, 0.355) / Tr + C * std::pow(Tr, -0.41) * std::exp(tau);
39 
40  // The vapor pressure used in this formulation
41  std::vector<Real> a{-7.85951783, 1.84408259, -11.7866497, 22.6807411, -15.9618719, 1.80122502};
42  std::vector<Real> b{1.0, 1.5, 3.0, 3.5, 4.0, 7.5};
43  Real sum = 0.0;
44 
45  for (std::size_t i = 0; i < a.size(); ++i)
46  sum += a[i] * std::pow(tau, b[i]);
47 
48  return 22.064e6 * std::exp(sum / Tr) * std::exp(lnkh);
49 }
const std::string temperature
Definition: NS.h:25
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
void SinglePhaseFluidPropertiesPT::henryConstantIAPWS_dT ( Real  temperature,
Real &  Kh,
Real &  dKh_dT,
Real  A,
Real  B,
Real  C 
) const
protectedvirtualinherited

IAPWS formulation of Henry's law constant for dissolution in water and derivative wrt temperature.

Definition at line 52 of file SinglePhaseFluidPropertiesPT.C.

Referenced by MethaneFluidProperties::henryConstant_dT(), and CO2FluidProperties::henryConstant_dT().

54 {
55  Real pc = 22.064e6;
56  Real Tc = 647.096;
57 
58  Real Tr = temperature / Tc;
59  Real tau = 1.0 - Tr;
60 
61  Real lnkh = A / Tr + B * std::pow(tau, 0.355) / Tr + C * std::pow(Tr, -0.41) * std::exp(tau);
62  Real dlnkh_dT =
63  (-A / Tr / Tr - B * std::pow(tau, 0.355) / Tr / Tr - 0.355 * B * std::pow(tau, -0.645) / Tr -
64  0.41 * C * std::pow(Tr, -1.41) * std::exp(tau) - C * std::pow(Tr, -0.41) * std::exp(tau)) /
65  Tc;
66 
67  // The vapor pressure used in this formulation
68  std::vector<Real> a{-7.85951783, 1.84408259, -11.7866497, 22.6807411, -15.9618719, 1.80122502};
69  std::vector<Real> b{1.0, 1.5, 3.0, 3.5, 4.0, 7.5};
70  Real sum = 0.0;
71  Real dsum = 0.0;
72 
73  for (std::size_t i = 0; i < a.size(); ++i)
74  {
75  sum += a[i] * std::pow(tau, b[i]);
76  dsum += a[i] * b[i] * std::pow(tau, b[i] - 1.0);
77  }
78 
79  Real p = pc * std::exp(sum / Tr);
80  Real dp_dT = -p / Tc / Tr * (sum / Tr + dsum);
81 
82  // Henry's constant and its derivative wrt temperature
83  Kh = p * std::exp(lnkh);
84  dKh_dT = (p * dlnkh_dT + dp_dT) * std::exp(lnkh);
85 }
const std::string temperature
Definition: NS.h:25
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
virtual void FluidProperties::initialize ( )
inlinefinalvirtualinherited

Definition at line 26 of file FluidProperties.h.

26 {}
Real SimpleFluidProperties::k ( Real  pressure,
Real  temperature 
) const
overridevirtual

Thermal conductivity (W/m/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 83 of file SimpleFluidProperties.C.

84 {
85  return _thermal_conductivity;
86 }
const Real _thermal_conductivity
thermal conductivity
void SimpleFluidProperties::k_dpT ( Real  pressure,
Real  temperature,
Real &  k,
Real &  dk_dp,
Real &  dk_dT 
) const
overridevirtual

Thermal conductivity and its derivatives wrt pressure and temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 89 of file SimpleFluidProperties.C.

91 {
93  dk_dp = 0;
94  dk_dT = 0;
95 }
const Real _thermal_conductivity
thermal conductivity
virtual Real k(Real pressure, Real temperature) const override
Thermal conductivity (W/m/K)
Real SimpleFluidProperties::k_from_rho_T ( Real  density,
Real  temperature 
) const
overridevirtual

Thermal conductivity (W/m/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 97 of file SimpleFluidProperties.C.

98 {
99  return _thermal_conductivity;
100 }
const Real _thermal_conductivity
thermal conductivity
Real SimpleFluidProperties::molarMass ( ) const
overridevirtual

Molar mass (kg/mol)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 63 of file SimpleFluidProperties.C.

64 {
65  return _molar_mass;
66 }
const Real _molar_mass
molar mass
Real SimpleFluidProperties::mu ( Real  pressure,
Real  temperature 
) const
overridevirtual

Implements SinglePhaseFluidPropertiesPT.

Definition at line 160 of file SimpleFluidProperties.C.

Referenced by mu_dpT().

160 { return _viscosity; }
const Real _viscosity
viscosity
void SimpleFluidProperties::mu_dpT ( Real  pressure,
Real  temperature,
Real &  mu,
Real &  dmu_dp,
Real &  dmu_dT 
) const
overridevirtual

Implements SinglePhaseFluidPropertiesPT.

Definition at line 163 of file SimpleFluidProperties.C.

165 {
166  mu = this->mu(pressure, temperature);
167  dmu_dp = 0.0;
168  dmu_dT = 0.0;
169 }
virtual Real mu(Real pressure, Real temperature) const override
const std::string temperature
Definition: NS.h:25
const std::string pressure
Definition: NS.h:24
void SimpleFluidProperties::mu_drhoT_from_rho_T ( Real  density,
Real  temperature,
Real  ddensity_dT,
Real &  mu,
Real &  dmu_drho,
Real &  dmu_dT 
) const
overridevirtual

Dynamic viscosity and its derivatives wrt density and temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 177 of file SimpleFluidProperties.C.

183 {
185  dmu_drho = 0.0;
186  dmu_dT = 0.0;
187 }
virtual Real mu(Real pressure, Real temperature) const override
const std::string density
Definition: NS.h:15
const std::string temperature
Definition: NS.h:25
virtual Real mu_from_rho_T(Real density, Real temperature) const override
Dynamic viscosity (Pa s)
Real SimpleFluidProperties::mu_from_rho_T ( Real  density,
Real  temperature 
) const
overridevirtual

Dynamic viscosity (Pa s)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 171 of file SimpleFluidProperties.C.

Referenced by mu_drhoT_from_rho_T().

172 {
173  return _viscosity;
174 }
const Real _viscosity
viscosity
Real SimpleFluidProperties::rho ( Real  pressure,
Real  temperature 
) const
overridevirtual

Density from pressure and temperature (kg/m^3)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 108 of file SimpleFluidProperties.C.

Referenced by c(), h(), and rho_dpT().

109 {
111 }
const Real _thermal_expansion
thermal expansion coefficient
const Real _bulk_modulus
bulk modulus
const std::string temperature
Definition: NS.h:25
const Real _density0
density at zero pressure and temperature
const std::string pressure
Definition: NS.h:24
void SimpleFluidProperties::rho_dpT ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT 
) const
overridevirtual

Density from pressure and temperature and its derivatives wrt pressure and temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 114 of file SimpleFluidProperties.C.

Referenced by h_dpT(), and rho_e_dpT().

116 {
117  rho = this->rho(pressure, temperature);
118  drho_dp = rho / _bulk_modulus;
119  drho_dT = -_thermal_expansion * rho;
120 }
const Real _thermal_expansion
thermal expansion coefficient
virtual Real rho(Real pressure, Real temperature) const override
Density from pressure and temperature (kg/m^3)
const Real _bulk_modulus
bulk modulus
const std::string temperature
Definition: NS.h:25
const std::string pressure
Definition: NS.h:24
void SimpleFluidProperties::rho_e_dpT ( Real  pressure,
Real  temperature,
Real &  rho,
Real &  drho_dp,
Real &  drho_dT,
Real &  e,
Real &  de_dp,
Real &  de_dT 
) const
overridevirtual

Density and internal energy from pressure and temperature and derivatives wrt pressure and temperature.

Implements SinglePhaseFluidPropertiesPT.

Definition at line 138 of file SimpleFluidProperties.C.

146 {
147  Real density, ddensity_dp, ddensity_dT;
148  rho_dpT(pressure, temperature, density, ddensity_dp, ddensity_dT);
149  rho = density;
150  drho_dp = ddensity_dp;
151  drho_dT = ddensity_dT;
152 
153  Real energy, denergy_dp, denergy_dT;
154  e_dpT(pressure, temperature, energy, denergy_dp, denergy_dT);
155  e = energy;
156  de_dp = denergy_dp;
157  de_dT = denergy_dT;
158 }
virtual Real e(Real pressure, Real temperature) const override
Internal energy from pressure and temperature (J/kg)
virtual void e_dpT(Real pressure, Real temperature, Real &e, Real &de_dp, Real &de_dT) const override
Internal energy and its derivatives wrt pressure and temperature.
virtual Real rho(Real pressure, Real temperature) const override
Density from pressure and temperature (kg/m^3)
const std::string density
Definition: NS.h:15
const std::string temperature
Definition: NS.h:25
virtual void rho_dpT(Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override
Density from pressure and temperature and its derivatives wrt pressure and temperature.
const std::string pressure
Definition: NS.h:24
Real SimpleFluidProperties::s ( Real  pressure,
Real  temperature 
) const
overridevirtual

Specific entropy (J/kg/K)

Implements SinglePhaseFluidPropertiesPT.

Definition at line 102 of file SimpleFluidProperties.C.

103 {
104  return _specific_entropy;
105 }
const Real _specific_entropy
specific entropy

Member Data Documentation

const Real SimpleFluidProperties::_bulk_modulus
protected

bulk modulus

Definition at line 135 of file SimpleFluidProperties.h.

Referenced by c(), rho(), and rho_dpT().

const Real SimpleFluidProperties::_cp
protected

specific heat at constant pressure

Definition at line 132 of file SimpleFluidProperties.h.

Referenced by cp().

const Real SimpleFluidProperties::_cv
protected

specific heat at constant volume

Definition at line 129 of file SimpleFluidProperties.h.

Referenced by cv(), e(), e_dpT(), and h_dpT().

const Real SimpleFluidProperties::_density0
protected

density at zero pressure and temperature

Definition at line 147 of file SimpleFluidProperties.h.

Referenced by rho().

const Real SimpleFluidProperties::_henry_constant
protected

Henry constant.

Definition at line 150 of file SimpleFluidProperties.h.

Referenced by henryConstant(), and henryConstant_dT().

const Real SimpleFluidProperties::_molar_mass
protected

molar mass

Definition at line 123 of file SimpleFluidProperties.h.

Referenced by molarMass().

const Real SimpleFluidProperties::_pp_coeff
protected

Porepressure coefficient: enthalpy = internal_energy + porepressure / density * _pp_coeff.

Definition at line 153 of file SimpleFluidProperties.h.

Referenced by h(), and h_dpT().

const Real SinglePhaseFluidPropertiesPT::_R
protectedinherited
const Real SimpleFluidProperties::_specific_entropy
protected

specific entropy

Definition at line 141 of file SimpleFluidProperties.h.

Referenced by s().

const Real SinglePhaseFluidPropertiesPT::_T_c2k
protectedinherited
const Real SimpleFluidProperties::_thermal_conductivity
protected

thermal conductivity

Definition at line 138 of file SimpleFluidProperties.h.

Referenced by k(), k_dpT(), and k_from_rho_T().

const Real SimpleFluidProperties::_thermal_expansion
protected

thermal expansion coefficient

Definition at line 126 of file SimpleFluidProperties.h.

Referenced by beta(), rho(), and rho_dpT().

const Real SimpleFluidProperties::_viscosity
protected

viscosity

Definition at line 144 of file SimpleFluidProperties.h.

Referenced by mu(), and mu_from_rho_T().


The documentation for this class was generated from the following files: