mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1792 Avoiding issue with negative transmissibility from fracture to well due to small discretization by forcing peaceman radius r0 > wellRadius.
This commit is contained in:
@@ -66,9 +66,15 @@ double RigFractureTransmissibilityEquations::fractureCellToWellRadialTrans(doubl
|
|||||||
double ro = 0.14 * cvf::Math::sqrt(
|
double ro = 0.14 * cvf::Math::sqrt(
|
||||||
pow(fractureCellSizeX, 2.0) + pow(fractureCellSizeZ, 2));
|
pow(fractureCellSizeX, 2.0) + pow(fractureCellSizeZ, 2));
|
||||||
|
|
||||||
|
if (ro < (wellRadius * 1.01))
|
||||||
|
{
|
||||||
|
ro = wellRadius * 1.01;
|
||||||
|
}
|
||||||
|
|
||||||
double Tc = 2 * cvf::PI_D * cDarcyForRelevantUnit * fractureCellConductivity /
|
double Tc = 2 * cvf::PI_D * cDarcyForRelevantUnit * fractureCellConductivity /
|
||||||
(log(ro / wellRadius) + skinFactor );
|
(log(ro / wellRadius) + skinFactor );
|
||||||
|
|
||||||
|
CVF_TIGHT_ASSERT(Tc > 0);
|
||||||
return Tc;
|
return Tc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user