Skip to content

Commit a3e5ec9

Browse files
authoredJan 20, 2021
Merge pull request #8 from su2code/develop
Update master
2 parents 36d1a0f + 2562249 commit a3e5ec9

File tree

34 files changed

+107048
-166
lines changed

34 files changed

+107048
-166
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# TEST CASE PROPELLER DATA.
2+
# ADV_RATIO defined as Vinf/(nD) where n: propeller rounds per second, D: propeller diameter.
3+
# "Renard" definition of propeller coefficients:
4+
# reference force = rho*n^2*D^4, reference power = rho*n^3*D^5.
5+
# Propeller center in grid coordinates.
6+
# Propeller axis versor pointing backward.
7+
# Total thrust coefficient CT = 0.15.
8+
# ----------------------------------------------------------------------------------------------- #
9+
MARKER_ACTDISK= DISK DISK_BACK
10+
CENTER= 0.0 0.0 0.0
11+
AXIS= 1.0 0.0 0.0
12+
RADIUS= 2.5146
13+
ADV_RATIO= 2.81487
14+
NROW= 37
15+
# rs=r/R dCT/drs dCP/drs dCR/drs
16+
0.2031 0.020066 0.0890674 0.0
17+
0.2235 0.019963 0.0932674 0.0
18+
0.2439 0.021707 0.0982980 0.0
19+
0.2644 0.024667 0.1064153 0.0
20+
0.2848 0.029147 0.1189045 0.0
21+
0.3257 0.043674 0.1588513 0.0
22+
0.3461 0.053380 0.1849900 0.0
23+
0.3665 0.064327 0.2145367 0.0
24+
0.3870 0.076521 0.2471873 0.0
25+
0.4278 0.103679 0.3203392 0.0
26+
0.4483 0.118918 0.3609085 0.0
27+
0.4687 0.135619 0.4051864 0.0
28+
0.4891 0.152986 0.4518863 0.0
29+
0.5096 0.171453 0.5011266 0.0
30+
0.5300 0.190755 0.5528521 0.0
31+
0.5504 0.211062 0.6072281 0.0
32+
0.5709 0.231313 0.6620508 0.0
33+
0.5913 0.251252 0.7161404 0.0
34+
0.6117 0.271376 0.7700722 0.0
35+
0.6322 0.290980 0.8219708 0.0
36+
0.6526 0.309848 0.8715231 0.0
37+
0.6730 0.328502 0.9202496 0.0
38+
0.6935 0.346774 0.9681596 0.0
39+
0.7139 0.364895 1.0156277 0.0
40+
0.7343 0.381991 1.0603740 0.0
41+
0.7548 0.398417 1.1036331 0.0
42+
0.7752 0.413550 1.1442054 0.0
43+
0.7956 0.427447 1.1820164 0.0
44+
0.8161 0.440093 1.2163819 0.0
45+
0.8365 0.451007 1.2453084 0.0
46+
0.8569 0.460535 1.2682212 0.0
47+
0.8774 0.467765 1.2823500 0.0
48+
0.8978 0.471296 1.2839416 0.0
49+
0.9182 0.470303 1.2701343 0.0
50+
0.9387 0.460921 1.2317719 0.0
51+
0.9591 0.434937 1.1470356 0.0
52+
0.9795 0.377288 0.9746048 0.0
53+
54+
# More than one propeller data can be appended here.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2+
% %
3+
% SU2 configuration file %
4+
% Case description: Actuator Disk with a semi-infinite spinner %
5+
% Author: E. Saetta, L. Russo, R. Tognaccini %
6+
% Institution: Theoretical and Applied Aerodynamic Research Group (TAARG) %
7+
% University of Naples Federico II %
8+
% Comments: Grid file and propeller data courtesy of Mauro Minervino, %
9+
% Centro Italiano Ricerche Aerospaziali (CIRA) %
10+
% Date: 07/08/2020 %
11+
% File Version 7.0.7 "Blackbird" %
12+
% %
13+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14+
15+
%----------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION -------------------------%
16+
% Solver type (EULER, NAVIER_STOKES, RANS,
17+
% INC_EULER, INC_NAVIER_STOKES, INC_RANS
18+
% FEM_EULER, FEM_NAVIER_STOKES, FEM_RANS, FEM_LES,
19+
% HEAT_EQUATION_FVM, ELASTICITY)
20+
SOLVER= RANS
21+
%
22+
% Specify turbulence model (NONE, SA, SA_NEG, SST, SA_E, SA_COMP, SA_E_COMP, SST_SUST)
23+
KIND_TURB_MODEL= SA
24+
%
25+
% Turbulence intensity at freestream
26+
FREESTREAM_TURBULENCEINTENSITY=0.01
27+
%
28+
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT, DISCRETE_ADJOINT)
29+
MATH_PROBLEM= DIRECT
30+
%
31+
% Restart solution (NO, YES)
32+
RESTART_SOL= NO
33+
%
34+
% System of measurements (SI, US)
35+
% International system of units (SI): ( meters, kilograms, Kelvins,
36+
% Newtons = kg m/s^2, Pascals = N/m^2,
37+
% Density = kg/m^3, Speed = m/s,
38+
% Equiv. Area = m^2 )
39+
SYSTEM_MEASUREMENTS= SI
40+
% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------%
41+
% Mach number (non-dimensional, based on the free-stream values)
42+
MACH_NUMBER= 0.55996
43+
%
44+
% Angle of attack (degrees, only for compressible flows)
45+
AOA= 0.0
46+
%
47+
% Side-slip angle (degrees, only for compressible flows)
48+
SIDESLIP_ANGLE= 0.0
49+
%
50+
% Reynolds number (non-dimensional, based on the free-stream values)
51+
REYNOLDS_NUMBER= 3.65E7
52+
%
53+
% Reynolds length (1 m, 1 inch by default)
54+
REYNOLDS_LENGTH= 5.0292
55+
%
56+
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
57+
% Reference origin for moment computation (m or in)
58+
REF_ORIGIN_MOMENT_X = 0.0
59+
REF_ORIGIN_MOMENT_Y = 0.0
60+
REF_ORIGIN_MOMENT_Z = 0.0
61+
%
62+
% Reference length for moment non-dimensional coefficients (m or in)
63+
REF_LENGTH= 1.0
64+
%
65+
% Reference area for non-dimensional force coefficients (0 implies automatic
66+
% calculation) (m^2 or in^2)
67+
REF_AREA= 19.8649
68+
%
69+
% Compressible flow non-dimensionalization (DIMENSIONAL, FREESTREAM_PRESS_EQ_ONE,
70+
% FREESTREAM_VEL_EQ_MACH, FREESTREAM_VEL_EQ_ONE)
71+
REF_DIMENSIONALIZATION= DIMENSIONAL
72+
%
73+
% --------------- ENGINE AND ACTUATOR DISK SIMULATION -------------------------%
74+
% Highlite area to compute MFR (1 in by default)
75+
HIGHLITE_AREA= 19.8649
76+
%
77+
% Engine nu factor (SA model).
78+
ENGINE_NU_FACTOR= 0.0
79+
%
80+
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
81+
ACTDISK_DOUBLE_SURFACE = YES
82+
%
83+
% Actuator disk boundary type (VARIABLE_LOAD, VARIABLES_JUMP, BC_THRUST,
84+
% DRAG_MINUS_THRUST)
85+
ACTDISK_TYPE= VARIABLE_LOAD
86+
%
87+
% Actuator disk data input file name
88+
ACTDISK_FILENAME= ActuatorDisk.dat
89+
%
90+
% Actuator disk boundary marker(s) with the following formats (NONE = no marker)
91+
% Variable Load: (inlet face marker, outlet face marker,
92+
% 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) Markers only effectively used.
93+
MARKER_ACTDISK = ( DISK, DISK_BACK, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 )
94+
%
95+
% Far-field boundary marker(s) (NONE = no marker)
96+
MARKER_FAR= ( FF )
97+
%
98+
% Outlet boundary marker(s) (NONE = no marker)
99+
% Compressible: ( outlet marker, back pressure (static thermodynamic), ... )
100+
MARKER_OUTLET = ( OUT , 56370.2)
101+
%
102+
% Navier-Stokes (no-slip), constant heat flux wall marker(s) (NONE = no marker)
103+
% Format: ( marker name, constant heat flux (J/m^2), ... )
104+
MARKER_HEATFLUX = (SPINNER, 0.0)
105+
%
106+
% ------------------------ SURFACES IDENTIFICATION ----------------------------%
107+
% Marker(s) of the surface in the surface flow solution file
108+
MARKER_PLOTTING = ( DISK, DISK_BACK, SPINNER )
109+
%
110+
% Marker(s) of the surface where the non-dimensional coefficients are evaluated.
111+
MARKER_MONITORING = ( DISK, DISK_BACK, SPINNER )
112+
%
113+
% Marker(s) of the surface that is going to be analyzed in detail (massflow, average pressure, distortion, etc)
114+
MARKER_ANALYZE = ( DISK, DISK_BACK )
115+
%
116+
% Method to compute the average value in MARKER_ANALYZE (AREA, MASSFLUX).
117+
MARKER_ANALYZE_AVERAGE = MASSFLUX
118+
%
119+
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
120+
% Numerical method for spatial gradients (GREEN_GAUSS, WEIGHTED_LEAST_SQUARES)
121+
NUM_METHOD_GRAD= GREEN_GAUSS
122+
%
123+
% CFL number (initial value for the adaptive CFL number)
124+
CFL_NUMBER= 20.0
125+
%
126+
% Adaptive CFL number (NO, YES)
127+
CFL_ADAPT= NO
128+
%
129+
% Objective function in gradient evaluation (DRAG, LIFT, SIDEFORCE, MOMENT_X,
130+
% MOMENT_Y, MOMENT_Z, EFFICIENCY, BUFFET,
131+
% EQUIVALENT_AREA, NEARFIELD_PRESSURE,
132+
% FORCE_X, FORCE_Y, FORCE_Z, THRUST,
133+
% TORQUE, TOTAL_HEATFLUX,
134+
% MAXIMUM_HEATFLUX, INVERSE_DESIGN_PRESSURE,
135+
% INVERSE_DESIGN_HEATFLUX, SURFACE_TOTAL_PRESSURE,
136+
% SURFACE_MASSFLOW, SURFACE_STATIC_PRESSURE, SURFACE_MACH)
137+
% For a weighted sum of objectives: separate by commas, add OBJECTIVE_WEIGHT and MARKER_MONITORING in matching order.
138+
OBJECTIVE_FUNCTION= DRAG
139+
%
140+
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
141+
% Linear solver or smoother for implicit formulations:
142+
% BCGSTAB, FGMRES, RESTARTED_FGMRES, CONJUGATE_GRADIENT (self-adjoint problems only), SMOOTHER.
143+
LINEAR_SOLVER= FGMRES
144+
%
145+
% Preconditioner of the Krylov linear solver or type of smoother (ILU, LU_SGS, LINELET, JACOBI)
146+
LINEAR_SOLVER_PREC= ILU
147+
%
148+
% Minimum error of the linear solver for implicit formulations
149+
LINEAR_SOLVER_ERROR= 1E-12
150+
%
151+
% Max number of iterations of the linear solver for the implicit formulation
152+
LINEAR_SOLVER_ITER= 3
153+
%
154+
% Number of elements to apply the criteria
155+
CONV_CAUCHY_ELEMS= 1000
156+
%
157+
% Epsilon to control the series convergence
158+
CONV_CAUCHY_EPS= 1E-10
159+
%
160+
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
161+
% Convective numerical method (JST, LAX-FRIEDRICH, CUSP, ROE, AUSM, AUSMPLUSUP,
162+
% AUSMPLUSUP2, HLLC, TURKEL_PREC, MSW, FDS, SLAU, SLAU2)
163+
CONV_NUM_METHOD_FLOW= JST
164+
%
165+
% Time discretization (RUNGE-KUTTA_EXPLICIT, EULER_IMPLICIT, EULER_EXPLICIT)
166+
TIME_DISCRE_FLOW= EULER_IMPLICIT
167+
%
168+
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
169+
% Convective numerical method (SCALAR_UPWIND)
170+
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
171+
%
172+
% Monotonic Upwind Scheme for Conservation Laws (TVD) in the turbulence equations.
173+
% Required for 2nd order upwind schemes (NO, YES)
174+
MUSCL_TURB= NO
175+
%
176+
% Slope limiter (NONE, VENKATAKRISHNAN, VENKATAKRISHNAN_WANG,
177+
% BARTH_JESPERSEN, VAN_ALBADA_EDGE)
178+
SLOPE_LIMITER_TURB= VENKATAKRISHNAN
179+
%
180+
% Time discretization (EULER_IMPLICIT)
181+
TIME_DISCRE_TURB= EULER_IMPLICIT
182+
%
183+
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
184+
% Maximum number of iterations
185+
ITER= 1500
186+
%
187+
% Convergence criteria (CAUCHY, RESIDUAL)
188+
CONV_CRITERIA= RESIDUAL
189+
%
190+
% Min value of the residual (log10 of the residual)
191+
CONV_RESIDUAL_MINVAL= -8
192+
%
193+
% Start convergence criteria at iteration number
194+
CONV_STARTITER= 10
195+
%
196+
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
197+
% Mesh input file
198+
MESH_FILENAME= propeller_variable_load.su2
199+
%
200+
% Mesh input file format (SU2, CGNS)
201+
MESH_FORMAT= SU2
202+
%
203+
% Mesh output file
204+
MESH_OUT_FILENAME= mesh_out.su2
205+
%
206+
% Restart flow input file
207+
SOLUTION_FILENAME= restart_flow.dat
208+
%
209+
% Output tabular file format (TECPLOT, CSV)
210+
TABULAR_FORMAT= TECPLOT
211+
%
212+
% Output file convergence history (w/o extension)
213+
CONV_FILENAME= history
214+
%
215+
% Write the forces breakdown file option (NO, YES)
216+
WRT_FORCES_BREAKDOWN= YES
217+
%
218+
% Output file with the forces breakdown
219+
BREAKDOWN_FILENAME= forces_breakdown.dat
220+
%
221+
% Output file restart flow
222+
RESTART_FILENAME= restart_flow.dat
223+
%
224+
% Output file flow (w/o extension) variables
225+
VOLUME_FILENAME= flow
226+
%
227+
% Output file surface flow coefficient (w/o extension)
228+
SURFACE_FILENAME= surface_flow
229+
%
230+
%
231+
%
232+
%
233+
% Screen output fields
234+
SCREEN_OUTPUT= (INNER_ITER, RMS_DENSITY, RMS_NU_TILDE, LIFT, DRAG)

0 commit comments

Comments
 (0)
Please sign in to comment.