mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 15:51:57 -06:00
adjust to upstream WaterPvtApproach enum changes
This commit is contained in:
parent
9fabd9b49d
commit
5dc8c12cd8
@ -350,8 +350,8 @@ public:
|
||||
liveOilPvt.setSaturatedOilViscosity(/*regionIdx=*/0, muo);
|
||||
|
||||
Opm::WaterPvtMultiplexer<Scalar> *waterPvt = new Opm::WaterPvtMultiplexer<Scalar>;
|
||||
waterPvt->setApproach(WaterPvtApproach::ConstantCompressibilityWaterPvt);
|
||||
auto& ccWaterPvt = waterPvt->template getRealPvt<WaterPvtApproach::ConstantCompressibilityWaterPvt>();
|
||||
waterPvt->setApproach(WaterPvtApproach::ConstantCompressibilityWater);
|
||||
auto& ccWaterPvt = waterPvt->template getRealPvt<WaterPvtApproach::ConstantCompressibilityWater>();
|
||||
ccWaterPvt.setNumRegions(/*numPvtRegions=*/1);
|
||||
ccWaterPvt.setReferenceDensities(/*regionIdx=*/0, rhoRefO, rhoRefG, rhoRefW);
|
||||
ccWaterPvt.setViscosity(/*regionIdx=*/0, 9.6e-4);
|
||||
|
Loading…
Reference in New Issue
Block a user