f8d5bf0b1025e84f6e5c807cf9ec15e06c200ec9,trunk/SUAVE/Methods/Geometry/Two_Dimensional/Cross_Section/Airfoil/compute_airfoil_polars.py,,compute_airfoil_polars,#,22

Before Change


            ACD1   = airfoil_aoa[idx_aoa_max_prestall_cd] * Units.degrees     
            
            // Find the point of lowest drag and the CD
            CD_min_loc = np.where(airfoil_cd==min(airfoil_cd))
            ACDmin     = airfoil_aoa[CD_min_loc] * Units.degrees
            CDmin      = airfoil_cd[CD_min_loc]    
            CD0        = airfoil_cd[idx_zero_lift]
            AoA_sweep_radians = AoA_sweep_deg*Units.degrees
            

After Change


            ACD1   = airfoil_aoa[idx_aoa_max_prestall_cd] * Units.degrees     
            
            // Find the point of lowest drag and the CD
            idx_CD_min = np.where(airfoil_cd==min(airfoil_cd))[0][0]
            ACDmin     = airfoil_aoa[idx_CD_min] * Units.degrees
            CDmin      = airfoil_cd[idx_CD_min]    
            AoA_sweep_radians = AoA_sweep_deg*Units.degrees
            
            // Setup data structures for this run
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: suavecode/SUAVE
Commit Name: f8d5bf0b1025e84f6e5c807cf9ec15e06c200ec9
Time: 2021-01-04
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Geometry/Two_Dimensional/Cross_Section/Airfoil/compute_airfoil_polars.py
Class Name:
Method Name: compute_airfoil_polars


Project Name: cesium-ml/cesium
Commit Name: 21e5543f11aff45da236bb464894822473e0fe6b
Time: 2017-01-30
Author: brettnaul@gmail.com
File Name: cesium/featureset.py
Class Name: Featureset
Method Name: impute


Project Name: cesium-ml/cesium
Commit Name: 1e30dadf5a9b708b351c85befc21a63cc486b57c
Time: 2016-11-18
Author: brettnaul@gmail.com
File Name: cesium/featureset.py
Class Name: Featureset
Method Name: impute