Skip to content

Commit d3c2f97

Browse files
committed
Removing unnecessary config options in CHT tutorial (to improve readability).
1 parent edc6998 commit d3c2f97

File tree

4 files changed

+13
-356
lines changed

4 files changed

+13
-356
lines changed

Inc_Heated_Cylinders/flow_cylinder.cfg

Lines changed: 2 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% %
33
% SU2 configuration file %
4-
% Case description: Steady incompressible laminar flow around a heated cylinder%
4+
% Case description: Steady incompressible laminar flow around heated cylinders %
55
% %
66
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77

@@ -63,7 +63,7 @@ INC_DENSITY_MODEL= VARIABLE
6363
INC_ENERGY_EQUATION = YES
6464
%
6565
% Initial density for incompressible flows (1.2886 kg/m^3 by default)
66-
INC_DENSITY_INIT= 0.00042
66+
INC_DENSITY_INIT= 0.000210322
6767
%
6868
% Initial velocity for incompressible flows (1.0,0,0 m/s by default)
6969
INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 )
@@ -123,19 +123,6 @@ PRANDTL_LAM= 0.72
123123
% Turbulent Prandtl number (0.9 (air), only for CONSTANT_PRANDTL)
124124
PRANDTL_TURB= 0.90
125125

126-
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
127-
%
128-
% Reference origin for moment computation
129-
REF_ORIGIN_MOMENT_X = 0.25
130-
REF_ORIGIN_MOMENT_Y = 0.00
131-
REF_ORIGIN_MOMENT_Z = 0.00
132-
%
133-
% Reference length for pitching, rolling, and yawing non-dimensional moment
134-
REF_LENGTH= 1.0
135-
%
136-
% Reference area for force coefficients (0 implies automatic calculation)
137-
REF_AREA= 1.0
138-
139126
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
140127
%
141128
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
@@ -154,58 +141,6 @@ CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 10000.0 )
154141
% Runge-Kutta alpha coefficients
155142
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
156143

157-
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
158-
%
159-
% Multi-Grid Levels (0 = no multi-grid)
160-
MGLEVEL= 0
161-
%
162-
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
163-
MGCYCLE= V_CYCLE
164-
%
165-
% Multi-grid pre-smoothing level
166-
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
167-
%
168-
% Multi-grid post-smoothing level
169-
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
170-
%
171-
% Jacobi implicit smoothing of the correction
172-
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
173-
%
174-
% Damping factor for the residual restriction
175-
MG_DAMP_RESTRICTION= 0.8
176-
%
177-
% Damping factor for the correction prolongation
178-
MG_DAMP_PROLONGATION= 0.8
179-
180-
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
181-
%
182-
% Coefficient for the Venkat's limiter (upwind scheme). A larger values decrease
183-
% the extent of limiting, values approaching zero cause
184-
% lower-order approximation to the solution (0.05 by default)
185-
VENKAT_LIMITER_COEFF= 0.05
186-
%
187-
% Coefficient for the adjoint sharp edges limiter (3.0 by default).
188-
ADJ_SHARP_LIMITER_COEFF= 3.0
189-
%
190-
% Freeze the value of the limiter after a number of iterations
191-
LIMITER_ITER= 999999
192-
%
193-
% 1st order artificial dissipation coefficients for
194-
% the Lax–Friedrichs method ( 0.15 by default )
195-
LAX_SENSOR_COEFF= 0.15
196-
%
197-
% 2nd and 4th order artificial dissipation coefficients for
198-
% the JST method ( 0.5, 0.02 by default )
199-
JST_SENSOR_COEFF= ( 0.5, 0.02 )
200-
%
201-
% 1st order artificial dissipation coefficients for
202-
% the adjoint Lax–Friedrichs method ( 0.15 by default )
203-
ADJ_LAX_SENSOR_COEFF= 0.15
204-
%
205-
% 2nd, and 4th order artificial dissipation coefficients for
206-
% the adjoint JST method ( 0.5, 0.02 by default )
207-
ADJ_JST_SENSOR_COEFF= ( 0.5, 0.02 )
208-
209144
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
210145
%
211146
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
@@ -225,10 +160,6 @@ LINEAR_SOLVER_ERROR= 1E-15
225160
% Max number of iterations of the linear solver for the implicit formulation
226161
LINEAR_SOLVER_ITER= 5
227162

228-
% -------------------- HEAT NUMERICAL METHOD DEFINITION -----------------------%
229-
230-
TIME_DISCRE_HEAT= EULER_IMPLICIT
231-
232163
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
233164
%
234165
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,

Inc_Heated_Cylinders/solid_cylinder1.cfg

Lines changed: 3 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% %
33
% SU2 configuration file %
4-
% Case description: Steady incompressible laminar flow around a heated cylinder%
4+
% Case description: Steady incompressible laminar flow around heated cylinders %
55
% %
66
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77

