www.mooseframework.org
PorousFlowFluidStateWaterNCG.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 POROUSFLOWFLUIDSTATEWATERNCG_H
9 #define POROUSFLOWFLUIDSTATEWATERNCG_H
10 
12 #include "Water97FluidProperties.h"
13 
15 
16 template <>
18 
25 {
26 public:
27  PorousFlowFluidStateWaterNCG(const InputParameters & parameters);
28 
29 protected:
30  virtual void thermophysicalProperties() override;
31 
42  Real enthalpyOfDissolution(Real temperature, Real Kh, Real dKh_dT) const;
43 
50  Real moleFractionToMassFraction(Real xmol) const;
51 
57  const Real _Mh2o;
59  const Real _Mncg;
64 };
65 
66 #endif // POROUSFLOWFLUIDSTATEWATERNCG_H
const Real _Mncg
Molar mass of non-condensable gas (kg/mol)
const Water97FluidProperties & _water_fp
Fluid properties UserObject for water.
const SinglePhaseFluidPropertiesPT & _ncg_fp
Fluid properties UserObject for the NCG.
const Real _water_critical_temperature
Critical temperature of water (K)
const Real _Mh2o
Molar mass of water (kg/mol)
Real moleFractionToMassFraction(Real xmol) const
Convert mole fraction to mass fraction.
const std::string temperature
Definition: NS.h:25
const Real _water_triple_temperature
Triple point temperature of water (K)
Common class for single phase fluid properties using a pressure and temperature formulation.
Real enthalpyOfDissolution(Real temperature, Real Kh, Real dKh_dT) const
Enthalpy of dissolution of NCG in water calculated using Henry&#39;s constant From Himmelblau, Partial molal heats and entropies of solution for gases dissolved in water from the freezing to the near critical point, J.
InputParameters validParams< PorousFlowFluidStateWaterNCG >()
Fluid state class for water and a non-condensable gas.
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revi...
virtual void thermophysicalProperties() override
Calculates all required thermophysical properties and derivatives for each phase and fluid component...
PorousFlowFluidStateWaterNCG(const InputParameters &parameters)
Base class for fluid states using a persistent set of primary variables for the mutliphase, multicomponent case.