storing the wellbore diameters for model and simulators.

Will be used in the shear rate calculation.
This commit is contained in:
Kai Bao
2015-06-05 16:10:03 +02:00
parent 93cdeac34a
commit 6807fc58b8
4 changed files with 17 additions and 4 deletions

View File

@@ -143,6 +143,7 @@ namespace Opm
std::vector<double> wells_rep_radius_;
std::vector<double> wells_perf_length_;
std::vector<double> wells_bore_diameter_;
// generate the mapping from Cartesian grid cells to global compressed cells,
// copied from opm-core, to be used in function computeRepRadiusPerfLength()
@@ -150,13 +151,15 @@ namespace Opm
setupCompressedToCartesian(const int* global_cell, int number_of_cells, std::map<int,int>& cartesian_to_compressed);
// calculate the representative radius and length for for well peforations
// and store the wellbore diameters
// it will be used in the shear-thinning calcluation only.
void
computeRepRadiusPerfLength(const Opm::EclipseStateConstPtr eclipseState,
const size_t timeStep,
const GridT& grid,
std::vector<double>& wells_rep_radius,
std::vector<double>& wells_perf_length);
std::vector<double>& wells_perf_length,
std::vector<double>& wells_bore_diameter);
};