Skip to content

Commit 93c742f

Browse files
authoredJul 31, 2021
Merge pull request #16 from su2code/feature_heatcoeff_BC
Feature heatcoeff bc
2 parents 07419e5 + f4536d6 commit 93c742f

File tree

11 files changed

+295
-167
lines changed

11 files changed

+295
-167
lines changed
 

‎compressible_flow/NICFD_nozzle/NICFD_nozzle.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ MU_CONSTANT= 1.21409E-05
104104
CONDUCTIVITY_MODEL= CONSTANT_CONDUCTIVITY
105105
%
106106
% Molecular Thermal Conductivity that would be constant (0.0257 by default)
107-
KT_CONSTANT= 0.030542828
107+
THERMAL_CONDUCTIVITY_CONSTANT= 0.030542828
108108

109109
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
110110
%

‎incompressible_flow/Inc_Laminar_Cavity/lam_buoyancy_cavity.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ MU_CONSTANT= 1.716e-5
7777
CONDUCTIVITY_MODEL= CONSTANT_CONDUCTIVITY
7878
%
7979
% Molecular Thermal Conductivity that would be constant (0.0257 by default)
80-
KT_CONSTANT= 0.0246295028571
80+
THERMAL_CONDUCTIVITY_CONSTANT= 0.0246295028571
8181

8282
% ----------------------- BODY FORCE DEFINITION -------------------------------%
8383
%

‎multiphysics/steady_cht/cht_2d_3cylinders.cfg

