fixing the running of flow_ebos_2p.

by not adding the dummy phase.
This commit is contained in:
Kai Bao 2017-08-01 11:53:56 +02:00
parent c1ee941195
commit 6e0da756dc

View File

@ -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;
}