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:
committed by
Gaute Lindkvist
parent
83bdf5f14d
commit
72d878fb8b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user