Adding the shear-rate calculation for wells.

This commit is contained in:
Kai Bao 2015-06-08 10:45:02 +02:00
parent 6807fc58b8
commit eef30576fa

View File

@ -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;
}