+16-50
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
% Author: O. Burghardt, T. Economon %
66
% Institution: Chair for Scientific Computing, TU Kaiserslautern %
77
% Date: August 8, 2019 %
8-
% File Version 6.0.1 "Falcon" %
8+
% File Version 7.1.1 "Blackbird" %
99
% %
1010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11-
1211
%
1312
% Physical governing equations (EULER, NAVIER_STOKES,
1413
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
@@ -18,67 +17,34 @@ SOLVER= MULTIPHYSICS
1817
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT, DISCRETE_ADJOINT)
1918
MATH_PROBLEM= DIRECT
2019
%
21-
% Restart solution (NO, YES)
22-
RESTART_SOL= NO
2320
%
24-
% Configuration file list, one for each physical zone
25-
CONFIG_LIST= (flow_cylinder.cfg, solid_cylinder1.cfg, solid_cylinder2.cfg, solid_cylinder3.cfg)
21+
CONFIG_LIST = (flow_cylinder.cfg, solid_cylinder1.cfg, solid_cylinder2.cfg, solid_cylinder3.cfg)
22+
%
2623
%
27-
% Definition of the interface
2824
MARKER_ZONE_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
25+
%
26+
%
2927
MARKER_CHT_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
3028
%
31-
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
32-
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
33-
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
34-
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
35-
% TORQUE, TOTAL_HEATFLUX,
36-
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
37-
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
38-
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
39-
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
40-
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
4129
%
42-
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
43-
OBJECTIVE_WEIGHT= 1.0
30+
CHT_COUPLING_METHOD= DIRECT_TEMPERATURE_ROBIN_HEATFLUX
31+
%
32+
%
33+
TIME_DOMAIN = NO
4434
%
45-
% Number of total iterations
46-
OUTER_ITER = 15000
47-
OUTPUT_WRT_FREQ = 15000
35+
% Number of total iterations (15000 for suitable results)
36+
OUTER_ITER = 11
4837
%
4938
% Mesh input file
5039
MESH_FILENAME= mesh_cht_3cyl_ffd.su2
51-
MESH_OUT_FILENAME= mesh_cht_3cyl_out.su2
5240
%
5341
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
5442
MESH_FORMAT= SU2
5543
%
5644
% Output file format
57-
OUTPUT_FILES= (RESTART, TECPLOT, PARAVIEW, SURFACE_TECPLOT, SURFACE_PARAVIEW)
58-
%
59-
% Multizone convergence criteria
60-
CONV_RESIDUAL_MINVAL= -20
61-
62-
% -------------------- FREE-FORM DEFORMATION PARAMETERS -----------------------%
63-
%
64-
% Tolerance of the Free-Form Deformation point inversion
65-
FFD_TOLERANCE= 1E-12
66-
%
67-
% Maximum number of iterations in the Free-Form Deformation point inversion
68-
FFD_ITERATIONS= 500
69-
%
70-
% FFD box definition: 3D case (FFD_BoxTag, X1, Y1, Z1, X2, Y2, Z2, X3, Y3, Z3, X4, Y4, Z4,
71-
% X5, Y5, Z5, X6, Y6, Z6, X7, Y7, Z7, X8, Y8, Z8)
72-
% 2D case (FFD_BoxTag, X1, Y1, 0.0, X2, Y2, 0.0, X3, Y3, 0.0, X4, Y4, 0.0,
73-
% 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
74-
FFD_DEFINITION= (MAIN_BOX, -0.1, -0.6, 0.0, 1.1, -0.6, 0.0, 1.1, 0.6, 0.0, -0.1, 0.6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
75-
%
76-
% FFD box degree: 3D case (x_degree, y_degree, z_degree)
77-
% 2D case (x_degree, y_degree, 0)
78-
FFD_DEGREE= ( 24, 1, 0)
45+
OUTPUT_FILES= (RESTART, PARAVIEW_MULTIBLOCK)
7946
%
80-
% Surface continuity at the intersection with the FFD (1ST_DERIVATIVE, 2ND_DERIVATIVE)
81-
FFD_CONTINUITY= 2ND_DERIVATIVE
47+
% These are just default parameters so that we can run SU2_DOT_AD, they have no physical meaning for this test case.
8248

8349
% ----------------------- DESIGN VARIABLE PARAMETERS --------------------------%
8450
%
@@ -87,10 +53,10 @@ FFD_CONTINUITY= 2ND_DERIVATIVE
8753
% FFD_CONTROL_POINT, FFD_CAMBER, FFD_THICKNESS, FFD_TWIST
8854
% FFD_CONTROL_POINT_2D, FFD_CAMBER_2D, FFD_THICKNESS_2D, FFD_TWIST_2D,
8955
% HICKS_HENNE, SURFACE_BUMP)
90-
DV_KIND= FFD_CONTROL_POINT_2D
56+
DV_KIND= HICKS_HENNE
9157
%
9258
% Marker of the surface in which we are going apply the shape deformation
93-
DV_MARKER= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
59+
DV_MARKER= ( cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3 )
9460
%
9561
% Parameters of the shape deformation
9662
% - NO_DEFORMATION ( 1.0 )
@@ -112,7 +78,7 @@ DV_MARKER= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2,
11278
% - FFD_TWIST_2D ( FFD_BoxTag, x_Orig, y_Orig )
11379
% - HICKS_HENNE ( Lower Surface (0)/Upper Surface (1)/Only one Surface (2), x_Loc )
11480
% - SURFACE_BUMP ( x_Start, x_End, x_Loc )
115-
DV_PARAM= ( MAIN_BOX, 12, 1, 0.0, 1.0 )
81+
DV_PARAM= (0.0, 0.5)
11682
%
11783
% Value of the shape deformation
11884
DV_VALUE= 0.1

‎multiphysics/steady_cht/flow_cylinder.cfg

+59-42
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,28 @@ SOLVER= INC_NAVIER_STOKES
1515
% If Navier-Stokes, kind of turbulent model (NONE, SA)
1616
KIND_TURB_MODEL= NONE
1717
%
18-
% Data written to history file
19-
WRT_ZONE_HIST= YES
20-
HISTORY_OUTPUT= (ITER, RMS_RES, HEAT)
21-
%
22-
% Number of inner iteration
23-
INNER_ITER=1
24-
25-
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
26-
%
27-
% Min value of the residual (log10 of the residual)
28-
CONV_RESIDUAL_MINVAL= -20
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
2937
%
30-
% Start convergence criteria at iteration number
31-
CONV_STARTITER= 0
38+
% Data written to history file
39+
HISTORY_OUTPUT=(ITER, RMS_RES, HEAT )
3240

3341
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
3442
%
@@ -52,7 +60,7 @@ INC_DENSITY_MODEL= VARIABLE
5260
INC_ENERGY_EQUATION = YES
5361
%
5462
% Initial density for incompressible flows (1.2886 kg/m^3 by default)
55-
INC_DENSITY_INIT= 0.00042
63+
INC_DENSITY_INIT= 0.000210322
5664
%
5765
% Initial velocity for incompressible flows (1.0,0,0 m/s by default)
5866
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
@@ -104,7 +112,7 @@ SUTHERLAND_CONSTANT= 110.4
104112
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL
105113
%
106114
% Molecular Thermal Conductivity that would be constant (0.0257 by default)
107-
KT_CONSTANT= 0.0257
115+
THERMAL_CONDUCTIVITY_CONSTANT= 0.0257
108116
%
109117
% Laminar Prandtl number (0.72 (air), only for CONSTANT_PRANDTL)
110118
PRANDTL_LAM= 0.72
@@ -118,7 +126,7 @@ PRANDTL_TURB= 0.90
118126
NUM_METHOD_GRAD= GREEN_GAUSS
119127
%
120128
% Courant-Friedrichs-Lewy condition of the finest grid
121-
CFL_NUMBER= 50.0
129+
CFL_NUMBER= 10.0
122130
%
123131
% Adaptive CFL number (NO, YES)
124132
CFL_ADAPT= NO
@@ -140,14 +148,14 @@ LINEAR_SOLVER= FGMRES
140148
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
141149
LINEAR_SOLVER_PREC= ILU
142150
%
143-
% Linael solver ILU preconditioner fill-in level (0 by default)
151+
% Linear solver ILU preconditioner fill-in level (0 by default)
144152
LINEAR_SOLVER_ILU_FILL_IN= 0
145153
%
146154
% Minimum error of the linear solver for implicit formulations
147155
LINEAR_SOLVER_ERROR= 1E-15
148156
%
149157
% Max number of iterations of the linear solver for the implicit formulation
150-
LINEAR_SOLVER_ITER= 10
158+
LINEAR_SOLVER_ITER= 5
151159

152160
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
153161
%
@@ -166,34 +174,19 @@ SLOPE_LIMITER_FLOW= NONE
166174
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
167175
TIME_DISCRE_FLOW= EULER_IMPLICIT
168176

169-
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
170-
%
171-
% Coefficient for the Venkat's limiter (upwind scheme). A larger values decrease
172-
% the extent of limiting, values approaching zero cause
173-
% lower-order approximation to the solution (0.05 by default)
174-
VENKAT_LIMITER_COEFF= 0.05
175-
%
176-
% Coefficient for the adjoint sharp edges limiter (3.0 by default).
177-
ADJ_SHARP_LIMITER_COEFF= 3.0
178-
%
179-
% Freeze the value of the limiter after a number of iterations
180-
LIMITER_ITER= 999999
177+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
181178
%
182-
% 1st order artificial dissipation coefficients for
183-
% the Lax–Friedrichs method ( 0.15 by default )
184-
LAX_SENSOR_COEFF= 0.15
179+
% Min value of the residual (log10 of the residual)
180+
CONV_RESIDUAL_MINVAL= -19
185181
%
186-
% 2nd and 4th order artificial dissipation coefficients for
187-
% the JST method ( 0.5, 0.02 by default )
188-
JST_SENSOR_COEFF= ( 0.5, 0.05 )
182+
% Start convergence criteria at iteration number
183+
CONV_STARTITER= 10
189184
%
190-
% 1st order artificial dissipation coefficients for
191-
% the adjoint Lax–Friedrichs method ( 0.15 by default )
192-
ADJ_LAX_SENSOR_COEFF= 0.15
185+
% Number of elements to apply the criteria
186+
CONV_CAUCHY_ELEMS= 100
193187
%
194-
% 2nd, and 4th order artificial dissipation coefficients for
195-
% the adjoint JST method ( 0.5, 0.02 by default )
196-
ADJ_JST_SENSOR_COEFF= ( 0.5, 0.02 )
188+
% Epsilon to control the series convergence
189+
CONV_CAUCHY_EPS= 1E-6
197190

198191
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
199192
%
@@ -203,6 +196,10 @@ SOLUTION_FILENAME= solution_flow.dat
203196
% Restart adjoint input file
204197
SOLUTION_ADJ_FILENAME= solution_adj.dat
205198
%
199+
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
200+
% FIELDVIEW, FIELDVIEW_BINARY)
201+
TABULAR_FORMAT= TECPLOT
202+
%
206203
% Output file convergence history (w/o extension)
207204
CONV_FILENAME= history
208205
%
@@ -232,3 +229,23 @@ SURFACE_FILENAME= surface_flow
232229
%
233230
% Output file surface adjoint coefficient (w/o extension)
234231
SURFACE_ADJ_FILENAME= surface_adjoint
232+
%
233+
234+
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
235+
%
236+
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
237+
DEFORM_LINEAR_SOLVER= FGMRES
238+
%
239+
% Number of smoothing iterations for mesh deformation
240+
DEFORM_LINEAR_SOLVER_ITER= 200
241+
%
242+
% Number of nonlinear deformation iterations (surface deformation increments)
243+
DEFORM_NONLINEAR_ITER= 1
244+
%
245+
% Print the residuals during mesh deformation to the console (YES, NO)
246+
DEFORM_CONSOLE_OUTPUT= YES
247+
%
248+
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
249+
% WALL_DISTANCE, CONSTANT_STIFFNESS)
250+
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
251+

