https://mooseframework.inl.gov
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
PorousFlowMultiComponentFluidTempl< is_ad > Class Template Reference

General multicomponent fluid material. More...

#include <PorousFlowMultiComponentFluid.h>

Inheritance diagram for PorousFlowMultiComponentFluidTempl< is_ad >:
[legend]

Public Types

typedef DerivativeMaterialPropertyNameInterface::SymbolName SymbolName
 

Public Member Functions

 PorousFlowMultiComponentFluidTempl (const InputParameters &parameters)
 
const GenericMaterialProperty< U, is_ad > & getDefaultMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< U, is_ad > & getDefaultMaterialPropertyByName (const std::string &name)
 
void validateDerivativeMaterialPropertyBase (const std::string &base)
 
const MaterialPropertyName derivativePropertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName derivativePropertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName derivativePropertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName derivativePropertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, const SymbolName &c1, unsigned int v2, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivative (const std::string &base, unsigned int v1, unsigned int v2=libMesh::invalid_uint, unsigned int v3=libMesh::invalid_uint)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< VariableName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const std::vector< SymbolName > &c)
 
const GenericMaterialProperty< U, is_ad > & getMaterialPropertyDerivativeByName (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2="", const SymbolName &c3="")
 
void validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true)
 
void validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateCoupling (const MaterialPropertyName &base, const std::vector< VariableName > &c, bool validate_aux=true)
 
void validateCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
void validateNonlinearCoupling (const MaterialPropertyName &base, const VariableName &c1="", const VariableName &c2="", const VariableName &c3="")
 
const MaterialPropertyName propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName propertyName (const MaterialPropertyName &base, const std::vector< SymbolName > &c) const
 
const MaterialPropertyName propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName propertyNameFirst (const MaterialPropertyName &base, const SymbolName &c1) const
 
const MaterialPropertyName propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName propertyNameSecond (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2) const
 
const MaterialPropertyName propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 
const MaterialPropertyName propertyNameThird (const MaterialPropertyName &base, const SymbolName &c1, const SymbolName &c2, const SymbolName &c3) const
 

Static Public Member Functions

static InputParameters validParams ()
 

Protected Types

enum  PressureUnitEnum { PressureUnitEnum::Pa, PressureUnitEnum::MPa }
 Unit used for porepressure. More...
 
enum  TimeUnitEnum { TimeUnitEnum::seconds, TimeUnitEnum::hours, TimeUnitEnum::days, TimeUnitEnum::years }
 Unit used for time. More...
 

Protected Member Functions

virtual void initQpStatefulProperties () override
 
virtual void computeQpProperties () override
 

Protected Attributes

MaterialProperty< Real > *const _ddensity_dX
 Derivative of fluid density wrt mass fraction at the qps or nodes. More...
 
MaterialProperty< Real > *const _dviscosity_dX
 Derivative of fluid phase viscosity wrt mass fraction at the nodes or qps. More...
 
MaterialProperty< Real > *const _dinternal_energy_dX
 Derivative of fluid internal_energy wrt mass fraction at the qps or nodes. More...
 
MaterialProperty< Real > *const _denthalpy_dX
 Derivative of fluid enthalpy wrt mass fraction at the qps or nodes. More...
 
const MultiComponentFluidProperties_fp
 Multicomponent fluid properties UserObject. More...
 
const bool _is_X_nodal
 Flag for nodal mass fraction. More...
 
const GenericVariableValue< is_ad > & _X
 Mass fraction variable. More...
 
 usingPorousFlowFluidPropertiesMembers
 
const GenericMaterialProperty< std::vector< Real >, is_ad > & _porepressure
 Pore pressure at the nodes or quadpoints. More...
 
const GenericMaterialProperty< Real, is_ad > & _temperature
 Fluid temperature at the nodes or quadpoints. More...
 
