mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:51:55 -06:00
fixed: call initFromDeck for Brine module
This commit is contained in:
parent
50d35c1dde
commit
403a78e1cf
@ -447,6 +447,7 @@ class EclProblem : public GET_PROP_TYPE(TypeTag, BaseProblem)
|
|||||||
typedef BlackOilSolventModule<TypeTag> SolventModule;
|
typedef BlackOilSolventModule<TypeTag> SolventModule;
|
||||||
typedef BlackOilPolymerModule<TypeTag> PolymerModule;
|
typedef BlackOilPolymerModule<TypeTag> PolymerModule;
|
||||||
typedef BlackOilFoamModule<TypeTag> FoamModule;
|
typedef BlackOilFoamModule<TypeTag> FoamModule;
|
||||||
|
typedef BlackOilBrineModule<TypeTag> BrineModule;
|
||||||
|
|
||||||
typedef typename EclEquilInitializer<TypeTag>::ScalarFluidState InitialFluidState;
|
typedef typename EclEquilInitializer<TypeTag>::ScalarFluidState InitialFluidState;
|
||||||
|
|
||||||
@ -612,12 +613,14 @@ public:
|
|||||||
SolventModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
SolventModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
||||||
PolymerModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
PolymerModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
||||||
FoamModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
FoamModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
||||||
|
BrineModule::initFromDeck(vanguard.deck(), vanguard.eclState());
|
||||||
}
|
}
|
||||||
|
|
||||||
EclMpiSerializer ser(comm);
|
EclMpiSerializer ser(comm);
|
||||||
ser.staticBroadcast<SolventModule>();
|
ser.staticBroadcast<SolventModule>();
|
||||||
ser.staticBroadcast<PolymerModule>();
|
ser.staticBroadcast<PolymerModule>();
|
||||||
ser.staticBroadcast<FoamModule>();
|
ser.staticBroadcast<FoamModule>();
|
||||||
|
ser.staticBroadcast<BrineModule>();
|
||||||
|
|
||||||
// create the ECL writer
|
// create the ECL writer
|
||||||
eclWriter_.reset(new EclWriterType(simulator));
|
eclWriter_.reset(new EclWriterType(simulator));
|
||||||
|
Loading…
Reference in New Issue
Block a user