Fluid properties of Brine. More...
#include <PorousFlowBrine.h>
Public Types | |
typedef DerivativeMaterialPropertyNameInterface::SymbolName | SymbolName |
Public Member Functions | |
PorousFlowBrine (const InputParameters ¶meters) | |
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 salt mass fraction at the qps or nodes. More... | |
MaterialProperty< Real > *const | _dviscosity_dX |
Derivative of fluid phase viscosity wrt salt mass fraction at the nodes or qps. More... | |
MaterialProperty< Real > *const | _dinternal_energy_dX |
Derivative of fluid internal_energy wrt salt mass fraction at the qps or nodes. More... | |
MaterialProperty< Real > *const | _denthalpy_dX |
Derivative of fluid enthalpy wrt salt mass fraction at the qps or nodes. More... | |
const BrineFluidProperties * | _brine_fp |
Brine fluid properties UserObject. More... | |
const SinglePhaseFluidProperties * | _water_fp |
Water fluid properties UserObject. More... | |
const bool | _is_xnacl_nodal |
Flag for nodal NaCl mass fraction. More... | |
const VariableValue & | _xnacl |
NaCl mass fraction at the qps or nodes. More... | |
const bool | _is_xnacl_pfvar |
Flag to denote whether NaCl mass fraction is a nonlinear variable. More... | |
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... | |
Fluid properties of Brine.
Provides density, viscosity, derivatives wrt pressure and temperature at the quadpoints or nodes
Definition at line 19 of file PorousFlowBrine.h.
|
strongprotectedinherited |
Unit used for porepressure.
Enumerator | |
---|---|
Pa | |
MPa |
Definition at line 43 of file PorousFlowFluidPropertiesBase.h.
|
strongprotectedinherited |
Unit used for time.
Enumerator | |
---|---|
seconds | |
hours | |
days | |
years |
Definition at line 49 of file PorousFlowFluidPropertiesBase.h.
PorousFlowBrine::PorousFlowBrine | ( | const InputParameters & | parameters | ) |
Definition at line 26 of file PorousFlowBrine.C.
|
overrideprotectedvirtual |
Reimplemented from PorousFlowFluidPropertiesBaseTempl< is_ad >.
Definition at line 104 of file PorousFlowBrine.C.
|
overrideprotectedvirtual |
Definition at line 90 of file PorousFlowBrine.C.
|
static |
Definition at line 15 of file PorousFlowBrine.C.
|
protected |
Brine fluid properties UserObject.
Definition at line 43 of file PorousFlowBrine.h.
Referenced by computeQpProperties(), initQpStatefulProperties(), and PorousFlowBrine().
|
protectedinherited |
If true, this Material will compute enthalpy and its derivatives.
Definition at line 61 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
If true, this Material will compute internal energy and its derivatives.
Definition at line 58 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
If true, this Material will compute density and viscosity, and their derivatives.
Definition at line 55 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
Derivative of fluid density wrt phase pore pressure at the qps or nodes.
Definition at line 67 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Derivative of fluid density wrt temperature at the qps or nodes.
Definition at line 70 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Derivative of fluid density wrt salt mass fraction at the qps or nodes.
Definition at line 31 of file PorousFlowBrine.h.
|
protectedinherited |
Fluid phase density at the qps or nodes.
Definition at line 64 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Derivative of fluid enthalpy wrt phase pore pressure at the qps or nodes.
Definition at line 94 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Derivative of fluid enthalpy wrt temperature at the qps or nodes.
Definition at line 97 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Derivative of fluid enthalpy wrt salt mass fraction at the qps or nodes.
Definition at line 40 of file PorousFlowBrine.h.
|
protectedinherited |
Derivative of fluid internal_energy wrt phase pore pressure at the qps or nodes.
Definition at line 85 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Derivative of fluid internal_energy wrt temperature at the qps or nodes.
Definition at line 88 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Derivative of fluid internal_energy wrt salt mass fraction at the qps or nodes.
Definition at line 37 of file PorousFlowBrine.h.
|
protectedinherited |
Derivative of fluid phase viscosity wrt pressure at the nodes.
Definition at line 76 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Derivative of fluid phase viscosity wrt temperature at the nodes.
Definition at line 79 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Derivative of fluid phase viscosity wrt salt mass fraction at the nodes or qps.
Definition at line 34 of file PorousFlowBrine.h.
|
protectedinherited |
Fluid phase enthalpy at the qps or nodes.
Definition at line 91 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Fluid phase internal_energy at the qps or nodes.
Definition at line 82 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Flag for nodal NaCl mass fraction.
Definition at line 49 of file PorousFlowBrine.h.
|
protected |
Flag to denote whether NaCl mass fraction is a nonlinear variable.
Definition at line 55 of file PorousFlowBrine.h.
Referenced by computeQpProperties().
|
protectedinherited |
|
protectedinherited |
Stringified fluid phase number.
Definition at line 34 of file PorousFlowMaterialBase.h.
|
protectedinherited |
Phase number of fluid.
Definition at line 31 of file PorousFlowMaterialBase.h.
Referenced by computeQpProperties(), initQpStatefulProperties(), and PorousFlowMaterialBase::PorousFlowMaterialBase().
|
protectedinherited |
Pore pressure at the nodes or quadpoints.
Definition at line 31 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
convert porepressure to Pascals by multiplying by this quantity
Definition at line 46 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Universal gas constant.
Definition at line 40 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Conversion from degrees Celsius to degrees Kelvin.
Definition at line 37 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
Fluid temperature at the nodes or quadpoints.
Definition at line 34 of file PorousFlowFluidPropertiesBase.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
convert time to seconds by multiplying by this quantity
Definition at line 52 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
|
protectedinherited |
Fluid phase viscosity at the nodes.
Definition at line 73 of file PorousFlowFluidPropertiesBase.h.
|
protected |
Water fluid properties UserObject.
Definition at line 46 of file PorousFlowBrine.h.
Referenced by PorousFlowBrine().
|
protected |
NaCl mass fraction at the qps or nodes.
Definition at line 52 of file PorousFlowBrine.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().