const Real _t_c2k
 Conversion from degrees Celsius to degrees Kelvin. More...
 
const Real _R
 Universal gas constant. More...
 
enum PorousFlowFluidPropertiesBaseTempl::PressureUnitEnum _p_unit
 
const Real _pressure_to_Pascals
 convert porepressure to Pascals by multiplying by this quantity More...
 
enum PorousFlowFluidPropertiesBaseTempl::TimeUnitEnum _time_unit
 
const Real _time_to_seconds
 convert time to seconds by multiplying by this quantity More...
 
const bool _compute_rho_mu
 If true, this Material will compute density and viscosity, and their derivatives. More...
 
const bool _compute_internal_energy
 If true, this Material will compute internal energy and its derivatives. More...
 
const bool _compute_enthalpy
 If true, this Material will compute enthalpy and its derivatives. More...
 
GenericMaterialProperty< Real, is_ad > *const _density
 Fluid phase density at the qps or nodes. More...
 
MaterialProperty< Real > *const _ddensity_dp
 Derivative of fluid density wrt phase pore pressure at the qps or nodes. More...
 
MaterialProperty< Real > *const _ddensity_dT
 Derivative of fluid density wrt temperature at the qps or nodes. More...
 
GenericMaterialProperty< Real, is_ad > *const _viscosity
 Fluid phase viscosity at the nodes. More...
 
MaterialProperty< Real > *const _dviscosity_dp
 Derivative of fluid phase viscosity wrt pressure at the nodes. More...
 
MaterialProperty< Real > *const _dviscosity_dT
 Derivative of fluid phase viscosity wrt temperature at the nodes. More...
 
GenericMaterialProperty< Real, is_ad > *const _internal_energy
 Fluid phase internal_energy at the qps or nodes. More...
 
MaterialProperty< Real > *const _dinternal_energy_dp
 Derivative of fluid internal_energy wrt phase pore pressure at the qps or nodes. More...
 
MaterialProperty< Real > *const _dinternal_energy_dT
 Derivative of fluid internal_energy wrt temperature at the qps or nodes. More...
 
GenericMaterialProperty< Real, is_ad > *const _enthalpy
 Fluid phase enthalpy at the qps or nodes. More...
 
MaterialProperty< Real > *const _denthalpy_dp
 Derivative of fluid enthalpy wrt phase pore pressure at the qps or nodes. More...
 
MaterialProperty< Real > *const _denthalpy_dT
 Derivative of fluid enthalpy wrt temperature at the qps or nodes. More...
 
const unsigned int _phase_num
 Phase number of fluid. More...
 
const std::string _phase
 Stringified fluid phase number. More...
 

Detailed Description

template<bool is_ad>
class PorousFlowMultiComponentFluidTempl< is_ad >

General multicomponent fluid material.

Provides quadpoint density, viscosity, internal energy, enthalpy and derivatives wrt pressure, temperature and mass fraction for a multicompnent fluid defined in the FluidProperties module

Definition at line 22 of file PorousFlowMultiComponentFluid.h.

Member Enumeration Documentation

◆ PressureUnitEnum

template<bool is_ad>
enum PorousFlowFluidPropertiesBaseTempl::PressureUnitEnum
strongprotectedinherited

Unit used for porepressure.

Enumerator
Pa 
MPa 

Definition at line 43 of file PorousFlowFluidPropertiesBase.h.

43 { Pa, MPa } _p_unit;
enum PorousFlowFluidPropertiesBaseTempl::PressureUnitEnum _p_unit

◆ TimeUnitEnum

template<bool is_ad>
enum PorousFlowFluidPropertiesBaseTempl::TimeUnitEnum
strongprotectedinherited

Unit used for time.

Enumerator
seconds 
hours 
days 
years 

Definition at line 49 of file PorousFlowFluidPropertiesBase.h.

49 { seconds, hours, days, years } _time_unit;
enum PorousFlowFluidPropertiesBaseTempl::TimeUnitEnum _time_unit

