mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
removed throw for water-gas system
This commit is contained in:
parent
b8b881d6e9
commit
25393cddee
@ -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
|
||||
pu.has_solvent = phases.active(Phase::SOLVENT);
|
||||
if (pu.has_solvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user