‎multiphysics/steady_cht/solid_cylinder1.cfg

+63-22
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,32 @@
1212
% POISSON_EQUATION)
1313
SOLVER= HEAT_EQUATION
1414
%
15-
% Data written to history file
16-
WRT_ZONE_HIST= YES
17-
HISTORY_OUTPUT= (ITER, RMS_RES, HEAT)
18-
%
19-
% Number of inner iteration
20-
INNER_ITER=10
21-
22-
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
23-
%
24-
% Min value of the residual (log10 of the residual)
25-
CONV_RESIDUAL_MINVAL= -20
26-
%
27-
% Start convergence criteria at iteration number
28-
CONV_STARTITER= 10
15+
% Restart solution (NO, YES)
16+
RESTART_SOL= NO
17+
%
18+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
19+
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
20+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
21+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
22+
% TORQUE, TOTAL_HEATFLUX,
23+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
24+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
25+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
26+
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
27+
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
28+
%
29+
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
30+
OBJECTIVE_WEIGHT = 1.0
31+
%
32+
% Read binary restart files (YES, NO)
33+
READ_BINARY_RESTART = YES
2934

3035
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
3136
%
3237
MARKER_ISOTHERMAL= ( core1, 350.0 )
3338
%
3439
% Marker(s) of the surface to be plotted or designed
35-
MARKER_PLOTTING= ( cylinder_inner1 )
40+
MARKER_PLOTTING= (cylinder_inner1 )
3641
%
3742
% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated
3843
MARKER_MONITORING= ( NONE )
@@ -43,26 +48,26 @@ MARKER_MONITORING= ( NONE )
4348
INC_NONDIM= DIMENSIONAL
4449
%
4550
% Temperature initialization value
46-
SOLID_TEMPERATURE_INIT= 288.15
51+
FREESTREAM_TEMPERATURE= 350.0
4752
%
4853
% Nettis case: hollow cylinder (air w/ 4x the conductivity)
4954
%
5055
% Solid density (kg/m^3)
51-
SOLID_DENSITY= 0.00042
56+
MATERIAL_DENSITY= 0.000210322
5257
%
5358
% Solid specific heat (J/kg*K)
54-
SPECIFIC_HEAT_CP = 1004.703
59+
SPECIFIC_HEAT_CP= 1004.703
5560
%
5661
% Solid thermal conductivity (W/m*K)
57-
SOLID_THERMAL_CONDUCTIVITY= 0.1
62+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
5863

