calculating the representative radius and perf length

for all well perforations, to be used in shear-thinning calculation.

The calculation is approximated.
This commit is contained in:
Kai Bao
2015-06-02 11:09:56 +02:00
parent cf17dbea38
commit 8205ad3303
4 changed files with 170 additions and 8 deletions

View File

@@ -80,6 +80,8 @@ namespace Opm {
const bool has_vapoil,
const bool has_polymer,
const bool has_plyshlog,
std::vector<double>& wells_rep_radius,
std::vector<double>& wells_perf_length,
const bool terminal_output);
/// Called once before each time step.
@@ -128,6 +130,11 @@ namespace Opm {
const int poly_pos_;
V cmax_;
// representative radius and perforation length of well perforations
// to be used in shear-thinning computation.
std::vector<double> wells_rep_radius_;
std::vector<double> wells_perf_length_;
// Need to declare Base members we want to use here.
using Base::grid_;
using Base::fluid_;
@@ -252,6 +259,9 @@ namespace Opm {
std::vector<double>& maxNormWell,
int nc,
int nw) const;
};