Opm::EquilInitializer< TypeTag > Class Template Reference

Computes the initial condition based on the EQUIL keyword from ECL. More...

#include <EquilInitializer.hpp>

Public Types

using ScalarFluidState = BlackOilFluidState< Scalar, FluidSystem, enableTemperature, enableEnergy, enableDissolution, enableVapwat, enableBrine, enableSaltPrecipitation, has_disgas_in_water, Indices::numPhases >
 

Public Member Functions

template<class EclMaterialLawManager >
 EquilInitializer (const Simulator &simulator, EclMaterialLawManager &materialLawManager)
 
const ScalarFluidStateinitialFluidState (unsigned elemIdx) const
 Return the initial thermodynamic state which should be used as the initial condition. More...
 

Protected Attributes

const Simulator & simulator_
 
std::vector< ScalarFluidStateinitialFluidStates_
 

Detailed Description

template<class TypeTag>
class Opm::EquilInitializer< TypeTag >

Computes the initial condition based on the EQUIL keyword from ECL.

So far, it uses the "initStateEquil()" function from opm-core. Since this method is very much glued into the opm-core data structures, it should be reimplemented in the medium to long term for some significant memory savings and less significant performance improvements.

Member Typedef Documentation

◆ ScalarFluidState

template<class TypeTag >
using Opm::EquilInitializer< TypeTag >::ScalarFluidState = BlackOilFluidState<Scalar, FluidSystem, enableTemperature, enableEnergy, enableDissolution, enableVapwat, enableBrine, enableSaltPrecipitation, has_disgas_in_water, Indices::numPhases>

Constructor & Destructor Documentation

◆ EquilInitializer()

template<class TypeTag >
template<class EclMaterialLawManager >
Opm::EquilInitializer< TypeTag >::EquilInitializer ( const Simulator &  simulator,
EclMaterialLawManager &  materialLawManager 
)
inline

Member Function Documentation

◆ initialFluidState()

template<class TypeTag >
const ScalarFluidState & Opm::EquilInitializer< TypeTag >::initialFluidState ( unsigned  elemIdx) const
inline

Return the initial thermodynamic state which should be used as the initial condition.

This is supposed to correspond to hydrostatic conditions.

References Opm::EquilInitializer< TypeTag >::initialFluidStates_.

Referenced by Opm::FlowProblem< TypeTag >::readEquilInitialCondition_().

Member Data Documentation

◆ initialFluidStates_

template<class TypeTag >
std::vector<ScalarFluidState> Opm::EquilInitializer< TypeTag >::initialFluidStates_
protected

◆ simulator_

template<class TypeTag >
const Simulator& Opm::EquilInitializer< TypeTag >::simulator_
protected

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