mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Support Calculating Phase Pressures for Water/Gas at Block Level
This commit adds support for calculating/extracting the block-level phase pressures for water (BWPR) and gas (BGPR) for summary output purposes.
This commit is contained in:
parent
d5b74006c5
commit
6ac998e4e4
@ -551,6 +551,10 @@ public:
|
||||
val.second = getValue(fs.pressure(oilPhaseIdx)) - getValue(fs.pressure(waterPhaseIdx));
|
||||
else if (key.first == "BGPC")
|
||||
val.second = getValue(fs.pressure(gasPhaseIdx)) - getValue(fs.pressure(oilPhaseIdx));
|
||||
else if (key.first == "BWPR")
|
||||
val.second = getValue(fs.pressure(waterPhaseIdx));
|
||||
else if (key.first == "BGPR")
|
||||
val.second = getValue(fs.pressure(gasPhaseIdx));
|
||||
else if (key.first == "BVWAT" || key.first == "BWVIS")
|
||||
val.second = getValue(fs.viscosity(waterPhaseIdx));
|
||||
else if (key.first == "BVGAS" || key.first == "BGVIS")
|
||||
|
Loading…
Reference in New Issue
Block a user