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 | |
This builds a surrogate and computes lift and drag using SU2 Assumptions: Inviscid, subsonic Source: None
def SUAVE.Analyses.Aerodynamics.SU2_inviscid.SU2_inviscid.__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.
def SUAVE.Analyses.Aerodynamics.SU2_inviscid.SU2_inviscid.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
def SUAVE.Analyses.Aerodynamics.SU2_inviscid.SU2_inviscid.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
def SUAVE.Analyses.Aerodynamics.SU2_inviscid.SU2_inviscid.initialize | ( | self | ) |
Drives functions to get training samples and build a surrogate. Assumptions: None Source: N/A Inputs: None Outputs: None Properties Used: None
def SUAVE.Analyses.Aerodynamics.SU2_inviscid.SU2_inviscid.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)