77e04e5432631465f924ac82c2397ec8eb47fe6a,trunk/SUAVE/Methods/Aerodynamics/Fidelity_Zero/Drag/parasite_drag_wing.py,,parasite_drag_wing,#Any#Any#Any#,23

Before Change


    xtl          = wing.transition_x_lower
    
    // compute wetted area 
    try:
        Swet = wing.areas.wetted
    except:
        Swet = 1. * (1.0+ 0.2*t_c_w) * S_exposed_w
        wing.areas.wetted = Swet
    
    // conditions
    Mc  = freestream.mach_number
    Tc  = freestream.temperature    
    re  = freestream.reynolds_number

After Change


    xtl          = wing.transition_x_lower
    
    // compute wetted area 
    if wing.has_key("areas"):
        if wing.areas.has_key("wetted"):
            Swet = wing.areas.wetted
        else:
            Swet = 1. * (1.0+ 0.2*t_c_w) * S_exposed_w
            wing.areas.wetted = Swet
    else:
        Swet = 1. * (1.0+ 0.2*t_c_w) * S_exposed_w
        wing.areas.wetted = Swet        
    
    // conditions
    Mc  = freestream.mach_number
    Tc  = freestream.temperature    
    re  = freestream.reynolds_number
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: suavecode/SUAVE
Commit Name: 77e04e5432631465f924ac82c2397ec8eb47fe6a
Time: 2016-03-12
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Aerodynamics/Fidelity_Zero/Drag/parasite_drag_wing.py
Class Name:
Method Name: parasite_drag_wing


Project Name: suavecode/SUAVE
Commit Name: 77e04e5432631465f924ac82c2397ec8eb47fe6a
Time: 2016-03-12
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Flight_Dynamics/Static_Stability/Approximations/Supporting_Functions/convert_sweep.py
Class Name:
Method Name: convert_sweep


Project Name: suavecode/SUAVE
Commit Name: 77e04e5432631465f924ac82c2397ec8eb47fe6a
Time: 2016-03-12
Author: ebotero@stanford.edu
File Name: trunk/SUAVE/Methods/Flight_Dynamics/Static_Stability/Approximations/datcom.py
Class Name:
Method Name: datcom