/[ascend]/trunk/models/johnpye/datareader/testairprops.a4c
ViewVC logotype

Diff of /trunk/models/johnpye/datareader/testairprops.a4c

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

revision 2081 by jose, Fri Aug 28 02:42:47 2009 UTC revision 2082 by jpye, Wed Sep 23 10:50:28 2009 UTC
# Line 17  MODEL airprops( Line 17  MODEL airprops(
17      T WILL_BE temperature;      T WILL_BE temperature;
18  ) REFINES base;  ) REFINES base;
19      rho IS_A mass_density;      rho IS_A mass_density;
20      cp IS_A specific_heat_capacity;      cp, cp_uncorrected IS_A specific_heat_capacity;
21      mu IS_A viscosity;      mu, mu_uncorrected IS_A viscosity;
22      k IS_A thermal_conductivity;      k IS_A thermal_conductivity;
23    
24      config IS_A airdataconfig;      config IS_A airdataconfig;
25      reader:datareader(      reader:datareader(
26          T : INPUT;          T : INPUT;
27          rho, cp, mu, k : OUTPUT;          rho, cp_uncorrected, mu_uncorrected, k : OUTPUT;
28          config : DATA          config : DATA
29      );      );
30    
31        mu = mu_uncorrected / 1e5;
32        cp = cp_uncorrected * 1e3;
33  END airprops;  END airprops;
34    
35  MODEL testairprops;  MODEL testairprops;

Legend:
Removed from v.2081  
changed lines
  Added in v.2082

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