mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adding the shear-rate calculation for wells.
This commit is contained in:
parent
6807fc58b8
commit
eef30576fa
@ -1316,6 +1316,14 @@ namespace Opm {
|
||||
// Although this formulation works perfectly with the tests compared with other formulations
|
||||
}
|
||||
|
||||
// for SHRATE treatment
|
||||
if (has_shrate_) {
|
||||
const double& shrate_const = polymer_props_ad_.shrate();
|
||||
for (int i = 0; i < water_vel_wells.size(); ++i) {
|
||||
water_vel_wells[i] = shrate_const * water_vel_wells[i] / wells_bore_diameter_[i];
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user