From 6684ea0a2e6e7a8e992c18420c20d54d6c5b1aa2 Mon Sep 17 00:00:00 2001 From: blendoit Date: Sun, 29 Sep 2019 15:47:14 -0700 Subject: Linux --- example_airfoil.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'example_airfoil.py') diff --git a/example_airfoil.py b/example_airfoil.py index e0eb532..56b2ffa 100644 --- a/example_airfoil.py +++ b/example_airfoil.py @@ -10,7 +10,6 @@ Generate a population of airfoils & optimize. from tools import creator, evaluator, generator - import time start_time = time.time() @@ -40,7 +39,6 @@ NOSE_BOTTOM_STRINGERS = 5 SAVE_PATH = '/home/blendux/github/UCLA_MAE_154B/save/' - # Create airfoil instance af = creator.Airfoil.from_dimensions(CHORD_LENGTH, SEMI_SPAN) af.add_naca(NACA_NUM) @@ -63,11 +61,8 @@ af.spar.info_save(SAVE_PATH, 'foo_name') # Create stringer instance af.stringer = creator.Stringer() # Compute the stringer coordinates from their quantity in each zone -af.stringer.add_coord(af, - NOSE_TOP_STRINGERS, - TOP_STRINGERS, - NOSE_BOTTOM_STRINGERS, - BOTTOM_STRINGERS) +af.stringer.add_coord(af, NOSE_TOP_STRINGERS, TOP_STRINGERS, + NOSE_BOTTOM_STRINGERS, BOTTOM_STRINGERS) af.stringer.add_area(STRINGER_AREA) af.stringer.add_mass(STRINGER_MASS) af.stringer.add_webs(SKIN_THICKNESS) -- cgit v1.2.3