/[ascend]/trunk/models/johnpye/fprops/python/solve_ph.py
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/python/solve_ph.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2289 by jpye, Sun Aug 8 09:07:43 2010 UTC revision 2290 by jpye, Sun Aug 15 10:11:54 2010 UTC
# Line 2  from fprops import * Line 2  from fprops import *
2  from pylab import *  from pylab import *
3  import sys  import sys
4    
5  D = helmholtz_data_water;  D = helmholtz_data_carbondioxide;
6    
7  v = 1.005714e-03  T = 220
8  T = 3.298951e+02  rho = 600
 #rho = 1./v  
   
 #T = 3.092641655172e+02  
 #rho = 9.997925200316e+02  
 #T = 3.024735758794e+02  
 #rho = 9.973958154879e+02  
 #T = 6.727273e+02  
 #rho = 1./2.078561e-03  
 #T = 6.636364e+02  
 #rho = 1./2.609722e-03  
 #T = 7.242424242424e+02  
 #rho = 5.847226548308e+02  
 T = 4.484887272727e+02  
 rho = 2.765899020837e-03  
9    
10  print "T = %f, rho = %f" % (T,rho)  print "T = %f, rho = %f" % (T,rho)
11  p = helmholtz_p(T,rho,D)  p = helmholtz_p(T,rho,D)

Legend:
Removed from v.2289  
changed lines
  Added in v.2290

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22