#6031 Convert values to SI in Pore Compressibility calculation.

Young's Modulus is expected to be GPa in the element property table,
and the pore pressure is converted from Bar to Pascal.

Output unit is 1/GPa.
This commit is contained in:
Kristian Bendiksen
2020-06-18 14:41:46 +02:00
parent 7bb04ecd43
commit 6844bed32c
2 changed files with 16 additions and 7 deletions

View File

@@ -823,6 +823,11 @@ QString RimGeoMechResultDefinition::currentResultUnits() const
{
return "GPa";
}
else if ( this->resultFieldName() == "COMPRESSIBILITY" &&
( this->resultComponentName() == "PORE" || this->resultComponentName() == "VERTICAL" ) )
{
return "1/GPa";
}
else
{
for ( auto resultName : RiaDefines::wbsDerivedResultNames() )