/[ascend]/trunk/models/steam/dsgsat2.a4c
ViewVC logotype

Diff of /trunk/models/steam/dsgsat2.a4c

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

revision 1178 by johnpye, Wed Jan 17 01:35:13 2007 UTC revision 1179 by johnpye, Fri Jan 19 01:14:32 2007 UTC
# Line 70  MODEL dsgsat2; Line 70  MODEL dsgsat2;
70      FOR i IN [2..n] CREATE      FOR i IN [2..n] CREATE
71          z_massbal[i]: A * drho_dt[i] * dz = - (node[i].mdot - node[i-1].mdot);          z_massbal[i]: A * drho_dt[i] * dz = - (node[i].mdot - node[i-1].mdot);
72          z_mombal[i]:  dz/A*dmdot_dt[i] = -(node[i].p-node[i-1].p)          z_mombal[i]:  dz/A*dmdot_dt[i] = -(node[i].p-node[i-1].p)
73                          - f/D/2*node[i].rho*node[i].v^2*(                          - f/D/2*node[i].rho*vel[i]^2*(
74                              node[i].rho*vel[i]^2 - node[i-1].rho*vel[i-1]^2                              node[i].rho*vel[i]^2 - node[i-1].rho*vel[i-1]^2
75                          );                          );
76          z_enbal[i]: dz * (A * drhou_dt[i] - qdot_t[i]) = - (node[i].Hdot - node[i-1].Hdot);          z_enbal[i]: dz * (A * drhou_dt[i] - qdot_t[i]) = - (node[i].Hdot - node[i-1].Hdot);

Legend:
Removed from v.1178  
changed lines
  Added in v.1179

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