mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-27 03:30:17 -06:00
ebos: run the diagnostics code for relative permeabilities
maybe this needs to be reverted since the code in question can cause the simulation to abort inadvertently. As usual, `flow` is unaffected because this functionality is only called in experimental mode and flow calls it itself.
This commit is contained in:
parent
67a8283000
commit
4805e9fe05
@ -31,6 +31,10 @@
|
||||
#include <ewoms/common/propertysystem.hh>
|
||||
#include <ewoms/common/parametersystem.hh>
|
||||
|
||||
#include <opm/grid/CpGrid.hpp>
|
||||
#include <opm/grid/cpgrid/GridHelpers.hpp>
|
||||
#include <opm/core/props/satfunc/RelpermDiagnostics.hpp>
|
||||
|
||||
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
||||
#include <opm/parser/eclipse/Parser/ParseContext.hpp>
|
||||
#include <opm/parser/eclipse/Parser/ErrorGuard.hpp>
|
||||
@ -316,6 +320,11 @@ public:
|
||||
asImp_().filterConnections_();
|
||||
asImp_().updateOutputDir_();
|
||||
asImp_().finalizeInit_();
|
||||
|
||||
if (enableExperiments) {
|
||||
Opm::RelpermDiagnostics relpermDiagnostics;
|
||||
relpermDiagnostics.diagnosis(*internalEclState_, *internalDeck_, asImp_().grid());
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user