mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
removed throw for water-gas system
This commit is contained in:
1 parent
b8b881d6e9
commit
25393cddee
1 file changed
-6
@@ -53,12 +53,6 @@ PhaseUsage phaseUsage(const Phases& phases)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need oil systems, since we do not support the keywords needed for
|
|
||||||
// water-gas systems.
|
|
||||||
if (!pu.phase_used[BlackoilPhases::Liquid] && !(pu.num_phases == 1)) {
|
|
||||||
OPM_THROW(std::runtime_error, "Cannot handle cases with no OIL, i.e. water-gas systems.");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add solvent info
|
// Add solvent info
|
||||||
pu.has_solvent = phases.active(Phase::SOLVENT);
|
pu.has_solvent = phases.active(Phase::SOLVENT);
|
||||||
if (pu.has_solvent) {
|
if (pu.has_solvent) {
|
||||||
|
|||||||
Reference in new issue
Block a user