/[ascend]/trunk/models/johnpye/fprops/visc.c
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/visc.c

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

revision 2750 by jpye, Sat Mar 8 10:46:30 2014 UTC revision 2751 by jpye, Tue Mar 11 10:44:09 2014 UTC
# Line 15  Line 15 
15      along with this program.  If not, see <http://www.gnu.org/licenses/>.      along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */  */
17    
 /*  
     perhaps v1 data should include 0.0266958/SQ(sigma)?  
 */  
18    
19  #include "visc.h"  #include "visc.h"
20  #include <math.h>  #include <math.h>
21    
22    #define VISC_DEBUG
23    #ifdef VISC_DEBUG
24    # include "color.h"
25    # define MSG FPROPS_MSG
26    # define ERRMSG FPROPS_ERRMSG
27    #else
28    # define MSG(ARGS...) ((void)0)
29    # define ERRMSG(ARGS...) ((void)0)
30    #endif
31    
32    ViscosityData *visc_prepare(const EosData *E, const PureFluid *P, FpropsError *err){
33        MSG("Preparing viscosity");
34        return E->visc;
35    }
36    
37    /*----------------------FIRST CORRELATION---------------------------*/
38    /*
39        perhaps v1 data should include 0.0266958/SQ(sigma)?
40    */
41    
42  double visc1_ci1(ViscCI1Data *ci1, double Tstar){  double visc1_ci1(ViscCI1Data *ci1, double Tstar){
43      double res = 0;      double res = 0;
44      double lnTstar = log(Tstar);      double lnTstar = log(Tstar);

Legend:
Removed from v.2750  
changed lines
  Added in v.2751

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