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

Contents of /trunk/models/johnpye/fprops/sat.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, 10 months ago) by jpye
File MIME type: text/x-chdr
File size: 514 byte(s)
Added python bindings for new function. 
We can see that it's not converging for about 10% of cases.
1 #ifndef FPROPS_SAT_H
2 #define FPROPS_SAT_H
3
4 #include "helmholtz.h"
5
6 double fprops_psat_T_xiang(double T, const HelmholtzData *d);
7
8 void phase_criterion(
9 double T, double rho_f, double rho_g, double p_sat, double *eq1
10 , double *eq2, double *eq3, const HelmholtzData *d
11 );
12
13 double fprops_rhof_T_rackett(double T, const HelmholtzData *D);
14 double fprops_rhog_T_chouaieb(double T, const HelmholtzData *D);
15
16 /* int phase_solve(double T, double *p_sat, double *rho_f, double *rho_g, const HelmholtzData *D); */
17
18 #endif
19

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