Broadcast updated transmissibility after runtime updates of MULT?

This commit is contained in:
Joakim Hove 2021-11-08 12:02:51 +01:00
parent 5f4efbde73
commit 06e71f1345
3 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,7 @@
#include <opm/core/props/satfunc/RelpermDiagnostics.hpp>
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
#include <opm/simulators/utils/ParallelSerialization.hpp>
#include <opm/models/utils/pffgridvector.hh>
#include <opm/models/blackoil/blackoilmodel.hh>
@ -1023,7 +1024,9 @@ public:
// has changed, the grid may need be re-created which has some serious
// implications on e.g., the solution of the simulation.)
const auto& miniDeck = schedule[episodeIdx].geo_keywords();
const auto& cc = simulator.vanguard().grid().comm();
eclState.apply_schedule_keywords( miniDeck );
eclBroadcast(cc, eclState.getTransMult() );
// re-compute all quantities which may possibly be affected.
transmissibilities_.update(true);

View File

@ -34,6 +34,7 @@
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WListManager.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestState.hpp>
#include <opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.hpp>
#include <opm/parser/eclipse/EclipseState/Grid/TransMult.hpp>
#include <ebos/eclmpiserializer.hh>

View File

@ -28,6 +28,7 @@ class Schedule;
class SummaryConfig;
class UDQState;
class WellTestState;
class TransMult;
namespace Action {
class State;