mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix saturation-change bug in updateState().
This commit is contained in:
parent
cb2522314d
commit
69697adb04
@ -1354,7 +1354,7 @@ namespace {
|
|||||||
for (int c = 0; c < nc; ++c) {
|
for (int c = 0; c < nc; ++c) {
|
||||||
if (ixw[c]) {
|
if (ixw[c]) {
|
||||||
so[c] = so[c] / (1-sw[c]);
|
so[c] = so[c] / (1-sw[c]);
|
||||||
sg[c] = sg[c] / (1-so[c]);
|
sg[c] = sg[c] / (1-sw[c]);
|
||||||
sw[c] = 0;
|
sw[c] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user