https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
24public:
26
28
29 virtual std::string fluidStateName() const override;
30
31 void thermophysicalProperties(Real pressure,
32 Real enthalpy,
33 unsigned int qp,
34 std::vector<FluidStateProperties> & fsp) const override;
35
36 void thermophysicalProperties(const ADReal & pressure,
37 const ADReal & enthalpy,
38 unsigned int qp,
39 std::vector<FluidStateProperties> & fsp) const override;
40
41 void thermophysicalProperties(const ADReal & pressure,
42 const ADReal & enthalpy,
43 unsigned int qp,
44 FluidStatePhaseEnum & phase_state,
45 std::vector<FluidStateProperties> & fsp) const;
46
47protected:
51 const Real _Mh2o;
53 const Real _p_triple;
55 const Real _p_critical;
57 const Real _T_triple;
59 const Real _T_critical;
60};
DualNumber< Real, DNDerivativeType, true > ADReal
FluidStatePhaseEnum
Phase state enum.
const InputParameters & parameters() const
Base class for miscible multiphase flow classes with a single fluid component using a pressure and en...
Specialized class for water and vapor mixture using pressure and enthalpy.
const Real _T_triple
Triple point temperature of water (K)
const Real _Mh2o
Molar mass of water (kg/mol)
const Real _p_triple
Triple point pressure of water (Pa)
const SinglePhaseFluidProperties & _water_fp
Fluid properties UserObject for water.
virtual std::string fluidStateName() const override
Name of FluidState.
const Real _T_critical
Critical temperature of water (K)
const Real _p_critical
Critical pressure of water (Pa)
static InputParameters validParams()
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.
Common class for single phase fluid properties.