diff --git a/ApplicationCode/FileInterface/RifFractureExportTools.cpp b/ApplicationCode/FileInterface/RifFractureExportTools.cpp index 7cb14d1871..2e55afec6e 100644 --- a/ApplicationCode/FileInterface/RifFractureExportTools.cpp +++ b/ApplicationCode/FileInterface/RifFractureExportTools.cpp @@ -170,6 +170,35 @@ bool RifFractureExportTools::exportFracturesToEclipseDataInputFile(const QString } +//-------------------------------------------------------------------------------------------------- +/// +//-------------------------------------------------------------------------------------------------- +void RifFractureExportTools::exportWellPathFracturesToEclipseDataInputFile(const QString& fileName, + const RimWellPath* wellPath, + const RimEclipseCase* caseToApply) +{ + + // Loop over fractures in well path (all) + // Loop over stimplancells + // if cell Is Contributing cond > 0 + // Calculate Matrix To Fracture Trans + // Add to condenser + // Loop over stimplanecells (i, j) + // if cell Is Contributing cond > 0 + // Calculate trans to neighbor (+i, +j ) + // Add to condenser + // Find well cells (Perforated Well Path, Radius, Positioned Fracture) + // For each well cell + // Find path intersection + // Use LinT + 1/2 radialT on each end if endpoints are inside cell + // Add to condenser + // Add eclipse cell transmissibilities to a map > + // For all transmissibilities + // summarize all fractures contributions pr cell, + // Print COMPDAT entry + +} + //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- @@ -393,8 +422,12 @@ void RifFractureExportTools::printStimPlanFractureTrans(const std::vector& fractures, RimEclipseCase* caseToApply); + static void exportWellPathFracturesToEclipseDataInputFile(const QString& fileName, + const RimWellPath* wellPath, + const RimEclipseCase* caseToApply); + + private: static void performStimPlanUpscalingAndPrintResults(const std::vector& fractures,