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:
parent
3c29ffbfab
commit
b5ab1d6e82
@ -82,7 +82,7 @@ RimWellBoreStabilityPlot::RimWellBoreStabilityPlot()
|
||||
"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,
|
||||
"UserPoissionRatio",
|
||||
|
@ -305,6 +305,14 @@ std::vector<RigGeoMechWellLogExtractor::WbsParameterSource>
|
||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::HYDROSTATIC;
|
||||
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 )
|
||||
{
|
||||
( *outputValues )[intersectionIdx] = userDefinedValue;
|
||||
|
Loading…
Reference in New Issue
Block a user