Adding pre-shear-thinning water velocity computing.

This commit is contained in:
Kai Bao
2015-06-03 10:09:21 +02:00
parent 587a0c747b
commit 3b34356695
2 changed files with 102 additions and 0 deletions

View File

@@ -273,6 +273,12 @@ namespace Opm {
/// Computing the shear multiplier based on the water velocity/shear rate with PLYSHLOG keyword
bool computeShearMultLog( std::vector<double>& water_vel, std::vector<double>& visc_mult, std::vector<double>& shear_mult);
/// Computing the water velocity without shear-thinning for the cell faces.
/// The water velocity will be used for shear-thinning calculation.
void computeWaterShearVelocityFaces(const V& transi, const std::vector<ADB>& kr,
const std::vector<ADB>& phasePressure, const SolutionState& state,
std::vector<double>& water_vel, std::vector<double>& visc_mult);
};