#3625 Fracture header : Add computation of permeability

This commit is contained in:
Magne Sjaastad
2018-11-05 10:01:24 +01:00
parent ccea48bc25
commit 056c22b8af
2 changed files with 22 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#include "cvfMath.h"
#include <cmath>
#include <limits>
//--------------------------------------------------------------------------------------------------
///
@@ -70,6 +71,25 @@ double RigTransmissibilityEquations::totalPermeability(const double permx, const
return totalPerm;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
double RigTransmissibilityEquations::permeability(const double conductivity, const double width)
{
double threshold = 1e-7;
if (std::fabs(width) > threshold)
{
double perm = conductivity / width;
return perm;
}
else
{
return 0.0;
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -36,6 +36,8 @@ public:
static double totalPermeability(const double permx, const double permy, const double permz);
static double permeability(const double conductivity, const double width);
private:
// If using wellBoreTransmissibilityComponent to calculate Tx (transmissibility in x direction),
// perforationVectorComponent is the x component (in the cell local coordinate system) of the perforation vector