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

Two-phase problem which involves fractures. More...

#include <fractureproblem.hh>

Inheritance diagram for Opm::FractureProblem< TypeTag >:

Public Member Functions

 FractureProblem (Simulator &simulator)
 
void finishInit ()
 
Auxiliary methods
std::string name () const
 
void endTimeStep ()
 Called directly after the time integration.
 
template<class Context >
Scalar temperature (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
Soil parameters
template<class Context >
const DimMatrix & intrinsicPermeability (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
const DimMatrix & fractureIntrinsicPermeability (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 Intrinsic permeability of fractures. More...
 
template<class Context >
Scalar porosity (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
Scalar fracturePorosity (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 The porosity inside the fractures. More...
 
template<class Context >
const MaterialLawParams & materialLawParams (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
const MaterialLawParams & fractureMaterialLawParams (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 The parameters for the material law inside the fractures. More...
 
const FractureMapper & fractureMapper () const
 Returns the object representating the fracture topology.
 
template<class Context >
Scalar fractureWidth (const Context &context OPM_UNUSED, unsigned spaceIdx1 OPM_UNUSED, unsigned spaceIdx2 OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 Returns the width of the fracture. More...
 
template<class Context >
const ThermalConductionLawParams & thermalConductionLawParams (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 
template<class Context >
const SolidEnergyLawParams & solidEnergyLawParams (const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
 Return the parameters for the energy storage law of the rock. More...
 
Boundary conditions
template<class Context >
void boundary (BoundaryRateVector &values, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 

Volumetric terms

template<class Context >
void constraints (Constraints &constraints, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
void initial (PrimaryVariables &values, const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) 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::FractureProblem< TypeTag >

Two-phase problem which involves fractures.

The domain is initially completely saturated by the oil phase, except for the left side, which is fully water saturated. Since the capillary pressure in the fractures is lower than in the rock matrix and the material is hydrophilic, water infiltrates through the fractures and gradually pushes the oil out on the right side, where the pressure is kept constant.

Constructor & Destructor Documentation

◆ FractureProblem()

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

Member Function Documentation

◆ boundary()

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

◆ constraints()

template<class TypeTag >
template<class Context >
void Opm::FractureProblem< TypeTag >::constraints ( Constraints &  constraints,
const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ finishInit()

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

◆ fractureIntrinsicPermeability()

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

Intrinsic permeability of fractures.

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.

◆ fractureMaterialLawParams()

template<class TypeTag >
template<class Context >
const MaterialLawParams& Opm::FractureProblem< TypeTag >::fractureMaterialLawParams ( const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

The parameters for the material law inside the fractures.

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.

◆ fracturePorosity()

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

The porosity inside the fractures.

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.

◆ fractureWidth()

template<class TypeTag >
template<class Context >
Scalar Opm::FractureProblem< TypeTag >::fractureWidth ( const Context &context  OPM_UNUSED,
unsigned spaceIdx1  OPM_UNUSED,
unsigned spaceIdx2  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

Returns the width of the fracture.

Todo:
This method should get one face index instead of two vertex indices. This probably requires a new context class, though.
Parameters
contextThe execution context.
spaceIdx1The local index of the edge's first edge.
spaceIdx2The local index of the edge's second edge.
timeIdxThe index used by the time discretization.

◆ initial()

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

◆ intrinsicPermeability()

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

◆ materialLawParams()

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

◆ name()

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

◆ porosity()

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

◆ solidEnergyLawParams()

template<class TypeTag >
template<class Context >
const SolidEnergyLawParams& Opm::FractureProblem< TypeTag >::solidEnergyLawParams ( const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

Return the parameters for the energy storage law of the rock.

In this case, we assume the rock-matrix to be granite.

◆ source()

template<class TypeTag >
template<class Context >
void Opm::FractureProblem< 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::FractureProblem< TypeTag >::temperature ( const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline

◆ thermalConductionLawParams()

template<class TypeTag >
template<class Context >
const ThermalConductionLawParams& Opm::FractureProblem< TypeTag >::thermalConductionLawParams ( const Context &context  OPM_UNUSED,
unsigned spaceIdx  OPM_UNUSED,
unsigned timeIdx  OPM_UNUSED 
) const
inline


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