Skip to content

Commit 0025253

Browse files
committed
add test case and regression list entry
1 parent c2a25dc commit 0025253

4 files changed

Lines changed: 298 additions & 0 deletions

File tree

Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2+
% %
3+
% SU2 configuration file %
4+
% Case description: Axisymmetric supersonic converging-diverging air nozzle %
5+
% Author: Florian Dittmann %
6+
% Date: 2021.12.02 %
7+
% File Version 7.10 "Blackbird" %
8+
% %
9+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10+
11+
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------%
12+
%
13+
% Physical governing equations (EULER, NAVIER_STOKES,
14+
% FEM_EULER, FEM_NAVIER_STOKES, FEM_RANS, FEM_LES,
15+
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
16+
% POISSON_EQUATION)
17+
SOLVER= RANS
18+
%
19+
% Specify turbulence model (NONE, SA, SA_NEG, SST, SA_E, SA_COMP, SA_E_COMP)
20+
KIND_TURB_MODEL= SST
21+
%
22+
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT, DISCRETE_ADJOINT)
23+
MATH_PROBLEM= DIRECT
24+
%
25+
% Restart solution (NO, YES)
26+
RESTART_SOL= YES
27+
%
28+
% System of measurements (SI, US)
29+
% International system of units (SI): ( meters, kilograms, Kelvins,
30+
% Newtons = kg m/s^2, Pascals = N/m^2,
31+
% Density = kg/m^3, Speed = m/s,
32+
% Equiv. Area = m^2 )
33+
% United States customary units (US): ( inches, slug, Rankines, lbf = slug ft/s^2,
34+
% psf = lbf/ft^2, Density = slug/ft^3,
35+
% Speed = ft/s, Equiv. Area = ft^2 )
36+
SYSTEM_MEASUREMENTS= SI
37+
%
38+
AXISYMMETRIC= YES
39+
%
40+
% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------%
41+
%
42+
% Mach number (non-dimensional, based on the free-stream values)
43+
MACH_NUMBER= 1E-9
44+
%
45+
% Angle of attack (degrees, only for compressible flows)
46+
AOA= 0.0
47+
%
48+
% Side-slip angle (degrees, only for compressible flows)
49+
SIDESLIP_ANGLE= 0.0
50+
%
51+
% Init option to choose between Reynolds (default) or thermodynamics quantities
52+
% for initializing the solution (REYNOLDS, TD_CONDITIONS)
53+
INIT_OPTION= TD_CONDITIONS
54+
%
55+
% Free-stream option to choose between density and temperature (default) for
56+
% initializing the solution (TEMPERATURE_FS, DENSITY_FS)
57+
FREESTREAM_OPTION= TEMPERATURE_FS
58+
%
59+
% Free-stream pressure (101325.0 N/m^2, 2116.216 psf by default)
60+
FREESTREAM_PRESSURE= 1400000
61+
%
62+
% Free-stream temperature (288.15 K, 518.67 R by default)
63+
FREESTREAM_TEMPERATURE= 373.15
64+
%
65+
% Compressible flow non-dimensionalization (DIMENSIONAL, FREESTREAM_PRESS_EQ_ONE,
66+
% FREESTREAM_VEL_EQ_MACH, FREESTREAM_VEL_EQ_ONE)
67+
REF_DIMENSIONALIZATION= DIMENSIONAL
68+
69+
% ---- IDEAL GAS, POLYTROPIC, VAN DER WAALS AND PENG ROBINSON CONSTANTS -------%
70+
%
71+
% Fluid model (STANDARD_AIR, IDEAL_GAS, VW_GAS, PR_GAS,
72+
% CONSTANT_DENSITY, INC_IDEAL_GAS, INC_IDEAL_GAS_POLY)
73+
FLUID_MODEL= STANDARD_AIR
74+
75+
% --------------------------- VISCOSITY MODEL ---------------------------------%
76+
%
77+
% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY, POLYNOMIAL_VISCOSITY).
78+
VISCOSITY_MODEL= CONSTANT_VISCOSITY
79+
%
80+
% Molecular Viscosity that would be constant (1.716E-5 by default)
81+
MU_CONSTANT= 1.716E-5
82+
83+
% --------------------------- THERMAL CONDUCTIVITY MODEL ----------------------%
84+
%
85+
% Laminar Conductivity model (CONSTANT_CONDUCTIVITY, CONSTANT_PRANDTL,
86+
% POLYNOMIAL_CONDUCTIVITY).
87+
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL
88+
%
89+
% Laminar Prandtl number (0.72 (air), only for CONSTANT_PRANDTL)
90+
PRANDTL_LAM= 0.72
91+
%
92+
% Turbulent Prandtl number (0.9 (air) by default)
93+
PRANDTL_TURB= 0.90
94+
95+
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
96+
%
97+
% Navier-Stokes (no-slip), constant heat flux wall marker(s) (NONE = no marker)
98+
% Format: ( marker name, constant heat flux (J/m^2), ... )
99+
MARKER_HEATFLUX= ( WALL, 0.0 )
100+
%
101+
% Symmetry boundary marker(s) (NONE = no marker)
102+
MARKER_SYM= ( SYMMETRY )
103+
%
104+
% Riemann boundary marker(s) (NONE = no marker)
105+
% Format: (marker, data kind flag, list of data)
106+
MARKER_RIEMANN= ( INFLOW, TOTAL_CONDITIONS_PT, 1400000.0, 373.15, 1.0, 0.0, 0.0, OUTFLOW, STATIC_PRESSURE, 100000.0, 0.0, 0.0, 0.0, 0.0 )
107+
108+
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
109+
%
110+
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
111+
NUM_METHOD_GRAD= GREEN_GAUSS
112+
%
113+
% CFL number (initial value for the adaptive CFL number)
114+
CFL_NUMBER= 1000.0
115+
%
116+
% Adaptive CFL number (NO, YES)
117+
CFL_ADAPT= NO
118+
%
119+
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
120+
% CFL max value )
121+
CFL_ADAPT_PARAM= ( 0.1, 2.0, 10.0, 1000.0 )
122+
%
123+
% Maximum Delta Time in local time stepping simulations
124+
MAX_DELTA_TIME= 1E6
125+
126+
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
127+
%
128+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
129+
% Required for 2nd order upwind schemes (NO, YES)
130+
MUSCL_FLOW= YES
131+
%
132+
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
133+
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
134+
SLOPE_LIMITER_FLOW= NONE
135+
%
136+
%Coefficient for the Venkat's limiter (upwind scheme). A larger values decrease
137+
% the extent of limiting, values approaching zero cause
138+
% lower-order approximation to the solution (0.05 by default)
139+
VENKAT_LIMITER_COEFF= 0.05
140+
%
141+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the turbulence equations.
142+
% Required for 2nd order upwind schemes (NO, YES)
143+
MUSCL_TURB= NO
144+
145+
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
146+
%
147+
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
148+
% SMOOTHER_ILU, SMOOTHER_LUSGS,
149+
% SMOOTHER_LINELET)
150+
LINEAR_SOLVER= FGMRES
151+
%
152+
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
153+
LINEAR_SOLVER_PREC= ILU
154+
%
155+
% Linael solver ILU preconditioner fill-in level (0 by default)
156+
LINEAR_SOLVER_ILU_FILL_IN= 0
157+
%
158+
% Minimum error of the linear solver for implicit formulations
159+
LINEAR_SOLVER_ERROR= 0.01
160+
%
161+
% Max number of iterations of the linear solver for the implicit formulation
162+
LINEAR_SOLVER_ITER= 10
163+
164+
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
165+
%
166+
% Multi-grid levels (0 = no multi-grid)
167+
MGLEVEL= 0
168+
%
169+
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
170+
MGCYCLE= V_CYCLE
171+
%
172+
% Multi-grid pre-smoothing level
173+
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
174+
%
175+
% Multi-grid post-smoothing level
176+
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
177+
%
178+
% Jacobi implicit smoothing of the correction
179+
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
180+
%
181+
% Damping factor for the residual restriction
182+
MG_DAMP_RESTRICTION= 0.75
183+
%
184+
% Damping factor for the correction prolongation
185+
MG_DAMP_PROLONGATION= 0.75
186+
187+
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
188+
%
189+
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, AUSMPLUSUP, AUSMPLUSUP2, HLLC,
190+
% TURKEL_PREC, MSW, FDS)
191+
CONV_NUM_METHOD_FLOW= ROE
192+
%
193+
% Entropy fix coefficient (0.0 implies no entropy fixing, 1.0 implies scalar
194+
% artificial dissipation)
195+
ENTROPY_FIX_COEFF= 0.1
196+
%
197+
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
198+
TIME_DISCRE_FLOW= EULER_IMPLICIT
199+
%
200+
201+
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
202+
%
203+
% Convective numerical method (SCALAR_UPWIND)
204+
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
205+
%
206+
% Time discretization (EULER_IMPLICIT)
207+
TIME_DISCRE_TURB= EULER_IMPLICIT
208+
%
209+
% Reduction factor of the CFL coefficient in the turbulence problem
210+
CFL_REDUCTION_TURB= 1.0
211+
212+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
213+
%
214+
% Number of total iterations
215+
ITER= 1000
216+
%
217+
% Convergence criteria (CAUCHY, RESIDUAL)
218+
CONV_CRITERIA= RESIDUAL
219+
%
220+
% Min value of the residual (log10 of the residual)
221+
CONV_RESIDUAL_MINVAL= -12
222+
%
223+
% Start convergence criteria at iteration number
224+
CONV_STARTITER= 10
225+
226+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
227+
%
228+
% Mesh input file
229+
MESH_FILENAME= nozzle.su2
230+
%
231+
% Mesh input file format (SU2, CGNS)
232+
MESH_FORMAT= SU2
233+
%
234+
% Mesh output file
235+
MESH_OUT_FILENAME= mesh_out.su2
236+
%
237+
% Restart flow input file
238+
SOLUTION_FILENAME= solution_flow.dat
239+
%
240+
% Output file convergence history (w/o extension)
241+
CONV_FILENAME= history
242+
%
243+
% Output file restart flow
244+
RESTART_FILENAME= restart_flow.dat
245+
%
246+
% Output file flow (w/o extension) variables
247+
VOLUME_FILENAME= flow
248+
%
249+
% Output file surface flow coefficient (w/o extension)
250+
SURFACE_FILENAME= surface_flow
251+
%
252+
% Writing solution file frequency
253+
OUTPUT_WRT_FREQ= 1000
254+
%
255+
% Screen output
256+
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_ENERGY, RMS_TKE, RMS_DISSIPATION)

