summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <blendoit@gmail.com>2019-06-23 12:28:22 -0700
committerMarius Peter <blendoit@gmail.com>2019-06-23 12:28:22 -0700
commit4e562fba0de3f00b5240e6e09176ee73584f620f (patch)
treec6e690e23e9d26ca6e131110c2d30c88f4a5d68d
parentd9b627d06abe7f3d53aa3aebfecd9e392b3e276e (diff)
redundant corodinates
-rw-r--r--evaluator.py5
-rw-r--r--main.py4
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
Copyright 2019--2024 Marius PETER