/[ascend]/trunk/models/johnpye/fprops/sat2.h
ViewVC logotype

Contents of /trunk/models/johnpye/fprops/sat2.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2225 - (show annotations) (download) (as text)
Mon Jul 26 03:40:18 2010 UTC (13 years, 11 months ago) by jpye
File MIME type: text/x-chdr
File size: 347 byte(s)
Added python bindings for new function. 
We can see that it's not converging for about 10% of cases.
1 #ifndef FPROPS_SAT2_H
2 #define FPROPS_SAT2_H
3
4 #include "helmholtz.h"
5
6 int fprops_sat_T(double T, double *p_sat, double *rho_f, double *rho_g, const HelmholtzData *d);
7
8
9 #define FPROPS_PHASE_LIQUID 'L'
10 #define FPROPS_PHASE_VAPOUR 'V'
11
12 int fprops_rho_pT(double p, double T, char phase, char use_guess, const HelmholtzData *d, double *rho);
13
14
15 #endif
16

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