www.mooseframework.org
PorousFlowWaterVapor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
16 
17 template <>
18 InputParameters validParams<PorousFlowWaterVapor>();
19 
27 {
28 public:
29  PorousFlowWaterVapor(const InputParameters & parameters);
30 
31  virtual std::string fluidStateName() const override;
32 
34  Real enthalpy,
35  unsigned int qp,
36  FluidStatePhaseEnum & phase_state,
37  std::vector<FluidStateProperties> & fsp) const override;
38 
39 protected:
43  const Real _Mh2o;
45  const Real _p_triple;
47  const Real _p_critical;
49  const Real _T_triple;
51  const Real _T_critical;
52 };
SinglePhaseFluidProperties
Common class for single phase fluid properties.
Definition: SinglePhaseFluidProperties.h:89
FluidStatePhaseEnum
FluidStatePhaseEnum
Phase state enum.
Definition: PorousFlowFluidStateBase.h:18
PorousFlowWaterVapor::_p_critical
const Real _p_critical
Critical pressure of water (Pa)
Definition: PorousFlowWaterVapor.h:47
PorousFlowWaterVapor::PorousFlowWaterVapor
PorousFlowWaterVapor(const InputParameters &parameters)
Definition: PorousFlowWaterVapor.C:27
PorousFlowWaterVapor::thermophysicalProperties
void thermophysicalProperties(Real pressure, Real enthalpy, unsigned int qp, FluidStatePhaseEnum &phase_state, std::vector< FluidStateProperties > &fsp) const override
Determines the complete thermophysical state of the system for a given set of primary variables.
Definition: PorousFlowWaterVapor.C:68
PorousFlowWaterVapor::_p_triple
const Real _p_triple
Triple point pressure of water (Pa)
Definition: PorousFlowWaterVapor.h:45
PorousFlowFluidStateSingleComponentBase
Base class for miscible multiphase flow classes with a single fluid component using a pressure and en...
Definition: PorousFlowFluidStateSingleComponentBase.h:23
PorousFlowWaterVapor::_T_triple
const Real _T_triple
Triple point temperature of water (K)
Definition: PorousFlowWaterVapor.h:49
PorousFlowWaterVapor::_T_critical
const Real _T_critical
Critical temperature of water (K)
Definition: PorousFlowWaterVapor.h:51
PorousFlowWaterVapor
Specialized class for water and vapor mixture using pressure and enthalpy.
Definition: PorousFlowWaterVapor.h:26
NS::enthalpy
const std::string enthalpy
Definition: NS.h:27
PorousFlowWaterVapor::_water_fp
const SinglePhaseFluidProperties & _water_fp
Fluid properties UserObject for water.
Definition: PorousFlowWaterVapor.h:41
PorousFlowFluidStateSingleComponentBase.h
validParams< PorousFlowWaterVapor >
InputParameters validParams< PorousFlowWaterVapor >()
Definition: PorousFlowWaterVapor.C:19
PorousFlowWaterVapor::fluidStateName
virtual std::string fluidStateName() const override
Name of FluidState.
Definition: PorousFlowWaterVapor.C:62
PorousFlowWaterVapor::_Mh2o
const Real _Mh2o
Molar mass of water (kg/mol)
Definition: PorousFlowWaterVapor.h:43
NS::pressure
const std::string pressure
Definition: NS.h:25