From 8920f339cc5af840d736b54a56a4cf68e4145c38 Mon Sep 17 00:00:00 2001 From: goncalvesmachadoc Date: Fri, 29 Apr 2022 20:26:59 +0200 Subject: [PATCH] addBXPVs --- ebos/ecloutputblackoilmodule.hh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ebos/ecloutputblackoilmodule.hh b/ebos/ecloutputblackoilmodule.hh index a606c13ca..31f951ef0 100644 --- a/ebos/ecloutputblackoilmodule.hh +++ b/ebos/ecloutputblackoilmodule.hh @@ -571,6 +571,14 @@ public: val.second = getValue(fs.viscosity(gasPhaseIdx)); else if (key.first == "BVOIL" || key.first == "BOVIS") val.second = getValue(fs.viscosity(oilPhaseIdx)); + else if (key.first == "BRPV") + val.second = elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity()); + else if (key.first == "BOPV") + val.second = getValue(fs.saturation(oilPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity()); + else if (key.first == "BWPV") + val.second = getValue(fs.saturation(waterPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity()); + else if (key.first == "BGPV") + val.second = getValue(fs.saturation(gasPhaseIdx))*elemCtx.simulator().model().dofTotalVolume(globalDofIdx)*getValue(intQuants.porosity()); else { std::string logstring = "Keyword '"; logstring.append(key.first);