SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft

Functions needed to interface with SU2. More...

Functions

def SUAVE.Input_Output.SU2.call_SU2_CFD.call_SU2_CFD (tag, parallel=False, processors=1)
 
def SUAVE.Input_Output.SU2.write_SU2_cfg.write_SU2_cfg (tag, SU2_settings)
 write_SU2_cfg.py More...
 

Detailed Description

Functions needed to interface with SU2.

Function Documentation

◆ call_SU2_CFD()

def SUAVE.Input_Output.SU2.call_SU2_CFD.call_SU2_CFD (   tag,
  parallel = False,
  processors = 1 
)
This calls SU2 to perform an analysis according to the related .cfg file.

Assumptions:
None

Source:
N/A

Inputs:
tag                          <string>  This determines what .cfg is used and what the output file is called.
parallel   (optional)        <boolean> This determines if SU2 will be run in parallel. This setting requires that SU2 has been built to allow this.
processors (optional)        [-]       The number of processors used for a parallel computation.

Outputs:
<tag>_history.dat            This file has the SU2 convergence history.
CL                           [-]
CD                           [-]

Properties Used:
N/A

◆ write_SU2_cfg()

def SUAVE.Input_Output.SU2.write_SU2_cfg.write_SU2_cfg (   tag,
  SU2_settings 
)

write_SU2_cfg.py

Created: Oct 2016, T. MacDonald Modified: Jan 2017, T. MacDonald Mar 2018, T. MacDonald Mar 2020, E. Botero

Creates an SU2 .cfg file that can be used for an SU2 run.

Assumptions:
Almost all settings are current hard coded.

Source:
N/A

Inputs:
tag                          <string>  This determines the name of the .cfg
SU2_settings.
  reference_area            [m^2]
  mach_number               [-]
  angle_of_attack           [degrees]
  maximum_iterations        [-]

Outputs:
<tag>.cfg

Properties Used:
N/A