This problem simulates an input file given in the data format used by the commercial ECLiPSE simulator. More...

#include <FlowProblem.hpp>

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

Classes

struct  BCData
 
struct  PffDofData_
 

Public Types

using TabulatedTwoDFunction = UniformXTabulated2DFunction< Scalar >
 
using TabulatedFunction = Tabulated1DFunction< Scalar >
 

Public Member Functions

 FlowProblem (Simulator &simulator)
 
virtual ~FlowProblem ()=default
 
void prefetch (const Element &elem) const
 
template<class Restarter >
void deserialize (Restarter &res)
 This method restores the complete state of the problem and its sub-objects from disk. More...
 
template<class Restarter >
void serialize (Restarter &res)
 This method writes the complete state of the problem and its subobjects to disk. More...
 
int episodeIndex () const
 
virtual void beginEpisode ()
 Called by the simulator before an episode begins. More...
 
void beginTimeStep ()
 Called by the simulator before each time integration. More...
 
void beginIteration ()
 Called by the simulator before each Newton-Raphson iteration. More...
 
void endIteration ()
 Called by the simulator after each Newton-Raphson iteration. More...
 
virtual void endTimeStep ()
 Called by the simulator after each time integration. More...
 
virtual void endEpisode ()
 Called by the simulator after the end of an episode. More...
 
void writeOutput (bool verbose=true)
 Write the requested quantities of the current solution into the output files. More...
 
