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

Diff of /trunk/models/johnpye/fprops/fluids/carbondioxide.c

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

revision 2768 by jpye, Thu Mar 27 06:42:18 2014 UTC revision 2769 by jpye, Thu Mar 27 08:36:59 2014 UTC
# Line 398  int main(void){ Line 398  int main(void){
398          ASSERT(err==FPROPS_NO_ERROR);          ASSERT(err==FPROPS_NO_ERROR);
399          double lamc = thcond1_lamc(S, &err);          double lamc = thcond1_lamc(S, &err);
400          ASSERT(err==FPROPS_NO_ERROR);          ASSERT(err==FPROPS_NO_ERROR);
401          fprintf(stderr, "T = %8.3f, rho = %f --> lam0 = %f (source data: %f, ratio calc/source = %f)\n", tdkc[i].T, tdkc[i].rho, lamc, tdkc[i].k, lamc/tdkc[i].k);          fprintf(stderr, "T = %8.3f, rho = %f --> lamc = %f (source data: %f, ratio calc/source = %f)\n", tdkc[i].T, tdkc[i].rho, lamc, tdkc[i].k, lamc/tdkc[i].k);
402          ASSERT(!isnan(lamc));          ASSERT(!isnan(lamc));
403          ASSERT(err==FPROPS_NO_ERROR);          ASSERT(err==FPROPS_NO_ERROR);
404          ASSERT_TOL_VAL(lamc,tdkc[i].k,0.2e-3);          ASSERT_TOL_VAL(lamc,tdkc[i].k,5e-3);
405      }      }
406    
407    

Legend:
Removed from v.2768  
changed lines
  Added in v.2769

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