Extract SOIL Directly for 'BOSAT' Summary Vector

This works better in two-phase runs (G/O or O/W).
This commit is contained in:
Bård Skaflestad
2020-12-19 01:20:37 +01:00
parent 560a064ea7
commit e7ca9df998

View File

@@ -804,7 +804,7 @@ public:
else if (key.first == "BGSAT") else if (key.first == "BGSAT")
val.second = Opm::getValue(fs.saturation(gasPhaseIdx)); val.second = Opm::getValue(fs.saturation(gasPhaseIdx));
else if (key.first == "BOSAT") else if (key.first == "BOSAT")
val.second = 1. - Opm::getValue(fs.saturation(gasPhaseIdx)) - Opm::getValue(fs.saturation(waterPhaseIdx)); val.second = Opm::getValue(fs.saturation(oilPhaseIdx));
else if (key.first == "BPR") else if (key.first == "BPR")
val.second = Opm::getValue(fs.pressure(oilPhaseIdx)); val.second = Opm::getValue(fs.pressure(oilPhaseIdx));
else if (key.first == "BWKR" || key.first == "BKRW") else if (key.first == "BWKR" || key.first == "BKRW")