Retrieve Block Level Solvent Saturation When Requested

This commit adds support for the block level solvent saturation
summary output keyword "BNSAT".
This commit is contained in:
Bård Skaflestad committed 2022-04-05 15:45:00 +02:00
1 parent 282951dc44
commit 6dcde2c5f7
1 file changed
+2
+2
View File
@@ -515,6 +515,8 @@ public:
val.second = getValue(fs.saturation(gasPhaseIdx));
else if ((key.first == "BOSAT") || (key.first == "BSOIL"))
val.second = getValue(fs.saturation(oilPhaseIdx));
else if (key.first == "BNSAT")
val.second = intQuants.solventSaturation().value();
else if ((key.first == "BPR") || (key.first == "BPRESSUR")){
if (FluidSystem::phaseIsActive(oilPhaseIdx))
val.second = getValue(fs.pressure(oilPhaseIdx));