Skip to content

Commit fc1b39e

Browse files
authored
Merge pull request #1845 from su2code/test_case_clean_up
Cleaning up test cases suite
2 parents 6adccdb + 9ac59b5 commit fc1b39e

File tree

329 files changed

+645
-34619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+645
-34619
lines changed

TestCases/aeroelastic/aeroelastic_NACA64A010.cfg

Lines changed: 3 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -11,82 +11,43 @@
1111

1212
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------%
1313
%
14-
% Physical governing equations (EULER, NAVIER_STOKES,
15-
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
16-
% POISSON_EQUATION)
1714
SOLVER= EULER
18-
%
19-
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT)
2015
MATH_PROBLEM= DIRECT
21-
%
22-
% Read binary restart files (YES, NO)
2316
READ_BINARY_RESTART= NO
24-
%
25-
%
17+
2618
% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------%
2719
%
28-
% Mach number (non-dimensional, based on the free-stream values)
2920
MACH_NUMBER= 0.85
30-
%
31-
% Angle of attack (degrees, only for compressible flows)
3221
AOA= 1.0
33-
%
34-
% Free-stream pressure (101325.0 N/m^2, 2116.216 psf by default)
3522
FREESTREAM_PRESSURE= 101325.0
36-
%
37-
% Free-stream temperature (288.15 K, 518.67 R by default)
3823
FREESTREAM_TEMPERATURE= 288.15
3924

4025
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
4126
%
42-
% Reference origin for moment computation (m or in)
4327
REF_ORIGIN_MOMENT_X = -0.5
4428
REF_ORIGIN_MOMENT_Y = 0.00
4529
REF_ORIGIN_MOMENT_Z = 0.00
46-
%
47-
% Reference length for pitching, rolling, and yawing non-dimensional
48-
% moment (m or in)
4930
REF_LENGTH= 1.0
50-
%
51-
% Reference area for force coefficients (0 implies automatic
52-
% calculation) (m^2 or in^2)
5331
REF_AREA= 1.0
54-
%
55-
% Flow non-dimensionalization (DIMENSIONAL, FREESTREAM_PRESS_EQ_ONE,
56-
% FREESTREAM_VEL_EQ_MACH, FREESTREAM_VEL_EQ_ONE)
5732
REF_DIMENSIONALIZATION= DIMENSIONAL
5833

5934
% ------------------------- UNSTEADY SIMULATION -------------------------------%
6035
%
61-
% Time domain
6236
TIME_DOMAIN=YES
63-
%
64-
% Unsteady simulation (NO, TIME_STEPPING, DUAL_TIME_STEPPING-1ST_ORDER,
65-
% DUAL_TIME_STEPPING-2ND_ORDER, SPECTRAL_METHOD)
6637
TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER
67-
%
68-
% Time Step for dual time stepping simulations (s)
6938
TIME_STEP= 0.00174532925199
7039
% 36 steps per period, based on the pitch natural frequency
7140
%
72-
% Total Physical Time for dual time stepping simulations (s)
7341
MAX_TIME= 50.0
74-
%
75-
% Number of internal iterations (dual time method)
7642
INNER_ITER= 100
7743

7844
% ----------------------- DYNAMIC MESH DEFINITION -----------------------------%
79-
SURFACE_MOVEMENT= AEROELASTIC
8045
%
81-
% Motion mach number (non-dimensional). Used for initializing a viscous flow
82-
% with the Reynolds number and for computing force coeffs. with dynamic meshes.
46+
SURFACE_MOVEMENT= AEROELASTIC
8347
MACH_MOTION= 0.85
84-
%
85-
% Moving wall boundary marker(s) (NONE = no marker, ignored for RIGID_MOTION)
8648
MARKER_MOVING= ( airfoil )
8749

8850
% -------------- AEROELASTIC SIMULATION (Typical Section Model) ---------------%
89-
% Activated by GRID_MOVEMENT_KIND option
9051
%
9152
% The flutter speed index (modifies the freestream condition in the solver)
9253
FLUTTER_SPEED_INDEX = 1.3
@@ -113,188 +74,88 @@ AEROELASTIC_ITER = 3
11374

11475
% --------------------------- GUST SIMULATION ---------------------------------%
11576
%
116-
% Apply a wind gust (NO, YES)
11777
WIND_GUST = NO
118-
%
119-
% Type of gust (NONE, TOP_HAT, SINE, ONE_M_COSINE, VORTEX, EOG)
12078
GUST_TYPE = TOP_HAT
121-
%
122-
% Direction of the gust (X_DIR or Y_DIR)
12379
GUST_DIR = Y_DIR
124-
%
125-
% Gust wavelenght (meters)
12680
GUST_WAVELENGTH= 7.90876841815
12781
% 1/4 of period based on the pitch natural frequency
12882
%
129-
% Number of gust periods
13083
GUST_PERIODS= 1.0
131-
%
132-
% Gust amplitude (m/s)
13384
GUST_AMPL= 8.78841285061
13485
% Corresponds to 1 deg AoA.
13586
%
136-
% Time at which to begin the gust (sec)
13787
GUST_BEGIN_TIME= 0.0
138-
%
139-
% Location at which the gust begins (meters) */
14088
GUST_BEGIN_LOC= -7.90876841815
14189

