Load well alq value when loading from restart file
This commit is contained in:
parent
528548ebce
commit
007ef0e94f
@ -88,6 +88,7 @@ struct RstWell {
|
||||
float datum_depth;
|
||||
float drainage_radius;
|
||||
float efficiency_factor;
|
||||
float alq_value;
|
||||
|
||||
double oil_rate;
|
||||
double water_rate;
|
||||
|
@ -82,6 +82,7 @@ RstWell::RstWell(const ::Opm::UnitSystem& unit_system,
|
||||
datum_depth( unit_system.to_si(M::length, swel[VI::SWell::DatumDepth])),
|
||||
drainage_radius( unit_system.to_si(M::length, swel_value(swel[VI::SWell::DrainageRadius]))),
|
||||
efficiency_factor( unit_system.to_si(M::identity, swel[VI::SWell::EfficiencyFactor1])),
|
||||
alq_value( swel[VI::SWell::Alq_value]),
|
||||
oil_rate( unit_system.to_si(M::liquid_surface_rate, xwel[VI::XWell::OilPrRate])),
|
||||
water_rate( unit_system.to_si(M::liquid_surface_rate, xwel[VI::XWell::WatPrRate])),
|
||||
gas_rate( unit_system.to_si(M::gas_surface_rate, xwel[VI::XWell::GasPrRate])),
|
||||
|
@ -149,6 +149,7 @@ Well::Well(const RestartIO::RstWell& rst_well,
|
||||
p->LiquidRate = rst_well.lrat_target ;
|
||||
p->ResVRate = rst_well.resv_target ;
|
||||
p->VFPTableNumber = rst_well.vfp_table;
|
||||
p->ALQValue = rst_well.alq_value;
|
||||
p->predictionMode = this->prediction_mode;
|
||||
|
||||
if (rst_well.orat_target != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user