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

Problem where dissolved nitrogen is transported with the water phase from the left side to the right. More...

#include <outflowproblem.hh>

Inheritance diagram for Opm::OutflowProblem< TypeTag >:

Public Member Functions

 OutflowProblem (Simulator &simulator)
 
void finishInit ()
 
Problem parameters
std::string name () const
 
void endTimeStep ()
 
template<class Context >
Scalar temperature (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
const DimMatrix & intrinsicPermeability (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
Scalar porosity (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) 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 &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 

Detailed Description

template<class TypeTag>
class Opm::OutflowProblem< TypeTag >

Problem where dissolved nitrogen is transported with the water phase from the left side to the right.

The model domain is 1m times 1m and exhibits homogeneous soil properties ( $ \mathrm{K=10e-10, \Phi=0.4}$). Initially the domain is fully saturated by water without any nitrogen dissolved.

At the left side, a free-flow condition defines a nitrogen mole fraction of 0.02%. The water phase flows from the left side to the right due to the imposed pressure gradient of $1e5\,Pa/m$. The nitrogen is transported with the water flow and leaves the domain at the right boundary where an outflow boundary condition is used.

Constructor & Destructor Documentation

◆ OutflowProblem()

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

Member Function Documentation

◆ boundary()

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

◆ endTimeStep()

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

◆ finishInit()

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

◆ initial()

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

◆ intrinsicPermeability()

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

This problem uses a constant intrinsic permeability.

◆ name()

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

◆ porosity()

template<class TypeTag >
template<class Context >
Scalar Opm::OutflowProblem< TypeTag >::porosity ( const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

This problem uses a constant porosity.

◆ source()

template<class TypeTag >
template<class Context >
void Opm::OutflowProblem< TypeTag >::source ( RateVector &  rate,
const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

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

◆ temperature()

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

This problem assumes a temperature.


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