mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
allow for water-gas system
This commit is contained in:
parent
ec4bb5c9c7
commit
b8b881d6e9
@ -171,10 +171,14 @@ int main(int argc, char **argv)
|
|||||||
return Opm::ebosGasOilMain(argc, argv);
|
return Opm::ebosGasOilMain(argc, argv);
|
||||||
}
|
}
|
||||||
else if (waterActive && gasActive) {
|
else if (waterActive && gasActive) {
|
||||||
notSupportedErrorStream << "\n"
|
// run ebos_gaswater
|
||||||
<< "water-gas simulations are currently unsupported\n";
|
if (myRank == 0)
|
||||||
std::cerr << notSupportedErrorStream.str() << std::endl;
|
std::cout << "Using gas-water mode" << std::endl;
|
||||||
std::abort();
|
Opm::ebosGasWaterSetDeck(std::move(deck),
|
||||||
|
std::move(parseContext),
|
||||||
|
std::move(errorGuard),
|
||||||
|
externalSetupTimer.elapsed());
|
||||||
|
return Opm::ebosGasWaterMain(argc, argv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (foamActive) {
|
else if (foamActive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user