template<class Context >
const DimMatrixintrinsicPermeability (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
const DimMatrixintrinsicPermeability (unsigned globalElemIdx) const
 This method returns the intrinsic permeability tensor given a global element index. More...
 
template<class Context >
Scalar transmissibility (const Context &context, unsigned fromDofLocalIdx, unsigned toDofLocalIdx) const
 
Scalar transmissibility (unsigned globalCenterElemIdx, unsigned globalElemIdx) const
 Direct access to the transmissibility between two elements. More...
 
template<class Context >
Scalar diffusivity (const Context &context, unsigned fromDofLocalIdx, unsigned toDofLocalIdx) const
 
Scalar diffusivity (const unsigned globalCellIn, const unsigned globalCellOut) const
 
Scalar dispersivity (const unsigned globalCellIn, const unsigned globalCellOut) const
 
Scalar thermalTransmissibilityBoundary (const unsigned globalSpaceIdx, const unsigned boundaryFaceIdx) const
 Direct access to a boundary transmissibility. More...
 
template<class Context >
Scalar transmissibilityBoundary (const Context &elemCtx, unsigned boundaryFaceIdx) const
 
Scalar transmissibilityBoundary (const unsigned globalSpaceIdx, const unsigned boundaryFaceIdx) const
 Direct access to a boundary transmissibility. More...
 
Scalar thermalHalfTransmissibility (const unsigned globalSpaceIdxIn, const unsigned globalSpaceIdxOut) const
 
template<class Context >
Scalar thermalHalfTransmissibilityIn (const Context &context, unsigned faceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar thermalHalfTransmissibilityOut (const Context &context, unsigned faceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar thermalHalfTransmissibilityBoundary (const Context &elemCtx, unsigned boundaryFaceIdx) const
 
const Vanguard::TransmissibilityType & eclTransmissibilities () const
 Return a reference to the object that handles the "raw" transmissibilities. More...
 
const TracerModeltracerModel () const
 
TracerModeltracerModel ()
 
template<class Context >
Scalar porosity (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar dofCenterDepth (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the depth of an degree of freedom [m]. More...
 
Scalar dofCenterDepth (unsigned globalSpaceIdx) const
 Direct indexed acces to the depth of an degree of freedom [m]. More...
 
template<class Context >
Scalar rockCompressibility (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
Scalar rockReferencePressure (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
template<class Context >
const MaterialLawParamsmaterialLawParams (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
const MaterialLawParamsmaterialLawParams (unsigned globalDofIdx) const
 
const MaterialLawParamsmaterialLawParams (unsigned globalDofIdx, FaceDir::DirEnum facedir) const
 
template<class Context >
const SolidEnergyLawParamssolidEnergyLawParams (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Return the parameters for the energy storage law of the rock. More...
 
template<class Context >
const ThermalConductionLawParamsthermalConductionLawParams (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
std::shared_ptr< const EclMaterialLawManagermaterialLawManager () const
 Returns the ECL material law manager. More...
 
template<class FluidState >
void updateRelperms (std::array< Evaluation, numPhases > &mobility, DirectionalMobilityPtr &dirMob, FluidState &fluidState, unsigned globalSpaceIdx) const
 
std::shared_ptr< EclMaterialLawManagermaterialLawManager ()
 
template<class Context >
unsigned pvtRegionIndex (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the index of the relevant region for thermodynmic properties. More...
 
template<class Context >
unsigned satnumRegionIndex (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the index of the relevant region for thermodynmic properties. More...
 
template<class Context >
unsigned miscnumRegionIndex (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the index of the relevant region for thermodynmic properties. More...
 
template<class Context >
unsigned plmixnumRegionIndex (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the index of the relevant region for thermodynmic properties. More...
 
template<class Context >
Scalar maxPolymerAdsorption (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Returns the max polymer adsorption value. More...
 
std::string name () const
 The problem name. More...
 
template<class Context >
Scalar temperature (const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
Scalar temperature (unsigned globalDofIdx, unsigned) const
 
const SolidEnergyLawParamssolidEnergyLawParams (unsigned globalSpaceIdx, unsigned) const
 
const ThermalConductionLawParamsthermalConductionLawParams (unsigned globalSpaceIdx, unsigned) const
 
Scalar maxOilSaturation (unsigned globalDofIdx) const
 Returns an element's historic maximum oil phase saturation that was observed during the simulation. More...
 
void setMaxOilSaturation (unsigned globalDofIdx, Scalar value)
 Sets an element's maximum oil phase saturation observed during the simulation. More...
 
virtual void initialSolutionApplied ()
 Callback used by the model to indicate that the initial solution has been determined for all degrees of freedom. More...
 
template<class Context >
void source (RateVector &rate, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 Evaluate the source term for all phases within a given sub-control-volume. More...
 
void source (RateVector &rate, unsigned globalDofIdx, unsigned timeIdx) const
 
virtual void addToSourceDense (RateVector &rate, unsigned globalDofIdx, unsigned timeIdx) const =0
 
const WellModelwellModel () const
 Returns a reference to the ECL well manager used by the problem. More...
 
WellModelwellModel ()
 
const AquiferModelaquiferModel () const
 
AquiferModelmutableAquiferModel ()
 
bool nonTrivialBoundaryConditions () const
 
Scalar nextTimeStepSize () const
 Propose the size of the next time step to the simulator. More...
 
template<class LhsEval >
LhsEval rockCompPoroMultiplier (const IntensiveQuantities &intQuants, unsigned elementIdx) const
 Calculate the porosity multiplier due to water induced rock compaction. More...
 
template<class LhsEval >
LhsEval rockCompTransMultiplier (const IntensiveQuantities &intQuants, unsigned elementIdx) const
 Calculate the transmissibility multiplier due to water induced rock compaction. More...
 
template<class LhsEval >
LhsEval wellTransMultiplier (const IntensiveQuantities &intQuants, unsigned elementIdx) const
 Return the well transmissibility multiplier due to rock changues. More...
 
std::pair< BCType, RateVectorboundaryCondition (const unsigned int globalSpaceIdx, const int directionId) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 
Scalar maxWaterSaturation (unsigned globalDofIdx) const
 Returns an element's historic maximum water phase saturation that was observed during the simulation. More...
 
Scalar minOilPressure (unsigned globalDofIdx) const
 Returns an element's historic minimum pressure of the oil phase that was observed during the simulation. More...
 
Scalar overburdenPressure (unsigned elementIdx) const
 Get the pressure of the overburden. More...
 
Scalar referencePorosity (unsigned elementIdx, unsigned timeIdx) const
 Returns the porosity of an element. More...
 
Scalar rockFraction (unsigned elementIdx, unsigned timeIdx) const
 Returns the rockFraction of an element. More...
 
void setPorosity (Scalar poro, unsigned elementIdx, unsigned timeIdx=0)
 Sets the porosity of an element. More...
 
Scalar solventSaturation (unsigned elemIdx) const
 Returns the initial solvent saturation for a given a cell index. More...
 
Scalar solventRsw (unsigned elemIdx) const
 Returns the initial solvent dissolved in water for a given a cell index. More...
 
Scalar drsdtcon (unsigned elemIdx, int episodeIdx) const
 Returns the dynamic drsdt convective mixing value. More...
 
Scalar polymerConcentration (unsigned elemIdx) const
 Returns the initial polymer concentration for a given a cell index. More...
 
Scalar polymerMolecularWeight (const unsigned elemIdx) const
 Returns the polymer molecule weight for a given cell index. More...
 
Scalar microbialConcentration (unsigned elemIdx) const
 Returns the initial microbial concentration for a given a cell index. More...
 
Scalar oxygenConcentration (unsigned elemIdx) const
 Returns the initial oxygen concentration for a given a cell index. More...
 
Scalar ureaConcentration (unsigned elemIdx) const
 Returns the initial urea concentration for a given a cell index. More...
 
Scalar biofilmConcentration (unsigned elemIdx) const
 Returns the initial biofilm concentration for a given a cell index. More...
 
Scalar calciteConcentration (unsigned elemIdx) const
 Returns the initial calcite concentration for a given a cell index. More...
 
unsigned pvtRegionIndex (unsigned elemIdx) const
 Returns the index the relevant PVT region given a cell index. More...
 
unsigned satnumRegionIndex (unsigned elemIdx) const
 Returns the index the relevant saturation function region given a cell index. More...
 
unsigned miscnumRegionIndex (unsigned elemIdx) const
 Returns the index the relevant MISC region given a cell index. More...
 
unsigned plmixnumRegionIndex (unsigned elemIdx) const
 Returns the index the relevant PLMIXNUM (for polymer module) region given a cell index. More...
 
Scalar maxPolymerAdsorption (unsigned elemIdx) const
 Returns the max polymer adsorption value. More...
 
Scalar rockCompressibility (unsigned globalSpaceIdx) const
 
Scalar rockReferencePressure (unsigned globalSpaceIdx) const
 
Scalar porosity (unsigned globalSpaceIdx, unsigned timeIdx) const
 Direct indexed access to the porosity. More...
 
bool vapparsActive (int episodeIdx) const
 
int numPressurePointsEquil () const
 
bool operator== (const FlowGenericProblem &rhs) const
 

Static Public Member Functions

static void registerParameters ()
 Registers all available parameters for the problem and the model. More...
 
static int handlePositionalParameter (std::function< void(const std::string &, const std::string &)> addKey, std::set< std::string > &seenParams, std::string &errorMsg, int, const char **argv, int paramIdx, int)
 Handles positional command line parameters. More...
 
static FlowGenericProblem serializationTestObject (const EclipseState &eclState, const Schedule &schedule, const GetPropType< TypeTag, Properties::GridView > &gridView)
 
static std::string helpPreamble (int, const char **argv)
 
static std::string briefDescription ()
 
static void setBriefDescription (const std::string &msg)
 Specifies the string returned by briefDescription() More...
 

Protected Types

enum  { dim = GridView::dimension }
 
enum  { dimWorld = GridView::dimensionworld }
 
enum  { numEq = getPropValue<TypeTag, Properties::NumEq>() }
 
enum  { numPhases = FluidSystem::numPhases }
 
enum  { numComponents = FluidSystem::numComponents }
 
enum  { enableConvectiveMixing = getPropValue<TypeTag, Properties::EnableConvectiveMixing>() }
 
enum  { enableBrine = getPropValue<TypeTag, Properties::EnableBrine>() }
 
enum  { enableDiffusion = getPropValue<TypeTag, Properties::EnableDiffusion>() }
 
enum  { enableDispersion = getPropValue<TypeTag, Properties::EnableDispersion>() }
 
enum  { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() }
 
enum  { enableExperiments = getPropValue<TypeTag, Properties::EnableExperiments>() }
 
enum  { enableExtbo = getPropValue<TypeTag, Properties::EnableExtbo>() }
 
enum  { enableFoam = getPropValue<TypeTag, Properties::EnableFoam>() }
 
enum  { enableMICP = getPropValue<TypeTag, Properties::EnableMICP>() }
 
enum  { enablePolymer = getPropValue<TypeTag, Properties::EnablePolymer>() }
 
enum  { enablePolymerMolarWeight = getPropValue<TypeTag, Properties::EnablePolymerMW>() }
 
enum  { enableSaltPrecipitation = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>() }
 
enum  { enableSolvent = getPropValue<TypeTag, Properties::EnableSolvent>() }
 
enum  { enableTemperature = getPropValue<TypeTag, Properties::EnableTemperature>() }
 
enum  { enableThermalFluxBoundaries = getPropValue<TypeTag, Properties::EnableThermalFluxBoundaries>() }
 
enum  { gasPhaseIdx = FluidSystem::gasPhaseIdx }
 
enum  { oilPhaseIdx = FluidSystem::oilPhaseIdx }
 
enum  { waterPhaseIdx = FluidSystem::waterPhaseIdx }
 
enum  { gasCompIdx = FluidSystem::gasCompIdx }
 
enum  { oilCompIdx = FluidSystem::oilCompIdx }
 
enum  { waterCompIdx = FluidSystem::waterCompIdx }
 
using BaseType = FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >
 
using ParentType = GetPropType< TypeTag, Properties::BaseProblem >
 
using Implementation = GetPropType< TypeTag, Properties::Problem >
 
using Scalar = GetPropType< TypeTag, Properties::Scalar >
 
using GridView = GetPropType< TypeTag, Properties::GridView >
 
using Stencil = GetPropType< TypeTag, Properties::Stencil >
 
using FluidSystem = GetPropType< TypeTag, Properties::FluidSystem >
 
using GlobalEqVector = GetPropType< TypeTag, Properties::GlobalEqVector >
 
using EqVector = GetPropType< TypeTag, Properties::EqVector >
 
using Vanguard = GetPropType< TypeTag, Properties::Vanguard >
 
using PrimaryVariables = GetPropType< TypeTag, Properties::PrimaryVariables >
 
using RateVector = GetPropType< TypeTag, Properties::RateVector >
 
using Simulator = GetPropType< TypeTag, Properties::Simulator >
 
using Element = typename GridView::template Codim< 0 >::Entity
 
using ElementContext = GetPropType< TypeTag, Properties::ElementContext >
 
using EclMaterialLawManager = typename GetProp< TypeTag, Properties::MaterialLaw >::EclMaterialLawManager
 
using EclThermalLawManager = typename GetProp< TypeTag, Properties::SolidEnergyLaw >::EclThermalLawManager
 
using MaterialLawParams = typename EclMaterialLawManager::MaterialLawParams
 
using SolidEnergyLawParams = typename EclThermalLawManager::SolidEnergyLawParams
 
using ThermalConductionLawParams = typename EclThermalLawManager::ThermalConductionLawParams
 
using MaterialLaw = GetPropType< TypeTag, Properties::MaterialLaw >
 
using DofMapper = GetPropType< TypeTag, Properties::DofMapper >
 
using Evaluation = GetPropType< TypeTag, Properties::Evaluation >
 
using Indices = GetPropType< TypeTag, Properties::Indices >
 
using IntensiveQuantities = GetPropType< TypeTag, Properties::IntensiveQuantities >
 
using WellModel = GetPropType< TypeTag, Properties::WellModel >
 
using AquiferModel = GetPropType< TypeTag, Properties::AquiferModel >
 
using Toolbox = MathToolbox< Evaluation >
 
using DimMatrix = Dune::FieldMatrix< Scalar, dimWorld, dimWorld >
 
using TracerModel = GetPropType< TypeTag, Properties::TracerModel >
 
using DirectionalMobilityPtr = Utility::CopyablePtr< DirectionalMobility< TypeTag, Evaluation > >
 
using Grid = std::remove_cv_t< typename std::remove_reference< decltype(gridView_.grid())>::type >
 
using LookUpData = Opm::LookUpData< Grid, GetPropType< TypeTag, Properties::GridView > >
 

Protected Member Functions

template<class UpdateFunc >
void updateProperty_ (const std::string &failureMsg, UpdateFunc func)
 
bool updateMaxOilSaturation_ ()
 
bool updateMaxOilSaturation_ (unsigned compressedDofIdx, const IntensiveQuantities &iq)
 
bool updateMaxWaterSaturation_ ()
 
bool updateMaxWaterSaturation_ (unsigned compressedDofIdx, const IntensiveQuantities &iq)
 
bool updateMinPressure_ ()
 
bool updateMinPressure_ (unsigned compressedDofIdx, const IntensiveQuantities &iq)
 
std::function< std::vector< double >(const FieldPropsManager &, const std::string &)> fieldPropDoubleOnLeafAssigner_ ()
 
template<typename IntType >
std::function< std::vector< IntType >(const FieldPropsManager &, const std::string &, bool)> fieldPropIntTypeOnLeafAssigner_ ()
 
void readMaterialParameters_ ()
 
void readThermalParameters_ ()
 
void updateReferencePorosity_ ()
 
virtual void readInitialCondition_ ()
 
virtual void readEquilInitialCondition_ ()=0
 
virtual void readExplicitInitialCondition_ ()=0
 
bool updateHysteresis_ ()
 
bool updateHysteresis_ (unsigned compressedDofIdx, const IntensiveQuantities &iq)
 
Scalar getRockCompTransMultVal (std::size_t dofIdx) const
 
void updatePffDofData_ ()
 
virtual void updateExplicitQuantities_ (int episodeIdx, int timeStepSize, bool first_step_after_restart)=0
 
void readBoundaryConditions_ ()
 
Scalar limitNextTimeStepSize_ (Scalar dtNext) const
 
int refPressurePhaseIdx_ () const
 
void updateRockCompTransMultVal_ ()
 
template<class LhsEval >
LhsEval computeRockCompTransMultiplier_ (const IntensiveQuantities &intQuants, unsigned elementIdx) const
 Calculate the transmissibility multiplier due to water induced rock compaction. More...
 
virtual void handleSolventBC (const BCProp::BCFace &, RateVector &) const =0
 
virtual void handlePolymerBC (const BCProp::BCFace &, RateVector &) const =0
 
void initFluidSystem_ ()
 
bool shouldWriteOutput () const
 Always returns true. The ecl output writer takes care of the rest. More...
 
bool shouldWriteRestartFile () const
 Returns true if an eWoms restart file should be written to disk. More...
 
bool beginEpisode_ (bool enableExperiments, int episodeIdx)
 
void beginTimeStep_ (bool enableExperiments, int episodeIdx, int timeStepIndex, Scalar startTime, Scalar time, Scalar timeStepSize, Scalar endTime)
 
void readRockParameters_ (const std::vector< Scalar > &cellCenterDepths, std::function< std::array< int, 3 >(const unsigned)> ijkIndex)
 
void readRockCompactionParameters_ ()
 
void readBlackoilExtentionsInitialConditions_ (std::size_t numDof, bool enableSolvent, bool enablePolymer, bool enablePolymerMolarWeight, bool enableMICP)
 
void updatePvtnum_ ()
 
void updateSatnum_ ()
 
void updateMiscnum_ ()
 
void updatePlmixnum_ ()
 
std::function< unsigned(unsigned)> lookupIdxOnLevelZeroAssigner_ ()
 

Protected Attributes

Vanguard::TransmissibilityType transmissibilities_
 
std::shared_ptr< EclMaterialLawManagermaterialLawManager_
 
std::shared_ptr< EclThermalLawManagerthermalLawManager_
 
bool enableDriftCompensation_
 
GlobalEqVector drift_
 
WellModel wellModel_
 
AquiferModel aquiferModel_
 
bool enableVtkOutput_
 
PffGridVector< GridView, Stencil, PffDofData_, DofMapperpffDofData_
 
TracerModel tracerModel_
 
BCData< int > bcindex_
 
bool nonTrivialBoundaryConditions_ = false
 
bool explicitRockCompaction_ = false
 
bool first_step_ = true
 
const EclipseState & eclState_
 
const Schedule & schedule_
 
const GetPropType< TypeTag, Properties::GridView > & gridView_
 
std::array< std::vector< Scalar >, 2 > referencePorosity_
 
std::vector< int > pvtnum_
 
std::vector< unsigned short > satnum_
 
std::vector< unsigned short > miscnum_
 
std::vector< unsigned short > plmixnum_
 
std::vector< RockParams > rockParams_
 
std::vector< unsigned short > rockTableIdx_
 
std::vector< TabulatedTwoDFunctionrockCompPoroMultWc_
 
std::vector< TabulatedTwoDFunctionrockCompTransMultWc_
 
std::vector< TabulatedFunctionrockCompPoroMult_
 
std::vector< TabulatedFunctionrockCompTransMult_
 
std::vector< ScalarrockCompTransMultVal_
 
PolymerSolutionContainer< Scalarpolymer_
 
std::vector< ScalarmaxOilSaturation_
 
std::vector< ScalarmaxWaterSaturation_
 
std::vector< ScalarminRefPressure_
 
std::vector< ScalaroverburdenPressure_
 
std::vector< ScalarsolventSaturation_
 
std::vector< ScalarsolventRsw_
 
MICPSolutionContainer< Scalarmicp_
 
bool enableTuning_
 
Scalar initialTimeStepSize_
 
Scalar maxTimeStepAfterWellEvent_
 
int numPressurePointsEquil_
 
const LookUpData lookUpData_
 

Static Protected Attributes

static std::string briefDescription_
 

Detailed Description

template<class TypeTag>
class Opm::FlowProblem< TypeTag >

This problem simulates an input file given in the data format used by the commercial ECLiPSE simulator.

Member Typedef Documentation

◆ AquiferModel

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::AquiferModel = GetPropType<TypeTag, Properties::AquiferModel>
protected

◆ BaseType

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::BaseType = FlowGenericProblem<GetPropType<TypeTag, Properties::GridView>, GetPropType<TypeTag, Properties::FluidSystem> >
protected

◆ DimMatrix

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::DimMatrix = Dune::FieldMatrix<Scalar, dimWorld, dimWorld>
protected

◆ DirectionalMobilityPtr

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::DirectionalMobilityPtr = Utility::CopyablePtr<DirectionalMobility<TypeTag, Evaluation> >
protected

◆ DofMapper

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::DofMapper = GetPropType<TypeTag, Properties::DofMapper>
protected

◆ EclMaterialLawManager

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::EclMaterialLawManager = typename GetProp<TypeTag, Properties::MaterialLaw>::EclMaterialLawManager
protected

◆ EclThermalLawManager

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::EclThermalLawManager = typename GetProp<TypeTag, Properties::SolidEnergyLaw>::EclThermalLawManager
protected

◆ Element

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Element = typename GridView::template Codim<0>::Entity
protected

◆ ElementContext

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::ElementContext = GetPropType<TypeTag, Properties::ElementContext>
protected

◆ EqVector

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::EqVector = GetPropType<TypeTag, Properties::EqVector>
protected

◆ Evaluation

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Evaluation = GetPropType<TypeTag, Properties::Evaluation>
protected

◆ FluidSystem

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>
protected

◆ GlobalEqVector

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::GlobalEqVector = GetPropType<TypeTag, Properties::GlobalEqVector>
protected

◆ Grid

using Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Grid = std::remove_cv_t< typename std::remove_reference<decltype(gridView_.grid())>::type>
protectedinherited

◆ GridView

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::GridView = GetPropType<TypeTag, Properties::GridView>
protected

◆ Implementation

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Implementation = GetPropType<TypeTag, Properties::Problem>
protected

◆ Indices

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Indices = GetPropType<TypeTag, Properties::Indices>
protected

◆ IntensiveQuantities

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::IntensiveQuantities = GetPropType<TypeTag, Properties::IntensiveQuantities>
protected

◆ LookUpData

using Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::LookUpData = Opm::LookUpData<Grid,GetPropType< TypeTag, Properties::GridView > >
protectedinherited

◆ MaterialLaw

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::MaterialLaw = GetPropType<TypeTag, Properties::MaterialLaw>
protected

◆ MaterialLawParams

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::MaterialLawParams = typename EclMaterialLawManager::MaterialLawParams
protected

◆ ParentType

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::ParentType = GetPropType<TypeTag, Properties::BaseProblem>
protected

◆ PrimaryVariables

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::PrimaryVariables = GetPropType<TypeTag, Properties::PrimaryVariables>
protected

◆ RateVector

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::RateVector = GetPropType<TypeTag, Properties::RateVector>
protected

◆ Scalar

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Scalar = GetPropType<TypeTag, Properties::Scalar>
protected

◆ Simulator

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Simulator = GetPropType<TypeTag, Properties::Simulator>
protected

◆ SolidEnergyLawParams

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::SolidEnergyLawParams = typename EclThermalLawManager::SolidEnergyLawParams
protected

◆ Stencil

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Stencil = GetPropType<TypeTag, Properties::Stencil>
protected

◆ TabulatedFunction

using Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::TabulatedFunction = Tabulated1DFunction<Scalar>
inherited

◆ TabulatedTwoDFunction

using Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::TabulatedTwoDFunction = UniformXTabulated2DFunction<Scalar>
inherited

◆ ThermalConductionLawParams

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::ThermalConductionLawParams = typename EclThermalLawManager::ThermalConductionLawParams
protected

◆ Toolbox

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Toolbox = MathToolbox<Evaluation>
protected

◆ TracerModel

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::TracerModel = GetPropType<TypeTag, Properties::TracerModel>
protected

◆ Vanguard

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::Vanguard = GetPropType<TypeTag, Properties::Vanguard>
protected

◆ WellModel

template<class TypeTag >
using Opm::FlowProblem< TypeTag >::WellModel = GetPropType<TypeTag, Properties::WellModel>
protected

Member Enumeration Documentation

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
dim 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
dimWorld 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
numEq 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
numPhases 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
numComponents 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableConvectiveMixing 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableBrine 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableDiffusion 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableDispersion 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableEnergy 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableExperiments 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableExtbo 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableFoam 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableMICP 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enablePolymer 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enablePolymerMolarWeight 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableSaltPrecipitation 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableSolvent 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableTemperature 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
enableThermalFluxBoundaries 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
gasPhaseIdx 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
oilPhaseIdx 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
waterPhaseIdx 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
gasCompIdx 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
oilCompIdx 

◆ anonymous enum

template<class TypeTag >
anonymous enum
protected
Enumerator
waterCompIdx 

Constructor & Destructor Documentation

◆ FlowProblem()

◆ ~FlowProblem()

template<class TypeTag >
virtual Opm::FlowProblem< TypeTag >::~FlowProblem ( )
virtualdefault

Member Function Documentation

◆ addToSourceDense()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::addToSourceDense ( RateVector rate,
unsigned  globalDofIdx,
unsigned  timeIdx 
) const
pure virtual

◆ aquiferModel()

template<class TypeTag >
const AquiferModel & Opm::FlowProblem< TypeTag >::aquiferModel ( ) const
inline

◆ beginEpisode()

◆ beginEpisode_()

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::beginEpisode_ ( bool  enableExperiments,
int  episodeIdx 
)
protectedinherited

◆ beginIteration()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::beginIteration ( )
inline

◆ beginTimeStep()

◆ beginTimeStep_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::beginTimeStep_ ( bool  enableExperiments,
int  episodeIdx,
int  timeStepIndex,
Scalar  startTime,
Scalar  time,
Scalar  timeStepSize,
Scalar  endTime 
)
protectedinherited

◆ biofilmConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::biofilmConcentration ( unsigned  elemIdx) const
inherited

Returns the initial biofilm concentration for a given a cell index.

◆ boundaryCondition()

◆ briefDescription()

std::string Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::briefDescription
staticinherited

Returns a human readable description of the problem for the help message.

The problem description is printed as part of the –help message. It is optional and should not exceed one or two lines of text.

◆ calciteConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::calciteConcentration ( unsigned  elemIdx) const
inherited

Returns the initial calcite concentration for a given a cell index.

◆ computeRockCompTransMultiplier_()

◆ deserialize()

template<class TypeTag >
template<class Restarter >
void Opm::FlowProblem< TypeTag >::deserialize ( Restarter &  res)
inline

This method restores the complete state of the problem and its sub-objects from disk.

The serialization format used by this method is ad-hoc. It is the inverse of the serialize() method.

Template Parameters
RestarterThe deserializer type
Parameters
resThe deserializer object

References Opm::FlowProblem< TypeTag >::aquiferModel_, Opm::FlowProblem< TypeTag >::beginEpisode(), and Opm::FlowProblem< TypeTag >::wellModel_.

◆ diffusivity() [1/2]

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::diffusivity ( const Context &  context,
unsigned  fromDofLocalIdx,
unsigned  toDofLocalIdx 
) const
inline

◆ diffusivity() [2/2]

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::diffusivity ( const unsigned  globalCellIn,
const unsigned  globalCellOut 
) const
inline

give the transmissibility for a face i.e. pair. should be symmetric?

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ dispersivity()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::dispersivity ( const unsigned  globalCellIn,
const unsigned  globalCellOut 
) const
inline

give the dispersivity for a face i.e. pair.

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ dofCenterDepth() [1/2]

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

Returns the depth of an degree of freedom [m].

For ECL problems this is defined as the average of the depth of an element and is thus slightly different from the depth of an element's centroid.

References Opm::FlowProblem< TypeTag >::dofCenterDepth().

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

◆ dofCenterDepth() [2/2]

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::dofCenterDepth ( unsigned  globalSpaceIdx) const
inline

Direct indexed acces to the depth of an degree of freedom [m].

For ECL problems this is defined as the average of the depth of an element and is thus slightly different from the depth of an element's centroid.

◆ drsdtcon()

Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::drsdtcon ( unsigned  elemIdx,
int  episodeIdx 
) const
inherited

Returns the dynamic drsdt convective mixing value.

◆ eclTransmissibilities()

template<class TypeTag >
const Vanguard::TransmissibilityType & Opm::FlowProblem< TypeTag >::eclTransmissibilities ( ) const
inline

Return a reference to the object that handles the "raw" transmissibilities.

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ endEpisode()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::endEpisode ( )
inlinevirtual

◆ endIteration()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::endIteration ( )
inline

◆ endTimeStep()

◆ episodeIndex()

◆ fieldPropDoubleOnLeafAssigner_()

template<class TypeTag >
std::function< std::vector< double >(const FieldPropsManager &, const std::string &)> Opm::FlowProblem< TypeTag >::fieldPropDoubleOnLeafAssigner_ ( )
inlineprotected

◆ fieldPropIntTypeOnLeafAssigner_()

template<class TypeTag >
template<typename IntType >
std::function< std::vector< IntType >(const FieldPropsManager &, const std::string &, bool)> Opm::FlowProblem< TypeTag >::fieldPropIntTypeOnLeafAssigner_ ( )
inlineprotected

◆ getRockCompTransMultVal()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::getRockCompTransMultVal ( std::size_t  dofIdx) const
inlineprotected

◆ handlePolymerBC()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::handlePolymerBC ( const BCProp::BCFace &  ,
RateVector  
) const
protectedpure virtual

◆ handlePositionalParameter()

template<class TypeTag >
static int Opm::FlowProblem< TypeTag >::handlePositionalParameter ( std::function< void(const std::string &, const std::string &)>  addKey,
std::set< std::string > &  seenParams,
std::string &  errorMsg,
int  ,
const char **  argv,
int  paramIdx,
int   
)
inlinestatic

Handles positional command line parameters.

Positional parameters are parameters that are not prefixed by any parameter name.

Parameters
seenParamsThe parameters which have already been seen in the current context
errorMsgIf the positional argument cannot be handled, this is the reason why
argcThe total number of command line parameters
argvThe string value of the command line parameters
paramIdxThe index of the positional parameter in the array of all parameters
posParamIdxThe number of the positional parameter encountered so far
Returns
The number of array entries which ought to be skipped before processing the next regular parameter. If this is less than 1, it indicated that the positional parameter was invalid.

References Opm::eclPositionalParameter().

◆ handleSolventBC()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::handleSolventBC ( const BCProp::BCFace &  ,
RateVector  
) const
protectedpure virtual

◆ helpPreamble()

std::string Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::helpPreamble ( int  ,
const char **  argv 
)
staticinherited

Returns the string that is printed before the list of command line parameters in the help message.

If the returned string is empty, no help message will be generated.

◆ initFluidSystem_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::initFluidSystem_
protectedinherited

◆ initialSolutionApplied()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::initialSolutionApplied ( )
inlinevirtual

Callback used by the model to indicate that the initial solution has been determined for all degrees of freedom.

Reimplemented in Opm::FlowProblemBlackoil< TypeTag >.

References Opm::FlowProblem< TypeTag >::aquiferModel_, Opm::FlowProblem< TypeTag >::updateHysteresis_(), and Opm::FlowProblem< TypeTag >::wellModel_.

◆ intrinsicPermeability() [1/2]

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

◆ intrinsicPermeability() [2/2]

template<class TypeTag >
const DimMatrix & Opm::FlowProblem< TypeTag >::intrinsicPermeability ( unsigned  globalElemIdx) const
inline

This method returns the intrinsic permeability tensor given a global element index.

Its main (only?) usage is the ECL transmissibility calculation code...

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ limitNextTimeStepSize_()

◆ lookupIdxOnLevelZeroAssigner_()

std::function< unsigned(unsigned)> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::lookupIdxOnLevelZeroAssigner_ ( )
inlineprotectedinherited

◆ materialLawManager() [1/2]

template<class TypeTag >
std::shared_ptr< EclMaterialLawManager > Opm::FlowProblem< TypeTag >::materialLawManager ( )
inline

◆ materialLawManager() [2/2]

template<class TypeTag >
std::shared_ptr< const EclMaterialLawManager > Opm::FlowProblem< TypeTag >::materialLawManager ( ) const
inline

Returns the ECL material law manager.

Note that this method is not part of the generic eWoms problem API because it would force all problens use the ECL material laws.

References Opm::FlowProblem< TypeTag >::materialLawManager_.

◆ materialLawParams() [1/3]

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

◆ materialLawParams() [2/3]

template<class TypeTag >
const MaterialLawParams & Opm::FlowProblem< TypeTag >::materialLawParams ( unsigned  globalDofIdx) const
inline

◆ materialLawParams() [3/3]

template<class TypeTag >
const MaterialLawParams & Opm::FlowProblem< TypeTag >::materialLawParams ( unsigned  globalDofIdx,
FaceDir::DirEnum  facedir 
) const
inline

◆ maxOilSaturation()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::maxOilSaturation ( unsigned  globalDofIdx) const
inline

Returns an element's historic maximum oil phase saturation that was observed during the simulation.

In this context, "historic" means the the time before the current timestep began.

This is a bit of a hack from the conceptional point of view, but it is required to match the results of the 'flow' and ECLIPSE 100 simulators.

References Opm::FlowProblem< TypeTag >::episodeIndex(), Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >::maxOilSaturation_, and Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >::vapparsActive().

◆ maxPolymerAdsorption() [1/2]

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

Returns the max polymer adsorption value.

References Opm::FlowProblem< TypeTag >::maxPolymerAdsorption().

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

◆ maxPolymerAdsorption() [2/2]

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::maxPolymerAdsorption ( unsigned  elemIdx) const
inherited

Returns the max polymer adsorption value.

◆ maxWaterSaturation()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::maxWaterSaturation ( unsigned  globalDofIdx) const
inherited

Returns an element's historic maximum water phase saturation that was observed during the simulation.

In this context, "historic" means the the time before the current timestep began.

This is used for output of the maximum water saturation used as input for water induced rock compation ROCK2D/ROCK2DTR.

◆ microbialConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::microbialConcentration ( unsigned  elemIdx) const
inherited

Returns the initial microbial concentration for a given a cell index.

◆ minOilPressure()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::minOilPressure ( unsigned  globalDofIdx) const
inherited

Returns an element's historic minimum pressure of the oil phase that was observed during the simulation.

In this context, "historic" means the the time before the current timestep began.

This is used for output of the minimum pressure used as input for the irreversible rock compation option.

◆ miscnumRegionIndex() [1/2]

template<class TypeTag >
template<class Context >
unsigned Opm::FlowProblem< TypeTag >::miscnumRegionIndex ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

Returns the index of the relevant region for thermodynmic properties.

References Opm::FlowProblem< TypeTag >::miscnumRegionIndex().

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

◆ miscnumRegionIndex() [2/2]

unsigned Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::miscnumRegionIndex ( unsigned  elemIdx) const
inherited

Returns the index the relevant MISC region given a cell index.

◆ mutableAquiferModel()

template<class TypeTag >
AquiferModel & Opm::FlowProblem< TypeTag >::mutableAquiferModel ( )
inline

◆ name()

template<class TypeTag >
std::string Opm::FlowProblem< 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.

◆ nextTimeStepSize()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::nextTimeStepSize ( ) const
inline

Propose the size of the next time step to the simulator.

This method is only called if the Newton solver does converge, the simulator automatically cuts the time step in half without consultating this method again.

References Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >::initialTimeStepSize_, and Opm::FlowProblem< TypeTag >::limitNextTimeStepSize_().

◆ nonTrivialBoundaryConditions()

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::nonTrivialBoundaryConditions ( ) const
inline

◆ numPressurePointsEquil()

int Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::numPressurePointsEquil ( ) const
inlineinherited

◆ operator==()

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::operator== ( const FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > > &  rhs) const
inherited

◆ overburdenPressure()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::overburdenPressure ( unsigned  elementIdx) const
inherited

Get the pressure of the overburden.

This method is mainly for output.

◆ oxygenConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::oxygenConcentration ( unsigned  elemIdx) const
inherited

Returns the initial oxygen concentration for a given a cell index.

◆ plmixnumRegionIndex() [1/2]

template<class TypeTag >
template<class Context >
unsigned Opm::FlowProblem< TypeTag >::plmixnumRegionIndex ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

Returns the index of the relevant region for thermodynmic properties.

References Opm::FlowProblem< TypeTag >::plmixnumRegionIndex().

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

◆ plmixnumRegionIndex() [2/2]

unsigned Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::plmixnumRegionIndex ( unsigned  elemIdx) const
inherited

Returns the index the relevant PLMIXNUM (for polymer module) region given a cell index.

◆ polymerConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::polymerConcentration ( unsigned  elemIdx) const
inherited

Returns the initial polymer concentration for a given a cell index.

◆ polymerMolecularWeight()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::polymerMolecularWeight ( const unsigned  elemIdx) const
inherited

Returns the polymer molecule weight for a given cell index.

◆ porosity() [1/2]

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

For the FlowProblem, this method is identical to referencePorosity(). The intensive quantities object may apply various multipliers (e.g. ones which model rock compressibility and water induced rock compaction) to it which depend on the current physical conditions.

References Opm::FlowProblem< TypeTag >::porosity().

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

◆ porosity() [2/2]

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::porosity ( unsigned  globalSpaceIdx,
unsigned  timeIdx 
) const
inherited

Direct indexed access to the porosity.

For the FlowProblem, this method is identical to referencePorosity(). The intensive quantities object may apply various multipliers (e.g. ones which model rock compressibility and water induced rock compaction) to it which depend on the current physical conditions.

◆ prefetch()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::prefetch ( const Element elem) const
inline

◆ pvtRegionIndex() [1/2]

template<class TypeTag >
template<class Context >
unsigned Opm::FlowProblem< TypeTag >::pvtRegionIndex ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

Returns the index of the relevant region for thermodynmic properties.

References Opm::FlowProblem< TypeTag >::pvtRegionIndex().

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

◆ pvtRegionIndex() [2/2]

unsigned Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::pvtRegionIndex ( unsigned  elemIdx) const
inherited

Returns the index the relevant PVT region given a cell index.

◆ readBlackoilExtentionsInitialConditions_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::readBlackoilExtentionsInitialConditions_ ( std::size_t  numDof,
bool  enableSolvent,
bool  enablePolymer,
bool  enablePolymerMolarWeight,
bool  enableMICP 
)
protectedinherited

◆ readBoundaryConditions_()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::readBoundaryConditions_ ( )
inlineprotected

◆ readEquilInitialCondition_()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::readEquilInitialCondition_ ( )
protectedpure virtual

◆ readExplicitInitialCondition_()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::readExplicitInitialCondition_ ( )
protectedpure virtual

◆ readInitialCondition_()

◆ readMaterialParameters_()

◆ readRockCompactionParameters_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::readRockCompactionParameters_
protectedinherited

◆ readRockParameters_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::readRockParameters_ ( const std::vector< Scalar > &  cellCenterDepths,
std::function< std::array< int, 3 >(const unsigned)>  ijkIndex 
)
protectedinherited

◆ readThermalParameters_()

◆ referencePorosity()

Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::referencePorosity ( unsigned  elementIdx,
unsigned  timeIdx 
) const
inlineinherited

Returns the porosity of an element.

The reference porosity of an element is the porosity of the medium before modified by the current solution. Note that this method is not part of the generic eWoms problem API because it would bake the assumption that only the elements are the degrees of freedom into the interface.

◆ refPressurePhaseIdx_()

◆ registerParameters()

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

Registers all available parameters for the problem and the model.

Referenced by Opm::FlowProblemBlackoil< TypeTag >::registerParameters(), and Opm::FlowProblemComp< TypeTag >::registerParameters().

◆ rockCompPoroMultiplier()

◆ rockCompressibility() [1/2]

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

◆ rockCompressibility() [2/2]

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompressibility ( unsigned  globalSpaceIdx) const
inherited

Direct access to rock compressibility.

While the above overload could be implemented in terms of this method, that would require always looking up the global space index, which is not always needed.

◆ rockCompTransMultiplier()

template<class TypeTag >
template<class LhsEval >
LhsEval Opm::FlowProblem< TypeTag >::rockCompTransMultiplier ( const IntensiveQuantities intQuants,
unsigned  elementIdx 
) const
inline

Calculate the transmissibility multiplier due to water induced rock compaction.

TODO: The API of this is a bit ad-hoc, it would be better to use context objects.

References Opm::FlowProblem< TypeTag >::explicitRockCompaction_.

◆ rockFraction()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockFraction ( unsigned  elementIdx,
unsigned  timeIdx 
) const
inherited

Returns the rockFraction of an element.

Usually 1 - porosity, but if pvmult is used to modify porosity we will apply the same multiplier to the rock fraction i.e. pvmult*(1 - porosity) and thus interpret multpv as a volume multiplier. This is to avoid negative rock volume for pvmult*porosity > 1

◆ rockReferencePressure() [1/2]

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

◆ rockReferencePressure() [2/2]

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockReferencePressure ( unsigned  globalSpaceIdx) const
inherited

Direct access to rock reference pressure.

While the above overload could be implemented in terms of this method, that would require always looking up the global space index, which is not always needed.

◆ satnumRegionIndex() [1/2]

template<class TypeTag >
template<class Context >
unsigned Opm::FlowProblem< TypeTag >::satnumRegionIndex ( const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const
inline

Returns the index of the relevant region for thermodynmic properties.

References Opm::FlowProblem< TypeTag >::satnumRegionIndex().

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

◆ satnumRegionIndex() [2/2]

unsigned Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::satnumRegionIndex ( unsigned  elemIdx) const
inherited

Returns the index the relevant saturation function region given a cell index.

◆ serializationTestObject()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > > Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::serializationTestObject ( const EclipseState &  eclState,
const Schedule &  schedule,
const GetPropType< TypeTag, Properties::GridView > &  gridView 
)
staticinherited

◆ serialize()

template<class TypeTag >
template<class Restarter >
void Opm::FlowProblem< TypeTag >::serialize ( Restarter &  res)
inline

This method writes the complete state of the problem and its subobjects to disk.

The file format used here is ad-hoc.

References Opm::FlowProblem< TypeTag >::aquiferModel_, and Opm::FlowProblem< TypeTag >::wellModel_.

◆ serializeOp()

◆ setBriefDescription()

static void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::setBriefDescription ( const std::string &  msg)
inlinestaticinherited

Specifies the string returned by briefDescription()

This string appears in the usage message.

◆ setMaxOilSaturation()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::setMaxOilSaturation ( unsigned  globalDofIdx,
Scalar  value 
)
inline

Sets an element's maximum oil phase saturation observed during the simulation.

In this context, "historic" means the the time before the current timestep began.

This a hack on top of the maxOilSaturation() hack but it is currently required to do restart externally. i.e. from the flow code.

References Opm::FlowProblem< TypeTag >::episodeIndex(), Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >::maxOilSaturation_, and Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView >, GetPropType< TypeTag, Properties::FluidSystem > >::vapparsActive().

◆ setPorosity()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::setPorosity ( Scalar  poro,
unsigned  elementIdx,
unsigned  timeIdx = 0 
)
inlineinherited

Sets the porosity of an element.

◆ shouldWriteOutput()

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::shouldWriteOutput ( ) const
inlineprotectedinherited

Always returns true. The ecl output writer takes care of the rest.

◆ shouldWriteRestartFile()

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::shouldWriteRestartFile ( ) const
inlineprotectedinherited

Returns true if an eWoms restart file should be written to disk.

The FlowProblem does not write any restart files using the ad-hoc format, only ones using the ECL format.

◆ solidEnergyLawParams() [1/2]

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

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

References Opm::FlowProblem< TypeTag >::thermalLawManager_.

◆ solidEnergyLawParams() [2/2]

template<class TypeTag >
const SolidEnergyLawParams & Opm::FlowProblem< TypeTag >::solidEnergyLawParams ( unsigned  globalSpaceIdx,
unsigned   
) const
inline

◆ solventRsw()

Returns the initial solvent dissolved in water for a given a cell index.

◆ solventSaturation()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::solventSaturation ( unsigned  elemIdx) const
inherited

Returns the initial solvent saturation for a given a cell index.

◆ source() [1/2]

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

Evaluate the source term for all phases within a given sub-control-volume.

Parameters
rateStores the values of the volumetric creation/anihilition rates of the conserved quantities.
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

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

References Opm::FlowProblem< TypeTag >::source().

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

◆ source() [2/2]

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::source ( RateVector rate,
unsigned  globalDofIdx,
unsigned  timeIdx 
) const
inline

◆ temperature() [1/2]

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

◆ temperature() [2/2]

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::temperature ( unsigned  globalDofIdx,
unsigned   
) const
inline

◆ thermalConductionLawParams() [1/2]

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

◆ thermalConductionLawParams() [2/2]

template<class TypeTag >
const ThermalConductionLawParams & Opm::FlowProblem< TypeTag >::thermalConductionLawParams ( unsigned  globalSpaceIdx,
unsigned   
) const
inline

◆ thermalHalfTransmissibility()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::thermalHalfTransmissibility ( const unsigned  globalSpaceIdxIn,
const unsigned  globalSpaceIdxOut 
) const
inline

◆ thermalHalfTransmissibilityBoundary()

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::thermalHalfTransmissibilityBoundary ( const Context &  elemCtx,
unsigned  boundaryFaceIdx 
) const
inline

◆ thermalHalfTransmissibilityIn()

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::thermalHalfTransmissibilityIn ( const Context &  context,
unsigned  faceIdx,
unsigned  timeIdx 
) const
inline

◆ thermalHalfTransmissibilityOut()

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::thermalHalfTransmissibilityOut ( const Context &  context,
unsigned  faceIdx,
unsigned  timeIdx 
) const
inline

◆ thermalTransmissibilityBoundary()

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::thermalTransmissibilityBoundary ( const unsigned  globalSpaceIdx,
const unsigned  boundaryFaceIdx 
) const
inline

Direct access to a boundary transmissibility.

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ tracerModel() [1/2]

template<class TypeTag >
TracerModel & Opm::FlowProblem< TypeTag >::tracerModel ( )
inline

◆ tracerModel() [2/2]

template<class TypeTag >
const TracerModel & Opm::FlowProblem< TypeTag >::tracerModel ( ) const
inline

◆ transmissibility() [1/2]

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::transmissibility ( const Context &  context,
unsigned  fromDofLocalIdx,
unsigned  toDofLocalIdx 
) const
inline

◆ transmissibility() [2/2]

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::transmissibility ( unsigned  globalCenterElemIdx,
unsigned  globalElemIdx 
) const
inline

Direct access to the transmissibility between two elements.

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ transmissibilityBoundary() [1/2]

template<class TypeTag >
template<class Context >
Scalar Opm::FlowProblem< TypeTag >::transmissibilityBoundary ( const Context &  elemCtx,
unsigned  boundaryFaceIdx 
) const
inline

◆ transmissibilityBoundary() [2/2]

template<class TypeTag >
Scalar Opm::FlowProblem< TypeTag >::transmissibilityBoundary ( const unsigned  globalSpaceIdx,
const unsigned  boundaryFaceIdx 
) const
inline

Direct access to a boundary transmissibility.

References Opm::FlowProblem< TypeTag >::transmissibilities_.

◆ updateExplicitQuantities_()

template<class TypeTag >
virtual void Opm::FlowProblem< TypeTag >::updateExplicitQuantities_ ( int  episodeIdx,
int  timeStepSize,
bool  first_step_after_restart 
)
protectedpure virtual

◆ updateHysteresis_() [1/2]

◆ updateHysteresis_() [2/2]

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::updateHysteresis_ ( unsigned  compressedDofIdx,
const IntensiveQuantities iq 
)
inlineprotected

◆ updateMaxOilSaturation_() [1/2]

◆ updateMaxOilSaturation_() [2/2]

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::updateMaxOilSaturation_ ( unsigned  compressedDofIdx,
const IntensiveQuantities iq 
)
inlineprotected

◆ updateMaxWaterSaturation_() [1/2]

◆ updateMaxWaterSaturation_() [2/2]

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::updateMaxWaterSaturation_ ( unsigned  compressedDofIdx,
const IntensiveQuantities iq 
)
inlineprotected

◆ updateMinPressure_() [1/2]

◆ updateMinPressure_() [2/2]

◆ updateMiscnum_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::updateMiscnum_
protectedinherited

◆ updatePffDofData_()

◆ updatePlmixnum_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::updatePlmixnum_
protectedinherited

◆ updateProperty_()

template<class TypeTag >
template<class UpdateFunc >
void Opm::FlowProblem< TypeTag >::updateProperty_ ( const std::string &  failureMsg,
UpdateFunc  func 
)
inlineprotected

◆ updatePvtnum_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::updatePvtnum_
protectedinherited

◆ updateReferencePorosity_()

◆ updateRelperms()

template<class TypeTag >
template<class FluidState >
void Opm::FlowProblem< TypeTag >::updateRelperms ( std::array< Evaluation, numPhases > &  mobility,
DirectionalMobilityPtr dirMob,
FluidState &  fluidState,
unsigned  globalSpaceIdx 
) const
inline

◆ updateRockCompTransMultVal_()

◆ updateSatnum_()

void Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::updateSatnum_
protectedinherited

◆ ureaConcentration()

FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::ureaConcentration ( unsigned  elemIdx) const
inherited

Returns the initial urea concentration for a given a cell index.

◆ vapparsActive()

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::vapparsActive ( int  episodeIdx) const
inherited

◆ wellModel() [1/2]

template<class TypeTag >
WellModel & Opm::FlowProblem< TypeTag >::wellModel ( )
inline

◆ wellModel() [2/2]

template<class TypeTag >
const WellModel & Opm::FlowProblem< TypeTag >::wellModel ( ) const
inline

Returns a reference to the ECL well manager used by the problem.

This can be used for inspecting wells outside of the problem.

References Opm::FlowProblem< TypeTag >::wellModel_.

◆ wellTransMultiplier()

template<class TypeTag >
template<class LhsEval >
LhsEval Opm::FlowProblem< TypeTag >::wellTransMultiplier ( const IntensiveQuantities intQuants,
unsigned  elementIdx 
) const
inline

Return the well transmissibility multiplier due to rock changues.

References Opm::FlowProblem< TypeTag >::explicitRockCompaction_, and Opm::FlowProblem< TypeTag >::wellTransMultiplier().

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

◆ writeOutput()

template<class TypeTag >
void Opm::FlowProblem< TypeTag >::writeOutput ( bool  verbose = true)
inline

Write the requested quantities of the current solution into the output files.

Member Data Documentation

◆ aquiferModel_

◆ bcindex_

template<class TypeTag >
BCData<int> Opm::FlowProblem< TypeTag >::bcindex_
protected

◆ briefDescription_

std::string Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::briefDescription_
inlinestaticprotectedinherited

◆ drift_

template<class TypeTag >
GlobalEqVector Opm::FlowProblem< TypeTag >::drift_
protected

◆ eclState_

const EclipseState& Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::eclState_
protectedinherited

◆ enableDriftCompensation_

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::enableDriftCompensation_
protected

◆ enableTuning_

bool Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::enableTuning_
protectedinherited

◆ enableVtkOutput_

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::enableVtkOutput_
protected

◆ explicitRockCompaction_

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::explicitRockCompaction_ = false
protected

◆ first_step_

template<class TypeTag >
bool Opm::FlowProblem< TypeTag >::first_step_ = true
protected

◆ gridView_

const GetPropType< TypeTag, Properties::GridView > & Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::gridView_
protectedinherited

◆ initialTimeStepSize_

Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::initialTimeStepSize_
protectedinherited

◆ lookUpData_

const LookUpData Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::lookUpData_
protectedinherited

◆ materialLawManager_

◆ maxOilSaturation_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::maxOilSaturation_
protectedinherited

◆ maxTimeStepAfterWellEvent_

Scalar Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::maxTimeStepAfterWellEvent_
protectedinherited

◆ maxWaterSaturation_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::maxWaterSaturation_
protectedinherited

◆ micp_

◆ minRefPressure_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::minRefPressure_
protectedinherited

◆ miscnum_

std::vector<unsigned short> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::miscnum_
protectedinherited

◆ nonTrivialBoundaryConditions_

◆ numPressurePointsEquil_

int Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::numPressurePointsEquil_
protectedinherited

◆ overburdenPressure_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::overburdenPressure_
protectedinherited

◆ pffDofData_

◆ plmixnum_

std::vector<unsigned short> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::plmixnum_
protectedinherited

◆ polymer_

◆ pvtnum_

std::vector<int> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::pvtnum_
protectedinherited

◆ referencePorosity_

std::array<std::vector<Scalar>, 2> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::referencePorosity_
protectedinherited

◆ rockCompPoroMult_

std::vector<TabulatedFunction> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompPoroMult_
protectedinherited

◆ rockCompPoroMultWc_

std::vector<TabulatedTwoDFunction> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompPoroMultWc_
protectedinherited

◆ rockCompTransMult_

std::vector<TabulatedFunction> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompTransMult_
protectedinherited

◆ rockCompTransMultVal_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompTransMultVal_
protectedinherited

◆ rockCompTransMultWc_

std::vector<TabulatedTwoDFunction> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockCompTransMultWc_
protectedinherited

◆ rockParams_

std::vector<RockParams> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockParams_
protectedinherited

◆ rockTableIdx_

std::vector<unsigned short> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::rockTableIdx_
protectedinherited

◆ satnum_

std::vector<unsigned short> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::satnum_
protectedinherited

◆ schedule_

const Schedule& Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::schedule_
protectedinherited

◆ solventRsw_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::solventRsw_
protectedinherited

◆ solventSaturation_

std::vector<Scalar> Opm::FlowGenericProblem< GetPropType< TypeTag, Properties::GridView > , GetPropType< TypeTag, Properties::FluidSystem > >::solventSaturation_
protectedinherited

◆ thermalLawManager_

◆ tracerModel_

◆ transmissibilities_

◆ wellModel_


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