/[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 2222 - (show annotations) (download) (as text)
Sun Jul 25 14:45:45 2010 UTC (14 years ago) by jpye
File MIME type: text/x-chdr
File size: 358 byte(s)
numerical algorithms for saturation curve. algorithms are based on those used by REFPROP, but the code is a new implementation. hoping that this is all legally correct; please let me know if there are any issues -- JP.
1 #ifndef FPROPS_SAT2_H
2 #define FPROPS_SAT2_H
3
4 #include "helmholtz.h"
5
6 double fprops_sat_succsubs(double T, double *rhof_out, double *rhog_out, const HelmholtzData *d, int *err);
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