From 4e562fba0de3f00b5240e6e09176ee73584f620f Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 23 Jun 2019 12:28:22 -0700 Subject: redundant corodinates --- evaluator.py | 5 +---- main.py | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/evaluator.py b/evaluator.py index 9512a4b..eea4f67 100644 --- a/evaluator.py +++ b/evaluator.py @@ -38,10 +38,7 @@ class Evaluator: + airfoil.spar.mass + airfoil.stringer.mass) self.mass_dist = [] - # Upper coordinates - self.x = airfoil.x - self.z = airfoil.z - # Lower coordinates + # Coordinates self.x = airfoil.x self.z = airfoil.z self.lift_rectangular = [] diff --git a/main.py b/main.py index f82ca89..f11bd0f 100644 --- a/main.py +++ b/main.py @@ -98,7 +98,7 @@ def main(): af.stringer.info_save(SAVE_PATH, _) # Plot components with matplotlib - # creator.plot_geom(af) + creator.plot_geom(af) # Evaluator object contains airfoil analysis results. eval = evaluator.Evaluator(af) @@ -106,7 +106,7 @@ def main(): eval.analysis() # eval.info_print(2) eval.info_save(SAVE_PATH, _) - # evaluator.plot_geom(eval) + evaluator.plot_geom(eval) # evaluator.plot_lift(eval) # Print final execution time -- cgit v1.2.3