From 51c1201fa6bf0a67474ed60cc77b76a9628073cb Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Wed, 24 Jan 2018 09:12:49 +0100 Subject: [PATCH] Fix bug in pv output Output current not orignal pore volumes --- ebos/ecloutputblackoilmodule.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebos/ecloutputblackoilmodule.hh b/ebos/ecloutputblackoilmodule.hh index 284351614..6b4cf8ec8 100644 --- a/ebos/ecloutputblackoilmodule.hh +++ b/ebos/ecloutputblackoilmodule.hh @@ -1169,7 +1169,7 @@ private: if (units.getType() == Opm::UnitSystem::UnitType::UNIT_TYPE_METRIC) { ss << " : PAV =" << std::setw(14) << pav << " BARSA :\n" << std::fixed << std::setprecision(0) - << " : PORV =" << std::setw(14) << oip[FIPDataType::PoreVolume] << " RM3 :\n"; + << " : PORV =" << std::setw(14) << cip[FIPDataType::PoreVolume] << " RM3 :\n"; if (!reg) { ss << " : Pressure is weighted by hydrocarbon pore volume :\n" << " : Porv volumes are taken at reference conditions :\n"; @@ -1179,7 +1179,7 @@ private: if (units.getType() == Opm::UnitSystem::UnitType::UNIT_TYPE_FIELD) { ss << " : PAV =" << std::setw(14) << pav << " PSIA :\n" << std::fixed << std::setprecision(0) - << " : PORV =" << std::setw(14) << oip[FIPDataType::PoreVolume] << " RB :\n"; + << " : PORV =" << std::setw(14) << cip[FIPDataType::PoreVolume] << " RB :\n"; if (!reg) { ss << " : Pressure is weighted by hydrocarbon pore volume :\n" << " : Pore volumes are taken at reference conditions :\n";