Constructor & Destructor Documentation

◆ PorousFlowMultiComponentFluidTempl()

template<bool is_ad>
PorousFlowMultiComponentFluidTempl< is_ad >::PorousFlowMultiComponentFluidTempl ( const InputParameters parameters)

Definition at line 29 of file PorousFlowMultiComponentFluid.C.

33  ? (_nodal_material ? &this->template declarePropertyDerivative<Real>(
34  "PorousFlow_fluid_phase_density_nodal" + _phase,
35  _mass_fraction_variable_name)
36  : &this->template declarePropertyDerivative<Real>(
37  "PorousFlow_fluid_phase_density_qp" + _phase,
38  _mass_fraction_variable_name))
39  : nullptr),
42  ? (_nodal_material
43  ? &this->template declarePropertyDerivative<Real>(
44  "PorousFlow_viscosity_nodal" + _phase, _mass_fraction_variable_name)
45  : &this->template declarePropertyDerivative<Real>(
46  "PorousFlow_viscosity_qp" + _phase, _mass_fraction_variable_name))
47  : nullptr),
49  ? (_nodal_material
50  ? &this->template declarePropertyDerivative<Real>(
51  "PorousFlow_fluid_phase_internal_energy_nodal" + _phase,
52  _mass_fraction_variable_name)
53  : &this->template declarePropertyDerivative<Real>(
54  "PorousFlow_fluid_phase_internal_energy_qp" + _phase,
55  _mass_fraction_variable_name))
56  : nullptr),
58  ? (_nodal_material ? &this->template declarePropertyDerivative<Real>(
59  "PorousFlow_fluid_phase_enthalpy_nodal" + _phase,
60  _mass_fraction_variable_name)
61  : &this->template declarePropertyDerivative<Real>(
62  "PorousFlow_fluid_phase_enthalpy_qp" + _phase,
63  _mass_fraction_variable_name))
64  : nullptr),
65  _fp(this->template getUserObject<MultiComponentFluidProperties>("fp")),
66  _is_X_nodal(isCoupled("x") ? getFieldVar("x", 0)->isNodal() : false),
67  _X(_nodal_material && _is_X_nodal ? this->template coupledGenericDofValue<is_ad>("x")
68  : this->template coupledGenericValue<is_ad>("x"))
69 {
70 }
const bool _is_X_nodal
Flag for nodal mass fraction.
const bool _compute_internal_energy
If true, this Material will compute internal energy and its derivatives.
GenericMaterialProperty< U, is_ad > & declarePropertyDerivative(const std::string &base, const std::vector< VariableName > &c)
MaterialProperty< Real > *const _dviscosity_dX
Derivative of fluid phase viscosity wrt mass fraction at the nodes or qps.
Base class for fluid properties materials.
const std::string _phase
Stringified fluid phase number.
const bool _compute_enthalpy
If true, this Material will compute enthalpy and its derivatives.
const GenericVariableValue< is_ad > & _X
Mass fraction variable.
MaterialProperty< Real > *const _dinternal_energy_dX
Derivative of fluid internal_energy wrt mass fraction at the qps or nodes.
Common class for multiple component fluid properties using a pressure and temperature formulation...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MultiComponentFluidProperties & _fp
Multicomponent fluid properties UserObject.
const bool _compute_rho_mu
If true, this Material will compute density and viscosity, and their derivatives. ...
MaterialProperty< Real > *const _ddensity_dX
Derivative of fluid density wrt mass fraction at the qps or nodes.
MaterialProperty< Real > *const _denthalpy_dX
Derivative of fluid enthalpy wrt mass fraction at the qps or nodes.

Member Function Documentation

◆ computeQpProperties()

template<bool is_ad>
void PorousFlowMultiComponentFluidTempl< is_ad >::computeQpProperties ( )
overrideprotectedvirtual

