summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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