General single component fluid material. More...
#include <PorousFlowSingleComponentFluid.h>
Public Member Functions | |
PorousFlowSingleComponentFluid (const InputParameters ¶meters) | |
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 | |
enum PorousFlowSingleComponentFluid::PressureUnitEnum | _p_unit |
const Real | _pressure_to_Pascals |
convert porepressure to Pascals by multiplying by this quantity More... | |
enum PorousFlowSingleComponentFluid::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... | |
MaterialProperty< Real > *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... | |
MaterialProperty< Real > *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... | |
MaterialProperty< Real > *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... | |
MaterialProperty< Real > *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 SinglePhaseFluidProperties & | _fp |
Fluid properties UserObject. More... | |
const MaterialProperty< std::vector< Real > > & | _porepressure |
Pore pressure at the nodes or quadpoints. More... | |
const MaterialProperty< Real > & | _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... | |
const unsigned int | _phase_num |
Phase number of fluid. More... | |
const std::string | _phase |
Stringified fluid phase number. More... | |
General single component fluid material.
Provides quadpoint density, viscosity, internal energy, enthalpy and derivatives wrt pressure and temperature for a fluid defined in the FluidProperties module
Definition at line 25 of file PorousFlowSingleComponentFluid.h.
|
strongprotected |
Unit used for porepressure.
Enumerator | |
---|---|
Pa | |
MPa |
Definition at line 35 of file PorousFlowSingleComponentFluid.h.
|
strongprotected |
Unit used for time.
Enumerator | |
---|---|
seconds | |
hours | |
days | |
years |
Definition at line 41 of file PorousFlowSingleComponentFluid.h.
PorousFlowSingleComponentFluid::PorousFlowSingleComponentFluid | ( | const InputParameters & | parameters | ) |
Definition at line 39 of file PorousFlowSingleComponentFluid.C.
|
overrideprotectedvirtual |
Reimplemented from PorousFlowFluidPropertiesBase.
Definition at line 162 of file PorousFlowSingleComponentFluid.C.
|
overrideprotectedvirtual |
Definition at line 148 of file PorousFlowSingleComponentFluid.C.
|
protected |
If true, this Material will compute enthalpy and its derivatives.
Definition at line 53 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protected |
If true, this Material will compute internal energy and its derivatives.
Definition at line 50 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protected |
If true, this Material will compute density and viscosity, and their derivatives.
Definition at line 47 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protected |
Derivative of fluid density wrt phase pore pressure at the qps or nodes.
Definition at line 59 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid density wrt temperature at the qps or nodes.
Definition at line 62 of file PorousFlowSingleComponentFluid.h.
|
protected |
Fluid phase density at the qps or nodes.
Definition at line 56 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid enthalpy wrt phase pore pressure at the qps or nodes.
Definition at line 86 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid enthalpy wrt temperature at the qps or nodes.
Definition at line 89 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid internal_energy wrt phase pore pressure at the qps or nodes.
Definition at line 77 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid internal_energy wrt temperature at the qps or nodes.
Definition at line 80 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid phase viscosity wrt pressure at the nodes.
Definition at line 68 of file PorousFlowSingleComponentFluid.h.
|
protected |
Derivative of fluid phase viscosity wrt temperature at the nodes.
Definition at line 71 of file PorousFlowSingleComponentFluid.h.
|
protected |
Fluid phase enthalpy at the qps or nodes.
Definition at line 83 of file PorousFlowSingleComponentFluid.h.
|
protected |
Fluid properties UserObject.
Definition at line 92 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protected |
Fluid phase internal_energy at the qps or nodes.
Definition at line 74 of file PorousFlowSingleComponentFluid.h.
|
protected |
|
protectedinherited |
Stringified fluid phase number.
Definition at line 37 of file PorousFlowMaterialBase.h.
|
protectedinherited |
Phase number of fluid.
Definition at line 34 of file PorousFlowMaterialBase.h.
Referenced by PorousFlowRelativePermeabilityBase::computeQpProperties(), PorousFlowBrine::computeQpProperties(), computeQpProperties(), PorousFlowBrine::initQpStatefulProperties(), initQpStatefulProperties(), and PorousFlowMaterialBase::PorousFlowMaterialBase().
|
protectedinherited |
Pore pressure at the nodes or quadpoints.
Definition at line 33 of file PorousFlowFluidPropertiesBase.h.
Referenced by PorousFlowBrine::computeQpProperties(), computeQpProperties(), PorousFlowBrine::initQpStatefulProperties(), and initQpStatefulProperties().
|
protected |
convert porepressure to Pascals by multiplying by this quantity
Definition at line 38 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
Universal gas constant.
Definition at line 42 of file PorousFlowFluidPropertiesBase.h.
|
protectedinherited |
Conversion from degrees Celsius to degrees Kelvin.
Definition at line 39 of file PorousFlowFluidPropertiesBase.h.
Referenced by PorousFlowBrine::computeQpProperties(), computeQpProperties(), PorousFlowBrine::initQpStatefulProperties(), and initQpStatefulProperties().
|
protectedinherited |
Fluid temperature at the nodes or quadpoints.
Definition at line 36 of file PorousFlowFluidPropertiesBase.h.
Referenced by PorousFlowBrine::computeQpProperties(), computeQpProperties(), PorousFlowBrine::initQpStatefulProperties(), and initQpStatefulProperties().
|
protected |
convert time to seconds by multiplying by this quantity
Definition at line 44 of file PorousFlowSingleComponentFluid.h.
Referenced by computeQpProperties().
|
protected |
|
protected |
Fluid phase viscosity at the nodes.
Definition at line 65 of file PorousFlowSingleComponentFluid.h.