Skip to content

Commit 3f45ca0

Browse files
committed
Change unsteady CHT Testcase options.
1 parent 7b4df74 commit 3f45ca0

File tree

5 files changed

+72
-403
lines changed

5 files changed

+72
-403
lines changed
Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,50 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% %
33
% SU2 configuration file %
4-
% Case description: 2D cylinder array with CHT couplings %
4+
% Case description: 2D transient cylinder array with CHT couplings %
55
% Author: O. Burghardt, T. Economon %
66
% Institution: Chair for Scientific Computing, TU Kaiserslautern %
7-
% Date: August 8, 2019 %
8-
% File Version 6.0.1 "Falcon" %
7+
% Date: March 18, 2021 %
8+
% File Version 7.1.1 "Blackbird" %
99
% %
1010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11-
1211
%
13-
% Physical governing equations (EULER, NAVIER_STOKES,
14-
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
15-
% POISSON_EQUATION)
1612
SOLVER= MULTIPHYSICS
1713
%
18-
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT, DISCRETE_ADJOINT)
19-
MATH_PROBLEM= DIRECT
20-
%
21-
%
2214
CONFIG_LIST = (flow_cylinder.cfg, solid_cylinder1.cfg, solid_cylinder2.cfg, solid_cylinder3.cfg)
2315
%
24-
%
2516
MARKER_ZONE_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
26-
%
27-
%
2817
MARKER_CHT_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
2918
%
30-
%
3119
TIME_DOMAIN = YES
32-
%
33-
%
3420
TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER
35-
%
36-
%
3721
TIME_STEP= 0.05
38-
%
39-
%
4022
MAX_TIME= 100.0
41-
%
42-
%
4323
TIME_ITER= 2000
4424
%
45-
% Number of total iterations
25+
% Number of total outer iterations
4626
OUTER_ITER = 100
4727
%
48-
% Courant-Friedrichs-Lewy condition of the finest grid
28+
% Courant-Friedrichs-Lewy condition
4929
CFL_NUMBER= 100.0
5030
%
51-
% Mesh input file
52-
MESH_FILENAME= mesh_cht_3cyl.su2
31+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
5332
%
54-
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
55-
MESH_FORMAT= SU2
33+
MESH_FILENAME= mesh_cht_3cyl.su2
5634
%
35+
SCREEN_OUTPUT= ( TIME_ITER, OUTR_ITER, \
36+
BGS_PRESSURE[0], BGS_TEMPERATURE[0], BGS_TEMPERATURE[1], BGS_TEMPERATURE[2], BGS_TEMPERATURE[3], \
37+
DRAG[0], SURFACE_STATIC_TEMPERATURE[0], AVG_TEMPERATURE[1], TOTAL_HEATFLUX[1] )
38+
SCREEN_WRT_FREQ_OUTER= 25
5739
%
5840
HISTORY_OUTPUT= (ITER, BGS_RES[0], BGS_RES[1], BGS_RES[2], BGS_RES[3], HEAT[0], AERO_COEFF[0])
5941
%
60-
%
6142
OUTPUT_FILES=(RESTART, PARAVIEW_MULTIBLOCK)
43+
%
44+
RESTART_SOL= NO
45+
READ_BINARY_RESTART= YES
46+
SOLUTION_FILENAME= solution
47+
RESTART_FILENAME= solution
48+
%
49+
VOLUME_FILENAME= flow
50+
Lines changed: 14 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% %
33
% SU2 configuration file %
4-
% Case description: Steady incompressible laminar flow around heated cylinders %
4+
% Case description: Transient incomp laminar flow around heated cylinders %
55
% %
66
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7-
7+
%
88
% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------%
99
%
1010
% Physical governing equations (EULER, NAVIER_STOKES,
@@ -15,40 +15,11 @@ SOLVER= INC_NAVIER_STOKES
1515
% If Navier-Stokes, kind of turbulent model (NONE, SA)
1616
KIND_TURB_MODEL= NONE
1717
%
18-
% Restart solution (NO, YES)
19-
RESTART_SOL= NO
20-
%
21-
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
22-
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
23-
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
24-
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
25-
% TORQUE, TOTAL_HEATFLUX,
26-
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
27-
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
28-
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
29-
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
30-
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
31-
%
32-
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
33-
OBJECTIVE_WEIGHT = 1.0
34-
%
35-
% Read binary restart files (YES, NO)
36-
READ_BINARY_RESTART = YES
37-
%
38-
% Data written to history file
39-
HISTORY_OUTPUT=(ITER, RMS_RES, HEAT)
40-
4118
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
4219
%
4320
% Farfield boundary marker(s) (NONE = no marker)
4421
MARKER_FAR= ( farfield )
4522
%
46-
% Marker(s) of the surface to be plotted or designed
47-
MARKER_PLOTTING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
48-
%
49-
% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated
50-
MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
51-
5223
% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------%
5324
%
5425
% Density model within the incompressible flow solver.
@@ -74,7 +45,7 @@ INC_TEMPERATURE_INIT= 288.15
7445
% INITIAL_VALUES (default), REFERENCE_VALUES, or DIMENSIONAL.
7546
% INC_*_REF values are ignored unless REFERENCE_VALUES is chosen.
7647
INC_NONDIM= DIMENSIONAL
77-
48+
%
7849
% ---- IDEAL GAS, POLYTROPIC, VAN DER WAALS AND PENG ROBINSON CONSTANTS -------%
7950
%
8051
% Fluid model (STANDARD_AIR, IDEAL_GAS, VW_GAS, PR_GAS,
@@ -88,7 +59,7 @@ SPECIFIC_HEAT_CP= 1004.703
8859
% Molecular weight for an incompressible ideal gas (28.96 g/mol (air) default)
8960
% Incompressible fluids with energy eqn. only (CONSTANT_DENSITY, INC_IDEAL_GAS).
9061
MOLECULAR_WEIGHT= 28.96
91-
62+
%
9263
% --------------------------- VISCOSITY MODEL ---------------------------------%
9364
%
9465
% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY).
@@ -119,12 +90,12 @@ PRANDTL_LAM= 0.72
11990
%
12091
% Turbulent Prandtl number (0.9 (air), only for CONSTANT_PRANDTL)
12192
PRANDTL_TURB= 0.90
122-
93+
%
12394
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
12495
%
12596
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
12697
NUM_METHOD_GRAD= GREEN_GAUSS
127-
98+
%
12899
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
129100
%
130101
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
@@ -142,8 +113,8 @@ LINEAR_SOLVER_ILU_FILL_IN= 0
142113
LINEAR_SOLVER_ERROR= 1E-15
143114
%
144115
% Max number of iterations of the linear solver for the implicit formulation
145-
LINEAR_SOLVER_ITER= 5
146-
116+
LINEAR_SOLVER_ITER= 20
117+
%
147118
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
148119
%
149120
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
@@ -160,7 +131,7 @@ SLOPE_LIMITER_FLOW= NONE
160131
%
161132
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
162133
TIME_DISCRE_FLOW= EULER_IMPLICIT
163-
134+
%
164135
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
165136
%
166137
% Min value of the residual (log10 of the residual)
@@ -174,64 +145,12 @@ CONV_CAUCHY_ELEMS= 100
174145
%
175146
% Epsilon to control the series convergence
176147
CONV_CAUCHY_EPS= 1E-6
177-
178-
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
179-
%
180-
% Restart flow input file
181-
SOLUTION_FILENAME= solution_flow.dat
182-
%
183-
% Restart adjoint input file
184-
SOLUTION_ADJ_FILENAME= solution_adj.dat
185-
%
186-
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
187-
% FIELDVIEW, FIELDVIEW_BINARY)
188-
TABULAR_FORMAT= TECPLOT
189-
%
190-
% Output file convergence history (w/o extension)
191-
CONV_FILENAME= history
192-
%
193-
% Output file with the forces breakdown
194-
BREAKDOWN_FILENAME= forces_breakdown.dat
195-
%
196-
% Output file restart flow
197-
RESTART_FILENAME= restart_flow.dat
198-
%
199-
% Output file restart adjoint
200-
RESTART_ADJ_FILENAME= restart_adj.dat
201-
%
202-
% Output file flow (w/o extension) variables
203-
VOLUME_FILENAME= flow
204-
%
205-
% Output file adjoint (w/o extension) variables
206-
VOLUME_ADJ_FILENAME= adjoint
207148
%
208-
% Output Objective function
209-
VALUE_OBJFUNC_FILENAME= of_eval.dat
210-
%
211-
% Output objective function gradient (using continuous adjoint)
212-
GRAD_OBJFUNC_FILENAME= of_grad.dat
213-
%
214-
% Output file surface flow coefficient (w/o extension)
215-
SURFACE_FILENAME= surface_flow
216-
%
217-
% Output file surface adjoint coefficient (w/o extension)
218-
SURFACE_ADJ_FILENAME= surface_adjoint
219-
%
220-
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
221-
%
222-
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
223-
DEFORM_LINEAR_SOLVER= FGMRES
224-
%
225-
% Number of smoothing iterations for mesh deformation
226-
DEFORM_LINEAR_SOLVER_ITER= 200
227-
%
228-
% Number of nonlinear deformation iterations (surface deformation increments)
229-
DEFORM_NONLINEAR_ITER= 1
149+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
230150
%
231-
% Print the residuals during mesh deformation to the console (YES, NO)
232-
DEFORM_CONSOLE_OUTPUT= YES
151+
MARKER_PLOTTING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
233152
%
234-
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
235-
% WALL_DISTANCE, CONSTANT_STIFFNESS)
236-
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
153+
MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
237154
%
155+
MARKER_ANALYZE= (cylinder_outer1, cylinder_outer2, cylinder_outer3)
156+

0 commit comments

Comments
 (0)