Skip to content

Commit 74cf16e

Browse files
committed
Added python support in SU2_py for shape optimization
1 parent 3463cd2 commit 74cf16e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SU2_PY/SU2/io/tools.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ def get_dvMap():
600600
34: "CST",
601601
35: "SURFACE_BUMP",
602602
36: "SURFACE_FILE",
603+
37: "HICKS_HENNE_CAMBER",
603604
40: "DV_EFIELD",
604605
41: "DV_YOUNG",
605606
42: "DV_POISSON",
@@ -722,6 +723,9 @@ def get_gradFileFormat(grad_type, plot_format, kindID, special_cases=[]):
722723
elif kindID == "HICKS_HENNE":
723724
header.append(r',"Up/Down","Loc_Max"')
724725
write_format.append(r", %s, %s")
726+
if kindID == "HICKS_HENNE_CAMBER":
727+
header.append(r',"Loc_Max"')
728+
write_format.append(r", %s")
725729
elif kindID == "SURFACE_BUMP":
726730
header.append(r',"Loc_Start","Loc_End","Loc_Max"')
727731
write_format.append(r", %s, %s, %s")

0 commit comments

Comments
 (0)