SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft

Functions to AVL calculations. More...

Modules

 Data
 

Functions

def SUAVE.Methods.Aerodynamics.AVL.create_avl_datastructure.translate_avl_wing (suave_wing)
 
def SUAVE.Methods.Aerodynamics.AVL.purge_files.purge_files (filenames_array, directory='')
 
def SUAVE.Methods.Aerodynamics.AVL.read_results.read_results (avl_object)
 
def SUAVE.Methods.Aerodynamics.AVL.run_analysis.run_analysis (avl_object, print_output)
 
def SUAVE.Methods.Aerodynamics.AVL.translate_data.translate_conditions_to_cases (avl, conditions)
 
def SUAVE.Methods.Aerodynamics.AVL.write_geometry.write_geometry (avl_object, run_script_path)
 
def SUAVE.Methods.Aerodynamics.AVL.write_input_deck.write_input_deck (avl_object, trim_aircraft, control_surfaces)
 

Detailed Description

Functions to AVL calculations.

Function Documentation

◆ purge_files()

def SUAVE.Methods.Aerodynamics.AVL.purge_files.purge_files (   filenames_array,
  directory = '' 
)
Purges folder folder of conflicting files

Assumptions:
        None
 
Source:
    Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl

Inputs:
    None

Outputs:
        None

Properties Used:
    N/A

◆ read_results()

def SUAVE.Methods.Aerodynamics.AVL.read_results.read_results (   avl_object)
This functions reads the results from the results text file created 
at the end of an AVL function call

Assumptions:
    None
    
Source:
    Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl

Inputs:
    None

Outputs:
    results     

Properties Used:
    N/A

◆ run_analysis()

def SUAVE.Methods.Aerodynamics.AVL.run_analysis.run_analysis (   avl_object,
  print_output 
)
This calls the AVL executable and runs an analysis

Assumptions:
    None
    
Source:
    None

Inputs:
    avl_object - passed into the  call_avl function  
    
Outputs:
    results

Properties Used:
    N/A

◆ translate_avl_wing()

def SUAVE.Methods.Aerodynamics.AVL.create_avl_datastructure.translate_avl_wing (   suave_wing)
Translates wing geometry from the vehicle setup to AVL format

Assumptions:
    None

Source:
    None

Inputs:
    suave_wing.tag                                                          [-]
    suave_wing.symmetric                                                    [boolean]
    suave_wing.verical                                                      [boolean]
    suave_wing - passed into the populate_wing_sections function            [data stucture]

Outputs:
    w - aircraft wing in AVL format                                         [data stucture] 

Properties Used:
    N/A

◆ translate_conditions_to_cases()

def SUAVE.Methods.Aerodynamics.AVL.translate_data.translate_conditions_to_cases (   avl,
  conditions 
)
Takes SUAVE Conditions() data structure and translates to a Container of
avl Run_Case()s.

Assumptions:
    None
    
Source:
    Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl

Inputs:
    conditions.aerodynamics.angle_of_attack  [radians] 
    conditions.freestream.mach_number        [-]
    conditions.freestream.density            [kilograms per meters**3]
    conditions.freestream.gravity            [meters per second**2]

Outputs:
    cases                                    [data structur]

Properties Used:
    N/A

◆ write_geometry()

def SUAVE.Methods.Aerodynamics.AVL.write_geometry.write_geometry (   avl_object,
  run_script_path 
)
This function writes the translated aircraft geometry into text file read 
by AVL when it is called

Assumptions:
    None
    
Source:
    Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl

Inputs:
    avl_object

Outputs:
    None

Properties Used:
    N/A

◆ write_input_deck()

def SUAVE.Methods.Aerodynamics.AVL.write_input_deck.write_input_deck (   avl_object,
  trim_aircraft,
  control_surfaces 
)
This function writes the execution steps used in the AVL call
Assumptions:
    None
    
Source:
    Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl
Inputs:
    avl_object
Outputs:
    None
 
Properties Used:
    N/A