Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GBenedett committed Oct 12, 2023
1 parent 6729586 commit c2b8260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ceasiompy/SU2Run/func/su2config.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,13 @@ def generate_su2_cfd_config(cpacs_path, cpacs_out_path, wkdir):
log.info(f'The aeromap is {aeromap_default}')

aeromap_uid = get_value_or_default(cpacs.tixi, SU2_AEROMAP_UID_XPATH, aeromap_default)

activate_aeromap = cpacs.get_aeromap_by_uid(aeromap_uid)
alt_list = activate_aeromap.get("altitude").tolist()
mach_list = activate_aeromap.get("machNumber").tolist()
aoa_list = activate_aeromap.get("angleOfAttack").tolist()
aos_list = activate_aeromap.get("angleOfSideslip").tolist()

else:
default_aeromap = cpacs.create_aeromap("DefaultAeromap")
default_aeromap.description = "AeroMap created automatically"
Expand Down

0 comments on commit c2b8260

Please sign in to comment.