27#ifndef OPM_BASE_AQUIFER_MODEL_HPP
28#define OPM_BASE_AQUIFER_MODEL_HPP
30#include <opm/models/discretization/common/fvbaseproperties.hh>
31#include <opm/models/utils/basicproperties.hh>
32#include <opm/models/utils/propertysystem.hh>
34#include <opm/output/data/Aquifer.hpp>
48template <
class TypeTag>
51 using Simulator = GetPropType<TypeTag, Properties::Simulator>;
52 using RateVector = GetPropType<TypeTag, Properties::RateVector>;
56 : simulator_(simulator)
77 throw std::logic_error {
78 "Initialization from restart data not supported "
79 "for base aquifer model"
104 template <
class Context>
140 template <
class Restarter>
148 template <
class Restarter>
152 data::Aquifers aquiferData()
const
153 {
return data::Aquifers{}; }
156 Simulator& simulator_;
The base class which specifies the API of aquifer models.
Definition BaseAquiferModel.hpp:50
void endEpisode()
This method is called once an episode (report step) has been finished successfully.
Definition BaseAquiferModel.hpp:133
void serialize(Restarter &)
Write the internal state of the aquifer model to disk using an ad-hoc file format.
Definition BaseAquiferModel.hpp:141
void beginEpisode()
This method is called when a new episode (report step) starts.
Definition BaseAquiferModel.hpp:86
void beginIteration()
This method is called before each Newton-Raphson iteration.
Definition BaseAquiferModel.hpp:98
void addToSource(RateVector &, const Context &, unsigned, unsigned) const
Add the water which enters or leaves the reservoir due to aquifiers.
Definition BaseAquiferModel.hpp:105
void initialSolutionApplied()
Called once the problem has been fully initialized and the initial condition has been applied.
Definition BaseAquiferModel.hpp:63
void beginTimeStep()
This method is called when a new time step (substep) starts.
Definition BaseAquiferModel.hpp:92
void endTimeStep()
This method is called after each successful time step (substep).
Definition BaseAquiferModel.hpp:126
void endIteration()
This method is called after each Newton-Raphson successful iteration.
Definition BaseAquiferModel.hpp:117
void initFromRestart(const data::Aquifers &)
Called if aquifers are being initialized from values retrieved from a restart file.
Definition BaseAquiferModel.hpp:75
void deserialize(Restarter &)
Load the internal state of the aquifer model to disk using an ad-hoc file format.
Definition BaseAquiferModel.hpp:149
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition BlackoilPhases.hpp:27