Skip to content

Commit 907c855

Browse files
committed
update notation DP_GL_Mueller_Bonn
1 parent 86eef30 commit 907c855

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/polykin/transport/flow.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -753,16 +753,15 @@ def DP_GL_Mueller_Bonn(mdotL: float,
753753
# Pressure gradient if total flow had liquid properties
754754
ReL = vm*D/muL
755755
fL = 64/ReL if ReL <= 1187.0 else 0.3164/ReL**0.25
756-
A = fL*vm**2/(2*rhoL*D)
756+
dPL0 = fL*vm**2/(2*rhoL*D)
757757

758758
# Pressure gradient if total flow had gas properties
759759
ReG = vm*D/muG
760760
fG = 64/ReG if ReG <= 1187.0 else 0.3164/ReG**0.25
761-
B = fG*vm**2/(2*rhoG*D)
761+
dPG0 = fG*vm**2/(2*rhoG*D)
762762

763763
# Two-phase pressure gradient
764-
G = A + 2*(B - A)*x
765-
dP = G*(1 - x)**(1/3) + B*x**3
764+
dP = (dPL0 + 2*(dPG0 - dPL0)*x)*(1 - x)**(1/3) + dPG0*x**3
766765
DP = dP*L
767766

768767
return DP

0 commit comments

Comments
 (0)