diff --git a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp index a259d6ec4a..89cef0e30c 100644 --- a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp +++ b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.cpp @@ -128,6 +128,7 @@ void RigGeoMechWellLogExtractor::curveData( const RigFemResultAddress& resAddr, if ( resAddr.fieldName == RiaDefines::wbsFGResult().toStdString() ) { wellBoreWallCurveData( resAddr, frameIndex, values ); + // Try to replace invalid values with Shale-values wellBoreFGShale( frameIndex, values ); } else if ( resAddr.fieldName == RiaDefines::wbsSFGResult().toStdString() ) @@ -147,7 +148,7 @@ void RigGeoMechWellLogExtractor::curveData( const RigFemResultAddress& resAddr, } else if ( resAddr.fieldName == RiaDefines::wbsSHMkResult().toStdString() ) { - wellBoreSHMk( frameIndex, values ); + wellBoreSH_MatthewsKelly( frameIndex, values ); } else { @@ -626,7 +627,7 @@ void RigGeoMechWellLogExtractor::wellBoreFGShale( int frameIndex, std::vector* values ) +void RigGeoMechWellLogExtractor::wellBoreSH_MatthewsKelly( int frameIndex, std::vector* values ) { std::vector PP, PP0; // results std::vector K0_SH, OBG0, DF; // parameters diff --git a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.h b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.h index db41d8e08b..c1a5c90236 100644 --- a/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.h +++ b/ApplicationCode/ReservoirDataModel/RigGeoMechWellLogExtractor.h @@ -101,7 +101,7 @@ private: void wellBoreWallCurveData( const RigFemResultAddress& resAddr, int frameIndex, std::vector* values ); void wellBoreFGShale( int frameIndex, std::vector* values ); - void wellBoreSHMk( int frameIndex, std::vector* values ); + void wellBoreSH_MatthewsKelly( int frameIndex, std::vector* values ); template T interpolateGridResultValue( RigFemResultPosEnum resultPosType,