Skip to content

Commit 265bc4f

Browse files
authored
Merge pull request #1578 from su2code/clean_airnozzle_cfg
Clean air-nozzle cfg
2 parents 4934e14 + ee3b37a commit 265bc4f

1 file changed

Lines changed: 16 additions & 119 deletions

File tree

TestCases/axisymmetric_rans/air_nozzle/air_nozzle.cfg

Lines changed: 16 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -7,202 +7,99 @@
77
% File Version 7.3.0 "Blackbird" %
88
% %
99
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10-
10+
%
1111
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------%
1212
%
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)
1713
SOLVER= RANS
18-
%
19-
% Specify turbulence model (NONE, SA, SA_NEG, SST, SA_E, SA_COMP, SA_E_COMP)
2014
KIND_TURB_MODEL= SST
21-
%
22-
% Restart solution (NO, YES)
2315
RESTART_SOL= YES
2416
%
25-
% System of measurements (SI, US)
26-
% International system of units (SI): ( meters, kilograms, Kelvins,
27-
% Newtons = kg m/s^2, Pascals = N/m^2,
28-
% Density = kg/m^3, Speed = m/s,
29-
% Equiv. Area = m^2 )
30-
% United States customary units (US): ( inches, slug, Rankines, lbf = slug ft/s^2,
31-
% psf = lbf/ft^2, Density = slug/ft^3,
32-
% Speed = ft/s, Equiv. Area = ft^2 )
33-
SYSTEM_MEASUREMENTS= SI
34-
%
3517
AXISYMMETRIC= YES
3618
%
3719
% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------%
3820
%
39-
% Mach number (non-dimensional, based on the free-stream values)
4021
MACH_NUMBER= 1E-9
4122
%
42-
% Angle of attack (degrees, only for compressible flows)
43-
AOA= 0.0
44-
%
45-
% Side-slip angle (degrees, only for compressible flows)
46-
SIDESLIP_ANGLE= 0.0
47-
%
48-
% Init option to choose between Reynolds (default) or thermodynamics quantities
49-
% for initializing the solution (REYNOLDS, TD_CONDITIONS)
5023
INIT_OPTION= TD_CONDITIONS
5124
%
52-
% Free-stream option to choose between density and temperature (default) for
53-
% initializing the solution (TEMPERATURE_FS, DENSITY_FS)
5425
FREESTREAM_OPTION= TEMPERATURE_FS
55-
%
56-
% Free-stream pressure (101325.0 N/m^2, 2116.216 psf by default)
5726
FREESTREAM_PRESSURE= 1400000
58-
%
59-
% Free-stream temperature (288.15 K, 518.67 R by default)
6027
FREESTREAM_TEMPERATURE= 373.15
6128
%
62-
% Compressible flow non-dimensionalization (DIMENSIONAL, FREESTREAM_PRESS_EQ_ONE,
63-
% FREESTREAM_VEL_EQ_MACH, FREESTREAM_VEL_EQ_ONE)
6429
REF_DIMENSIONALIZATION= DIMENSIONAL
65-
30+
%
6631
% ---- IDEAL GAS, POLYTROPIC, VAN DER WAALS AND PENG ROBINSON CONSTANTS -------%
6732
%
68-
% Fluid model (STANDARD_AIR, IDEAL_GAS, VW_GAS, PR_GAS,
69-
% CONSTANT_DENSITY, INC_IDEAL_GAS, INC_IDEAL_GAS_POLY)
7033
FLUID_MODEL= STANDARD_AIR
71-
34+
%
7235
% --------------------------- VISCOSITY MODEL ---------------------------------%
7336
%
74-
% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY, POLYNOMIAL_VISCOSITY).
7537
VISCOSITY_MODEL= CONSTANT_VISCOSITY
38+
MU_CONSTANT= 1.716E-5
7639
%
77-
% Molecular Viscosity that would be constant (1.716E-5 by default)
78-
MU_CONSTANT= 1.716E-5
79-
8040
% --------------------------- THERMAL CONDUCTIVITY MODEL ----------------------%
8141
%
82-
% Laminar Conductivity model (CONSTANT_CONDUCTIVITY, CONSTANT_PRANDTL,
83-
% POLYNOMIAL_CONDUCTIVITY).
8442
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL
85-
%
86-
% Laminar Prandtl number (0.72 (air), only for CONSTANT_PRANDTL)
8743
PRANDTL_LAM= 0.72
88-
%
89-
% Turbulent Prandtl number (0.9 (air) by default)
9044
PRANDTL_TURB= 0.90
91-
45+
%
9246
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
9347
%
94-
% Navier-Stokes (no-slip), constant heat flux wall marker(s) (NONE = no marker)
95-
% Format: ( marker name, constant heat flux (J/m^2), ... )
9648
MARKER_HEATFLUX= ( WALL, 0.0 )
97-
%
98-
% Symmetry boundary marker(s) (NONE = no marker)
9949
MARKER_SYM= ( SYMMETRY )
50+
MARKER_RIEMANN= ( INFLOW, TOTAL_CONDITIONS_PT, 1400000.0, 373.15, 1.0, 0.0, 0.0, \
51+
OUTFLOW, STATIC_PRESSURE, 100000.0, 0.0, 0.0, 0.0, 0.0 )
10052
%
101-
% Riemann boundary marker(s) (NONE = no marker)
102-
% Format: (marker, data kind flag, list of data)
103-
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 )
104-
10553
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
10654
%
107-
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
10855
NUM_METHOD_GRAD= GREEN_GAUSS
10956
%
110-
% CFL number (initial value for the adaptive CFL number)
11157
CFL_NUMBER= 1000.0
112-
%
113-
% Adaptive CFL number (NO, YES)
11458
CFL_ADAPT= NO
115-
%
116-
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
117-
% CFL max value )
118-
CFL_ADAPT_PARAM= ( 0.1, 2.0, 10.0, 1000.0 )
119-
%
120-
% Maximum Delta Time in local time stepping simulations
12159
MAX_DELTA_TIME= 1E6
122-
60+
%
12361
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
12462
%
125-
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
126-
% Required for 2nd order upwind schemes (NO, YES)
12763
MUSCL_FLOW= YES
128-
%
129-
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
130-
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
13164
SLOPE_LIMITER_FLOW= NONE
132-
65+
%
13366
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
13467
%
135-
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
136-
% SMOOTHER_ILU, SMOOTHER_LUSGS,
137-
% SMOOTHER_LINELET)
13868
LINEAR_SOLVER= FGMRES
139-
%
140-
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
14169
LINEAR_SOLVER_PREC= ILU
142-
%
143-
% Linear solver ILU preconditioner fill-in level (0 by default)
14470
LINEAR_SOLVER_ILU_FILL_IN= 0
145-
%
146-
% Minimum error of the linear solver for implicit formulations
14771
LINEAR_SOLVER_ERROR= 0.01
148-
%
149-
% Max number of iterations of the linear solver for the implicit formulation
15072
LINEAR_SOLVER_ITER= 10
151-
73+
%
15274
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
15375
%
154-
% Multi-grid levels (0 = no multi-grid)
15576
MGLEVEL= 0
156-
77+
%
15778
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
15879
%
159-
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, AUSMPLUSUP, AUSMPLUSUP2, HLLC,
160-
% TURKEL_PREC, MSW, FDS)
16180
CONV_NUM_METHOD_FLOW= ROE
162-
%
163-
% Entropy fix coefficient (0.0 implies no entropy fixing, 1.0 implies scalar
164-
% artificial dissipation)
16581
ENTROPY_FIX_COEFF= 0.1
166-
%
167-
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
16882
TIME_DISCRE_FLOW= EULER_IMPLICIT
16983
%
170-
17184
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
17285
%
173-
% Convective numerical method (SCALAR_UPWIND)
17486
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
175-
%
176-
% Time discretization (EULER_IMPLICIT)
17787
TIME_DISCRE_TURB= EULER_IMPLICIT
178-
%
179-
% Reduction factor of the CFL coefficient in the turbulence problem
18088
CFL_REDUCTION_TURB= 1.0
181-
89+
%
18290
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
18391
%
184-
% Number of total iterations
18592
ITER= 1000
186-
%
187-
% Min value of the residual (log10 of the residual)
18893
CONV_RESIDUAL_MINVAL= -12
189-
%
190-
% Start convergence criteria at iteration number
19194
CONV_STARTITER= 10
192-
95+
%
19396
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
19497
%
195-
% Mesh input file
19698
MESH_FILENAME= nozzle.su2
19799
%
198-
% Mesh input file format (SU2, CGNS)
199-
MESH_FORMAT= SU2
200-
%
201-
% Restart flow input file
202100
SOLUTION_FILENAME= solution_flow.dat
203-
%
204-
% Writing solution file frequency
205101
OUTPUT_WRT_FREQ= 1000
206102
%
207-
% Screen output
208-
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_ENERGY, RMS_TKE, RMS_DISSIPATION, RMS_ADJ_DENSITY, RMS_ADJ_ENERGY, RMS_ADJ_TKE, RMS_ADJ_DISSIPATION)
103+
% Note: This cfg is used for a primal and adjoint Testcase, therefore both residuals are present here.
104+
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_ENERGY, RMS_TKE, RMS_DISSIPATION, \
105+
RMS_ADJ_DENSITY, RMS_ADJ_ENERGY, RMS_ADJ_TKE, RMS_ADJ_DISSIPATION)

0 commit comments

Comments
 (0)