mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
adjust to upstream OilPvtApproach enum changes
This commit is contained in:
parent
e390ce5149
commit
9a9dfd2e1d
@ -185,8 +185,8 @@ static void initDefaultFluidSystem()
|
||||
dryGasPvt.setGasViscosity(/*regionIdx=*/0, mug);
|
||||
|
||||
auto oilPvt = std::make_shared<Opm::OilPvtMultiplexer<double>>();
|
||||
oilPvt->setApproach(Opm::OilPvtApproach::DeadOilPvt);
|
||||
auto& deadOilPvt = oilPvt->getRealPvt<Opm::OilPvtApproach::DeadOilPvt>();
|
||||
oilPvt->setApproach(Opm::OilPvtApproach::DeadOil);
|
||||
auto& deadOilPvt = oilPvt->getRealPvt<Opm::OilPvtApproach::DeadOil>();
|
||||
deadOilPvt.setNumRegions(/*numPvtRegion=*/1);
|
||||
deadOilPvt.setReferenceDensities(/*regionIdx=*/0, rhoRefO, rhoRefG, rhoRefW);
|
||||
deadOilPvt.setInverseOilFormationVolumeFactor(/*regionIdx=*/0, Bo);
|
||||
|
Loading…
Reference in New Issue
Block a user