From 79512b397e0dae0a7b1fe2ddf8744129f9546b97 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 22 Jun 2019 15:09:40 -0700 Subject: get all inertia terms --- main.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index fb143cd..4444026 100644 --- a/main.py +++ b/main.py @@ -63,7 +63,7 @@ def main(): # Define NACA airfoil coordinates and mass af.add_naca(NACA_NUM) af.add_mass(AIRFOIL_MASS) - af.info_print(2) + # af.info_print(2) af.info_save(SAVE_PATH, _) # Create spar instance @@ -72,7 +72,7 @@ def main(): af.spar.add_coord(af.coord, 0.15) af.spar.add_coord(af.coord, 0.55) af.spar.add_mass(SPAR_MASS) - af.spar.info_print(2) + # af.spar.info_print(2) af.spar.info_save(SAVE_PATH, _) # Create stringer instance @@ -85,19 +85,20 @@ def main(): BOTTOM_STRINGERS) af.stringer.add_area(STRINGER_AREA) af.stringer.add_mass(STRINGER_MASS) - af.stringer.info_print(2) + # af.stringer.info_print(2) af.stringer.info_save(SAVE_PATH, _) # Plot components with matplotlib - creator.plot(af) + # creator.plot_geom(af) - # evaluator.Evaluator instance contains airfoil analysis results. + # Evaluator object contains airfoil analysis results. eval = evaluator.Evaluator(af) # The analysis is performed in the evaluator.py module. eval.analysis() - eval.info_print(2) + # eval.info_print(2) eval.info_save(SAVE_PATH, _) - evaluator.plot(eval) + # evaluator.plot_geom(eval) + # evaluator.plot_lift(eval) # Print final execution time print("--- %s seconds ---" % (time.time() - start_time)) -- cgit v1.2.3