14290
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
14391
%
144-
% Euler wall boundary marker(s) (NONE = no marker)
14592
MARKER_EULER= ( airfoil )
146-
%
147-
% Far-field boundary marker(s) (NONE = no marker)
14893
MARKER_FAR= ( farfield )
14994

15095
% ------------------------ SURFACES IDENTIFICATION ----------------------------%
15196
%
152-
% Marker(s) of the surface in the surface flow solution file
15397
MARKER_PLOTTING = ( airfoil )
154-
%
155-
% Marker(s) of the surface where the non-dimensional coefficients are evaluated.
15698
MARKER_MONITORING = ( airfoil )
15799

158100
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
159101
%
160-
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
161102
NUM_METHOD_GRAD= GREEN_GAUSS
162-
%
163-
% CFL number (stating value for the adaptive CFL number)
164103
CFL_NUMBER= 4.0
165104

166105
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
167106
%
168-
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER)
169107
LINEAR_SOLVER= FGMRES
170-
%
171-
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
172108
LINEAR_SOLVER_PREC= LU_SGS
173-
%
174-
% Minimum error of the linear solver for implicit formulations
175109
LINEAR_SOLVER_ERROR= 1E-4
176-
%
177-
% Max number of iterations of the linear solver for the implicit formulation
178110
LINEAR_SOLVER_ITER= 2
179111

180112
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
181113
%
182-
% Multi-grid levels (0 = no multi-grid)
183114
MGLEVEL= 3
184-
%
185-
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
186115
MGCYCLE= W_CYCLE
187-
%
188-
% Multi-grid pre-smoothing level
189116
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
190-
%
191-
% Multi-grid post-smoothing level
192117
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
193-
%
194-
% Jacobi implicit smoothing of the correction
195118
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
196-
%
197-
% Damping factor for the residual restriction
198119
MG_DAMP_RESTRICTION= 0.75
199-
%
200-
% Damping factor for the correction prolongation
201120
MG_DAMP_PROLONGATION= 0.75
202121

203122
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
204123
%
205-
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
206-
% TURKEL_PREC, MSW)
207124
CONV_NUM_METHOD_FLOW= JST
208-
%
209-
% Spatial numerical order integration (1ST_ORDER, 2ND_ORDER, 2ND_ORDER_LIMITER)
210125
MUSCL_FLOW= YES
211-
%
212-
% Slope limiter (VENKATAKRISHNAN, BARTH_JESPERSEN)
213126
SLOPE_LIMITER_FLOW= VENKATAKRISHNAN
214-
%
215-
% Entropy fix coefficient (0.0 implies no entropy fixing, 1.0 implies scalar
216-
% artificial dissipation)
217127
ENTROPY_FIX_COEFF= 0.001
218-
%
219-
% 2nd and 4th order artificial dissipation coefficients
220128
JST_SENSOR_COEFF= ( 0.5, 0.02 )
221-
%
222-
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
223129
TIME_DISCRE_FLOW= EULER_IMPLICIT
224130

225131
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
226132
%
227-
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
228133
DEFORM_LINEAR_SOLVER= FGMRES
229-
%
230-
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, JACOBI)
231134
DEFORM_LINEAR_SOLVER_PREC= LU_SGS
232-
%
233-
% Number of smoothing iterations for mesh deformation
234135
DEFORM_LINEAR_SOLVER_ITER= 500
235-
%
236-
% Number of nonlinear deformation iterations (surface deformation increments)
237136
DEFORM_NONLINEAR_ITER= 1
238-
%
239-
% Print the residuals during mesh deformation to the console (YES, NO)
240137
DEFORM_CONSOLE_OUTPUT= NO
241-
%
242-
% Minimum residual criteria for the linear solver convergence of grid deformation
243138
DEFORM_LINEAR_SOLVER_ERROR= 1E-14
244-
%
245-
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
246-
% WALL_DISTANCE, CONSTANT_STIFFNESS)
247139
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
248140

249141
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
250142
%
251-
% Number of total iterations
252143
TIME_ITER= 360
253-
%
254-
% Min value of the residual (log10 of the residual)
255144
CONV_RESIDUAL_MINVAL= -8
256-
%
257-
% Start convergence criteria at iteration number
258145
CONV_STARTITER= 0
259-
%
260-
% Number of elements to apply the criteria
261146
CONV_CAUCHY_ELEMS= 100
262-
%
263-
% Epsilon to control the series convergence
264147
CONV_CAUCHY_EPS= 1E-10
265-
%
266148

