mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
[feature][ebos] Adding oil-water-polymer option of ebos.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include "ebos_blackoil.hh"
|
||||
#include "ebos_oilwater.hh"
|
||||
#include "ebos_oilwaterpolymer.hh"
|
||||
#include "ebos_gasoil.hh"
|
||||
// TODO (?): #include "ebos_watergas.hh"
|
||||
#include "ebos_thermal.hh"
|
||||
@@ -119,6 +120,16 @@ int main(int argc, char **argv)
|
||||
std::abort();
|
||||
}
|
||||
|
||||
if (polymerActive && oilActive && waterActive) {
|
||||
if (myRank == 0)
|
||||
std::cout << "Using oil-water-polymer mode" << std::endl;
|
||||
Opm::ebosOilWaterPolymerSetDeck(deck.get(),
|
||||
parseContext.get(),
|
||||
errorGuard.get(),
|
||||
externalSetupTimer.elapsed());
|
||||
return Opm::ebosOilWaterPolymerMain(argc, argv);
|
||||
}
|
||||
|
||||
if (polymerActive) {
|
||||
notSupportedErrorStream << "\n"
|
||||
<< "combining twophase and polymer is not supported by the multiplexed simulator\n";
|
||||
|
||||
Reference in New Issue
Block a user