1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
-
-
+
+
-
-
+
+
|
% Constitutive relation file for Tank (Tank_cr.r)
% Generated by MTT at Thu Mar 5 10:30:23 GMT 1998
OPERATOR tank;
%Pressure
FOR ALL rho,c_p,c,Volume,Energy
LET tank(rho,c_p,c,effort,1,
FOR ALL COMPONENT, rho,c_p,c,Volume,Energy
LET tank(COMPONENT, rho,c_p,c,effort,1,
Volume,state,1,
Energy,state,2
) = (Volume*rho)/c;
%Temperature
FOR ALL rho,c_p,c,Volume,Energy
LET tank(rho,c_p,c,effort,2,
FOR ALL COMPONENT, rho,c_p,c,Volume,Energy
LET tank(COMPONENT, rho,c_p,c,effort,2,
Volume,state,1,
Energy,state,2
) = Energy/(Volume*rho*c_p);
END;
|