https://mooseframework.inl.gov
PorousFlowWaterVapor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
15 
23 {
24 public:
26 
28 
29  virtual std::string fluidStateName() const override;
30 
32  Real enthalpy,
33  unsigned int qp,
34  std::vector<FluidStateProperties> & fsp) const override;
35 
37  const ADReal & enthalpy,
38  unsigned int qp,
39  std::vector<FluidStateProperties> & fsp) const override;
40 
42  const ADReal & enthalpy,
43  unsigned int qp,
44  FluidStatePhaseEnum & phase_state,
45  std::vector<FluidStateProperties> & fsp) const;
46 
47 protected:
51  const Real _Mh2o;
53  const Real _p_triple;
57  const Real _T_triple;
60 };
static InputParameters validParams()
const Real _p_critical
Critical pressure of water (Pa)
const Real _Mh2o
Molar mass of water (kg/mol)
const Real _T_triple
Triple point temperature of water (K)
const Real _T_critical
Critical temperature of water (K)
Common class for single phase fluid properties.
FluidStatePhaseEnum
Phase state enum.
const Real _p_triple
Triple point pressure of water (Pa)
PorousFlowWaterVapor(const InputParameters &parameters)
const SinglePhaseFluidProperties & _water_fp
Fluid properties UserObject for water.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string pressure
Definition: NS.h:56
virtual std::string fluidStateName() const override
Name of FluidState.
const InputParameters & parameters() const
void thermophysicalProperties(Real pressure, Real enthalpy, unsigned int qp, std::vector< FluidStateProperties > &fsp) const override
Determines the complete thermophysical state of the system for a given set of primary variables...
Specialized class for water and vapor mixture using pressure and enthalpy.
Base class for miscible multiphase flow classes with a single fluid component using a pressure and en...