Opm::EQUIL Namespace Reference

Namespaces

namespace  DeckDependent
 
namespace  Details
 
namespace  Miscibility
 

Classes

class  EquilReg
 
struct  PcEq
 
struct  PcEqSum
 

Typedefs

using FluidSystemSimple = BlackOilFluidSystem< double >
 
using SatOnlyFluidState = SimpleModularFluidState< double, 3, 3, FluidSystemSimple, false, false, false, false, true, false, false, false >
 

Functions

template<class FluidSystem , class MaterialLawManager >
double minSaturations (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 
template<class FluidSystem , class MaterialLawManager >
double maxSaturations (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 
template<class FluidSystem , class MaterialLawManager >
double satFromPc (const MaterialLawManager &materialLawManager, const int phase, const int cell, const double targetPc, const bool increasing=false)
 
template<class FluidSystem , class MaterialLawManager >
double satFromSumOfPcs (const MaterialLawManager &materialLawManager, const int phase1, const int phase2, const int cell, const double targetPc)
 
template<class FluidSystem , class MaterialLawManager >
double satFromDepth (const MaterialLawManager &materialLawManager, const double cellDepth, const double contactDepth, const int phase, const int cell, const bool increasing=false)
 Compute saturation from depth. Used for constant capillary pressure function. More...
 
template<class FluidSystem , class MaterialLawManager >
bool isConstPc (const MaterialLawManager &materialLawManager, const int phase, const int cell)
 Return true if capillary pressure function is constant. More...
 

Detailed Description

Types and routines that collectively implement a basic ECLIPSE-style equilibration-based initialisation scheme.

This namespace is intentionally nested to avoid name clashes with other parts of OPM.

Typedef Documentation

◆ FluidSystemSimple

using Opm::EQUIL::FluidSystemSimple = typedef BlackOilFluidSystem<double>

◆ SatOnlyFluidState

using Opm::EQUIL::SatOnlyFluidState = typedef SimpleModularFluidState<double, 3, 3, FluidSystemSimple, false, false, false, false, true, false, false, false>

Function Documentation

◆ isConstPc()

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.

◆ maxSaturations()

template<class FluidSystem , class MaterialLawManager >
double Opm::EQUIL::maxSaturations ( const MaterialLawManager &  materialLawManager,
const int  phase,
const int  cell 
)

◆ minSaturations()

template<class FluidSystem , class MaterialLawManager >
double Opm::EQUIL::minSaturations ( const MaterialLawManager &  materialLawManager,
const int  phase,
const int  cell 
)

◆ satFromDepth()

template<class FluidSystem , class MaterialLawManager >
double Opm::EQUIL::satFromDepth ( const MaterialLawManager &  materialLawManager,
const double  cellDepth,
const double  contactDepth,
const int  phase,
const int  cell,
const bool  increasing = false 
)

Compute saturation from depth. Used for constant capillary pressure function.

◆ satFromPc()

template<class FluidSystem , class MaterialLawManager >
double Opm::EQUIL::satFromPc ( const MaterialLawManager &  materialLawManager,
const int  phase,
const int  cell,
const double  targetPc,
const bool  increasing = false 
)

Compute saturation of some phase corresponding to a given capillary pressure.

◆ satFromSumOfPcs()

template<class FluidSystem , class MaterialLawManager >
double Opm::EQUIL::satFromSumOfPcs ( const MaterialLawManager &  materialLawManager,
const int  phase1,
const int  phase2,
const int  cell,
const double  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.