Reimplemented from PorousFlowFluidPropertiesBaseTempl< is_ad >.

Definition at line 91 of file PorousFlowMultiComponentFluid.C.

92 {
93  const GenericReal<is_ad> Tk = _temperature[_qp] + _t_c2k;
94 
95  if (_compute_rho_mu)
96  {
97  if (is_ad)
98  {
99  (*_density)[_qp] =
100  _fp.rho_from_p_T_X(_porepressure[_qp][_phase_num] * _pressure_to_Pascals, Tk, _X[_qp]);
101  (*_viscosity)[_qp] =
102  _fp.mu_from_p_T_X(_porepressure[_qp][_phase_num] * _pressure_to_Pascals, Tk, _X[_qp]) /
104  }
105  else
106  {
107  // Density and derivatives wrt pressure and temperature
108  Real rho, drho_dp, drho_dT, drho_dx;
109  _fp.rho_from_p_T_X(MetaPhysicL::raw_value(_porepressure[_qp][_phase_num]) *
113  rho,
114  drho_dp,
115  drho_dT,
116  drho_dx);
117  (*_density)[_qp] = rho;
118  (*_ddensity_dp)[_qp] = drho_dp * _pressure_to_Pascals;
119  (*_ddensity_dT)[_qp] = drho_dT;
120  (*_ddensity_dX)[_qp] = drho_dx;
121 
122  // Viscosity and derivatives wrt pressure and temperature
123  Real mu, dmu_dp, dmu_dT, dmu_dx;
124  _fp.mu_from_p_T_X(MetaPhysicL::raw_value(_porepressure[_qp][_phase_num]) *
128  mu,
129  dmu_dp,
130  dmu_dT,
131  dmu_dx);
132  (*_viscosity)[_qp] = mu / _pressure_to_Pascals / _time_to_seconds;
133  (*_dviscosity_dp)[_qp] = dmu_dp / _time_to_seconds;
134  (*_dviscosity_dT)[_qp] = dmu_dT / _pressure_to_Pascals / _time_to_seconds;
135  (*_dviscosity_dX)[_qp] = dmu_dx / _pressure_to_Pascals / _time_to_seconds;
136  }
137  }
138 
139  // Internal energy and derivatives wrt pressure and temperature
141  {
142  if (is_ad)
143  (*_internal_energy)[_qp] =
144  _fp.e_from_p_T_X(_porepressure[_qp][_phase_num] * _pressure_to_Pascals, Tk, _X[_qp]);
145  else
146  {
147  Real e, de_dp, de_dT, de_dx;
148  _fp.e_from_p_T_X(MetaPhysicL::raw_value(_porepressure[_qp][_phase_num]) *
152  e,
153  de_dp,
154  de_dT,
155  de_dx);
156  (*_internal_energy)[_qp] = e;
157  (*_dinternal_energy_dp)[_qp] = de_dp * _pressure_to_Pascals;
158  (*_dinternal_energy_dT)[_qp] = de_dT;
159  (*_dinternal_energy_dX)[_qp] = de_dx;
160  }
161  }
162 
163  // Enthalpy and derivatives wrt pressure and temperature
164  if (_compute_enthalpy)
165  {
166  if (is_ad)
167  (*_enthalpy)[_qp] =
168  _fp.h_from_p_T_X(_porepressure[_qp][_phase_num] * _pressure_to_Pascals, Tk, _X[_qp]);
169  else
170  {
171  Real h, dh_dp, dh_dT, dh_dx;
172  _fp.h_from_p_T_X(MetaPhysicL::raw_value(_porepressure[_qp][_phase_num]) *
176  h,
177  dh_dp,
178  dh_dT,
179  dh_dx);
180  (*_enthalpy)[_qp] = h;
181  (*_denthalpy_dp)[_qp] = dh_dp * _pressure_to_Pascals;
182  (*_denthalpy_dT)[_qp] = dh_dT;
183  (*_denthalpy_dX)[_qp] = dh_dx;
184  }
185  }
186 }
Moose::GenericType< Real, is_ad > GenericReal
const bool _compute_internal_energy
If true, this Material will compute internal energy and its derivatives.
const Real _pressure_to_Pascals
convert porepressure to Pascals by multiplying by this quantity
auto raw_value(const Eigen::Map< T > &in)
const Real _time_to_seconds
convert time to seconds by multiplying by this quantity
const unsigned int _phase_num
Phase number of fluid.
const Real _t_c2k
Conversion from degrees Celsius to degrees Kelvin.
static const std::string mu
Definition: NS.h:123
const GenericMaterialProperty< Real, is_ad > & _temperature
Fluid temperature at the nodes or quadpoints.
const bool _compute_enthalpy
If true, this Material will compute enthalpy and its derivatives.
const GenericVariableValue< is_ad > & _X
Mass fraction variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MultiComponentFluidProperties & _fp
Multicomponent fluid properties UserObject.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _porepressure
Pore pressure at the nodes or quadpoints.
const bool _compute_rho_mu
If true, this Material will compute density and viscosity, and their derivatives. ...

