#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:
Kristian Bendiksen
2020-04-03 13:51:34 +02:00
committed by Gaute Lindkvist
parent 83bdf5f14d
commit 72d878fb8b
3 changed files with 12 additions and 20 deletions

View File

@@ -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;

View File

@@ -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 );
}
//--------------------------------------------------------------------------------------------------