#3263 Well Bore Stability: Use a constant tangent for FG and SFG within a cell.

This commit is contained in:
Gaute Lindkvist
2018-08-24 08:52:54 +02:00
parent 28285ceddf
commit 0ccbd4e153
2 changed files with 31 additions and 7 deletions

View File

@@ -54,6 +54,12 @@ public:
const RigGeoMechCaseData* caseData();
void setRkbDiff(double rkbDiff);
private:
enum WellPathTangentCalculation
{
TangentFollowWellPathSegments,
TangentConstantWithinCell
};
void wellPathAngles(const RigFemResultAddress& resAddr, std::vector<double>* values);
void wellPathScaledCurveData(const RigFemResultAddress& resAddr, int frameIndex, std::vector<double>* values);
void wellBoreWallCurveData(const RigFemResultAddress& resAddr, int frameIndex, std::vector<double>* values);
@@ -67,7 +73,7 @@ private:
virtual cvf::Vec3d calculateLengthInCell(size_t cellIndex,
const cvf::Vec3d& startPoint,
const cvf::Vec3d& endPoint) const override;
cvf::Vec3d calculateWellPathTangent(int64_t intersectionIdx) const;
cvf::Vec3d calculateWellPathTangent(int64_t intersectionIdx, WellPathTangentCalculation calculationType) const;
static caf::Ten3d transformTensorToWellPathOrientation(const cvf::Vec3d& wellPathTangent,
const caf::Ten3d& wellPathTensor);