A water infiltration problem with a low-permeability lens embedded into a high-permeability domain.
More...
#include <richardslensproblem.hh>
|
| RichardsLensProblem (Simulator &simulator) |
|
void | finishInit () |
| Called by the Opm::Simulator in order to initialize the problem. More...
|
|
|
std::string | name () const |
| The problem name. More...
|
|
void | endTimeStep () |
| Called by the simulator after each time integration. More...
|
|
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 |
|
|
template<class Context > |
void | boundary (BoundaryRateVector &values, const Context &context, unsigned spaceIdx, unsigned timeIdx) const |
| Evaluate the boundary conditions for a boundary segment. More...
|
|
|
template<class Context > |
void | initial (PrimaryVariables &values, const Context &context, unsigned spaceIdx, unsigned timeIdx) const |
| Evaluate the initial value for a control volume. More...
|
|
template<class Context > |
void | source (RateVector &rate, const Context &, unsigned, unsigned) const |
| Evaluate the source term for all phases within a given sub-control-volume. More...
|
|
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 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.
◆ RichardsLensProblem()
◆ boundary()
template<class TypeTag >
template<class Context >
void Opm::RichardsLensProblem< TypeTag >::boundary |
( |
BoundaryRateVector & |
values, |
|
|
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
Evaluate the boundary conditions for a boundary segment.
- Parameters
-
values | Stores the fluxes over the boundary segment. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
References Opm::RichardsLensProblem< TypeTag >::materialLawParams().
◆ endTimeStep()
Called by the simulator after each time integration.
This method is intended to do some post processing of the solution. (e.g., some additional output)
◆ finishInit()
Called by the Opm::Simulator in order to initialize the problem.
If you overload this method don't forget to call ParentType::finishInit()
◆ initial()
template<class TypeTag >
template<class Context >
void Opm::RichardsLensProblem< TypeTag >::initial |
( |
PrimaryVariables & |
values, |
|
|
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
Evaluate the initial value for a control volume.
- Parameters
-
values | Stores the primary variables. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
References Opm::RichardsLensProblem< TypeTag >::materialLawParams().
◆ intrinsicPermeability()
template<class TypeTag >
template<class Context >
const DimMatrix & Opm::RichardsLensProblem< TypeTag >::intrinsicPermeability |
( |
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
◆ materialLawParams() [1/2]
template<class TypeTag >
template<class Context >
const MaterialLawParams & Opm::RichardsLensProblem< TypeTag >::materialLawParams |
( |
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
◆ materialLawParams() [2/2]
template<class TypeTag >
const MaterialLawParams & Opm::RichardsLensProblem< TypeTag >::materialLawParams |
( |
unsigned |
globalSpaceIdx, |
|
|
unsigned |
|
|
) |
| const |
|
inline |
◆ name()
The problem name.
This is used as a prefix for files generated by the simulation. It is highly recommend to overwrite this method in the concrete problem which is simulated.
◆ porosity()
template<class TypeTag >
template<class Context >
◆ referencePressure() [1/2]
template<class TypeTag >
template<class Context >
Scalar Opm::RichardsLensProblem< TypeTag >::referencePressure |
( |
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
◆ referencePressure() [2/2]
◆ registerParameters()
◆ source()
template<class TypeTag >
template<class Context >
Evaluate the source term for all phases within a given sub-control-volume.
- Parameters
-
rate | Stores the values of the volumetric creation/anihilition rates of the conserved quantities. |
context | The object representing the execution context from which this method is called. |
spaceIdx | The local index of the spatial entity which represents the boundary segment. |
timeIdx | The index used for the time discretization |
For this problem, the source term of all components is 0 everywhere.
◆ temperature() [1/2]
template<class TypeTag >
template<class Context >
Scalar Opm::RichardsLensProblem< TypeTag >::temperature |
( |
const Context & |
context, |
|
|
unsigned |
spaceIdx, |
|
|
unsigned |
timeIdx |
|
) |
| const |
|
inline |
◆ temperature() [2/2]
The documentation for this class was generated from the following file:
|