Added well->liquidRate() from WCONPROD.

This commit is contained in:
Joakim Hove
2014-01-30 10:14:51 +01:00
parent 46bd341808
commit a83d994494
6 changed files with 31 additions and 1 deletions

View File

@@ -174,6 +174,10 @@ namespace Opm {
well->setWaterRate(currentStep, wrat);
well->setGasRate(currentStep, grat);
well->setInPredictionMode(currentStep, isPredictionMode);
if (isPredictionMode) {
double liquidRate = record->getItem("LRAT")->getSIDouble(0);
well->setLiquidRate( currentStep , liquidRate );
}
}
}