#include <CompositionalContainer.hpp>
|
| void | allocate (const unsigned bufferSize, std::map< std::string, int > &rstKeywords, RestartOutput restartOutput) |
| |
| void | assignGasFractions (const unsigned globalDofIdx, const AssignFunction &fractions) |
| |
| void | assignMoleFractions (const unsigned globalDofIdx, const AssignFunction &fractions) |
| |
| void | assignOilFractions (const unsigned globalDofIdx, const AssignFunction &fractions) |
| |
| void | assignPhasePressures (const unsigned globalDofIdx, const Scalar oilPressure, const Scalar gasPressure) |
| |
| void | assignSaturationPressure (const unsigned globalDofIdx, const Scalar psat) |
| |
| void | assignVaporFraction (const unsigned globalDofIdx, const Scalar vmf) |
| |
| void | outputRestart (data::Solution &sol, ScalarBuffer &oil_saturation) |
| |
| bool | moleFractionsAllocated () const |
| |
| bool | gasFractionsAllocated () const |
| |
| bool | oilFractionsAllocated () const |
| |
| bool | phasePressuresAllocated () const |
| |
| bool | vaporFractionAllocated () const |
| |
| bool | saturationPressureAllocated () const |
| |
| bool | saturationPressureRequested () const |
| |
| bool | allocated () const |
| |
|
| static std::optional< Scalar > | cellSaturationPressure (const Scalar liquidFraction, const Scalar oilPressure, const std::array< Scalar, numComponents > &moleFractions, const Scalar temperature, const CompositionalConfig::EOSType eosType) |
| |
◆ AssignFunction
template<class FluidSystem >
◆ RestartOutput
template<class FluidSystem >
| Enumerator |
|---|
| Disabled | |
| Enabled | |
◆ allocate()
template<class FluidSystem >
Allocate compositional restart fields requested by rstKeywords. PSAT is currently consumed only by restart output. Allocate it only for passes that will write restart data because filling the buffer requires a nonlinear solve for each single-phase cell.
◆ allocated()
template<class FluidSystem >
◆ assignGasFractions()
template<class FluidSystem >
◆ assignMoleFractions()
template<class FluidSystem >
◆ assignOilFractions()
template<class FluidSystem >
◆ assignPhasePressures()
template<class FluidSystem >
| void Opm::CompositionalContainer< FluidSystem >::assignPhasePressures |
( |
const unsigned |
globalDofIdx, |
|
|
const Scalar |
oilPressure, |
|
|
const Scalar |
gasPressure |
|
) |
| |
◆ assignSaturationPressure()
template<class FluidSystem >
◆ assignVaporFraction()
template<class FluidSystem >
◆ cellSaturationPressure()
template<class FluidSystem >
| static std::optional< Scalar > Opm::CompositionalContainer< FluidSystem >::cellSaturationPressure |
( |
const Scalar |
liquidFraction, |
|
|
const Scalar |
oilPressure, |
|
|
const std::array< Scalar, numComponents > & |
moleFractions, |
|
|
const Scalar |
temperature, |
|
|
const CompositionalConfig::EOSType |
eosType |
|
) |
| |
|
static |
Return the oil-phase pressure for two hydrocarbon phases, or the bubble/dew pressure of the total composition for a single phase. Return std::nullopt if the solver cannot determine a saturation pressure.
liquidFraction is the flash liquid fraction L: exactly one denotes liquid only, exactly zero vapour only, and other values denote two phases. Use L because computed phase saturations can contain round-off residuals. Plain-value arguments allow testing phase selection without a simulator.
◆ gasFractionsAllocated()
template<class FluidSystem >
◆ moleFractionsAllocated()
template<class FluidSystem >
◆ oilFractionsAllocated()
template<class FluidSystem >
◆ outputRestart()
template<class FluidSystem >
◆ phasePressuresAllocated()
template<class FluidSystem >
◆ saturationPressureAllocated()
template<class FluidSystem >
◆ saturationPressureRequested()
template<class FluidSystem >
Whether PSAT was requested in this allocation pass. Unlike the buffer state above, this remains true on MPI ranks with no local cells.
◆ vaporFractionAllocated()
template<class FluidSystem >
The documentation for this class was generated from the following file:
|