Skip to content

Commit

Permalink
#2709 Export of COMPDAT : Always export diameter
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Apr 13, 2018
1 parent 0bf6db5 commit 1d3bc68
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -772,16 +772,14 @@ void RicWellPathExportCompletionDataFeatureImpl::generateCompdatTable(RifEclipse
{
formatter.add(data.transmissibility());

// Based on feedback from Shunping
// Include diameter when COMPDATL is exported
// Based on feedback from Shunping for COMPDATL, hhgs required COMPDAT
// Always include diameter
// See https://github.com/OPM/ResInsight/issues/2517
if (!gridName.isEmpty())
{
if (RigCompletionData::isDefaultValue(data.diameter()))
formatter.add("1*");
else
formatter.add(data.diameter());
}
// See https://github.com/OPM/ResInsight/issues/2709
if (RigCompletionData::isDefaultValue(data.diameter()))
formatter.add("1*");
else
formatter.add(data.diameter());
}

formatter.rowCompleted();
Expand Down

0 comments on commit 1d3bc68

Please sign in to comment.