Bugfix
This commit is contained in:
parent
c9e9b07c5f
commit
f7dc641f4f
@ -175,7 +175,7 @@ public:
|
|||||||
double detR = 1.0 - R[Vapour]*R[Liquid];
|
double detR = 1.0 - R[Vapour]*R[Liquid];
|
||||||
u[Aqua] = B[Aqua]*z[Water];
|
u[Aqua] = B[Aqua]*z[Water];
|
||||||
u[Vapour] = B[Vapour]*(z[Gas] - R[Liquid]*z[Oil])/detR;
|
u[Vapour] = B[Vapour]*(z[Gas] - R[Liquid]*z[Oil])/detR;
|
||||||
u[Liquid] = B[Aqua]*(z[Oil] - R[Vapour]*z[Gas])/detR;
|
u[Liquid] = B[Liquid]*(z[Oil] - R[Vapour]*z[Gas])/detR;
|
||||||
fluid_state.total_phase_volume_ = u[Aqua] + u[Vapour] + u[Liquid];
|
fluid_state.total_phase_volume_ = u[Aqua] + u[Vapour] + u[Liquid];
|
||||||
|
|
||||||
// Update saturations.
|
// Update saturations.
|
||||||
|
Loading…
Reference in New Issue
Block a user