Ewoms::MultiPhaseBaseModel< TypeTag > Class Template Reference

A base class for fully-implicit multi-phase porous-media flow models which assume multiple fluid phases. More...

#include <multiphasebasemodel.hh>

Inheritance diagram for Ewoms::MultiPhaseBaseModel< TypeTag >:
Ewoms::BlackOilModel< TypeTag > Ewoms::FlashModel< TypeTag > Ewoms::ImmiscibleModel< TypeTag > Ewoms::NcpModel< TypeTag > Ewoms::PvsModel< TypeTag > Ewoms::RichardsModel< TypeTag > Ewoms::DiscreteFractureModel< TypeTag >

Public Member Functions

 MultiPhaseBaseModel (Simulator &simulator)
 
void finishInit ()
 Apply the initial conditions to the model. More...
 
bool phaseIsConsidered (unsigned phaseIdx OPM_UNUSED) const
 Returns true iff a fluid phase is used by the model. More...
 
void globalPhaseStorage (EqVector &storage, unsigned phaseIdx)
 Compute the total storage inside one phase of all conservation quantities. More...
 
void registerOutputModules_ ()
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the immiscible model.
 

Detailed Description

template<class TypeTag>
class Ewoms::MultiPhaseBaseModel< TypeTag >

A base class for fully-implicit multi-phase porous-media flow models which assume multiple fluid phases.

Member Function Documentation

◆ finishInit()

template<class TypeTag >
void Ewoms::MultiPhaseBaseModel< TypeTag >::finishInit ( )
inline

Apply the initial conditions to the model.

◆ globalPhaseStorage()

template<class TypeTag >
void Ewoms::MultiPhaseBaseModel< TypeTag >::globalPhaseStorage ( EqVector &  storage,
unsigned  phaseIdx 
)
inline

Compute the total storage inside one phase of all conservation quantities.

Parameters
storageStores the total amount of each conserved quantity inside the domain.
phaseIdxThe index of the fluid phase of interest.

◆ phaseIsConsidered()

template<class TypeTag >
bool Ewoms::MultiPhaseBaseModel< TypeTag >::phaseIsConsidered ( unsigned phaseIdx  OPM_UNUSED) const
inline

Returns true iff a fluid phase is used by the model.

Parameters
phaseIdxThe index of the fluid phase in question

The documentation for this class was generated from the following file: