OpenWAM
act_def.h
1 /*--------------------------------------------------------------------------------*\
2 ==========================|
3  \\ /\ /\ // O pen | OpenWAM: The Open Source 1D Gas-Dynamic Code
4  \\ | X | // W ave |
5  \\ \/_\/ // A ction | CMT-Motores Termicos / Universidad Politecnica Valencia
6  \\/ \// M odel |
7  ----------------------------------------------------------------------------------
8  License
9 
10  This file is part of OpenWAM.
11 
12  OpenWAM is free software: you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation, either version 3 of the License, or
15  (at your option) any later version.
16 
17  OpenWAM is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with OpenWAM. If not, see <http://www.gnu.org/licenses/>.
24 
25 
26  \*--------------------------------------------------------------------------------*/
27 
28 /* Indices de las Variables de entrada escalares "fijas", es decir, que no cambian de ejecucion en ejecucion */
29 
30 #define ACT_PISTON_D 0
31 #define ACT_S 1
32 #define ACT_CRANK_L 2
33 #define ACT_CONNECTING_ROD_L 3
34 #define ACT_E 4
35 #define ACT_PISTON_AXIS_D 5
36 #define ACT_PISTON_CROWN_H 6
37 #define ACT_DBOWL 7
38 #define ACT_VBOWL 8
39 #define ACT_M_CONNECTING_ROD 9
40 #define ACT_M_P_R_PA 10
41 #define ACT_C_ESTEEL 11
42 #define ACT_C_MECH_DEFOR 12
43 #define ACT_C_MBLBY 13
44 #define ACT_GCRATIO 14
45 #define ACT_N_HOLES 15
46 #define ACT_NOZZLE_D 16
47 #define ACT_DC 17
48 #define ACT_CU 18
49 #define ACT_WC1A 19
50 #define ACT_WC1B 20
51 #define ACT_C_W2 21
52 #define ACT_IVC 22
53 #define ACT_EVO 23
54 #define ACT_K 24
55 
56 /* Indices de las Variables de entrada escalares que pueden variar en cada ejecucion */
57 
58 #define ACT_CBB 0
59 #define ACT_ATMOSPHERE_PRESS 1
60 #define ACT_TEMPERATUREIVC 2
61 #define ACT_SPEED 3
62 #define ACT_SOI 4
63 #define ACT_EOI 5
64 #define ACT_MAIRIVC 6
65 #define ACT_YO2IVC 7
66 #define ACT_INJ_FUEL_TEMP 8
67 #define ACT_TCYL_HEAD 9
68 #define ACT_TCYL 10
69 #define ACT_TPIS 11
70 
71 /* Indices de las Variables de Salida escalares */
72 
73 #define ACT_IMP_HP 0
74 #define ACT_PMAX 1
75 #define ACT_TMAX 2
76 #define ACT_P_EXIT 3
77 #define ACT_T_EXIT 4
78 #define ACT_DP_DA 5
79 
80 /* Indices de las Variables de Salida vectoriales */
81 
82 #define ACT_P_CYL 0
83 #define ACT_T_CYL 1
84 #define ACT_HRF 2
85 #define ACT_ROHR 3
86 #define ACT_H_COOLER 4
87