#9742 Set default value 1* for KH

This commit is contained in:
Magne Sjaastad 2023-03-02 13:38:37 +01:00
parent d47d4060cc
commit 39d011b1e6

View File

@ -136,7 +136,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions( const std::v
else
{
fractureTransmissibilityExportInformationStream =
std::unique_ptr<QTextStream>( new QTextStream( &fractureTransmissibilityExportInformationFile ) );
std::make_unique<QTextStream>( &fractureTransmissibilityExportInformationFile );
}
}
@ -575,9 +575,10 @@ RigCompletionData RicWellPathExportCompletionDataFeatureImpl::combineEclipseCell
cellIndexIJK.globalCellIndex(),
cellDirection );
double wpimult = combinedTrans / transmissibilityEclipseCalculation;
double defaultKh = RigCompletionData::defaultValue();
double wpimult = combinedTrans / transmissibilityEclipseCalculation;
resultCompletion.setCombinedValuesImplicitTransWPImult( wpimult,
combinedKh,
defaultKh,
combinedDFactor,
combinedSkinFactor,
combinedDiameter,
@ -1617,7 +1618,7 @@ std::pair<double, cvf::Vec2i>
if ( grid ) gridId = grid->gridId();
}
for ( WellPathCellIntersectionInfo intersection : intersections )
for ( const WellPathCellIntersectionInfo& intersection : intersections )
{
size_t gridLocalCellIndex = 0;
const RigGridBase* grid = mainGrid->gridAndGridLocalIdxFromGlobalCellIdx( intersection.globCellIndex, &gridLocalCellIndex );