opm-simulators
opm-simulators copied to clipboard
checking both components are there before using d = 1. - rs * rv
trying to remove some not helpful debugging message, like the following. Basically, we should not try to calculate the d when there is only one component there. Then we do not run to this trouble.
684516 Problematic d value -0.25268203386454324 obtained for well A-6H during gasOilVolumeRatio calculations with rs 744.8471490915831, rv 0.0016817974471572007 and pressure 59324439.42451076. Continue as if no dissolution (rs = 0) and vaporization (rv = 0) for this connection.
684517 mix_s[oil] 0 mix_s[gas] 1 b[oil] 0.2949977743744645 b[gas] 229.2656516489468
Ideally, we should check whether it is two phase state also under reservoir condition when using the d formula, while that is more involved.
jenkins build this please
jenkins build this please
jenkins build this please