Skip to content

Commit 3b03170

Browse files
committed
Add test case config file.
1 parent 0d52be9 commit 3b03170

2 files changed

Lines changed: 292 additions & 1 deletion

File tree

Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,291 @@
1+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2+
% %
3+
% SU2 configuration file %
4+
% Case description: Turbulent flow over rough flat plate with zero %
5+
% pressure gradient %
6+
% Author: Akshay Koodly %
7+
% Date: 2020.07.07 %
8+
% File Version 7.0.x "Blackbird" %
9+
% %
10+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11+
12+
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------%
13+
%
14+
% Physical governing equations (EULER, NAVIER_STOKES,
15+
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
16+
% POISSON_EQUATION)
17+
SOLVER= INC_RANS
18+
%
19+
% If Navier-Stokes, kind of turbulent model (NONE, SA)
20+
KIND_TURB_MODEL= SA
21+
22+
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT)
23+
MATH_PROBLEM= DIRECT
24+
%
25+
% Restart solution (NO, YES)
26+
RESTART_SOL= NO
27+
%
28+
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
29+
%
30+
% Density model within the incompressible flow solver.
31+
% Options are CONSTANT (default), BOUSSINESQ, or VARIABLE. If VARIABLE,
32+
% an appropriate fluid model must be selected.
33+
INC_DENSITY_MODEL= CONSTANT
34+
%
35+
% Solve the energy equation in the incompressible flow solver
36+
INC_ENERGY_EQUATION = NO
37+
%
38+
% Initial density for incompressible flows (1.2886 kg/m^3 by default)
39+
INC_DENSITY_INIT= 1.32905
40+
%
41+
% Initial velocity for incompressible flows (1.0,0,0 m/s by default)
42+
INC_VELOCITY_INIT= ( 69.4448, 0.0, 0.0 )
43+
%
44+
% Initial temperature for incompressible flows that include the
45+
% energy equation (288.15 K by default). Value is ignored if
46+
% INC_ENERGY_EQUATION is false.
47+
INC_TEMPERATURE_INIT= 300.0
48+
%
49+
% Non-dimensionalization scheme for incompressible flows. Options are
50+
% INITIAL_VALUES (default), REFERENCE_VALUES, or DIMENSIONAL.
51+
% INC_*_REF values are ignored unless REFERENCE_VALUES is chosen.
52+
INC_NONDIM= INITIAL_VALUES
53+
%
54+
% Reference density for incompressible flows (1.0 kg/m^3 by default)
55+
INC_DENSITY_REF= 1.0
56+
%
57+
% Reference velocity for incompressible flows (1.0 m/s by default)
58+
INC_VELOCITY_REF= 1.0
59+
%
60+
% Reference temperature for incompressible flows that include the
61+
% energy equation (1.0 K by default)
62+
INC_TEMPERATURE_REF = 1.0
63+
%
64+
% List of inlet types for incompressible flows. List length must
65+
% match number of inlet markers. Options: VELOCITY_INLET, PRESSURE_INLET.
66+
INC_INLET_TYPE= VELOCITY_INLET
67+
68+
% --------------------------- VISCOSITY MODEL ---------------------------------%
69+
%
70+
% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY).
71+
VISCOSITY_MODEL= CONSTANT_VISCOSITY
72+
%
73+
% Molecular Viscosity that would be constant (1.716E-5 by default)
74+
MU_CONSTANT= 1.84592e-05
75+
%
76+
% Sutherland Viscosity Ref (1.716E-5 default value for AIR SI)
77+
MU_REF= 1.716E-5
78+
%
79+
% Sutherland Temperature Ref (273.15 K default value for AIR SI)
80+
MU_T_REF= 273.15
81+
%
82+
% Sutherland constant (110.4 default value for AIR SI)
83+
SUTHERLAND_CONSTANT= 110.4
84+
85+
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
86+
%
87+
% Reference origin for moment computation
88+
REF_ORIGIN_MOMENT_X = 0.25
89+
REF_ORIGIN_MOMENT_Y = 0.00
90+
REF_ORIGIN_MOMENT_Z = 0.00
91+
%
92+
% Reference length for pitching, rolling, and yawing non-dimensional moment
93+
REF_LENGTH= 1.0
94+
%
95+
% Reference area for force coefficients (0 implies automatic calculation)
96+
REF_AREA= 2.0
97+
98+
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
99+
%
100+
% Navier-Stokes wall boundary marker(s) (NONE = no marker)
101+
MARKER_HEATFLUX= ( wall, 0.0 )
102+
%WALL_ROUGHNESS = (wall, 0.000061)
103+
%WALL_ROUGHNESS = (wall, 0.000123)
104+
WALL_ROUGHNESS = (wall, 0.000246)
105+
%WALL_ROUGHNESS = (wall, 0.000984)
106+
%
107+
%
108+
% Inlet boundary marker(s) (NONE = no marker)
109+
% Format: ( inlet marker, total temperature, total pressure, flow_direction_x,
110+
% flow_direction_y, flow_direction_z, ... )
111+
MARKER_INLET= ( inlet, 300.0, 69.4448, 1.0, 0.0, 0.0 )
112+
%
113+
% Outlet boundary marker(s) (NONE = no marker)
114+
% Format: ( outlet marker, back pressure, ... )
115+
MARKER_OUTLET= ( outlet, 0.0, farfield, 0.0 )
116+
%
117+
INC_OUTLET_TYPE= PRESSURE_OUTLET,PRESSURE_OUTLET
118+
%
119+
% Symmetry boundary marker(s) (NONE = no marker)
120+
MARKER_SYM= ( symmetry )
121+
%
122+
% Marker(s) of the surface to be plotted or designed
123+
MARKER_PLOTTING= ( wall )
124+
%
125+
% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated
126+
MARKER_MONITORING= ( wall )
127+
128+
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
129+
%
130+
% Numerical method for spatial gradients (GREEN_GAUSS, LEAST_SQUARES,
131+
% WEIGHTED_LEAST_SQUARES)
132+
NUM_METHOD_GRAD= GREEN_GAUSS
133+
%
134+
% Courant-Friedrichs-Lewy condition of the finest grid
135+
CFL_NUMBER= 100.0
136+
%
137+
% Adaptive CFL number (NO, YES)
138+
CFL_ADAPT= NO
139+
%
140+
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
141+
% CFL max value )
142+
CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.1, 100.0 )
143+
%
144+
% Runge-Kutta alpha coefficients
145+
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
146+
%
147+
% Number of total iterations
148+
ITER= 1000
149+
150+
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
151+
%
152+
% Linear solver for implicit formulations (BCGSTAB, FGMRES)
153+
LINEAR_SOLVER= FGMRES
154+
%
155+
% Preconditioner of the Krylov linear solver (JACOBI, LINELET, LU_SGS)
156+
LINEAR_SOLVER_PREC= ILU
157+
%
158+
% Linael solver ILU preconditioner fill-in level (0 by default)
159+
LINEAR_SOLVER_ILU_FILL_IN= 0
160+
%
161+
% Minimum error of the linear solver for implicit formulations
162+
LINEAR_SOLVER_ERROR= 1E-12
163+
%
164+
% Max number of iterations of the linear solver for the implicit formulation
165+
LINEAR_SOLVER_ITER= 20
166+
167+
% ----------------------- SLOPE LIMITER DEFINITION ----------------------------%
168+
%
169+
% Coefficient for the limiter
170+
VENKAT_LIMITER_COEFF= 0.1
171+
%
172+
% Coefficient for the sharp edges limiter
173+
ADJ_SHARP_LIMITER_COEFF= 3.0
174+
%
175+
% Reference coefficient (sensitivity) for detecting sharp edges.
176+
REF_SHARP_EDGES= 3.0
177+
%
178+
% Remove sharp edges from the sensitivity evaluation (NO, YES)
179+
SENS_REMOVE_SHARP= NO
180+
181+
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
182+
%
183+
% Multi-Grid Levels (0 = no multi-grid)
184+
MGLEVEL= 0
185+
%
186+
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
187+
MGCYCLE= V_CYCLE
188+
%
189+
% Multi-grid pre-smoothing level
190+
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
191+
%
192+
% Multi-grid post-smoothing level
193+
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
194+
%
195+
% Jacobi implicit smoothing of the correction
196+
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
197+
%
198+
% Damping factor for the residual restriction
199+
MG_DAMP_RESTRICTION= 0.8
200+
%
201+
% Damping factor for the correction prolongation
202+
MG_DAMP_PROLONGATION= 0.8
203+
204+
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
205+
%
206+
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
207+
% TURKEL_PREC, MSW)
208+
CONV_NUM_METHOD_FLOW= FDS
209+
%
210+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
211+
% Required for 2nd order upwind schemes (NO, YES)
212+
MUSCL_FLOW= YES
213+
%
214+
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
215+
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
216+
SLOPE_LIMITER_FLOW= NONE
217+
%
218+
% 2nd and 4th order artificial dissipation coefficients
219+
JST_SENSOR_COEFF= ( 0.5, 0.02 )
220+
%
221+
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
222+
TIME_DISCRE_FLOW= EULER_IMPLICIT
223+
224+
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
225+
%
226+
% Convective numerical method (SCALAR_UPWIND)
227+
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
228+
%
229+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the turbulence equations.
230+
% Required for 2nd order upwind schemes (NO, YES)
231+
MUSCL_TURB= NO
232+
%
233+
% Slope limiter (VENKATAKRISHNAN, MINMOD)
234+
SLOPE_LIMITER_TURB= VENKATAKRISHNAN
235+
%
236+
% Time discretization (EULER_IMPLICIT)
237+
TIME_DISCRE_TURB= EULER_IMPLICIT
238+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
239+
%
240+
% Convergence criteria (CAUCHY, RESIDUAL)
241+
%
242+
CONV_FIELD= RMS_VELOCITY-X
243+
%
244+
% Min value of the residual (log10 of the residual)
245+
CONV_RESIDUAL_MINVAL= -14
246+
%
247+
% Start convergence criteria at iteration number
248+
CONV_STARTITER= 10
249+
250+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
251+
%
252+
% Mesh input file
253+
%MESH_FILENAME= mesh_flatplate_turb_69x49.su2
254+
MESH_FILENAME= mesh_flatplate_turb_137x97.su2
255+
%MESH_FILENAME= mesh_flatplate_turb_273x193.su2
256+
%
257+
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
258+
MESH_FORMAT= SU2
259+
%
260+
% Mesh output file
261+
MESH_OUT_FILENAME= mesh_out.su2
262+
%
263+
% Restart flow input file
264+
SOLUTION_FILENAME= restart_flow
265+
%
266+
% Output file format (PARAVIEW, TECPLOT, SLT)
267+
TABULAR_FORMAT= CSV
268+
269+
OUTPUT_FILES= PARAVIEW, RESTART, SURFACE_PARAVIEW
270+
%
271+
% Output file convergence history (w/o extension)
272+
CONV_FILENAME= history
273+
%
274+
% Output file restart flow
275+
RESTART_FILENAME= restart_flow
276+
%
277+
% Output file flow (w/o extension) variables
278+
VOLUME_FILENAME= flow
279+
%
280+
% Output file surface flow coefficient (w/o extension)
281+
SURFACE_FILENAME= surface_flow
282+
%
283+
% Writing solution file frequency
284+
OUTPUT_WRT_FREQ= 100
285+
%
286+
% Writing convergence history frequency
287+
WRT_CON_FREQ= 1
288+
%
289+
SCREEN_OUTPUT= (WALL_TIME,INNER_ITER, RMS_VELOCITY-X, RMS_NU_TILDE, LIFT,DRAG)
290+
%
291+
WRT_FORCES_BREAKDOWN= YES

config_template.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ SPATIAL_FOURIER= NO
816816
% The equivalent sand grain roughness height (k_s) on each of the wall. This must be in m.
817817
% This is a list of (string, double) each element corresponding to the MARKER defined in WALL_TYPE.
818818
%WALL_ROUGHNESS = (wall1, ks1, wall2, ks2)
819-
%WALL_ROUGHNESS = (wall1, ks1, wall2, 0.0) is also allowed
819+
%WALL_ROUGHNESS = (wall1, ks1, wall2, 0.0) %is also allowed
820820
% ------------------------ SURFACES IDENTIFICATION ----------------------------%
821821
%
822822
% Marker(s) of the surface in the surface flow solution file

0 commit comments

Comments
 (0)