We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86eef30 commit 907c855Copy full SHA for 907c855
src/polykin/transport/flow.py
@@ -753,16 +753,15 @@ def DP_GL_Mueller_Bonn(mdotL: float,
753
# Pressure gradient if total flow had liquid properties
754
ReL = vm*D/muL
755
fL = 64/ReL if ReL <= 1187.0 else 0.3164/ReL**0.25
756
- A = fL*vm**2/(2*rhoL*D)
+ dPL0 = fL*vm**2/(2*rhoL*D)
757
758
# Pressure gradient if total flow had gas properties
759
ReG = vm*D/muG
760
fG = 64/ReG if ReG <= 1187.0 else 0.3164/ReG**0.25
761
- B = fG*vm**2/(2*rhoG*D)
+ dPG0 = fG*vm**2/(2*rhoG*D)
762
763
# Two-phase pressure gradient
764
- G = A + 2*(B - A)*x
765
- dP = G*(1 - x)**(1/3) + B*x**3
+ dP = (dPL0 + 2*(dPG0 - dPL0)*x)*(1 - x)**(1/3) + dPG0*x**3
766
DP = dP*L
767
768
return DP
0 commit comments