DualNumber< Real, DNDerivativeType, true > ADReal
FluidStatePhaseEnum
Phase state enum.
const InputParameters & parameters() const
Base class for capillary pressure for multiphase flow in porous media.
Base class for fluid states for miscible multiphase flow in porous media.
virtual std::string fluidStateName() const =0
Name of FluidState.
unsigned int gasPhaseIndex() const
The index of the gas phase.
unsigned int _num_components
Number of components.
const PorousFlowCapillaryPressure & _pc
Capillary pressure UserObject.
unsigned int numComponents() const
The maximum number of components in this model.
unsigned int _gas_phase_number
Phase number of the gas phase.
const Real _R
Universal gas constant (J/mol/K)
unsigned int aqueousPhaseIndex() const
The index of the aqueous phase.
const unsigned int _aqueous_phase_number
Phase number of the aqueous phase.
FluidStateProperties _empty_fsp
Empty FluidStateProperties object.
const Real _T_c2k
Conversion from C to K.
unsigned int numPhases() const
The maximum number of phases in this model.
void clearFluidStateProperties(std::vector< FluidStateProperties > &fsp) const
Clears the contents of the FluidStateProperties data structure.
unsigned int _num_phases
Number of phases.
static InputParameters validParams()
AD data structure to pass calculated thermophysical properties.
FluidStateProperties(unsigned int n)
std::vector< ADReal > mass_fraction