mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-27 09:40:59 -06:00
fixing the running of flow_ebos_2p.
by not adding the dummy phase.
This commit is contained in:
parent
c1ee941195
commit
6e0da756dc
@ -656,8 +656,8 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
|
||||
// add trivial equation for 2p cases (Only support water + oil)
|
||||
if (numComp == 2) {
|
||||
// add a trivial equation for the dummy phase for 2p cases (Only support water + oil)
|
||||
if ( numComp < numWellEq ) {
|
||||
assert(!active()[ Gas ]);
|
||||
invDuneD_[0][0][Gas][Gas] = 1.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user