My Project
Loading...
Searching...
No Matches
EquilibrationHelpers.hpp File Reference

Auxiliary routines that to solve the ODEs that emerge from the hydrostatic equilibrium problem. More...

#include <opm/material/common/Tabulated1DFunction.hpp>
#include <opm/input/eclipse/EclipseState/InitConfig/Equil.hpp>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  Opm::EQUIL::Miscibility::RsFunction< Scalar >
 Base class for phase mixing functions. More...
 
class  Opm::EQUIL::Miscibility::NoMixing< Scalar >
 Type that implements "no phase mixing" policy. More...
 
class  Opm::EQUIL::Miscibility::RsVD< FluidSystem >
 Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy. More...
 
class  Opm::EQUIL::Miscibility::PBVD< FluidSystem >
 Type that implements "dissolved gas-oil ratio" tabulated as a function of depth policy. More...
 
class  Opm::EQUIL::Miscibility::PDVD< FluidSystem >
 Type that implements "vaporized oil-gas ratio" tabulated as a function of depth policy. More...
 
class  Opm::EQUIL::Miscibility::RvVD< FluidSystem >
 Type that implements "vaporized oil-gas ratio" tabulated as a function of depth policy. More...
 
class  Opm::EQUIL::Miscibility::RvwVD< FluidSystem >
 Type that implements "vaporized water-gas ratio" tabulated as a function of depth policy. More...
 
class  Opm::EQUIL::Miscibility::RsSatAtContact< FluidSystem >
 Class that implements "dissolved gas-oil ratio" (Rs) as function of depth and pressure as follows: More...
 
class  Opm::EQUIL::Miscibility::RvSatAtContact< FluidSystem >
 Class that implements "vaporized oil-gas ratio" (Rv) as function of depth and pressure as follows: More...
 
class  Opm::EQUIL::Miscibility::RvwSatAtContact< FluidSystem >
 Class that implements "vaporized water-gas ratio" (Rvw) as function of depth and pressure as follows: More...
 
class  Opm::EQUIL::EquilReg< Scalar >
 Aggregate information base of an equilibration region. More...
 
struct  Opm::EQUIL::PcEq< FluidSystem, MaterialLawManager >
 Functor for inverting capillary pressure function. More...
 
struct  Opm::EQUIL::PcEqSum< FluidSystem, MaterialLawManager >
 Functor for inverting a sum of capillary pressure functions. More...
 

Namespaces

namespace  Opm
 This file contains a set of helper functions used by VFPProd / VFPInj.
 
namespace  Opm::EQUIL
 Types and routines that collectively implement a basic ECLIPSE-style equilibration-based initialisation scheme.
 
namespace  Opm::EQUIL::Miscibility
 Types and routines relating to phase mixing in equilibration calculations.
 

Functions

template<class FluidSystem , class MaterialLawManager >
FluidSystem::Scalar Opm::EQUIL::minSaturations (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 
template<class FluidSystem , class MaterialLawManager >
FluidSystem::Scalar Opm::EQUIL::maxSaturations (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 
template<class FluidSystem , class MaterialLawManager >
FluidSystem::Scalar Opm::EQUIL::satFromPc (const MaterialLawManager &materialLawManager, const int phase, const int cell, const typename FluidSystem::Scalar targetPc, const bool increasing=false)
 Compute saturation of some phase corresponding to a given capillary pressure.
 
template<class FluidSystem , class MaterialLawManager >
FluidSystem::Scalar Opm::EQUIL::satFromSumOfPcs (const MaterialLawManager &materialLawManager, const int phase1, const int phase2, const int cell, const typename FluidSystem::Scalar targetPc)
 Compute saturation of some phase corresponding to a given capillary pressure, where the capillary pressure function is given as a sum of two other functions.
 
template<class FluidSystem , class MaterialLawManager >
FluidSystem::Scalar Opm::EQUIL::satFromDepth (const MaterialLawManager &materialLawManager, const typename FluidSystem::Scalar cellDepth, const typename FluidSystem::Scalar contactDepth, const int phase, const int cell, const bool increasing=false)
 Compute saturation from depth. Used for constant capillary pressure function.
 
template<class FluidSystem , class MaterialLawManager >
bool Opm::EQUIL::isConstPc (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 Return true if capillary pressure function is constant.
 

Detailed Description

Auxiliary routines that to solve the ODEs that emerge from the hydrostatic equilibrium problem.