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

Contents of /trunk/models/johnpye/fprops/python/solve_ph1.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2660 - (show annotations) (download) (as text)
Wed Jan 16 05:57:03 2013 UTC (5 years, 10 months ago) by jpye
File MIME type: text/x-python
File size: 97 byte(s)
Working on updating rankine_fprops and associated models to work with new fprops2 code.
Some issue discovered with (p,h) for water (added python/solve_ph1.py to check it).
Next cunit tests to drive some ASCEND models embedding FPROPS (note use of slvreq for this).
1 from fprops import *
2
3 F = fluid("water","helmholtz")
4
5 F.set_ph(150e5, 1000e3)
6
7 print "T =", F.T
8

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