Determines the phase compositions, pressures and saturations given the total mass of all components for the chiwoms problem.
More...
|
template<class FluidState > |
static void | solve (FluidState &fluid_state, const Dune::FieldVector< typename FluidState::Scalar, numComponents > &z, std::string twoPhaseMethod, Scalar tolerance=-1., int verbosity=0) |
| Calculates the fluid state from the global mole fractions of the components and the phase pressures.
|
|
template<class FluidState , class ComponentVector > |
static void | solve (FluidState &fluid_state, const ComponentVector &globalMolarities, Scalar tolerance=0.0) |
| Calculates the chemical equilibrium from the component fugacities in a phase.
|
|
template<class Vector > |
static Vector::field_type | solveRachfordRice_g_ (const Vector &K, const Vector &z, int verbosity) |
|
template<class Vector > |
static Vector::field_type | bisection_g_ (const Vector &K, typename Vector::field_type Lmin, typename Vector::field_type Lmax, const Vector &z, int verbosity) |
|
template<class Vector , class FlashFluidState > |
static Vector::field_type | li_single_phase_label_ (const FlashFluidState &fluid_state, const Vector &z, int verbosity) |
|
template<class FlashFluidState , class ComponentVector > |
static void | phaseStabilityTest_ (bool &isStable, ComponentVector &K, FlashFluidState &fluid_state, const ComponentVector &z, int verbosity) |
|
|
template<class FlashFluidState > |
static FlashFluidState::Scalar | wilsonK_ (const FlashFluidState &fluid_state, int compIdx) |
|
template<class Vector > |
static Vector::field_type | rachfordRice_g_ (const Vector &K, typename Vector::field_type L, const Vector &z) |
|
template<class Vector > |
static Vector::field_type | rachfordRice_dg_dL_ (const Vector &K, const typename Vector::field_type L, const Vector &z) |
|
template<class FlashFluidState , class ComponentVector > |
static void | checkStability_ (const FlashFluidState &fluid_state, bool &isTrivial, ComponentVector &K, ComponentVector &xy_loc, typename FlashFluidState::Scalar &S_loc, const ComponentVector &z, bool isGas, int verbosity) |
|
template<class FlashFluidState , class ComponentVector > |
static void | computeLiquidVapor_ (FlashFluidState &fluid_state, typename FlashFluidState::Scalar &L, ComponentVector &K, const ComponentVector &z) |
|
template<class FluidState , class ComponentVector > |
static void | flash_2ph (const ComponentVector &z_scalar, const std::string &flash_2p_method, ComponentVector &K_scalar, typename FluidState::Scalar &L_scalar, FluidState &fluid_state_scalar, int verbosity=0) |
|
template<class FlashFluidState , class ComponentVector > |
static void | newtonComposition_ (ComponentVector &K, typename FlashFluidState::Scalar &L, FlashFluidState &fluid_state, const ComponentVector &z, int verbosity) |
|
template<typename FlashFluidState , typename ComponentVector , size_t num_primary, size_t num_equation> |
static void | assembleNewton_ (const FlashFluidState &fluid_state, const ComponentVector &global_composition, Dune::FieldMatrix< double, num_equation, num_primary > &jac, Dune::FieldVector< double, num_equation > &res) |
|
template<typename FlashFluidState , typename ComponentVector , size_t num_primary, size_t num_equation> |
static void | assembleNewtonSingle_ (const FlashFluidState &fluid_state, const ComponentVector &global_composition, Dune::FieldMatrix< double, num_equation, num_primary > &jac, Dune::FieldVector< double, num_equation > &res) |
|
template<typename FlashFluidStateScalar , typename FluidState , typename ComponentVector > |
static void | updateDerivatives_ (const FlashFluidStateScalar &fluid_state_scalar, const ComponentVector &z, FluidState &fluid_state, bool is_single_phase) |
|
template<typename FlashFluidStateScalar , typename FluidState , typename ComponentVector > |
static void | updateDerivativesTwoPhase_ (const FlashFluidStateScalar &fluid_state_scalar, const ComponentVector &z, FluidState &fluid_state) |
|
template<typename FlashFluidStateScalar , typename FluidState , typename ComponentVector > |
static void | updateDerivativesSinglePhase_ (const FlashFluidStateScalar &fluid_state_scalar, const ComponentVector &z, FluidState &fluid_state) |
|
template<class FlashFluidState , class ComponentVector > |
static void | successiveSubstitutionComposition_ (ComponentVector &K, typename ComponentVector::field_type &L, FlashFluidState &fluid_state, const ComponentVector &z, const bool newton_afterwards, const int verbosity) |
|
template<class Scalar, class FluidSystem>
class Opm::PTFlash< Scalar, FluidSystem >
Determines the phase compositions, pressures and saturations given the total mass of all components for the chiwoms problem.