5964
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
6065
%
6166
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
6267
NUM_METHOD_GRAD= GREEN_GAUSS
6368
%
6469
% Courant-Friedrichs-Lewy condition of the finest grid
65-
CFL_NUMBER= 50.0
70+
CFL_NUMBER= 10.0
6671
%
6772
% Adaptive CFL number (NO, YES)
6873
CFL_ADAPT= NO
@@ -84,7 +89,7 @@ LINEAR_SOLVER= FGMRES
8489
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
8590
LINEAR_SOLVER_PREC= ILU
8691
%
87-
% Linael solver ILU preconditioner fill-in level (0 by default)
92+
% Linear solver ILU preconditioner fill-in level (0 by default)
8893
LINEAR_SOLVER_ILU_FILL_IN= 0
8994
%
9095
% Minimum error of the linear solver for implicit formulations
@@ -95,9 +100,22 @@ LINEAR_SOLVER_ITER= 5
95100

96101
% -------------------- HEAT NUMERICAL METHOD DEFINITION -----------------------%
97102
%
98-
% Time discretization (EULER_IMPLICIT, EULER_EXPLICIT)
99103
TIME_DISCRE_HEAT= EULER_IMPLICIT
100104

105+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
106+
%
107+
% Min value of the residual (log10 of the residual)
108+
CONV_RESIDUAL_MINVAL= -19
109+
%
110+
% Start convergence criteria at iteration number
111+
CONV_STARTITER= 10
112+
%
113+
% Number of elements to apply the criteria
114+
CONV_CAUCHY_ELEMS= 100
115+
%
116+
% Epsilon to control the series convergence
117+
CONV_CAUCHY_EPS= 1E-6
118+
101119
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
102120
%
103121
% Restart flow input file
@@ -106,6 +124,10 @@ SOLUTION_FILENAME= solution_flow.dat
106124
% Restart adjoint input file
107125
SOLUTION_ADJ_FILENAME= solution_adj.dat
108126
%
127+
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
128+
% FIELDVIEW, FIELDVIEW_BINARY)
129+
TABULAR_FORMAT= TECPLOT
130+
%
109131
% Output file convergence history (w/o extension)
110132
CONV_FILENAME= history
111133
%
@@ -136,3 +158,22 @@ SURFACE_FILENAME= surface_flow
136158
% Output file surface adjoint coefficient (w/o extension)
137159
SURFACE_ADJ_FILENAME= surface_adjoint
138160
%
161+
162+
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
163+
%
164+
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
165+
DEFORM_LINEAR_SOLVER= FGMRES
166+
%
167+
% Number of smoothing iterations for mesh deformation
168+
DEFORM_LINEAR_SOLVER_ITER= 200
169+
%
170+
% Number of nonlinear deformation iterations (surface deformation increments)
171+
DEFORM_NONLINEAR_ITER= 1
172+
%
173+
% Print the residuals during mesh deformation to the console (YES, NO)
174+
DEFORM_CONSOLE_OUTPUT= YES
175+
%
176+
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
177+
% WALL_DISTANCE, CONSTANT_STIFFNESS)
178+
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
179+

