Go to the documentation of this file.
77 std::vector<const VariableValue *>
_Z;
83 std::vector<unsigned int>
_Zvar;
117 MaterialProperty<std::vector<std::vector<Real>>> &
_mass_frac;
145 std::vector<FluidStateProperties>
_fsp;
MaterialProperty< std::vector< Real > > & _fluid_density
Fluid density of each phase.
std::vector< const VariableValue * > _Z
Total mass fraction(s) of the gas component(s) summed over all phases.
const unsigned int _aqueous_phase_number
Phase number of the aqueous phase.
const unsigned int _Xidx
Index of derivative wrt salt mass fraction X.
std::vector< const VariableGradient * > _gradZ_qp
Gradient(s) of total mass fraction(s) of the gas component(s) (only defined at the qps)
const unsigned int _aqueous_fluid_component
Fluid component number of the aqueous component.
PorousFlowFluidState(const InputParameters ¶meters)
Compositional flash routines for miscible multiphase flow classes with multiple fluid components.
Fluid state class using a persistent set of primary variables for the mutliphase, multicomponent case...
MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_density_dvar
Derivative of the fluid density for each phase wrt PorousFlow variables.
const unsigned int _gas_porepressure_varnum
Moose variable number of the gas porepressure.
MaterialProperty< std::vector< Real > > & _fluid_enthalpy
Enthalpy of each phase.
MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_viscosity_dvar
Derivative of the fluid viscosity for each phase wrt PorousFlow variables.
Base class for capillary pressure for multiphase flow in porous media.
const unsigned int _Tvar
PorousFlow variable number of the temperature.
InputParameters validParams< PorousFlowFluidState >()
const VariableGradient & _grad_Xnacl_qp
Gradient of salt mass fraction (only defined at the qps)
const PorousFlowFluidStateMultiComponentBase & _fs
FluidState UserObject.
const unsigned int _pidx
Index of derivative wrt pressure.
MaterialProperty< std::vector< std::vector< RealGradient > > > * _grad_mass_frac_qp
Gradient of the mass fraction matrix (only defined at the qps)
Base class for thermophysical variable materials, which assemble materials for primary variables such...
const unsigned int _num_Z_vars
Number of coupled total mass fractions. Should be _num_phases - 1.
const unsigned int _Xnacl_varnum
Salt mass fraction variable number.
void setMaterialVectorSize() const
Size material property vectors and initialise with zeros.
const VariableValue & _gas_porepressure
Porepressure.
virtual void computeQpProperties() override
MaterialProperty< std::vector< Real > > & _fluid_internal_energy
Internal energy of each phase.
std::vector< unsigned int > _Z_varnum
Moose variable number of Z.
const unsigned int _gas_phase_number
Phase number of the gas phase.
MaterialProperty< std::vector< std::vector< Real > > > & _mass_frac
Mass fraction matrix.
const unsigned int _gas_fluid_component
Fluid component number of the gas phase.
const unsigned int _Zidx
Index of derivative wrt total mass fraction Z.
const unsigned int _salt_component
Salt component index.
const MaterialProperty< std::vector< Real > > & _dtemperature_dvar
Derivative of temperature wrt PorousFlow variables.
const VariableGradient & _gas_gradp_qp
Gradient of porepressure (only defined at the qps)
virtual void thermophysicalProperties()
Calculates all required thermophysical properties and derivatives for each phase and fluid component.
MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_enthalpy_dvar
Derivative of the fluid enthalpy for each phase wrt PorousFlow variables.
MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _dmass_frac_dvar
Derivative of the mass fraction matrix with respect to the Porous Flow variables.
const MaterialProperty< RealGradient > & _gradT_qp
Gradient of temperature (only defined at the qps)
bool _is_initqp
Flag to indicate whether to calculate stateful properties.
const unsigned int _Tidx
Index of derivative wrt temperature.
std::vector< unsigned int > _Zvar
PorousFlow variable number of Z.
MaterialProperty< std::vector< Real > > & _fluid_viscosity
Viscosity of each phase.
const PorousFlowCapillaryPressure & _pc
Capillary pressure UserObject.
const unsigned int _Xvar
Salt mass fraction PorousFlow variable number.
virtual void initQpStatefulProperties() override
MaterialProperty< std::vector< std::vector< Real > > > & _dfluid_internal_energy_dvar
Derivative of the fluid internal energy for each phase wrt PorousFlow variables.
const MaterialProperty< Real > & _temperature
Temperature.
const unsigned int _pvar
PorousFlow variable number of the gas porepressure.
const Real _T_c2k
Conversion from degrees Celsius to degrees Kelvin.
const unsigned int _temperature_varnum
Moose variable number of the temperature.
std::vector< FluidStateProperties > _fsp
FluidStateProperties data structure.
const VariableValue & _Xnacl
Salt mass fraction (kg/kg)