mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5159 Make user defined shale PP proportional to hydrostatic PP
This commit is contained in:
@@ -82,7 +82,7 @@ RimWellBoreStabilityPlot::RimWellBoreStabilityPlot()
|
|||||||
"FG in shale = K0_FG * (OBG0-PP0)\nK0_FG = (FG-PP)/(OBG-PP)",
|
"FG in shale = K0_FG * (OBG0-PP0)\nK0_FG = (FG-PP)/(OBG-PP)",
|
||||||
"" );
|
"" );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_userDefinedPPShale, "UserPPShale", 200.0, "User Defined Pore Pressure, Shale [bar]", "", "", "" );
|
CAF_PDM_InitField( &m_userDefinedPPShale, "UserPPShale", 1.05, "User Defined Pore Pressure, Shale [bar]", "", "", "" );
|
||||||
|
|
||||||
CAF_PDM_InitField( &m_userDefinedPoissionRatio,
|
CAF_PDM_InitField( &m_userDefinedPoissionRatio,
|
||||||
"UserPoissionRatio",
|
"UserPoissionRatio",
|
||||||
|
|||||||
@@ -305,6 +305,14 @@ std::vector<RigGeoMechWellLogExtractor::WbsParameterSource>
|
|||||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::HYDROSTATIC;
|
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::HYDROSTATIC;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if ( *it == RigWbsParameter::USER_DEFINED && isPPresult )
|
||||||
|
{
|
||||||
|
( *outputValues )[intersectionIdx] = userDefinedValue *
|
||||||
|
hydroStaticPorePressureForSegment( intersectionIdx );
|
||||||
|
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::USER_DEFINED;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
else if ( *it == RigWbsParameter::USER_DEFINED )
|
else if ( *it == RigWbsParameter::USER_DEFINED )
|
||||||
{
|
{
|
||||||
( *outputValues )[intersectionIdx] = userDefinedValue;
|
( *outputValues )[intersectionIdx] = userDefinedValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user