Skip to content

Commit 129f7db

Browse files
committed
Added rough flatplate test cases
1 parent 65d8ea5 commit 129f7db

4 files changed

Lines changed: 770 additions & 0 deletions

File tree

Lines changed: 248 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2+
% %
3+
% SU2 configuration file %
4+
% Case description: Turbulent flow over flat plate with zero pressure gradient %
5+
% Author: Thomas D. Economon %
6+
% Institution: Stanford University %
7+
% Date: 2011.11.10 %
8+
% File Version 5.0.0 "Raven" %
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= RANS
18+
%
19+
% If Navier-Stokes, kind of turbulent model (NONE, SA, SA_NEG, SST)
20+
KIND_TURB_MODEL= SST
21+
WALL_ROUGHNESS = (wall, 400e-6)
22+
KIND_ROUGHSST_MODEL = LIMITER_AUPOIX
23+
%
24+
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT)
25+
MATH_PROBLEM= DIRECT
26+
%
27+
% Restart solution (NO, YES)
28+
RESTART_SOL= NO
29+
READ_BINARY_RESTART= YES
30+
31+
% ----------- COMPRESSIBLE AND INCOMPRESSIBLE FREE-STREAM DEFINITION ----------%
32+
%
33+
% Mach number (non-dimensional, based on the free-stream values)
34+
MACH_NUMBER= 0.2
35+
%
36+
% Angle of attack (degrees)
37+
AOA= 0.0
38+
%
39+
% Side-slip angle (degrees)
40+
SIDESLIP_ANGLE= 0.0
41+
%
42+
% Free-stream temperature (288.15 K by default)
43+
FREESTREAM_TEMPERATURE= 300.0
44+
%
45+
% Reynolds number (non-dimensional, based on the free-stream values)
46+
REYNOLDS_NUMBER= 5000000.0
47+
%
48+
% Reynolds length (in meters)
49+
REYNOLDS_LENGTH= 1.0
50+
51+
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
52+
%
53+
% Reference origin for moment computation
54+
REF_ORIGIN_MOMENT_X = 0.25
55+
REF_ORIGIN_MOMENT_Y = 0.00
56+
REF_ORIGIN_MOMENT_Z = 0.00
57+
%
58+
% Reference length for pitching, rolling, and yawing non-dimensional moment
59+
REF_LENGTH= 1.0
60+
%
61+
% Reference area for force coefficients (0 implies automatic calculation)
62+
REF_AREA= 2.0
63+
64+
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
65+
%
66+
% Navier-Stokes wall boundary marker(s) (NONE = no marker)
67+
MARKER_HEATFLUX= ( wall, 0.0 )
68+
%
69+
% Inlet boundary marker(s) (NONE = no marker)
70+
% Format: ( inlet marker, total temperature, total pressure, flow_direction_x,
71+
% flow_direction_y, flow_direction_z, ... )
72+
MARKER_INLET= ( inlet, 302.4, 118309.784, 1.0, 0.0, 0.0 )
73+
%
74+
% Outlet boundary marker(s) (NONE = no marker)
75+
% Format: ( outlet marker, back pressure, ... )
76+
MARKER_OUTLET= ( outlet, 115056.0, farfield, 115056.0 )
77+
%
78+
% Symmetry boundary marker(s) (NONE = no marker)
79+
MARKER_SYM= ( symmetry )
80+
%
81+
% Marker(s) of the surface to be plotted or designed
82+
MARKER_PLOTTING= ( wall )
83+
%
84+
% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated
85+
MARKER_MONITORING= ( wall )
86+
87+
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
88+
%
89+
% Numerical method for spatial gradients (GREEN_GAUSS, LEAST_SQUARES,
90+
% WEIGHTED_LEAST_SQUARES)
91+
NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
92+
%
93+
% Courant-Friedrichs-Lewy condition of the finest grid
94+
CFL_NUMBER= 100.0
95+
%
96+
% Adaptive CFL number (NO, YES)
97+
CFL_ADAPT= YES
98+
%
99+
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
100+
% CFL max value )
101+
CFL_ADAPT_PARAM= ( 0.1, 2.0, 100.0, 1e5 )
102+
%
103+
% Runge-Kutta alpha coefficients
104+
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
105+
%
106+
% Number of total iterations
107+
ITER= 99999
108+
109+
% ----------------------- SLOPE LIMITER DEFINITION ----------------------------%
110+
%
111+
% Coefficient for the limiter
112+
VENKAT_LIMITER_COEFF= 0.1
113+
%
114+
% Coefficient for the sharp edges limiter
115+
ADJ_SHARP_LIMITER_COEFF= 3.0
116+
%
117+
% Reference coefficient (sensitivity) for detecting sharp edges.
118+
REF_SHARP_EDGES= 3.0
119+
%
120+
% Remove sharp edges from the sensitivity evaluation (NO, YES)
121+
SENS_REMOVE_SHARP= NO
122+
123+
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
124+
%
125+
% Multi-Grid Levels (0 = no multi-grid)
126+
MGLEVEL= 0
127+
%
128+
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
129+
MGCYCLE= V_CYCLE
130+
%
131+
% Multi-grid pre-smoothing level
132+
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
133+
%
134+
% Multi-grid post-smoothing level
135+
MG_POST_SMOOTH= ( 2, 2, 2, 2)
136+
%
137+
% Jacobi implicit smoothing of the correction
138+
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
139+
%
140+
% Damping factor for the residual restriction
141+
MG_DAMP_RESTRICTION= 0.8
142+
%
143+
% Damping factor for the correction prolongation
144+
MG_DAMP_PROLONGATION= 0.8
145+
146+
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
147+
%
148+
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
149+
% TURKEL_PREC, MSW)
150+
CONV_NUM_METHOD_FLOW= ROE
151+
%
152+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
153+
% Required for 2nd order upwind schemes (NO, YES)
154+
MUSCL_FLOW= YES
155+
%
156+
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
157+
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
158+
SLOPE_LIMITER_FLOW= NONE
159+
%
160+
% 2nd and 4th order artificial dissipation coefficients
161+
JST_SENSOR_COEFF= ( 0.5, 0.02 )
162+
%
163+
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
164+
TIME_DISCRE_FLOW= EULER_IMPLICIT
165+
166+
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
167+
%
168+
% Convective numerical method (SCALAR_UPWIND)
169+
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
170+
%
171+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the turbulence equations.
172+
% Required for 2nd order upwind schemes (NO, YES)
173+
MUSCL_TURB= NO
174+
%
175+
% Slope limiter (VENKATAKRISHNAN, MINMOD)
176+
SLOPE_LIMITER_TURB= VENKATAKRISHNAN
177+
%
178+
% Time discretization (EULER_IMPLICIT)
179+
TIME_DISCRE_TURB= EULER_IMPLICIT
180+
181+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
182+
%
183+
% Convergence criteria (CAUCHY, RESIDUAL)
184+
CONV_FIELD= RMS_DENSITY
185+
%
186+
% Min value of the residual (log10 of the residual)
187+
CONV_RESIDUAL_MINVAL= -14
188+
%
189+
% Start convergence criteria at iteration number
190+
CONV_STARTITER= 10
191+
%
192+
% Number of elements to apply the criteria
193+
CONV_CAUCHY_ELEMS= 100
194+
%
195+
% Epsilon to control the series convergence
196+
CONV_CAUCHY_EPS= 1E-6
197+
%
198+
199+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
200+
%
201+
% Mesh input file
202+
MESH_FILENAME= mesh_flatplate_turb_137x97.su2
203+
%
204+
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
205+
MESH_FORMAT= SU2
206+
%
207+
% Mesh output file
208+
MESH_OUT_FILENAME= mesh_out.su2
209+
%
210+
% Restart flow input file
211+
SOLUTION_FILENAME= solution_flow.dat
212+
%
213+
% Restart adjoint input file
214+
SOLUTION_ADJ_FILENAME= solution_adj.dat
215+
%
216+
% Output file format (PARAVIEW, TECPLOT, SLT)
217+
TABULAR_FORMAT= CSV
218+
%
219+
% Output file convergence history (w/o extension)
220+
CONV_FILENAME= history
221+
%
222+
% Output file restart flow
223+
RESTART_FILENAME= restart_flow.dat
224+
%
225+
% Output file restart adjoint
226+
RESTART_ADJ_FILENAME= restart_adj.dat
227+
%
228+
% Output file flow (w/o extension) variables
229+
VOLUME_FILENAME= flow
230+
%
231+
% Output file adjoint (w/o extension) variables
232+
VOLUME_ADJ_FILENAME= adjoint
233+
%
234+
% Output objective function gradient (using continuous adjoint)
235+
GRAD_OBJFUNC_FILENAME= of_grad.dat
236+
%
237+
% Output file surface flow coefficient (w/o extension)
238+
SURFACE_FILENAME= surface_flow
239+
%
240+
% Output file surface adjoint coefficient (w/o extension)
241+
SURFACE_ADJ_FILENAME= surface_adjoint
242+
%
243+
% Writing solution file frequency
244+
OUTPUT_WRT_FREQ= 1000
245+
%
246+
%
247+
% Screen output
248+
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_RES, LIFT, DRAG)

0 commit comments

Comments
 (0)