[feature][ebos] Adding oil-water-polymer option of ebos.

This commit is contained in:
Robert Kloefkorn
2019-12-09 18:16:23 +01:00
parent 510fb4a4ae
commit 44e4ea3cdf
5 changed files with 176 additions and 3 deletions
+11
View File
@@ -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";