#7143 StimPlanModel: Compute formation dip in fracture plane.

This commit is contained in:
Kristian Bendiksen 2021-02-03 14:20:23 +01:00 committed by Magne Sjaastad
parent f53e8b5838
commit f2c25a5f13

View File

@ -509,7 +509,6 @@ void RimStimPlanModel::updateThicknessDirection()
}
m_thicknessDirection = direction;
m_formationDip = calculateFormationDip( direction );
if ( m_thicknessDirectionWellPath )
{
@ -703,6 +702,11 @@ void RimStimPlanModel::updateDistanceToBarrierAndDip()
cvf::Vec3d directionToBarrier = ( tstInPlane ^ fractureDirectionNormal ).getNormalized();
RiaLogging::info( QString( "Direction to barrier: %1" ).arg( RimStimPlanModel::vecToString( directionToBarrier ) ) );
// Update formation dip. The direction for the barrier search follows the
// inclination of the formation, and is in effect the formation dip in the
// fracture plane. -90 to convert from horizontal to vertical.
m_formationDip = std::abs( calculateFormationDip( directionToBarrier ) - 90.0 );
std::vector<WellPathCellIntersectionInfo> intersections =
generateBarrierIntersections( eclipseCaseData, position, directionToBarrier );