Go to the documentation of this file.
52 Real
rachfordRice(Real vf, std::vector<Real> & Zi, std::vector<Real> & Ki)
const;
63 Real
rachfordRiceDeriv(Real vf, std::vector<Real> & Zi, std::vector<Real> & Ki)
const;
75 DualReal
vaporMassFraction(
const DualReal & Z0,
const DualReal & K0,
const DualReal & K1)
const;
InputParameters validParams< PorousFlowFluidStateFlash >()
Real rachfordRiceDeriv(Real vf, std::vector< Real > &Zi, std::vector< Real > &Ki) const
Derivative of Rachford-Rice equation wrt vapor fraction.
Base class for fluid states for miscible multiphase flow in porous media.
Real vaporMassFraction(Real Z0, Real K0, Real K1) const
Solves Rachford-Rice equation to provide vapor mass fraction.
Compositional flash routines for miscible multiphase flow classes with multiple fluid components.
const Real _nr_max_its
Maximum number of iterations for the Newton-Raphson routine.
const Real _nr_tol
Tolerance for Newton-Raphson iterations.
PorousFlowFluidStateFlash(const InputParameters ¶meters)
Real rachfordRice(Real vf, std::vector< Real > &Zi, std::vector< Real > &Ki) const
Rachford-Rice equation for vapor fraction.