Opm::CO2PTProblem< TypeTag > Class Template Reference

3 component simple testproblem with ["CO2", "C1", "C10"] More...

#include <co2ptflashproblem.hh>

Inheritance diagram for Opm::CO2PTProblem< TypeTag >:
Inheritance graph

Public Types

using FluidState = Opm::CompositionalFluidState< Evaluation, FluidSystem, enableEnergy >
 

Public Member Functions

 CO2PTProblem (Simulator &simulator)
 
void initPetrophysics ()
 
template<class Context >
const DimVector & gravity (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
const DimVector & gravity () const
 
void finishInit ()
 Called by the Opm::Simulator in order to initialize the problem. More...
 
std::string name () const
 The problem name. More...
 
void endEpisode ()
 
bool shouldWriteOutput ()
 
bool shouldWriteRestartFile ()
 
void endTimeStep ()
 Called by the simulator after each time integration. 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 >
Scalar temperature (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
const DimMatrix & intrinsicPermeability (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar porosity (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
const MaterialLawParams & materialLawParams (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
void boundary (BoundaryRateVector &values, const Context &, unsigned, unsigned) const
 
template<class Context >
void source (RateVector &source_rate, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 

Static Public Member Functions

static void registerParameters ()
 

Detailed Description

template<class TypeTag>
class Opm::CO2PTProblem< TypeTag >

3 component simple testproblem with ["CO2", "C1", "C10"]

Member Typedef Documentation

◆ FluidState

template<class TypeTag >
using Opm::CO2PTProblem< TypeTag >::FluidState = Opm::CompositionalFluidState<Evaluation, FluidSystem, enableEnergy>

Constructor & Destructor Documentation

◆ CO2PTProblem()

template<class TypeTag >
Opm::CO2PTProblem< TypeTag >::CO2PTProblem ( Simulator &  simulator)
inlineexplicit

Member Function Documentation

◆ boundary()

template<class TypeTag >
template<class Context >
void Opm::CO2PTProblem< TypeTag >::boundary ( BoundaryRateVector &  values,
const Context &  ,
unsigned  ,
unsigned   
) const
inline

◆ endEpisode()

template<class TypeTag >
void Opm::CO2PTProblem< TypeTag >::endEpisode ( )
inline

◆ endTimeStep()

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

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()

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

Called by the Opm::Simulator in order to initialize the problem.

If you overload this method don't forget to call ParentType::finishInit()

References Opm::CO2PTProblem< TypeTag >::initPetrophysics().

◆ gravity() [1/2]

template<class TypeTag >
const DimVector & Opm::CO2PTProblem< TypeTag >::gravity ( ) const
inline

◆ gravity() [2/2]

template<class TypeTag >
template<class Context >
const DimVector & Opm::CO2PTProblem< TypeTag >::gravity ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ initial()

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

Evaluate the initial value for a control volume.

Parameters
valuesStores the primary variables.
contextThe object representing the execution context from which this method is called.
spaceIdxThe local index of the spatial entity which represents the boundary segment.
timeIdxThe index used for the time discretization

◆ initPetrophysics()

template<class TypeTag >
void Opm::CO2PTProblem< TypeTag >::initPetrophysics ( )
inline

◆ intrinsicPermeability()

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

◆ materialLawParams()

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

◆ name()

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

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 >
Scalar Opm::CO2PTProblem< TypeTag >::porosity ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

◆ registerParameters()

template<class TypeTag >
static void Opm::CO2PTProblem< TypeTag >::registerParameters ( )
inlinestatic

◆ shouldWriteOutput()

template<class TypeTag >
bool Opm::CO2PTProblem< TypeTag >::shouldWriteOutput ( )
inline

◆ shouldWriteRestartFile()

template<class TypeTag >
bool Opm::CO2PTProblem< TypeTag >::shouldWriteRestartFile ( )
inline

◆ source()

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

◆ temperature()

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

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