f8c1cb259cb3a5cab9907bb87f1522909ee852af,trunk/SUAVE/Analyses/Aerodynamics/SU2_inviscid.py,SU2_inviscid,evaluate,#SU2_inviscid#Any#Any#Any#,107

Before Change


            inviscid_lift[ii] = lift_model.predict([np.array([AoA[ii][0],mach[ii][0]])]) //sklearn fix
            
        conditions.aerodynamics.lift_coefficient                                 = inviscid_lift
        conditions.aerodynamics.lift_breakdown                                   = Data()
        conditions.aerodynamics.lift_breakdown.compressible_wings                = Data()
        conditions.aerodynamics.lift_breakdown.total                             = inviscid_lift        
        conditions.aerodynamics.lift_breakdown.compressible_wings["main_wing"]   = inviscid_lift // currently using vehicle drag for wing        
                                                                           

After Change


        state.conditions.aerodynamics.lift_breakdown.compressible_wings  = inviscid_lift
        
        // Inviscid drag, zeros are a placeholder for possible future implementation
        inviscid_drag                                              = np.zeros([data_len,1])       
        state.conditions.aerodynamics.inviscid_drag_coefficient    = inviscid_drag
        
        return inviscid_lift, inviscid_drag
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: suavecode/SUAVE
Commit Name: f8c1cb259cb3a5cab9907bb87f1522909ee852af
Time: 2020-03-24
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Analyses/Aerodynamics/SU2_inviscid.py
Class Name: SU2_inviscid
Method Name: evaluate


Project Name: suavecode/SUAVE
Commit Name: 0d2bc15a92156ee1bc5a6c9cc29fd02c8a7dc15c
Time: 2018-08-09
Author: theo.st.francis@gmail.com
File Name: trunk/SUAVE/Input_Output/OpenVSP/vsp_read_wing.py
Class Name:
Method Name: vsp_read_wing


Project Name: kwgoodman/numerox
Commit Name: 1b02bc7d4302cb2f5a6bb3f34e5fd81d9afbbba0
Time: 2017-10-19
Author: kwgoodman@gmail.com
File Name: numerai/data.py
Class Name:
Method Name: load_zip