Merge pull request #3861 from bska/block-level-solvent-sat-smry

Retrieve Block Level Solvent Saturation When Requested
This commit is contained in:
Markus Blatt 2022-04-06 12:13:25 +02:00 committed by GitHub
commit 11ff26bb10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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));