TestCases/hybrid_regression.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,18 @@ def main():
210210
propeller.test_vals = [-3.389576, -8.409529, 0.000048, 0.056329]
211211
test_list.append(propeller)
212212

213+
#######################################
214+
### Axisymmetric Compressible RANS ###
215+
#######################################
216+
217+
# Axisymmetric air nozzle (transonic)
218+
axi_rans_air_nozzle = TestCase('axi_rans_air_nozzle')
219+
axi_rans_air_nozzle.cfg_dir = "axisymmetric_rans/air_nozzle"
220+
axi_rans_air_nozzle.cfg_file = "air_nozzle.cfg"
221+
axi_rans_air_nozzle.test_iter = 10
222+
axi_rans_air_nozzle.test_vals = [-12.094937, -6.622043, -8.814412, -2.393288]
223+
test_list.append(axi_rans_air_nozzle)
224+
213225
#################################
214226
## Compressible RANS Restart ###
215227
#################################

TestCases/parallel_regression.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,21 @@ def main():
347347
propeller.tol = 0.00001
348348
test_list.append(propeller)
349349

350+
#######################################
351+
### Axisymmetric Compressible RANS ###
352+
#######################################
353+
354+
# Axisymmetric air nozzle (transonic)
355+
axi_rans_air_nozzle = TestCase('axi_rans_air_nozzle')
356+
axi_rans_air_nozzle.cfg_dir = "axisymmetric_rans/air_nozzle"
357+
axi_rans_air_nozzle.cfg_file = "air_nozzle.cfg"
358+
axi_rans_air_nozzle.test_iter = 10
359+
axi_rans_air_nozzle.test_vals = [ -12.096569, -6.625843, -8.807541, -2.393279]
360+
axi_rans_air_nozzle.su2_exec = "mpirun -n 2 SU2_CFD"
361+
axi_rans_air_nozzle.timeout = 1600
362+
axi_rans_air_nozzle.tol = 0.0001
363+
test_list.append(axi_rans_air_nozzle)
364+
350365
#################################
351366
## Compressible RANS Restart ###
352367
#################################

TestCases/serial_regression.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,21 @@ def main():
375375
propeller.tol = 0.00001
376376
test_list.append(propeller)
377377

378+
#######################################
379+
### Axisymmetric Compressible RANS ###
380+
#######################################
381+
382+
# Axisymmetric air nozzle (transonic)
383+
axi_rans_air_nozzle = TestCase('axi_rans_air_nozzle')
384+
axi_rans_air_nozzle.cfg_dir = "axisymmetric_rans/air_nozzle"
385+
axi_rans_air_nozzle.cfg_file = "air_nozzle.cfg"
386+
axi_rans_air_nozzle.test_iter = 10
387+
axi_rans_air_nozzle.test_vals = [ -12.093130, -6.619801, -8.806060, -2.393278]
388+
axi_rans_air_nozzle.su2_exec = "SU2_CFD"
389+
axi_rans_air_nozzle.timeout = 1600
390+
axi_rans_air_nozzle.tol = 0.0001
391+
test_list.append(axi_rans_air_nozzle)
392+
378393
#################################
379394
## Compressible RANS Restart ###
380395
#################################

0 commit comments

Comments
 (0)