mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1618 Fixing bug in well path angle calculation + corresponding update to fracture azimuth angle. Calculating difference between well path and fracture angle and displaying warning if less than 10 deg.
This commit is contained in:
@@ -87,11 +87,11 @@ void RimSimWellFracture::updateAzimuthFromFractureTemplate()
|
||||
{
|
||||
double simWellAzimuth = wellAzimuthAtFracturePosition();
|
||||
|
||||
if (orientation == RimFractureTemplate::TRANSVERSE_WELL_PATH )
|
||||
if (orientation == RimFractureTemplate::ALONG_WELL_PATH )
|
||||
{
|
||||
azimuth = simWellAzimuth;
|
||||
}
|
||||
if (orientation == RimFractureTemplate::ALONG_WELL_PATH)
|
||||
else if (orientation == RimFractureTemplate::TRANSVERSE_WELL_PATH)
|
||||
{
|
||||
if (simWellAzimuth + 90 < 360) azimuth = simWellAzimuth + 90;
|
||||
else azimuth = simWellAzimuth - 90;
|
||||
@@ -181,8 +181,10 @@ void RimSimWellFracture::updateFracturePositionFromLocation()
|
||||
if (proj) proj->createDisplayModelAndRedrawAllViews();
|
||||
}
|
||||
m_wellPathAzimuth = wellAzimuthAtFracturePosition();
|
||||
setWellFractureAzimuthDiffAndWarning();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -198,6 +200,8 @@ void RimSimWellFracture::defineUiOrdering(QString uiConfigName, caf::PdmUiOrderi
|
||||
locationGroup->add(&m_branchIndex);
|
||||
locationGroup->add(&azimuth);
|
||||
locationGroup->add(&m_wellPathAzimuth);
|
||||
locationGroup->add(&m_wellFractureAzimuthDiff);
|
||||
locationGroup->add(&m_wellFractureAzimuthAngleWarning);
|
||||
locationGroup->add(&dip);
|
||||
locationGroup->add(&tilt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user