‎multiphysics/steady_cht/solid_cylinder2.cfg

+73-21
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,32 @@
1212
% POISSON_EQUATION)
1313
SOLVER= HEAT_EQUATION
1414
%
15-
% Data written to history file
16-
WRT_ZONE_HIST= YES
17-
HISTORY_OUTPUT= (ITER, RMS_RES, HEAT)
18-
%
19-
% Number of inner iteration
20-
INNER_ITER=10
21-
22-
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
23-
%
24-
% Min value of the residual (log10 of the residual)
25-
CONV_RESIDUAL_MINVAL= -20
26-
%
27-
% Start convergence criteria at iteration number
28-
CONV_STARTITER= 10
15+
% Restart solution (NO, YES)
16+
RESTART_SOL= NO
17+
%
18+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
19+
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
20+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
21+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
22+
% TORQUE, TOTAL_HEATFLUX,
23+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
24+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
25+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
26+
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
27+
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
28+
%
29+
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
30+
OBJECTIVE_WEIGHT = 1.0
31+
%
32+
% Read binary restart files (YES, NO)
33+
READ_BINARY_RESTART = YES
2934

3035
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
3136
%
3237
MARKER_ISOTHERMAL= ( core2, 350.0 )
3338
%
3439
% Marker(s) of the surface to be plotted or designed
35-
MARKER_PLOTTING= ( cylinder_inner2 )
40+
MARKER_PLOTTING= (cylinder_inner2)
3641
%
3742
% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated
3843
MARKER_MONITORING= ( NONE )
@@ -43,26 +48,26 @@ MARKER_MONITORING= ( NONE )
4348
INC_NONDIM= DIMENSIONAL
4449
%
4550
% Temperature initialization value
46-
SOLID_TEMPERATURE_INIT= 350.0
51+
FREESTREAM_TEMPERATURE= 350.0
4752
%
4853
% Nettis case: hollow cylinder (air w/ 4x the conductivity)
4954
%
5055
% Solid density (kg/m^3)
51-
SOLID_DENSITY= 0.00042
56+
MATERIAL_DENSITY= 0.000210322
5257
%
5358
% Solid specific heat (J/kg*K)
54-
SPECIFIC_HEAT_CP = 1004.703
59+
SPECIFIC_HEAT_CP= 1004.703
5560
%
5661
% Solid thermal conductivity (W/m*K)
57-
SOLID_THERMAL_CONDUCTIVITY= 0.1
62+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
5863

