Skip to content

Commit

Permalink
#10754: Exclude COMPDAT for de-activated laterals
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Nov 13, 2023
1 parent 678a368 commit 742f926
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions( const std::v

for ( auto wellPathLateral : allWellPathLaterals )
{
// Skip well paths that are not enabled, no export of WELSEGS or COMPDAT
// https://github.com/OPM/ResInsight/issues/10754
//
if ( !wellPathLateral->isEnabled() ) continue;

// Generate completion data

if ( exportSettings.includePerforations )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ class RicWellPathExportCompletionDataFeatureImpl
static std::vector<RigCompletionData>
computeDynamicCompletionsForWellPath( RimWellPath* wellPath, RimEclipseCase* eclipseCase, size_t timeStepIndex );

private:
static std::vector<RigCompletionData> generatePerforationsCompdatValues( gsl::not_null<const RimWellPath*> wellPath,
const std::vector<const RimPerforationInterval*>& intervals,
const RicExportCompletionDataSettingsUi& settings );

private:
static double calculateTransmissibilityAsEclipseDoes( RimEclipseCase* eclipseCase,
double skinFactor,
double wellRadius,
Expand Down

0 comments on commit 742f926

Please sign in to comment.