-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathConfig_template.cfg
259 lines (165 loc) · 5.48 KB
/
Config_template.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
#Configuration template
#27/01/2023
#Author: Fábio Morgado
#######################
#General Options block
######################
[Options]
#Maximum number of iterations
Num_iters = 1
#Load the last simulation state
Load_state = False
#Select the level of the aerothermodynamics in the simulation (Low/High/Multi)
Fidelity = Low
#Folder where the simulation solution is stored
Output_folder = /home/simulation
#Load the mesh information if pre-processed beforehand in a previous run (The Output folder needs to be the same)
Load_mesh = False
#Load the state of the simulation from a previous run (The Output folder needs to be the same)
Load_state = False
#######################
#Trajectory block
######################
[Trajectory]
#To be implemented
#Choosing Frame for dynamics (Inertial/Rotating)
#The user needs to provide the below values with respect to the chosen frame:
Frame = Inertial
#Initial altitude [meters]
Altitude = 100000
#Initial Velocity [meters/second]
Velocity = 5000
#Initial FLight Path Angle [degree]
Flight_path_angle = 0
#Initial Heading Angle [degree]
Heading_angle = 0
#Initial Latitude [degree]
Latitude = 0
#Initial Longitude [degree]
Longitude = 0
#######################
#Model block
######################
[Model]
#Name of the planet to run the simulation (Earth, Neptune, Jupiter)
Planet = neptune
#Flag if the user wants to use a pre-defined vehicle
Vehicle = False
#Flag if the user wants to run a drag model instead of Modidied Newtonian
Drag_model = False
#################################################
#Vehicle block (If Vehicle flag is set to true)
#################################################
[Vehicle]
# Mass of the vehicle (kg)
Mass = 100
# Nose radius of the vehicle for stagnation heatflux computation(m)
Nose_radius = 1
# Area of reference for drag model (if Drag_model = True)
Area_reference = 1
# Name of the Drag model containing the Mach vs drag coefficient information in TITAN/Model/Drag
Drag_file = Galileo_CD.csv
#######################
#Freestream block
######################
[Freestream]
# Method used for the computation of the freesteam Properties (Standard, Mutationpp, GRAM)
method = Standard
# Model used to retrieve the atmospheric data (Earth - NRLMSISE00,GRAM ; Neptune - GRAM; Uranus - GRAM)
model = NRLMSISE00
#####################
# GRAM block - Optional
#####################
# Block to define the GRAM model parameters
[GRAM]
# MinMaxFactor for the NeptuneGRAM (see NeptuneGRAM manual)
MinMaxFactor= 0.0
# Automatic computation of the MinMaxFactor for the NeptuneGRAM (see NeptuneGRAM manual. 0 = False, 1 = True)
ComputeMinMaxFactor = 0
# Path for the SPICE database
SPICE_Path = /xx/xx/xx/SPICE
# Path for GRAM software (required for Earth GRAM)
GRAM_Path = /xx/xx/xx/GRAM
#####################
#Time block
#####################
[Time]
# Value of Time-step [s]
Time_step = 0.25
##########################################
#SU2 block - For high-fidelity simulations
##########################################
[SU2]
# Solver to run (EULER/NAVIER_STOKES or NEMO_EULER/NEMO_NAVIER_STOKES)
Solver = NAVIER_STOKES
# Maximum number of iterations
Num_iters = 100
# Convective scheme
Conv_method = AUSM
# Maximum number of iterations
Adapt_iter = 2
# Number of cores to run CFD simulation
Num_cores = 1
# Flag for MUSCL reconstruction (Yes/No)
Muscl = YES
# CFL number
Cfl = 0.5
#########################
#Bloom block - Optional
#########################
#Tool to generate a boundary layer in the CFD mesh
[Bloom]
#Flag to activate Bloom
Flag = False
#Number of layers in the boundary layer
Layers = 11
#Spacing of the initial layer
Spacing = 1E-4
#Growth rate between the layers
Growth_Rate = 1.1
#########################
#AMG block - Optional
#########################
#Tool to perform anisotropic mesh adaptation
[AMG]
#Flag to activate AMG
Flag = True
#Norm of the error estimate for the Hessian computation
P = 4
#Correction for metric complexity
C = 10000
#Field used for the mesh adaptation
Sensor = Mach
#######################
#Assembly block
#######################
[Assembly]
# Path for the geometry files
Path = /home/fmpmorgado/software/TITAN_cleanup/Test/Mesh/2_cubes/
#Linkage information for the specified components in the Objects section
#
#In this example, it means that component "1" and component "2" are connected through component "3"
#
#An additional option is to link component "1" and "2" without other component, by setting the last entry to "0"
Connectivity = [[1,2,3]]
#Angle of attack of the assembly
Angle_of_attack = 0.0
#Angle of sideslip of the assembly
Sideslip = 0.0
#######################
#Objects block
######################
[Objects]
#Primitive used in the Assembly -> name_Marker = (NAME, TYPE, MATERIAL)
#Joints used in the Assembly -> name_Marker = (NAME, TYPE, MATERIAL, TRIGGER_TYPE, TRIGGER_VALUE)
#
#NAME -> Name of the geometry file in stl format
#TYPE -> Type of the object (Primitive/Joint)
#MATERIAL -> Material of the object, needs to one specified in the material database
#TRIGGER_TYPE -> The criteria for the joint fragmentation (Altitude, time, iteration, Temperature)
#TRIGGER_VALUE -> The value to trigger the fragmentation
#
#If no trigger is specified, the joint does not undergo fragmentation
Cube_A = [NAME = Cube_A.stl, TYPE = Primitive, MATERIAL = Unittest, FENICS_ID = 1]]
Cube_B = [NAME = Cube_B.stl, TYPE = Primitive, MATERIAL = Unittest, FENICS_ID = 1]]
Joint = [NAME = Joint.stl, TYPE = Joint, MATERIAL = Unittest, FENICS_ID = 1]]