mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: pass the actual update value to relaxationFactorRate
this to avoid ussage of BVectorWell in interface. in preparation for moving BVectorWell out of the well hierarchy.
This commit is contained in:
@@ -746,7 +746,7 @@ updatePrimaryVariablesNewton(const BVectorWell& dwells,
|
||||
processFractions();
|
||||
|
||||
// updating the total rates Q_t
|
||||
const double relaxation_factor_rate = this->relaxationFactorRate(old_primary_variables, dwells);
|
||||
const double relaxation_factor_rate = this->relaxationFactorRate(old_primary_variables, dwells[0][WQTotal]);
|
||||
primary_variables_[WQTotal] = old_primary_variables[WQTotal] - dwells[0][WQTotal] * relaxation_factor_rate;
|
||||
|
||||
// updating the bottom hole pressure
|
||||
|
||||
Reference in New Issue
Block a user