summaryrefslogtreecommitdiff
path: root/example_airfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_airfoil.py')
-rw-r--r--example_airfoil.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/example_airfoil.py b/example_airfoil.py
index f09ea7f..0fd0aba 100644
--- a/example_airfoil.py
+++ b/example_airfoil.py
@@ -44,7 +44,7 @@ SAVE_PATH = 'C:/Users/blend/github/UCLA_MAE_154B/save'
af = creator.Airfoil.from_dimensions(CHORD_LENGTH, SEMI_SPAN)
af.add_naca(NACA_NUM)
af.add_mass(AIRFOIL_MASS)
-# af.info_print(2)
+af.info_print(2)
af.info_save(SAVE_PATH, 'foo_name')
# Create spar instance
@@ -56,7 +56,7 @@ af.spar.add_coord(af, 0.57)
af.spar.add_spar_caps(SPAR_CAP_AREA)
af.spar.add_mass(SPAR_MASS)
af.spar.add_webs(SPAR_THICKNESS)
-# af.spar.info_print(2)
+af.spar.info_print(2)
af.spar.info_save(SAVE_PATH, 'foo_name')
# Create stringer instance
@@ -70,7 +70,7 @@ af.stringer.add_coord(af,
af.stringer.add_area(STRINGER_AREA)
af.stringer.add_mass(STRINGER_MASS)
af.stringer.add_webs(SKIN_THICKNESS)
-# af.stringer.info_print(2)
+af.stringer.info_print(2)
af.stringer.info_save(SAVE_PATH, 'foo_name')
# Plot components with matplotlib
@@ -80,16 +80,16 @@ creator.plot_geom(af, True)
eval = evaluator.Evaluator(af)
# The analysis is performed in the evaluator.py module.
eval.analysis(1, 1)
-# eval.info_print(2)
+eval.info_print(2)
eval.info_save(SAVE_PATH, 'foo_name')
# evaluator.plot_geom(eval)
-# evaluator.plot_lift(eval)
+evaluator.plot_lift(eval)
pop = generator.Population(10)
-# print(help(creator))
-# print(help(evaluator))
-# print(help(generator))
+print(help(creator))
+print(help(evaluator))
+print(help(generator))
# Print final execution time
print("--- %s seconds ---" % (time.time() - start_time))
Copyright 2019--2024 Marius PETER