From 7d66a1eef344bd339792e3b26b2ba4768369a172 Mon Sep 17 00:00:00 2001 From: Paul Egberts Date: Mon, 11 Apr 2022 20:39:42 +0200 Subject: [PATCH] added water-gas ratio argument --- tests/test_co2brinepvt.cpp | 7 +++++-- tests/test_eclblackoilpvt.cpp | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/test_co2brinepvt.cpp b/tests/test_co2brinepvt.cpp index c146aa663..8e8354c0e 100644 --- a/tests/test_co2brinepvt.cpp +++ b/tests/test_co2brinepvt.cpp @@ -96,6 +96,7 @@ void ensurePvtApi(const BrinePvt& brinePvt, const Co2Pvt& co2Pvt) Evaluation pressure = 1e5; Evaluation Rs = 0.0; Evaluation Rv = 0.0; + Evaluation Rvw = 0.0; Evaluation So = 0.5; Evaluation maxSo = 1.0; Evaluation tmp; @@ -135,11 +136,13 @@ void ensurePvtApi(const BrinePvt& brinePvt, const Co2Pvt& co2Pvt) tmp = co2Pvt.viscosity(/*regionIdx=*/0, temperature, pressure, - Rv); + Rv, + Rvw); tmp = co2Pvt.inverseFormationVolumeFactor(/*regionIdx=*/0, temperature, pressure, - Rv); + Rv, + Rvw); tmp = co2Pvt.saturatedViscosity(/*regionIdx=*/0, temperature, pressure); diff --git a/tests/test_eclblackoilpvt.cpp b/tests/test_eclblackoilpvt.cpp index 7b7fde547..d1b7ab1d7 100644 --- a/tests/test_eclblackoilpvt.cpp +++ b/tests/test_eclblackoilpvt.cpp @@ -142,6 +142,7 @@ void ensurePvtApi(const OilPvt& oilPvt, const GasPvt& gasPvt, const WaterPvt& wa Evaluation saltconcentration = 0.0; Evaluation Rs = 0.0; Evaluation Rv = 0.0; + Evaluation Rvw = 0.0; Evaluation So = 0.5; Evaluation maxSo = 1.0; Evaluation tmp; @@ -193,11 +194,13 @@ void ensurePvtApi(const OilPvt& oilPvt, const GasPvt& gasPvt, const WaterPvt& wa tmp = gasPvt.viscosity(/*regionIdx=*/0, temperature, pressure, - Rv); + Rv, + Rvw); tmp = gasPvt.inverseFormationVolumeFactor(/*regionIdx=*/0, temperature, pressure, - Rv); + Rv, + Rvw); tmp = gasPvt.saturatedViscosity(/*regionIdx=*/0, temperature, pressure);