Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Mor
Nat-1
Nicola Fonzi
Nijso Beishuizen
Nikita Ageev
Ole Burghardt
Patrick Mischke
Paul Urbanczyk
Expand Down
4 changes: 3 additions & 1 deletion SU2_PY/SU2/io/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,10 @@ def getTurboPerfIndex(nZones=1):
"NACELLE_MAX_TWIST",
]

# SU2_GEO numbers the stations of GEO_LOCATION_STATIONS from 1 (STATION1_*),
# see SU2_GEO.cpp, so the names cover stations 1 to 20.
PerStation = []
for i in range(20):
for i in range(1, 21):
PerStation.append("STATION" + str(i) + "_AREA")
PerStation.append("STATION" + str(i) + "_LENGTH")
PerStation.append("STATION" + str(i) + "_WIDTH")
Expand Down
4 changes: 2 additions & 2 deletions config_template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ GEO_DESCRIPTION= AIRFOIL
% Z location of the waterline
GEO_WATERLINE_LOCATION= 0.0
%
% Coordinate of the stations to be analyzed
% Coordinate of the stations to be analyzed (STATION1_* ... STATIONn_* in SU2_GEO output, n <= 20 for SU2_PY)
GEO_LOCATION_STATIONS= (0.0, 0.5, 1.0)
%
% Definition of the nacelle location (higlite coordinates, tilt angle, toe angle)
Expand Down Expand Up @@ -2727,7 +2727,7 @@ REORIENT_ELEMENTS= YES
% AIRFOIL_AREA, AIRFOIL_THICKNESS, AIRFOIL_CHORD, AIRFOIL_TOC, AIRFOIL_AOA,
% WING_VOLUME, WING_MIN_THICKNESS, WING_MAX_THICKNESS, WING_MAX_CHORD, WING_MIN_TOC, WING_MAX_TWIST, WING_MAX_CURVATURE, WING_MAX_DIHEDRAL
% STATION#_WIDTH, STATION#_AREA, STATION#_THICKNESS, STATION#_CHORD, STATION#_TOC,
% STATION#_TWIST (where # is the index of the station defined in GEO_LOCATION_STATIONS)
% STATION#_TWIST (where # is the 1-based index, 1 to 20, of the station defined in GEO_LOCATION_STATIONS)
%
% Available design variables
% 2D Design variables
Expand Down