5964
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
6065
%
6166
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
6267
NUM_METHOD_GRAD= GREEN_GAUSS
6368
%
6469
% Courant-Friedrichs-Lewy condition of the finest grid
65-
CFL_NUMBER= 50.0
70+
CFL_NUMBER= 10.0
6671
%
6772
% Adaptive CFL number (NO, YES)
6873
CFL_ADAPT= NO
@@ -73,6 +78,15 @@ CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 10000.0 )
7378
%
7479
% Runge-Kutta alpha coefficients
7580
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
81+
%
82+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
83+
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
84+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
85+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
86+
% TORQUE, TOTAL_HEATFLUX,
87+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
88+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
89+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
7690

7791
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
7892
%
@@ -84,7 +98,7 @@ LINEAR_SOLVER= FGMRES
8498
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
8599
LINEAR_SOLVER_PREC= ILU
86100
%
87-
% Linael solver ILU preconditioner fill-in level (0 by default)
101+
% Linear solver ILU preconditioner fill-in level (0 by default)
88102
LINEAR_SOLVER_ILU_FILL_IN= 0
89103
%
90104
% Minimum error of the linear solver for implicit formulations
@@ -98,6 +112,20 @@ LINEAR_SOLVER_ITER= 5
98112
% Time discretization (EULER_IMPLICIT, EULER_EXPLICIT)
99113
TIME_DISCRE_HEAT= EULER_IMPLICIT
100114

115+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
116+
%
117+
% Min value of the residual (log10 of the residual)
118+
CONV_RESIDUAL_MINVAL= -19
119+
%
120+
% Start convergence criteria at iteration number
121+
CONV_STARTITER= 10
122+
%
123+
% Number of elements to apply the criteria
124+
CONV_CAUCHY_ELEMS= 100
125+
%
126+
% Epsilon to control the series convergence
127+
CONV_CAUCHY_EPS= 1E-6
128+
101129
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
102130
%
103131
% Restart flow input file
@@ -106,6 +134,10 @@ SOLUTION_FILENAME= solution_flow.dat
106134
% Restart adjoint input file
107135
SOLUTION_ADJ_FILENAME= solution_adj.dat
108136
%
137+
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
138+
% FIELDVIEW, FIELDVIEW_BINARY)
139+
TABULAR_FORMAT= TECPLOT
140+
%
109141
% Output file convergence history (w/o extension)
110142
CONV_FILENAME= history
111143
%
@@ -135,3 +167,23 @@ SURFACE_FILENAME= surface_flow
135167
%
136168
% Output file surface adjoint coefficient (w/o extension)
137169
SURFACE_ADJ_FILENAME= surface_adjoint
170+
%
171+
172+
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
173+
%
174+
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
175+
DEFORM_LINEAR_SOLVER= FGMRES
176+
%
177+
% Number of smoothing iterations for mesh deformation
178+
DEFORM_LINEAR_SOLVER_ITER= 200
179+
%
180+
% Number of nonlinear deformation iterations (surface deformation increments)
181+
DEFORM_NONLINEAR_ITER= 1
182+
%
183+
% Print the residuals during mesh deformation to the console (YES, NO)
184+
DEFORM_CONSOLE_OUTPUT= YES
185+
%
186+
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
187+
% WALL_DISTANCE, CONSTANT_STIFFNESS)
188+
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
189+

‎multiphysics/steady_cht/solid_cylinder3.cfg

