mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5695: Improve pore pressure input options for reservoir/non-reservoir pressure.
Current options for reservoir: 1. Grid (POR-Bar) 2. LAS file (PP_INP, PP_RES_INP, POR_RES_INP) 3. Property table (POR_INP, PP_INP) Current options for non-reservoir: 1. LAS file (PP_NONRES_INP or POR_NONRES_INP) 2. Property Table (POR_NONRES_INP or PP_NONRES_INP) 3. Hydrostatic
This commit is contained in:
parent
83bdf5f14d
commit
72d878fb8b
@ -52,7 +52,7 @@ RimWbsParameters::RimWbsParameters()
|
||||
"" );
|
||||
CAF_PDM_InitScriptableFieldWithIO( &m_userDefinedPPShale,
|
||||
"UserPPNonReservoir",
|
||||
1.05,
|
||||
1.0,
|
||||
" Multiplier of hydrostatic PP",
|
||||
"",
|
||||
"",
|
||||
@ -388,10 +388,11 @@ void RimWbsParameters::defineUiOrdering( QString uiConfigName, caf::PdmUiOrderin
|
||||
uiOrdering.add( &m_userDefinedDensity );
|
||||
uiOrdering.add( &m_porePressureSource );
|
||||
uiOrdering.add( &m_porePressureNonReservoirSource );
|
||||
if ( m_porePressureNonReservoirSource == RigWbsParameter::USER_DEFINED )
|
||||
if ( m_porePressureNonReservoirSource == RigWbsParameter::HYDROSTATIC )
|
||||
{
|
||||
uiOrdering.add( &m_userDefinedPPShale );
|
||||
}
|
||||
|
||||
uiOrdering.add( &m_poissonRatioSource );
|
||||
uiOrdering.add( &m_userDefinedPoissionRatio );
|
||||
uiOrdering.add( &m_ucsSource );
|
||||
|
@ -339,18 +339,10 @@ std::vector<RigGeoMechWellLogExtractor::WbsParameterSource>
|
||||
else if ( *it == RigWbsParameter::HYDROSTATIC && isPPresult )
|
||||
{
|
||||
unscaledValues[intersectionIdx] =
|
||||
hydroStaticPorePressureForIntersection( intersectionIdx, waterDensityGCM3 );
|
||||
userDefinedValue * hydroStaticPorePressureForIntersection( intersectionIdx, waterDensityGCM3 );
|
||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::HYDROSTATIC;
|
||||
break;
|
||||
}
|
||||
else if ( *it == RigWbsParameter::USER_DEFINED && isPPresult )
|
||||
{
|
||||
unscaledValues[intersectionIdx] =
|
||||
userDefinedValue * hydroStaticPorePressureForIntersection( intersectionIdx );
|
||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::USER_DEFINED;
|
||||
break;
|
||||
}
|
||||
|
||||
else if ( *it == RigWbsParameter::USER_DEFINED )
|
||||
{
|
||||
unscaledValues[intersectionIdx] = userDefinedValue;
|
||||
|
@ -253,15 +253,14 @@ RigWbsParameter RigWbsParameter::PP_Reservoir()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigWbsParameter RigWbsParameter::PP_NonReservoir()
|
||||
{
|
||||
return RigWbsParameter( "PP Non-Reservoir",
|
||||
true,
|
||||
{{LAS_FILE,
|
||||
SourceAddress( "PP_NONRES_INP", "", RiaWellLogUnitTools<double>::sg_emwUnitString() )},
|
||||
{LAS_FILE,
|
||||
SourceAddress( "POR_NONRES_INP", "", RiaWellLogUnitTools<double>::gPerCm3UnitString() )},
|
||||
{USER_DEFINED, SourceAddress( "", "", RiaWellLogUnitTools<double>::barUnitString() )},
|
||||
{HYDROSTATIC,
|
||||
SourceAddress( "Hydrostatic", "", RiaWellLogUnitTools<double>::barUnitString() )}} );
|
||||
SourceVector sources =
|
||||
{{LAS_FILE, SourceAddress( "PP_NONRES_INP", "", RiaWellLogUnitTools<double>::sg_emwUnitString() )},
|
||||
{LAS_FILE, SourceAddress( "POR_NONRES_INP", "", RiaWellLogUnitTools<double>::gPerCm3UnitString() )},
|
||||
{ELEMENT_PROPERTY_TABLE, SourceAddress( "POR_NONRES_INP", "", RiaWellLogUnitTools<double>::pascalUnitString() )},
|
||||
{ELEMENT_PROPERTY_TABLE, SourceAddress( "PP_NONRES_INP", "", RiaWellLogUnitTools<double>::sg_emwUnitString() )},
|
||||
{HYDROSTATIC, SourceAddress( "Hydrostatic", "", RiaWellLogUnitTools<double>::barUnitString() )}};
|
||||
|
||||
return RigWbsParameter( "PP Non-Reservoir", true, sources );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user