diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-23 02:17:21 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-23 02:17:21 -0700 |
commit | 7a7c4840386adc45ed84985784d57fe3fc345c07 (patch) | |
tree | 8c89fd0f539293aa64d1af93ed6cac6c2a4db87a | |
parent | 3074c4c8cbeac6a6e5a4d7fa4a8afe34ec39911d (diff) |
bugfix
-rw-r--r-- | creator.py | 4 | ||||
-rw-r--r-- | main.py | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -198,8 +198,8 @@ class Airfoil(Coordinates): x_chord.extend(i for i in range(x_chord_25_percent, self.chord + 1)) # Reversed list for our lower airfoil coordinate densification x_chord_rev = [i for i in range(self.chord, x_chord_25_percent, -1)] - ext = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)] - x_chord_rev.extend(ext) + extend = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)] + x_chord_rev.extend(extend) # Generate our airfoil geometry from previous sub-functions. for x in x_chord: @@ -23,8 +23,8 @@ import time start_time = time.time() # Airfoil dimensions -NACA_NUM = 2412 -CHORD_LENGTH = 100 +NACA_NUM = 4412 +CHORD_LENGTH = 133 SEMI_SPAN = 140 # Airfoil thickness @@ -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 |