Solve for fracture gradient only in sand regions.

This commit is contained in:
Kristian Bendiksen 2020-08-12 09:21:12 +02:00
parent b12db3f957
commit 5fa38d43c0

View File

@ -310,7 +310,7 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorMudWeightWindow::calculate(
// Calculate upper limit
float upperLimit = inf;
if ( upperLimitParameter == RimMudWeightWindowParameters::UpperLimitType::FG )
if ( upperLimitParameter == RimMudWeightWindowParameters::UpperLimitType::FG && isSand )
{
upperLimit = sigmaCalculator.solveFractureGradient();
}