@@ -56,36 +56,13 @@ SOLID_TEMPERATURE_INIT= 350.0
5656
% Nettis case: hollow cylinder (air w/ 4x the conductivity)
5757
%
5858
% Solid density (kg/m^3)
59-
SOLID_DENSITY= 0.00042
59+
SOLID_DENSITY= 0.000210322
6060
%
6161
% Solid specific heat (J/kg*K)
6262
SPECIFIC_HEAT_CP_SOLID = 1004.703
6363
%
6464
% Solid thermal conductivity (W/m*K)
6565
THERMAL_CONDUCTIVITY_SOLID= 0.1028
66-
%
67-
% aluminum
68-
%SOLID_DENSITY= 2700
69-
%SPECIFIC_HEAT_CP_SOLID = 921.096
70-
%THERMAL_CONDUCTIVITY_SOLID= 205.0
71-
%
72-
% glass
73-
%SOLID_DENSITY= 2700
74-
%SPECIFIC_HEAT_CP_SOLID = 840.0
75-
%THERMAL_CONDUCTIVITY_SOLID= 0.8
76-
77-
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
78-
%
79-
% Reference origin for moment computation
80-
REF_ORIGIN_MOMENT_X = 0.25
81-
REF_ORIGIN_MOMENT_Y = 0.00
82-
REF_ORIGIN_MOMENT_Z = 0.00
83-
%
84-
% Reference length for pitching, rolling, and yawing non-dimensional moment
85-
REF_LENGTH= 1.0
86-
%
87-
% Reference area for force coefficients (0 implies automatic calculation)
88-
REF_AREA= 1.0
8966

9067
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
9168
%
@@ -105,58 +82,6 @@ CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 10000.0 )
10582
% Runge-Kutta alpha coefficients
10683
RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
10784

108-
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
109-
%
110-
% Multi-Grid Levels (0 = no multi-grid)
111-
MGLEVEL= 0
112-
%
113-
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
114-
MGCYCLE= V_CYCLE
115-
%
116-
% Multi-grid pre-smoothing level
117-
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
118-
%
119-
% Multi-grid post-smoothing level
120-
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
121-
%
122-
% Jacobi implicit smoothing of the correction
123-
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
124-
%
125-
% Damping factor for the residual restriction
126-
MG_DAMP_RESTRICTION= 0.8
127-
%
128-
% Damping factor for the correction prolongation
129-
MG_DAMP_PROLONGATION= 0.8
130-
131-
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
132-
%
133-
% Coefficient for the Venkat's limiter (upwind scheme). A larger values decrease
134-
% the extent of limiting, values approaching zero cause
135-
% lower-order approximation to the solution (0.05 by default)
136-
VENKAT_LIMITER_COEFF= 0.05
137-
%
138-
% Coefficient for the adjoint sharp edges limiter (3.0 by default).
139-
ADJ_SHARP_LIMITER_COEFF= 3.0
140-
%
141-
% Freeze the value of the limiter after a number of iterations
142-
LIMITER_ITER= 999999
143-
%
144-
% 1st order artificial dissipation coefficients for
145-
% the Lax–Friedrichs method ( 0.15 by default )
146-
LAX_SENSOR_COEFF= 0.15
147-
%
148-
% 2nd and 4th order artificial dissipation coefficients for
149-
% the JST method ( 0.5, 0.02 by default )
150-
JST_SENSOR_COEFF= ( 0.5, 0.02 )
151-
%
152-
% 1st order artificial dissipation coefficients for
153-
% the adjoint Lax–Friedrichs method ( 0.15 by default )
154-
ADJ_LAX_SENSOR_COEFF= 0.15
155-
%
156-
% 2nd, and 4th order artificial dissipation coefficients for
157-
% the adjoint JST method ( 0.5, 0.02 by default )
158-
ADJ_JST_SENSOR_COEFF= ( 0.5, 0.02 )
159-
16085
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
16186
%
16287
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
@@ -177,25 +102,8 @@ LINEAR_SOLVER_ERROR= 1E-15
177102
LINEAR_SOLVER_ITER= 5
178103

179104
% -------------------- HEAT NUMERICAL METHOD DEFINITION -----------------------%
180-
181-
TIME_DISCRE_HEAT= EULER_IMPLICIT
182-
183-
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
184-
%
185-
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
186-
% TURKEL_PREC, MSW)
187-
CONV_NUM_METHOD_FLOW= FDS
188105
%
189-
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
190-
% Required for 2nd order upwind schemes (NO, YES)
191-
MUSCL_FLOW= YES
192-
%
193-
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
194-
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
195-
SLOPE_LIMITER_FLOW= NONE
196-
%
197-
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
198-
TIME_DISCRE_FLOW= EULER_IMPLICIT
106+
TIME_DISCRE_HEAT= EULER_IMPLICIT
199107

200108
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
201109
%

Inc_Heated_Cylinders/solid_cylinder2.cfg

Lines changed: 4 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% %
33
% SU2 configuration file %
4-
% Case description: Steady incompressible laminar flow around a heated cylinder%
4+
% Case description: Steady incompressible laminar flow around heated cylinders %
55
% %
66
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
77

