mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
extend the aquifer model so that it can initialize itself
nothing is perfect on first try...
This commit is contained in:
parent
7fd640bb9e
commit
ec898fa8c2
@ -57,6 +57,13 @@ public:
|
|||||||
: simulator_(simulator)
|
: simulator_(simulator)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Called once the problem has been fully initialized and the initial
|
||||||
|
* condition has been applied.
|
||||||
|
*/
|
||||||
|
void initialSolutionApplied()
|
||||||
|
{ }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief This method is called when a new episode (report step) starts.
|
* \brief This method is called when a new episode (report step) starts.
|
||||||
*/
|
*/
|
||||||
|
@ -1301,7 +1301,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void initialSolutionApplied()
|
void initialSolutionApplied()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!GET_PROP_VALUE(TypeTag, DisableWells)) {
|
if (!GET_PROP_VALUE(TypeTag, DisableWells)) {
|
||||||
// initialize the wells. Note that this needs to be done after initializing the
|
// initialize the wells. Note that this needs to be done after initializing the
|
||||||
// intrinsic permeabilities and the after applying the initial solution because
|
// intrinsic permeabilities and the after applying the initial solution because
|
||||||
@ -1318,6 +1317,8 @@ public:
|
|||||||
this->simulator().vanguard().releaseEquilGrid();
|
this->simulator().vanguard().releaseEquilGrid();
|
||||||
|
|
||||||
updateCompositionChangeLimits_();
|
updateCompositionChangeLimits_();
|
||||||
|
|
||||||
|
aquiferModel_.initialSolutionApplied();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user