69 std::vector<FluidStateProperties> & fsp)
const = 0;
72 const ADReal & temperature,
76 std::vector<FluidStateProperties> & fsp)
const = 0;
90 Real pressure, Real temperature, Real Xnacl, Real saturation,
unsigned int qp)
const = 0;
DualNumber< Real, DNDerivativeType, true > ADReal
FluidStatePhaseEnum
Phase state enum.
const InputParameters & parameters() const
Compositional flash routines for miscible multiphase flow classes with multiple fluid components.
Compositional flash routines for miscible multiphase flow classes with multiple fluid components.
const unsigned int _salt_component
Salt component index.
const unsigned int _Xidx
Index of derivative wrt salt mass fraction X.
virtual Real totalMassFraction(Real pressure, Real temperature, Real Xnacl, Real saturation, unsigned int qp) const =0
Total mass fraction of fluid component summed over all phases in the two-phase state for a specified ...
unsigned int _gas_fluid_component
Fluid component number of the gas phase.
unsigned int aqueousComponentIndex() const
The index of the aqueous fluid component.
unsigned int saltComponentIndex() const
The index of the salt component.
unsigned int getXIndex() const
const unsigned int _pidx
Index of derivative wrt pressure.
virtual void thermophysicalProperties(Real pressure, Real temperature, Real Xnacl, Real Z, unsigned int qp, std::vector< FluidStateProperties > &fsp) const =0
Determines the complete thermophysical state of the system for a given set of primary variables.
unsigned int getTemperatureIndex() const
const unsigned int _Tidx
Index of derivative wrt temperature.
virtual void thermophysicalProperties(const ADReal &pressure, const ADReal &temperature, const ADReal &Xnacl, const ADReal &Z, unsigned int qp, std::vector< FluidStateProperties > &fsp) const =0
const unsigned int _Zidx
Index of derivative wrt total mass fraction Z.
unsigned int gasComponentIndex() const
The index of the gas fluid component.
unsigned int getPressureIndex() const
unsigned int getZIndex() const
static InputParameters validParams()
const unsigned int _aqueous_fluid_component
Fluid component number of the aqueous component.
void phaseState(Real Zi, Real Xi, Real Yi, FluidStatePhaseEnum &phase_state) const
Determines the phase state gven the total mass fraction and equilibrium mass fractions.