+72-20
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,25 @@
1212
% POISSON_EQUATION)
1313
SOLVER= HEAT_EQUATION
1414
%
15-
% Data written to history file
16-
WRT_ZONE_HIST= YES
17-
HISTORY_OUTPUT= (ITER, RMS_RES, HEAT)
18-
%
19-
% Number of inner iteration
20-
INNER_ITER=10
21-
22-
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
23-
%
24-
% Min value of the residual (log10 of the residual)
25-
CONV_RESIDUAL_MINVAL= -20
26-
%
27-
% Start convergence criteria at iteration number
28-
CONV_STARTITER= 10
15+
% Restart solution (NO, YES)
16+
RESTART_SOL= NO
17+
%
18+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
19+
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
20+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
21+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
22+
% TORQUE, TOTAL_HEATFLUX,
23+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
24+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
25+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
26+
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
27+
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
28+
%
29+
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
30+
OBJECTIVE_WEIGHT = 1.0
31+
%
32+
% Read binary restart files (YES, NO)
33+
READ_BINARY_RESTART = YES
2934

3035
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
3136
%
@@ -43,26 +48,26 @@ MARKER_MONITORING= ( NONE )
4348
INC_NONDIM= DIMENSIONAL
4449
%
4550
% Temperature initialization value
46-
SOLID_TEMPERATURE_INIT= 350.0
51+
FREESTREAM_TEMPERATURE= 350.0
4752
%
4853
% Nettis case: hollow cylinder (air w/ 4x the conductivity)
4954
%
5055
% Solid density (kg/m^3)
51-
SOLID_DENSITY= 0.00042
56+
MATERIAL_DENSITY= 0.000210322
5257
%
5358
% Solid specific heat (J/kg*K)
54-
SPECIFIC_HEAT_CP = 1004.703
59+
SPECIFIC_HEAT_CP= 1004.703
5560
%
5661
% Solid thermal conductivity (W/m*K)
57-
SOLID_THERMAL_CONDUCTIVITY= 0.1
62+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
5863

5964
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
6065
%
6166
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
6267
NUM_METHOD_GRAD= GREEN_GAUSS
6368
%
6469
% Courant-Friedrichs-Lewy condition of the finest grid
65-
CFL_NUMBER= 50.0
70+
CFL_NUMBER= 10.0
6671
%
6772
% Adaptive CFL number (NO, YES)
6873
CFL_ADAPT= NO
@@ -73,6 +78,15 @@ CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 10000.0 )
7378
%
7479
% Runge-Kutta alpha coefficients
7580
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
81+
%
82+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
83+
% MOMENT_Y, MOMENT_Z, EFFICIENCY,
84+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
85+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
86+
% TORQUE, TOTAL_HEATFLUX,
87+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
88+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
89+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
7690

7791
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
7892
%
@@ -84,7 +98,7 @@ LINEAR_SOLVER= FGMRES
8498
% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI)
8599
LINEAR_SOLVER_PREC= ILU
86100
%
87-
% Linael solver ILU preconditioner fill-in level (0 by default)
101+
% Linear solver ILU preconditioner fill-in level (0 by default)
88102
LINEAR_SOLVER_ILU_FILL_IN= 0
89103
%
90104
% Minimum error of the linear solver for implicit formulations
@@ -98,6 +112,20 @@ LINEAR_SOLVER_ITER= 5
98112
% Time discretization (EULER_IMPLICIT, EULER_EXPLICIT)
99113
TIME_DISCRE_HEAT= EULER_IMPLICIT
100114

115+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
116+
%
117+
% Min value of the residual (log10 of the residual)
118+
CONV_RESIDUAL_MINVAL= -19
119+
%
120+
% Start convergence criteria at iteration number
121+
CONV_STARTITER= 10
122+
%
123+
% Number of elements to apply the criteria
124+
CONV_CAUCHY_ELEMS= 100
125+
%
126+
% Epsilon to control the series convergence
127+
CONV_CAUCHY_EPS= 1E-6
128+
101129
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
102130
%
103131
% Restart flow input file
@@ -106,6 +134,10 @@ SOLUTION_FILENAME= solution_flow.dat
106134
% Restart adjoint input file
107135
SOLUTION_ADJ_FILENAME= solution_adj.dat
108136
%
137+
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
138+
% FIELDVIEW, FIELDVIEW_BINARY)
139+
TABULAR_FORMAT= TECPLOT
140+
%
109141
% Output file convergence history (w/o extension)
110142
CONV_FILENAME= history
111143
%
@@ -135,3 +167,23 @@ SURFACE_FILENAME= surface_flow
135167
%
136168
% Output file surface adjoint coefficient (w/o extension)
137169
SURFACE_ADJ_FILENAME= surface_adjoint
170+
%
171+
172+
% ------------------------ GRID DEFORMATION PARAMETERS ------------------------%
173+
%
174+
% Linear solver or smoother for implicit formulations (FGMRES, RESTARTED_FGMRES, BCGSTAB)
175+
DEFORM_LINEAR_SOLVER= FGMRES
176+
%
177+
% Number of smoothing iterations for mesh deformation
178+
DEFORM_LINEAR_SOLVER_ITER= 200
179+
%
180+
% Number of nonlinear deformation iterations (surface deformation increments)
181+
DEFORM_NONLINEAR_ITER= 1
182+
%
183+
% Print the residuals during mesh deformation to the console (YES, NO)
184+
DEFORM_CONSOLE_OUTPUT= YES
185+
%
186+
% Type of element stiffness imposed for FEA mesh deformation (INVERSE_VOLUME,
187+
% WALL_DISTANCE, CONSTANT_STIFFNESS)
188+
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
189+

