Skip to content

Commit

Permalink
Update waterfvf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanesnuwara authored Jul 5, 2020
1 parent 503d5bc commit 899c933
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ def waterfvf(temp, p):
# temp in Fahrenheit
# p pressure in psia
Vwp = (-1.95301E-9 * p * temp) - (1.72834E-13 * (p**2) * temp) - (3.588922E-7 * p) - (2.25341E-10 * p**2)
Vwt = (-1E-2) + (1.33391E-2 * temp) + (5.50654E-7 * temp**2)
Vwt = (-1.001E-2) + (1.33391E-4 * temp) + (5.50654E-7 * temp**2)
Bw = (1 + Vwt) * (1 + Vwp)
return(Bw)

0 comments on commit 899c933

Please sign in to comment.