mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3027 Disable averaging of Fracture Gradient and Shear Failure Gradient
This commit is contained in:
parent
a9aad1cf69
commit
51631fda6e
@ -137,7 +137,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr
|
||||
double porePressure = trueVerticalDepth * 9.81 / 100.0;
|
||||
if (false && !porePressures.empty())
|
||||
{
|
||||
float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, true);
|
||||
float interpolatedPorePressure = interpolateGridResultValue(porBarResAddr.resultPosType, porePressures, intersectionIdx, false);
|
||||
if (interpolatedPorePressure != std::numeric_limits<float>::infinity() &&
|
||||
interpolatedPorePressure != -std::numeric_limits<float>::infinity())
|
||||
{
|
||||
@ -145,7 +145,7 @@ void RigGeoMechWellLogExtractor::wellPathDerivedCurveData(const RigFemResultAddr
|
||||
}
|
||||
}
|
||||
|
||||
caf::Ten3d interpolatedStress = interpolateGridResultValue(stressResAddr.resultPosType, vertexStresses, intersectionIdx, true);
|
||||
caf::Ten3d interpolatedStress = interpolateGridResultValue(stressResAddr.resultPosType, vertexStresses, intersectionIdx, false);
|
||||
cvf::Vec3d wellPathTangent = calculateWellPathTangent(intersectionIdx);
|
||||
caf::Ten3d wellPathStressFloat = transformTensorToWellPathOrientation(wellPathTangent, interpolatedStress);
|
||||
caf::Ten3d wellPathStressDouble(wellPathStressFloat);
|
||||
|
Loading…
Reference in New Issue
Block a user