|
| 1 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 | +% % |
| 3 | +% SU2 configuration file % |
| 4 | +% Case description: Steady incompressible laminar flow around heated cylinders % |
| 5 | +% % |
| 6 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 7 | + |
| 8 | +% ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% |
| 9 | +% |
| 10 | +% Physical governing equations (EULER, NAVIER_STOKES, |
| 11 | +% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY, |
| 12 | +% POISSON_EQUATION) |
| 13 | +SOLVER= INC_NAVIER_STOKES |
| 14 | +% |
| 15 | +% If Navier-Stokes, kind of turbulent model (NONE, SA) |
| 16 | +KIND_TURB_MODEL= NONE |
| 17 | +% |
| 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 |
| 29 | +% |
| 30 | +% Start convergence criteria at iteration number |
| 31 | +CONV_STARTITER= 0 |
| 32 | + |
| 33 | +% -------------------- BOUNDARY CONDITION DEFINITION --------------------------% |
| 34 | +% |
| 35 | +% Farfield boundary marker(s) (NONE = no marker) |
| 36 | +MARKER_FAR= ( farfield ) |
| 37 | +% |
| 38 | +% Marker(s) of the surface to be plotted or designed |
| 39 | +MARKER_PLOTTING= (cylinder_outer1, cylinder_outer2, cylinder_outer3) |
| 40 | +% |
| 41 | +% Marker(s) of the surface where the functional (Cd, Cl, etc.) will be evaluated |
| 42 | +MARKER_MONITORING= (cylinder_outer1, cylinder_outer2, cylinder_outer3) |
| 43 | + |
| 44 | +% ---------------- INCOMPRESSIBLE FLOW CONDITION DEFINITION -------------------% |
| 45 | +% |
| 46 | +% Density model within the incompressible flow solver. |
| 47 | +% Options are CONSTANT (default), BOUSSINESQ, or VARIABLE. If VARIABLE, |
| 48 | +% an appropriate fluid model must be selected. |
| 49 | +INC_DENSITY_MODEL= VARIABLE |
| 50 | +% |
| 51 | +% Solve the energy equation in the incompressible flow solver |
| 52 | +INC_ENERGY_EQUATION = YES |
| 53 | +% |
| 54 | +% Initial density for incompressible flows (1.2886 kg/m^3 by default) |
| 55 | +INC_DENSITY_INIT= 0.00042 |
| 56 | +% |
| 57 | +% Initial velocity for incompressible flows (1.0,0,0 m/s by default) |
| 58 | +INC_VELOCITY_INIT= ( 3.40297, 0.0, 0.0 ) |
| 59 | +% |
| 60 | +% Initial temperature for incompressible flows that include the |
| 61 | +% energy equation (288.15 K by default). Value is ignored if |
| 62 | +% INC_ENERGY_EQUATION is false. |
| 63 | +INC_TEMPERATURE_INIT= 288.15 |
| 64 | +% |
| 65 | +% Non-dimensionalization scheme for incompressible flows. Options are |
| 66 | +% INITIAL_VALUES (default), REFERENCE_VALUES, or DIMENSIONAL. |
| 67 | +% INC_*_REF values are ignored unless REFERENCE_VALUES is chosen. |
| 68 | +INC_NONDIM= DIMENSIONAL |
| 69 | + |
| 70 | +% ---- IDEAL GAS, POLYTROPIC, VAN DER WAALS AND PENG ROBINSON CONSTANTS -------% |
| 71 | +% |
| 72 | +% Fluid model (STANDARD_AIR, IDEAL_GAS, VW_GAS, PR_GAS, |
| 73 | +% CONSTANT_DENSITY, INC_IDEAL_GAS) |
| 74 | +FLUID_MODEL= INC_IDEAL_GAS |
| 75 | +% |
| 76 | +% Specific heat at constant pressure, Cp (1004.703 J/kg*K (air)). |
| 77 | +% Incompressible fluids with energy eqn. only (CONSTANT_DENSITY, INC_IDEAL_GAS). |
| 78 | +SPECIFIC_HEAT_CP= 1004.703 |
| 79 | +% |
| 80 | +% Molecular weight for an incompressible ideal gas (28.96 g/mol (air) default) |
| 81 | +% Incompressible fluids with energy eqn. only (CONSTANT_DENSITY, INC_IDEAL_GAS). |
| 82 | +MOLECULAR_WEIGHT= 28.96 |
| 83 | + |
| 84 | +% --------------------------- VISCOSITY MODEL ---------------------------------% |
| 85 | +% |
| 86 | +% Viscosity model (SUTHERLAND, CONSTANT_VISCOSITY). |
| 87 | +VISCOSITY_MODEL= CONSTANT_VISCOSITY |
| 88 | +% |
| 89 | +% Molecular Viscosity that would be constant (1.716E-5 by default) |
| 90 | +MU_CONSTANT= 1.7893e-05 |
| 91 | +% |
| 92 | +% Sutherland Viscosity Ref (1.716E-5 default value for AIR SI) |
| 93 | +MU_REF= 1.716E-5 |
| 94 | +% |
| 95 | +% Sutherland Temperature Ref (273.15 K default value for AIR SI) |
| 96 | +MU_T_REF= 273.15 |
| 97 | +% |
| 98 | +% Sutherland constant (110.4 default value for AIR SI) |
| 99 | +SUTHERLAND_CONSTANT= 110.4 |
| 100 | + |
| 101 | +% --------------------------- THERMAL CONDUCTIVITY MODEL ----------------------% |
| 102 | +% |
| 103 | +% Conductivity model (CONSTANT_CONDUCTIVITY, CONSTANT_PRANDTL). |
| 104 | +CONDUCTIVITY_MODEL= CONSTANT_PRANDTL |
| 105 | +% |
| 106 | +% Molecular Thermal Conductivity that would be constant (0.0257 by default) |
| 107 | +KT_CONSTANT= 0.0257 |
| 108 | +% |
| 109 | +% Laminar Prandtl number (0.72 (air), only for CONSTANT_PRANDTL) |
| 110 | +PRANDTL_LAM= 0.72 |
| 111 | +% |
| 112 | +% Turbulent Prandtl number (0.9 (air), only for CONSTANT_PRANDTL) |
| 113 | +PRANDTL_TURB= 0.90 |
| 114 | + |
| 115 | +% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------% |
| 116 | +% |
| 117 | +% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES) |
| 118 | +NUM_METHOD_GRAD= GREEN_GAUSS |
| 119 | +% |
| 120 | +% Courant-Friedrichs-Lewy condition of the finest grid |
| 121 | +CFL_NUMBER= 50.0 |
| 122 | +% |
| 123 | +% Adaptive CFL number (NO, YES) |
| 124 | +CFL_ADAPT= NO |
| 125 | +% |
| 126 | +% Parameters of the adaptive CFL number (factor down, factor up, CFL min value, |
| 127 | +% CFL max value ) |
| 128 | +CFL_ADAPT_PARAM= ( 1.5, 0.5, 10.0, 10000.0 ) |
| 129 | +% |
| 130 | +% Runge-Kutta alpha coefficients |
| 131 | +RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 ) |
| 132 | + |
| 133 | +% ------------------------ LINEAR SOLVER DEFINITION ---------------------------% |
| 134 | +% |
| 135 | +% Linear solver or smoother for implicit formulations (BCGSTAB, FGMRES, SMOOTHER_JACOBI, |
| 136 | +% SMOOTHER_ILU, SMOOTHER_LUSGS, |
| 137 | +% SMOOTHER_LINELET) |
| 138 | +LINEAR_SOLVER= FGMRES |
| 139 | +% |
| 140 | +% Preconditioner of the Krylov linear solver (ILU, LU_SGS, LINELET, JACOBI) |
| 141 | +LINEAR_SOLVER_PREC= ILU |
| 142 | +% |
| 143 | +% Linael solver ILU preconditioner fill-in level (0 by default) |
| 144 | +LINEAR_SOLVER_ILU_FILL_IN= 0 |
| 145 | +% |
| 146 | +% Minimum error of the linear solver for implicit formulations |
| 147 | +LINEAR_SOLVER_ERROR= 1E-15 |
| 148 | +% |
| 149 | +% Max number of iterations of the linear solver for the implicit formulation |
| 150 | +LINEAR_SOLVER_ITER= 10 |
| 151 | + |
| 152 | +% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------% |
| 153 | +% |
| 154 | +% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, HLLC, |
| 155 | +% TURKEL_PREC, MSW) |
| 156 | +CONV_NUM_METHOD_FLOW= FDS |
| 157 | +% |
| 158 | +% Monotonic Upwind Scheme for Conservation Laws (TVD) in the flow equations. |
| 159 | +% Required for 2nd order upwind schemes (NO, YES) |
| 160 | +MUSCL_FLOW= YES |
| 161 | +% |
| 162 | +% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG, |
| 163 | +% BARTH_JESPERSEN, VAN_ALBADA_EDGE) |
| 164 | +SLOPE_LIMITER_FLOW= NONE |
| 165 | +% |
| 166 | +% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT) |
| 167 | +TIME_DISCRE_FLOW= EULER_IMPLICIT |
| 168 | + |
| 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 |
| 181 | +% |
| 182 | +% 1st order artificial dissipation coefficients for |
| 183 | +% the Lax–Friedrichs method ( 0.15 by default ) |
| 184 | +LAX_SENSOR_COEFF= 0.15 |
| 185 | +% |
| 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 ) |
| 189 | +% |
| 190 | +% 1st order artificial dissipation coefficients for |
| 191 | +% the adjoint Lax–Friedrichs method ( 0.15 by default ) |
| 192 | +ADJ_LAX_SENSOR_COEFF= 0.15 |
| 193 | +% |
| 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 ) |
| 197 | +
|
| 198 | +% ------------------------- INPUT/OUTPUT INFORMATION --------------------------% |
| 199 | +% |
| 200 | +% Restart flow input file |
| 201 | +SOLUTION_FILENAME= solution_flow.dat |
| 202 | +% |
| 203 | +% Restart adjoint input file |
| 204 | +SOLUTION_ADJ_FILENAME= solution_adj.dat |
| 205 | +% |
| 206 | +% Output file convergence history (w/o extension) |
| 207 | +CONV_FILENAME= history |
| 208 | +% |
| 209 | +% Output file with the forces breakdown |
| 210 | +BREAKDOWN_FILENAME= forces_breakdown.dat |
| 211 | +% |
| 212 | +% Output file restart flow |
| 213 | +RESTART_FILENAME= restart_flow.dat |
| 214 | +% |
| 215 | +% Output file restart adjoint |
| 216 | +RESTART_ADJ_FILENAME= restart_adj.dat |
| 217 | +% |
| 218 | +% Output file flow (w/o extension) variables |
| 219 | +VOLUME_FILENAME= flow |
| 220 | +% |
| 221 | +% Output file adjoint (w/o extension) variables |
| 222 | +VOLUME_ADJ_FILENAME= adjoint |
| 223 | +% |
| 224 | +% Output Objective function |
| 225 | +VALUE_OBJFUNC_FILENAME= of_eval.dat |
| 226 | +% |
| 227 | +% Output objective function gradient (using continuous adjoint) |
| 228 | +GRAD_OBJFUNC_FILENAME= of_grad.dat |
| 229 | +% |
| 230 | +% Output file surface flow coefficient (w/o extension) |
| 231 | +SURFACE_FILENAME= surface_flow |
| 232 | +% |
| 233 | +% Output file surface adjoint coefficient (w/o extension) |
| 234 | +SURFACE_ADJ_FILENAME= surface_adjoint |
0 commit comments