My Project
Opm::RichardsLensProblem< TypeTag > Class Template Reference

A water infiltration problem with a low-permeability lens embedded into a high-permeability domain. More...

#include <richardslensproblem.hh>

Inheritance diagram for Opm::RichardsLensProblem< TypeTag >:

Public Member Functions

 RichardsLensProblem (Simulator &simulator)
 
void finishInit ()
 
Problem parameters
std::string name () const
 
void endTimeStep ()
 
template<class Context >
Scalar temperature (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
Scalar temperature (unsigned, unsigned) const
 
template<class Context >
const DimMatrix & intrinsicPermeability (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar porosity (const Context &, unsigned, unsigned) const
 
template<class Context >
const MaterialLawParams & materialLawParams (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
const MaterialLawParams & materialLawParams (unsigned globalSpaceIdx, unsigned) const
 
template<class Context >
Scalar referencePressure (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Return the reference pressure [Pa] of the wetting phase. More...
 
Scalar referencePressure (unsigned, unsigned) const
 
Boundary conditions
template<class Context >
void boundary (BoundaryRateVector &values, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
Volumetric terms
template<class Context >
void initial (PrimaryVariables &values, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
void source (RateVector &rate, const Context &, unsigned, unsigned) const
 

Detailed Description

template<class TypeTag>
class Opm::RichardsLensProblem< TypeTag >

A water infiltration problem with a low-permeability lens embedded into a high-permeability domain.

The domain is rectangular. The left and right boundaries are free-flow boundaries with fixed water pressure which corresponds to a fixed saturation of $S_w = 0$ in the Richards model, the bottom boundary is closed. The top boundary is also closed except for an infiltration section, where water is infiltrating into an initially unsaturated porous medium. This problem is very similar the LensProblem, with the main difference being that the domain is initally fully saturated by gas instead of water and water instead of a DNAPL infiltrates from the top.

Constructor & Destructor Documentation

◆ RichardsLensProblem()

template<class TypeTag >
Opm::RichardsLensProblem< TypeTag >::RichardsLensProblem ( Simulator &  simulator)
inline

Member Function Documentation

◆ boundary()

template<class TypeTag >
template<class Context >
void Opm::RichardsLensProblem< TypeTag >::boundary ( BoundaryRateVector &  values,
const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ endTimeStep()

template<class TypeTag >
void Opm::RichardsLensProblem< TypeTag >::endTimeStep ( )
inline

◆ finishInit()

template<class TypeTag >
void Opm::RichardsLensProblem< TypeTag >::finishInit ( )
inline

◆ initial()

template<class TypeTag >
template<class Context >
void Opm::RichardsLensProblem< TypeTag >::initial ( PrimaryVariables &  values,
const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ intrinsicPermeability()

template<class TypeTag >
template<class Context >
const DimMatrix & Opm::RichardsLensProblem< TypeTag >::intrinsicPermeability ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ materialLawParams()

template<class TypeTag >
template<class Context >
const MaterialLawParams & Opm::RichardsLensProblem< TypeTag >::materialLawParams ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ name()

template<class TypeTag >
std::string Opm::RichardsLensProblem< TypeTag >::name ( ) const
inline

◆ porosity()

template<class TypeTag >
template<class Context >
Scalar Opm::RichardsLensProblem< TypeTag >::porosity ( const Context &  ,
unsigned  ,
unsigned   
) const
inline

◆ referencePressure()

template<class TypeTag >
template<class Context >
Scalar Opm::RichardsLensProblem< TypeTag >::referencePressure ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

Return the reference pressure [Pa] of the wetting phase.

Template Parameters
ContextThe type of the execution context.
Parameters
contextThe execution context.
spaceIdxThe local index used by the space discretization.
timeIdxThe index used by the time discretization.

◆ source()

template<class TypeTag >
template<class Context >
void Opm::RichardsLensProblem< TypeTag >::source ( RateVector &  rate,
const Context &  ,
unsigned  ,
unsigned   
) const
inline

For this problem, the source term of all components is 0 everywhere.

◆ temperature()

template<class TypeTag >
template<class Context >
Scalar Opm::RichardsLensProblem< TypeTag >::temperature ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline


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