@@ -56,36 +56,13 @@ SOLID_TEMPERATURE_INIT= 350.0
5656
% Nettis case: hollow cylinder (air w/ 4x the conductivity)
5757
%
5858
% Solid density (kg/m^3)
59-
SOLID_DENSITY= 0.00042
59+
SOLID_DENSITY= 0.000210322
6060
%
6161
% Solid specific heat (J/kg*K)
6262
SPECIFIC_HEAT_CP_SOLID = 1004.703
6363
%
6464
% Solid thermal conductivity (W/m*K)
6565
THERMAL_CONDUCTIVITY_SOLID= 0.1028
66-
%
67-
% aluminum
68-
%SOLID_DENSITY= 2700
69-
%SPECIFIC_HEAT_CP_SOLID = 921.096
70-
%THERMAL_CONDUCTIVITY_SOLID= 205.0
71-
%
72-
% glass
73-
%SOLID_DENSITY= 2700
74-
%SPECIFIC_HEAT_CP_SOLID = 840.0
75-
%THERMAL_CONDUCTIVITY_SOLID= 0.8
76-
77-
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
78-
%
79-
% Reference origin for moment computation
80-
REF_ORIGIN_MOMENT_X = 0.25
81-
REF_ORIGIN_MOMENT_Y = 0.00
82-
REF_ORIGIN_MOMENT_Z = 0.00
83-
%
84-
% Reference length for pitching, rolling, and yawing non-dimensional moment
85-
REF_LENGTH= 1.0
86-
%
87-
% Reference area for force coefficients (0 implies automatic calculation)
88-
REF_AREA= 1.0
8966

9067
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
9168
%
@@ -114,58 +91,6 @@ RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
11491
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
11592
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
11693

117-
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
118-
%
119-
% Multi-Grid Levels (0 = no multi-grid)
120-
MGLEVEL= 0
121-
%
122-
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
123-
MGCYCLE= V_CYCLE
124-
%
125-
% Multi-grid pre-smoothing level
126-
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
127-
%
128-
% Multi-grid post-smoothing level
129-
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
130-
%
131-
% Jacobi implicit smoothing of the correction
132-
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
133-
%
134-
% Damping factor for the residual restriction
135-
MG_DAMP_RESTRICTION= 0.8
136-
%
137-
% Damping factor for the correction prolongation
138-
MG_DAMP_PROLONGATION= 0.8
139-
140-
% ----------- SLOPE LIMITER AND DISSIPATION SENSOR DEFINITION -----------------%
141-
%
142-
% Coefficient for the Venkat's limiter (upwind scheme). A larger values decrease
143-
% the extent of limiting, values approaching zero cause
144-
% lower-order approximation to the solution (0.05 by default)
145-
VENKAT_LIMITER_COEFF= 0.05
146-
%
147-
% Coefficient for the adjoint sharp edges limiter (3.0 by default).
148-
ADJ_SHARP_LIMITER_COEFF= 3.0
149-
%
150-
% Freeze the value of the limiter after a number of iterations
151-
LIMITER_ITER= 999999
152-
%
153-
% 1st order artificial dissipation coefficients for
154-
% the Lax–Friedrichs method ( 0.15 by default )
155-
LAX_SENSOR_COEFF= 0.15
156-
%
157-
% 2nd and 4th order artificial dissipation coefficients for
158-
% the JST method ( 0.5, 0.02 by default )
159-
JST_SENSOR_COEFF= ( 0.5, 0.02 )
160-
%
161-
% 1st order artificial dissipation coefficients for
162-
% the adjoint Lax–Friedrichs method ( 0.15 by default )
163-
ADJ_LAX_SENSOR_COEFF= 0.15
164-
%
165-
% 2nd, and 4th order artificial dissipation coefficients for
166-
% the adjoint JST method ( 0.5, 0.02 by default )
167-
ADJ_JST_SENSOR_COEFF= ( 0.5, 0.02 )
168-
16994
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
17095
%
17196
% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI,
@@ -186,25 +111,9 @@ LINEAR_SOLVER_ERROR= 1E-15
186111
LINEAR_SOLVER_ITER= 5
187112

188113
% -------------------- HEAT NUMERICAL METHOD DEFINITION -----------------------%
189-
190-
TIME_DISCRE_HEAT= EULER_IMPLICIT
191-
192-
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
193-
%
194-
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC,
195-
% TURKEL_PREC, MSW)
196-
CONV_NUM_METHOD_FLOW= FDS
197114
%
198-
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations.
199-
% Required for 2nd order upwind schemes (NO, YES)
200-
MUSCL_FLOW= YES
201-
%
202-
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
203-
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
204-
SLOPE_LIMITER_FLOW= NONE
205-
%
206-
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
207-
TIME_DISCRE_FLOW= EULER_IMPLICIT
115+
% Time discretization (EULER_IMPLICIT, EULER_EXPLICIT)
116+
TIME_DISCRE_HEAT= EULER_IMPLICIT
208117

209118
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
210119
%

0 commit comments

Comments
 (0)