bugfix

Commit
7a7c4840386adc45ed84985784d57fe3fc345c07
Author
Marius Peter <blendoit@gmail.com>
Author date
Committer
Marius Peter <blendoit@gmail.com>
Committer date
Changed files
creator.py
index aa9fcbdd..0bfe5292 100644..100644
@@ -198,8 +198,8 @@
198 198 x_chord.extend(i for i in range(x_chord_25_percent, self.chord + 1))
199 199 # Reversed list for our lower airfoil coordinate densification
200 200 x_chord_rev = [i for i in range(self.chord, x_chord_25_percent, -1)]
201 Removed: ext = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
202 Removed: x_chord_rev.extend(ext)
201 Added: extend = [i / 10 for i in range(x_chord_25_percent * 10, -1, -1)]
202 Added: x_chord_rev.extend(extend)
203 203
204 204 # Generate our airfoil geometry from previous sub-functions.
205 205 for x in x_chord:
main.py
index b62b24f8..97cd4927 100644..100644
@@ -23,8 +23,8 @@
23 23 start_time = time.time()
24 24
25 25 # Airfoil dimensions
26 Removed: NACA_NUM = 2412
27 Removed: CHORD_LENGTH = 100
26 Added: NACA_NUM = 4412
27 Added: CHORD_LENGTH = 133
28 28 SEMI_SPAN = 140
29 29
30 30 # Airfoil thickness
@@ -106,7 +106,7 @@
106 106 eval.analysis()
107 107 # eval.info_print(2)
108 108 eval.info_save(SAVE_PATH, _)
109 Removed: # evaluator.plot_geom(eval)
109 Added: evaluator.plot_geom(eval)
110 110 # evaluator.plot_lift(eval)
111 111
112 112 # Print final execution time