SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft
SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super Class Reference
Inheritance diagram for SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super:
SUAVE.Analyses.Aerodynamics.Aerodynamics.Aerodynamics SUAVE.Analyses.Analysis.Analysis

Public Member Functions

def __defaults__ (self)
 
def initialize (self)
 
def evaluate (self, state, settings, geometry)
 
def sample_training (self)
 
def build_surrogate (self)
 
- Public Member Functions inherited from SUAVE.Analyses.Aerodynamics.Aerodynamics.Aerodynamics
def evaluate (self, state)
 
def finalize (self)
 
- Public Member Functions inherited from SUAVE.Analyses.Analysis.Analysis
def compile (self, *args, **kwarg)
 
def initialize (self, *args, **kwarg)
 
def evaluate (self, *args, **kwarg)
 
def finalize (self, *args, **kwarg)
 
def __call__ (self, *args, **kwarg)
 

Public Attributes

 tag
 
 geometry
 
 settings
 
 training
 
 training_file
 
 surrogates
 
- Public Attributes inherited from SUAVE.Analyses.Aerodynamics.Aerodynamics.Aerodynamics
 tag
 
 geometry
 
 settings
 
- Public Attributes inherited from SUAVE.Analyses.Analysis.Analysis
 tag
 
 features
 
 settings
 

Detailed Description

This builds a surrogate and computes lift and drag using SU2

Assumptions:
Inviscid

Source:
None

Member Function Documentation

◆ __defaults__()

def SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super.__defaults__ (   self)
This sets the default values and methods for the analysis.

Assumptions:
None

Source:
N/A

Inputs:
None

Outputs:
None

Properties Used:
N/A

Reimplemented from SUAVE.Analyses.Aerodynamics.Aerodynamics.Aerodynamics.

◆ build_surrogate()

def SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super.build_surrogate (   self)
Builds a surrogate based on sample evalations using a Guassian process.

Assumptions:
None

Source:
N/A

Inputs:
self.training.
  coefficients     [-] CL and CD
  grid_points      [radians,-] angles of attack and mach numbers 

Outputs:
self.surrogates.
  lift_coefficient <Guassian process surrogate>
  drag_coefficient <Guassian process surrogate>

Properties Used:
No others

◆ evaluate()

def SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super.evaluate (   self,
  state,
  settings,
  geometry 
)
Evaluates lift and drag using available surrogates.

Assumptions:
None

Source:
N/A

Inputs:
state.conditions.
  mach_number      [-]
  angle_of_attack  [radians]

Outputs:
inviscid_lift      [-] CL
inviscid_drag      [-] CD

Properties Used:
self.surrogates.
  lift_coefficient [-] CL
  drag_coefficient [-] CD

◆ initialize()

def SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super.initialize (   self)
Drives functions to get training samples and build a surrogate.

Assumptions:
None

Source:
N/A

Inputs:
None

Outputs:
None

Properties Used:
None

◆ sample_training()

def SUAVE.Analyses.Aerodynamics.SU2_inviscid_Super.SU2_inviscid_Super.sample_training (   self)
Call methods to run SU2 for sample point evaluation.

Assumptions:
None

Source:
N/A

Inputs:
see properties used

Outputs:
self.training.
  coefficients     [-] CL and CD
  grid_points      [radians,-] angles of attack and mach numbers 

Properties Used:
self.geometry.tag  <string>
self.training.     
  angle_of_attack  [radians]
  Mach             [-]
self.training_file (optional - file containing previous AVL data)

The documentation for this class was generated from the following file: