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 2022-04-05 11:28:34 +02:00
parent 282951dc44
commit 6dcde2c5f7

View File

@ -515,6 +515,8 @@ public:
val.second = getValue(fs.saturation(gasPhaseIdx)); val.second = getValue(fs.saturation(gasPhaseIdx));
else if ((key.first == "BOSAT") || (key.first == "BSOIL")) else if ((key.first == "BOSAT") || (key.first == "BSOIL"))
val.second = getValue(fs.saturation(oilPhaseIdx)); val.second = getValue(fs.saturation(oilPhaseIdx));
else if (key.first == "BNSAT")
val.second = intQuants.solventSaturation().value();
else if ((key.first == "BPR") || (key.first == "BPRESSUR")){ else if ((key.first == "BPR") || (key.first == "BPRESSUR")){
if (FluidSystem::phaseIsActive(oilPhaseIdx)) if (FluidSystem::phaseIsActive(oilPhaseIdx))
val.second = getValue(fs.pressure(oilPhaseIdx)); val.second = getValue(fs.pressure(oilPhaseIdx));