/[ascend]/trunk/models/johnpye/fprops/fprops_test.a4c
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/fprops_test.a4c

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

revision 1824 by jpye, Wed Aug 20 11:05:05 2008 UTC revision 1825 by jpye, Thu Aug 21 05:03:19 2008 UTC
# Line 1  Line 1 
1  (* test of the fluid properties routines currently implemented in asc_mbwr.c *)  (* test of the fluid properties routines currently implemented in asc_mbwr.c *)
2    
3  REQUIRE "atoms.a4l";  REQUIRE "atoms.a4l";
4    REQUIRE "johnpye/thermo_types.a4c";
5  IMPORT "johnpye/fprops/helmholtz";  IMPORT "johnpye/fprops/helmholtz";
6    
7  MODEL mbwrconf;  MODEL mbwrconf;
# Line 13  MODEL fprops_test; Line 14  MODEL fprops_test;
14      p IS_A pressure;      p IS_A pressure;
15      T IS_A temperature;      T IS_A temperature;
16      rho IS_A mass_density;      rho IS_A mass_density;
17        h IS_A specific_enthalpy;
18    
19      propsdata IS_A mbwrconf;      propsdata IS_A mbwrconf;
20    
21      props: helmholtz_p(      props1: helmholtz_p(
22          T, rho : INPUT;          T, rho : INPUT;
23          p : OUTPUT;          p : OUTPUT;
24          propsdata : DATA          propsdata : DATA
25      );      );
26    
27        props2: helmholtz_h(
28            T, rho : INPUT;
29            h : OUTPUT;
30            propsdata : DATA
31        );
32    
33  METHODS  METHODS
34  METHOD on_load;  METHOD on_load;
35      FIX rho, T;      FIX rho, T;

Legend:
Removed from v.1824  
changed lines
  Added in v.1825

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