‎multiphysics/unsteady_cht/flow_cylinder.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ SUTHERLAND_CONSTANT= 110.4
8383
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL
8484
%
8585
% Molecular Thermal Conductivity that would be constant (0.0257 by default)
86-
KT_CONSTANT= 0.0257
86+
THERMAL_CONDUCTIVITY_CONSTANT= 0.0257
8787
%
8888
% Laminar Prandtl number (0.72 (air), only for CONSTANT_PRANDTL)
8989
PRANDTL_LAM= 0.72

‎multiphysics/unsteady_cht/solid_cylinder1.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ MARKER_ISOTHERMAL= ( core1, 350.0 )
2222
INC_NONDIM= DIMENSIONAL
2323
%
2424
% Temperature initialization value
25-
SOLID_TEMPERATURE_INIT= 288.15
25+
FREESTREAM_TEMPERATURE= 288.15
2626
%
2727
% Solid density (kg/m^3)
28-
SOLID_DENSITY= 0.0210322
28+
MATERIAL_DENSITY= 0.0210322
2929
%
3030
% Solid specific heat (J/kg*K)
3131
SPECIFIC_HEAT_CP= 1004.703
3232
%
3333
% Solid thermal conductivity (W/m*K)
34-
SOLID_THERMAL_CONDUCTIVITY= 0.1028
34+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
3535
%
3636
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
3737
%

‎multiphysics/unsteady_cht/solid_cylinder2.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ MARKER_ISOTHERMAL= ( core2, 350.0 )
2222
INC_NONDIM= DIMENSIONAL
2323
%
2424
% Temperature initialization value
25-
SOLID_TEMPERATURE_INIT= 288.15
25+
FREESTREAM_TEMPERATURE= 288.15
2626
%
2727
% Solid density (kg/m^3)
28-
SOLID_DENSITY= 0.0210322
28+
MATERIAL_DENSITY= 0.0210322
2929
%
3030
% Solid specific heat (J/kg*K)
3131
SPECIFIC_HEAT_CP= 1004.703
3232
%
3333
% Solid thermal conductivity (W/m*K)
34-
SOLID_THERMAL_CONDUCTIVITY= 0.1028
34+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
3535
%
3636
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
3737
%

‎multiphysics/unsteady_cht/solid_cylinder3.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ MARKER_ISOTHERMAL= ( core3, 350.0 )
2222
INC_NONDIM= DIMENSIONAL
2323
%
2424
% Temperature initialization value
25-
SOLID_TEMPERATURE_INIT= 288.15
25+
FREESTREAM_TEMPERATURE= 288.15
2626
%
2727
% Solid density (kg/m^3)
28-
SOLID_DENSITY= 0.0210322
28+
MATERIAL_DENSITY= 0.0210322
2929
%
3030
% Solid specific heat (J/kg*K)
3131
SPECIFIC_HEAT_CP= 1004.703
3232
%
3333
% Solid thermal conductivity (W/m*K)
34-
SOLID_THERMAL_CONDUCTIVITY= 0.1028
34+
THERMAL_CONDUCTIVITY_CONSTANT= 0.1028
3535
%
3636
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
3737
%

0 commit comments

Comments
 (0)
Please sign in to comment.