267149
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
268150
%
269-
% Mesh input file
270151
MESH_FILENAME= mesh_NACA64A010_hybrid_inv.su2
271-
%
272-
% Mesh input file format (SU2, CGNS)
273152
MESH_FORMAT= SU2
274-
%
275-
% Restart flow input file
276153
SOLUTION_FILENAME= solution_flow.dat
277-
%
278154
TABULAR_FORMAT= CSV
279-
%
280-
% Output file convergence history (w/o extension)
281155
CONV_FILENAME= history
282-
%
283-
% Output file restart flow
284156
RESTART_FILENAME= restart_flow.dat
285-
%
286-
% Output file flow (w/o extension) variables
287157
VOLUME_FILENAME= flow
288-
%
289-
% Output file surface flow coefficient (w/o extension)
290158
SURFACE_FILENAME= surface_flow
291-
%
292-
% Writing solution file frequency for physical time steps (dual time)
293159
OUTPUT_WRT_FREQ= 1000
294-
%
295-
%
296-
% Screen output
297160
SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, RMS_ENERGY, LIFT, DRAG_ON_SURFACE, PLUNGE, PITCH)
298-
%
299-
OUTPUT_FILES= (RESTART_ASCII)
300-
161+
OUTPUT_FILES= (RESTART_ASCII)

TestCases/axisymmetric_rans/air_nozzle/air_nozzle_restart.cfg

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,32 @@
1313
SOLVER= RANS
1414
KIND_TURB_MODEL= SST
1515
RESTART_SOL= YES
16-
%
1716
AXISYMMETRIC= YES
18-
%
17+
1918
% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------%
2019
%
2120
MACH_NUMBER= 1E-9
22-
%
2321
INIT_OPTION= TD_CONDITIONS
24-
%
2522
FREESTREAM_OPTION= TEMPERATURE_FS
2623
FREESTREAM_PRESSURE= 1400000
2724
FREESTREAM_TEMPERATURE= 373.15
28-
%
2925
REF_DIMENSIONALIZATION= DIMENSIONAL
30-
%
26+
3127
% ---- IDEAL GAS, POLYTROPIC, VAN DER WAALS AND PENG ROBINSON CONSTANTS -------%
3228
%
3329
FLUID_MODEL= STANDARD_AIR
34-
%
30+
3531
% --------------------------- VISCOSITY MODEL ---------------------------------%
3632
%
3733
VISCOSITY_MODEL= CONSTANT_VISCOSITY
3834
MU_CONSTANT= 1.716E-5
39-
%
35+
4036
% --------------------------- THERMAL CONDUCTIVITY MODEL ----------------------%
4137
%
4238
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL
4339
PRANDTL_LAM= 0.72
4440
PRANDTL_TURB= 0.90
45-
%
41+
4642
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
4743
%
4844
MARKER_HEATFLUX= ( WALL, 0.0 )
@@ -58,46 +54,43 @@ CFL_NUMBER= 1000.0
5854
CFL_ADAPT= NO
5955
MAX_DELTA_TIME= 1E6
6056
OBJECTIVE_FUNCTION= DRAG
61-
%
57+
6258
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
6359
%
6460
MUSCL_FLOW= YES
6561
SLOPE_LIMITER_FLOW= NONE
66-
%
62+
6763
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
6864
%
6965
LINEAR_SOLVER= FGMRES
7066
LINEAR_SOLVER_PREC= ILU
7167
LINEAR_SOLVER_ILU_FILL_IN= 0
7268
LINEAR_SOLVER_ERROR= 0.01
7369
LINEAR_SOLVER_ITER= 10
74-
%
70+
7571
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
7672
%
7773
CONV_NUM_METHOD_FLOW= ROE
7874
ENTROPY_FIX_COEFF= 0.1
7975
TIME_DISCRE_FLOW= EULER_IMPLICIT
80-
%
76+
8177
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
8278
%
8379
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
8480
TIME_DISCRE_TURB= EULER_IMPLICIT
8581
CFL_REDUCTION_TURB= 1.0
86-
%
82+
8783
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
8884
%
8985
ITER= 3000
9086
CONV_RESIDUAL_MINVAL= -12
9187
CONV_STARTITER= 10
92-
%
88+
9389
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
9490
%
9591
MESH_FILENAME= nozzle.su2
96-
%
9792
SOLUTION_FILENAME= solution_flow.dat
9893
RESTART_FILENAME= restart_flow.dat
9994
OUTPUT_WRT_FREQ= 1000
100-
%
101-
% Note: This cfg is used for a primal and adjoint Testcase, therefore both residuals are present here.
10295
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_ENERGY, RMS_TKE, RMS_DISSIPATION, TOTAL_HEATFLUX, \
10396
RMS_ADJ_DENSITY, RMS_ADJ_ENERGY, RMS_ADJ_TKE, RMS_ADJ_DISSIPATION, SENS_AOA, SENS_MACH)

0 commit comments

Comments
 (0)