suavecode / SUAVE

An Aircraft Design Toolbox
suave.stanford.edu
GNU Lesser General Public License v2.1
401 stars 392 forks source link

SUAVE/Methods/Aerodynamics/Fidelity_Zero/parasite_drag_propulsor.py uses wrong correlation #121

Closed jmvegh closed 8 years ago

jmvegh commented 8 years ago

has

d_d = 1./((propulsor.engine_length + propulsor.D) / np.sqrt(4/np.pi*(A_max - (A_exit+A_inflow)/2.)))

when it should be d_d = 1./((propulsor.engine_length + propulsor.nacelle_diameter) / np.sqrt((4./np.pi)*(A_max - (A_exit+A_inflow)/2.)))

causes it to run Raymer correlation used to catch singularities all the time

planes commented 8 years ago

Fixed, uses the correct correlations and didn't break the regression.