Ewoms::DiscreteFractureModel< TypeTag > Class Template Reference

A fully-implicit multi-phase flow model which assumes immiscibility of the phases and is able to include fractures in the domain. More...

#include <discretefracturemodel.hh>

Inheritance diagram for Ewoms::DiscreteFractureModel< TypeTag >:
Inheritance graph

Public Member Functions

 DiscreteFractureModel (Simulator &simulator)
 
void registerOutputModules_ ()
 
std::string primaryVarName (int pvIdx) const
 Given an primary variable index, return a human readable name. More...
 
std::string eqName (int eqIdx) const
 Given an equation index, return a human readable name. More...
 
void updateBegin ()
 Called by the update() method before it tries to apply the newton method. This is primary a hook which the actual model can overload. More...
 
Scalar primaryVarWeight (int globalDofIdx, int pvIdx) const
 
Scalar eqWeight (int globalDofIdx, int eqIdx) const
 
void finishInit ()
 Apply the initial conditions to the model. More...
 
bool phaseIsConsidered (int phaseIdx) const
 Returns true iff a fluid phase is used by the model. More...
 
void globalPhaseStorage (EqVector &storage, int phaseIdx)
 Compute the total storage inside one phase of all conservation quantities. More...
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the immiscible model. More...
 
static std::string name ()
 

Detailed Description

template<class TypeTag>
class Ewoms::DiscreteFractureModel< TypeTag >

A fully-implicit multi-phase flow model which assumes immiscibility of the phases and is able to include fractures in the domain.

This model implements multi-phase flow of $M > 0$ immiscible fluids $\alpha$. It also can consider edges of the computational grid as fractures i.e. as a porous medium with different higher permeability than the rest of the domain.

See also
ImmiscibleModel

Constructor & Destructor Documentation

template<class TypeTag >
Ewoms::DiscreteFractureModel< TypeTag >::DiscreteFractureModel ( Simulator simulator)
inline

References EWOMS_GET_PARAM.

Member Function Documentation

template<class TypeTag >
std::string Ewoms::ImmiscibleModel< TypeTag >::eqName ( int  eqIdx) const
inlineinherited

Given an equation index, return a human readable name.

Parameters
eqIdxThe index of the conservation equation of interest.
template<class TypeTag >
Scalar Ewoms::ImmiscibleModel< TypeTag >::eqWeight ( int  globalDofIdx,
int  eqIdx 
) const
inlineinherited
Parameters
globalVertexIdxThe global index of the vertex
eqIdxThe index of the equation
template<class TypeTag >
void Ewoms::MultiPhaseBaseModel< TypeTag >::finishInit ( )
inlineinherited

Apply the initial conditions to the model.

References EWOMS_GET_PARAM.

Referenced by Ewoms::BlackOilModel< TypeTag >::finishInit(), and Ewoms::NcpModel< TypeTag >::finishInit().

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

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.

References Ewoms::ThreadedEntityIterator< GridView, codim >::beginParallel(), Ewoms::ThreadedEntityIterator< GridView, codim >::increment(), Ewoms::ThreadedEntityIterator< GridView, codim >::isFinished(), Ewoms::ThreadManager< TypeTag >::threadId(), and OmpMutex::unlock().

template<class TypeTag >
static std::string Ewoms::DiscreteFractureModel< TypeTag >::name ( )
inlinestatic

template<class TypeTag >
bool Ewoms::MultiPhaseBaseModel< TypeTag >::phaseIsConsidered ( int  phaseIdx) const
inlineinherited

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

Parameters
phaseIdxThe index of the fluid phase in question
template<class TypeTag >
std::string Ewoms::ImmiscibleModel< TypeTag >::primaryVarName ( int  pvIdx) const
inlineinherited

Given an primary variable index, return a human readable name.

Parameters
pvIdxThe index of the primary variable of interest.
template<class TypeTag >
Scalar Ewoms::ImmiscibleModel< TypeTag >::primaryVarWeight ( int  globalDofIdx,
int  pvIdx 
) const
inlineinherited
Parameters
globalDofIdxThe global index of the degree of freedom
pvIdxThe index of the primary variable
template<class TypeTag >
void Ewoms::DiscreteFractureModel< TypeTag >::registerOutputModules_ ( )
inline
template<class TypeTag >
static void Ewoms::DiscreteFractureModel< TypeTag >::registerParameters ( )
inlinestatic
template<class TypeTag >
void Ewoms::ImmiscibleModel< TypeTag >::updateBegin ( )
inlineinherited

Called by the update() method before it tries to apply the newton method. This is primary a hook which the actual model can overload.


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