www.mooseframework.org
IdealGasFluidPropertiesPT.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef IDEALGASFLUIDPROPERTIESPT_H
9 #define IDEALGASFLUIDPROPERTIESPT_H
10 
12 
14 
15 template <>
17 
23 {
24 public:
25  IdealGasFluidPropertiesPT(const InputParameters & parameters);
27 
28  virtual std::string fluidName() const override;
29 
30  virtual Real molarMass() const override;
31 
32  virtual Real beta(Real pressure, Real temperature) const override;
33 
34  virtual Real cp(Real pressure, Real temperature) const override;
35 
36  virtual Real cv(Real pressure, Real temperature) const override;
37 
38  virtual Real c(Real pressure, Real temperature) const override;
39 
40  virtual Real k(Real pressure, Real temperature) const override;
41 
42  virtual void
43  k_dpT(Real pressure, Real temperature, Real & k, Real & dk_dp, Real & dk_dT) const override;
44 
45  virtual Real k_from_rho_T(Real density, Real temperature) const override;
46 
47  virtual Real s(Real pressure, Real temperature) const override;
48 
49  virtual Real rho(Real pressure, Real temperature) const override;
50 
51  virtual void rho_dpT(
52  Real pressure, Real temperature, Real & rho, Real & drho_dp, Real & drho_dT) const override;
53 
54  virtual Real e(Real pressure, Real temperature) const override;
55 
56  virtual void
57  e_dpT(Real pressure, Real temperature, Real & e, Real & de_dp, Real & de_dT) const override;
58 
59  virtual void rho_e_dpT(Real pressure,
60  Real temperature,
61  Real & rho,
62  Real & drho_dp,
63  Real & drho_dT,
64  Real & e,
65  Real & de_dp,
66  Real & de_dT) const override;
67 
68  virtual Real mu(Real pressure, Real temperature) const override;
69 
70  virtual void
71  mu_dpT(Real pressure, Real temperature, Real & mu, Real & dmu_dp, Real & dmu_dT) const override;
72 
73  virtual Real mu_from_rho_T(Real density, Real temperature) const override;
74 
75  virtual void mu_drhoT_from_rho_T(Real density,
76  Real temperature,
77  Real ddensity_dT,
78  Real & mu,
79  Real & dmu_drho,
80  Real & dmu_dT) const override;
81 
82  virtual Real h(Real p, Real T) const override;
83 
84  virtual void
85  h_dpT(Real pressure, Real temperature, Real & h, Real & dh_dp, Real & dh_dT) const override;
86 
87  virtual Real henryConstant(Real temperature) const override;
88 
89  virtual void henryConstant_dT(Real temperature, Real & Kh, Real & dKh_dT) const override;
90 
91 protected:
93  const Real _molar_mass;
95  const Real _thermal_expansion;
97  const Real _cv;
99  const Real _cp;
103  const Real _specific_entropy;
105  const Real _viscosity;
107  const Real _henry_constant;
108 };
109 
110 #endif /* IDEALGASFLUIDPROPERTIESPT_H */
const Real _henry_constant
Henry constant.
const Real _thermal_conductivity
thermal conductivity
virtual Real e(Real pressure, Real temperature) const override
Internal energy.
IdealGasFluidPropertiesPT(const InputParameters &parameters)
virtual Real mu_from_rho_T(Real density, Real temperature) const override
const std::string density
Definition: NS.h:15
virtual Real cp(Real pressure, Real temperature) const override
Isobaric specific heat capacity.
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 and their derivatives wrt pressure and temperature.
virtual Real mu(Real pressure, Real temperature) const override
const std::string temperature
Definition: NS.h:25
virtual Real cv(Real pressure, Real temperature) const override
Isochoric specific heat.
Common class for single phase fluid properties using a pressure and temperature formulation.
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.
virtual Real h(Real p, Real T) const override
Specific enthalpy.
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.
Ideal gas fluid properties for (pressure, temperature) variables.
virtual Real rho(Real pressure, Real temperature) const override
Density.
virtual Real molarMass() const override
Molar mass.
const Real _thermal_expansion
thermal expansion coefficient
InputParameters validParams< IdealGasFluidPropertiesPT >()
virtual Real k_from_rho_T(Real density, Real temperature) const override
Thermal conductivity as a function of density and temperature.
virtual Real k(Real pressure, Real temperature) const override
Thermal conductivity.
virtual Real beta(Real pressure, Real temperature) const override
Thermal expansion coefficient.
virtual Real c(Real pressure, Real temperature) const override
Speed of sound.
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.
virtual std::string fluidName() const override
Fluid name.
virtual void rho_dpT(Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override
Density and its derivatives wrt pressure and temperature.
const std::string pressure
Definition: NS.h:24
const Real _specific_entropy
specific entropy
virtual void mu_dpT(Real pressure, Real temperature, Real &mu, Real &dmu_dp, Real &dmu_dT) const override
const Real _cv
specific heat at constant volume
virtual Real s(Real pressure, Real temperature) const override
Specific entropy.
virtual Real henryConstant(Real temperature) const override
Henry&#39;s law constant for dissolution in water.
virtual void h_dpT(Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const override
Enthalpy and its derivatives wrt pressure and temperature.
const Real _cp
specific heat at constant pressure
virtual void henryConstant_dT(Real temperature, Real &Kh, Real &dKh_dT) const override
Henry&#39;s law constant for dissolution in water and derivative wrt temperature.