◆ initQpStatefulProperties()

template<bool is_ad>
void PorousFlowMultiComponentFluidTempl< is_ad >::initQpStatefulProperties ( )
overrideprotectedvirtual

Definition at line 74 of file PorousFlowMultiComponentFluid.C.

75 {
76  if (_compute_rho_mu)
77  (*_density)[_qp] = _fp.rho_from_p_T_X(
79 
81  (*_internal_energy)[_qp] = _fp.e_from_p_T_X(
83 
85  (*_enthalpy)[_qp] = _fp.h_from_p_T_X(
87 }
const bool _compute_internal_energy
If true, this Material will compute internal energy and its derivatives.
const Real _pressure_to_Pascals
convert porepressure to Pascals by multiplying by this quantity
const unsigned int _phase_num
Phase number of fluid.
const Real _t_c2k
Conversion from degrees Celsius to degrees Kelvin.
const GenericMaterialProperty< Real, is_ad > & _temperature
Fluid temperature at the nodes or quadpoints.
const bool _compute_enthalpy
If true, this Material will compute enthalpy and its derivatives.
const GenericVariableValue< is_ad > & _X
Mass fraction variable.
const MultiComponentFluidProperties & _fp
Multicomponent fluid properties UserObject.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _porepressure
Pore pressure at the nodes or quadpoints.
const bool _compute_rho_mu
If true, this Material will compute density and viscosity, and their derivatives. ...

◆ validParams()

template<bool is_ad>
InputParameters PorousFlowMultiComponentFluidTempl< is_ad >::validParams ( )
static

Definition at line 18 of file PorousFlowMultiComponentFluid.C.

19 {
21  params.addRequiredParam<UserObjectName>("fp", "The name of the user object for fluid properties");
22  params.addCoupledVar("x", 0, "The mass fraction variable");
23  params.addClassDescription(
24  "This Material calculates fluid properties for a multicomponent fluid");
25  return params;
26 }
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addCoupledVar(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)

Member Data Documentation

◆ _compute_enthalpy

template<bool is_ad>
const bool PorousFlowFluidPropertiesBaseTempl< is_ad >::_compute_enthalpy
protectedinherited

If true, this Material will compute enthalpy and its derivatives.

Definition at line 61 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _compute_internal_energy

template<bool is_ad>
const bool PorousFlowFluidPropertiesBaseTempl< is_ad >::_compute_internal_energy
protectedinherited

If true, this Material will compute internal energy and its derivatives.

Definition at line 58 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _compute_rho_mu

template<bool is_ad>
const bool PorousFlowFluidPropertiesBaseTempl< is_ad >::_compute_rho_mu
protectedinherited

If true, this Material will compute density and viscosity, and their derivatives.

Definition at line 55 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _ddensity_dp

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_ddensity_dp
protectedinherited

Derivative of fluid density wrt phase pore pressure at the qps or nodes.

Definition at line 67 of file PorousFlowFluidPropertiesBase.h.

◆ _ddensity_dT

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_ddensity_dT
protectedinherited

Derivative of fluid density wrt temperature at the qps or nodes.

Definition at line 70 of file PorousFlowFluidPropertiesBase.h.

◆ _ddensity_dX

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowMultiComponentFluidTempl< is_ad >::_ddensity_dX
protected

Derivative of fluid density wrt mass fraction at the qps or nodes.

Definition at line 34 of file PorousFlowMultiComponentFluid.h.

◆ _density

template<bool is_ad>
GenericMaterialProperty<Real, is_ad>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_density
protectedinherited

Fluid phase density at the qps or nodes.

Definition at line 64 of file PorousFlowFluidPropertiesBase.h.

◆ _denthalpy_dp

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_denthalpy_dp
protectedinherited

Derivative of fluid enthalpy wrt phase pore pressure at the qps or nodes.

Definition at line 94 of file PorousFlowFluidPropertiesBase.h.

◆ _denthalpy_dT

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_denthalpy_dT
protectedinherited

Derivative of fluid enthalpy wrt temperature at the qps or nodes.

Definition at line 97 of file PorousFlowFluidPropertiesBase.h.

◆ _denthalpy_dX

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowMultiComponentFluidTempl< is_ad >::_denthalpy_dX
protected

Derivative of fluid enthalpy wrt mass fraction at the qps or nodes.

Definition at line 43 of file PorousFlowMultiComponentFluid.h.

◆ _dinternal_energy_dp

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_dinternal_energy_dp
protectedinherited

Derivative of fluid internal_energy wrt phase pore pressure at the qps or nodes.

Definition at line 85 of file PorousFlowFluidPropertiesBase.h.

◆ _dinternal_energy_dT

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_dinternal_energy_dT
protectedinherited

Derivative of fluid internal_energy wrt temperature at the qps or nodes.

Definition at line 88 of file PorousFlowFluidPropertiesBase.h.

◆ _dinternal_energy_dX

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowMultiComponentFluidTempl< is_ad >::_dinternal_energy_dX
protected

Derivative of fluid internal_energy wrt mass fraction at the qps or nodes.

Definition at line 40 of file PorousFlowMultiComponentFluid.h.

◆ _dviscosity_dp

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_dviscosity_dp
protectedinherited

Derivative of fluid phase viscosity wrt pressure at the nodes.

Definition at line 76 of file PorousFlowFluidPropertiesBase.h.

◆ _dviscosity_dT

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_dviscosity_dT
protectedinherited

Derivative of fluid phase viscosity wrt temperature at the nodes.

Definition at line 79 of file PorousFlowFluidPropertiesBase.h.

◆ _dviscosity_dX

template<bool is_ad>
MaterialProperty<Real>* const PorousFlowMultiComponentFluidTempl< is_ad >::_dviscosity_dX
protected

Derivative of fluid phase viscosity wrt mass fraction at the nodes or qps.

Definition at line 37 of file PorousFlowMultiComponentFluid.h.

◆ _enthalpy

template<bool is_ad>
GenericMaterialProperty<Real, is_ad>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_enthalpy
protectedinherited

Fluid phase enthalpy at the qps or nodes.

Definition at line 91 of file PorousFlowFluidPropertiesBase.h.

◆ _fp

template<bool is_ad>
const MultiComponentFluidProperties& PorousFlowMultiComponentFluidTempl< is_ad >::_fp
protected

Multicomponent fluid properties UserObject.

Definition at line 46 of file PorousFlowMultiComponentFluid.h.

◆ _internal_energy

template<bool is_ad>
GenericMaterialProperty<Real, is_ad>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_internal_energy
protectedinherited

Fluid phase internal_energy at the qps or nodes.

Definition at line 82 of file PorousFlowFluidPropertiesBase.h.

◆ _is_X_nodal

template<bool is_ad>
const bool PorousFlowMultiComponentFluidTempl< is_ad >::_is_X_nodal
protected

Flag for nodal mass fraction.

Definition at line 49 of file PorousFlowMultiComponentFluid.h.

◆ _p_unit

template<bool is_ad>
enum PorousFlowFluidPropertiesBaseTempl::PressureUnitEnum PorousFlowFluidPropertiesBaseTempl< is_ad >::_p_unit
protectedinherited

◆ _phase

const std::string PorousFlowMaterialBase::_phase
protectedinherited

Stringified fluid phase number.

Definition at line 34 of file PorousFlowMaterialBase.h.

◆ _phase_num

const unsigned int PorousFlowMaterialBase::_phase_num
protectedinherited

◆ _porepressure

template<bool is_ad>
const GenericMaterialProperty<std::vector<Real>, is_ad>& PorousFlowFluidPropertiesBaseTempl< is_ad >::_porepressure
protectedinherited

Pore pressure at the nodes or quadpoints.

Definition at line 31 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _pressure_to_Pascals

template<bool is_ad>
const Real PorousFlowFluidPropertiesBaseTempl< is_ad >::_pressure_to_Pascals
protectedinherited

convert porepressure to Pascals by multiplying by this quantity

Definition at line 46 of file PorousFlowFluidPropertiesBase.h.

◆ _R

template<bool is_ad>
const Real PorousFlowFluidPropertiesBaseTempl< is_ad >::_R
protectedinherited

Universal gas constant.

Definition at line 40 of file PorousFlowFluidPropertiesBase.h.

◆ _t_c2k

template<bool is_ad>
const Real PorousFlowFluidPropertiesBaseTempl< is_ad >::_t_c2k
protectedinherited

Conversion from degrees Celsius to degrees Kelvin.

Definition at line 37 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _temperature

template<bool is_ad>
const GenericMaterialProperty<Real, is_ad>& PorousFlowFluidPropertiesBaseTempl< is_ad >::_temperature
protectedinherited

Fluid temperature at the nodes or quadpoints.

Definition at line 34 of file PorousFlowFluidPropertiesBase.h.

Referenced by PorousFlowBrine::computeQpProperties(), and PorousFlowBrine::initQpStatefulProperties().

◆ _time_to_seconds

template<bool is_ad>
const Real PorousFlowFluidPropertiesBaseTempl< is_ad >::_time_to_seconds
protectedinherited

convert time to seconds by multiplying by this quantity

Definition at line 52 of file PorousFlowFluidPropertiesBase.h.

◆ _time_unit

template<bool is_ad>
enum PorousFlowFluidPropertiesBaseTempl::TimeUnitEnum PorousFlowFluidPropertiesBaseTempl< is_ad >::_time_unit
protectedinherited

◆ _viscosity

template<bool is_ad>
GenericMaterialProperty<Real, is_ad>* const PorousFlowFluidPropertiesBaseTempl< is_ad >::_viscosity
protectedinherited

Fluid phase viscosity at the nodes.

Definition at line 73 of file PorousFlowFluidPropertiesBase.h.

◆ _X

template<bool is_ad>
const GenericVariableValue<is_ad>& PorousFlowMultiComponentFluidTempl< is_ad >::_X
protected

Mass fraction variable.

Definition at line 52 of file PorousFlowMultiComponentFluid.h.

◆ usingPorousFlowFluidPropertiesMembers

template<bool is_ad>
PorousFlowMultiComponentFluidTempl< is_ad >::usingPorousFlowFluidPropertiesMembers
protected

Definition at line 54 of file PorousFlowMultiComponentFluid.h.


The documentation for this class was generated from the following files: