Stim Plan Model: Handle pressure values in field units.

This commit is contained in:
Kristian Bendiksen
2021-11-05 16:04:37 +01:00
committed by Magne Sjaastad
parent 361bf4090a
commit 53f102ee55
2 changed files with 11 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ public:
static double pascalToBar( double pas ) { return pas / 100000.0; }
static double barToPsi( double bar ) { return bar * 14.5038; }
static double psiToBar( double psi ) { return psi / 14.5038; }
static double barPerMeterToPsiPerFeet( double barPerMeter ) { return barPerMeter * 4.42075; }
static double gigaPascalToPascal( double gigaPascal ) { return gigaPascal * 1.0e9; }