diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | evaluator/evaluator.py (renamed from evaluator.py) | 2 | ||||
-rw-r--r-- | example_airfoil.py | 12 |
3 files changed, 9 insertions, 8 deletions
@@ -1,4 +1,5 @@ # .gitignore **/__pycache__/ **/log.txt -save/
\ No newline at end of file +save/ +TAGS
\ No newline at end of file diff --git a/evaluator.py b/evaluator/evaluator.py index 85325a9..6c7f901 100644 --- a/evaluator.py +++ b/evaluator/evaluator.py @@ -1,6 +1,6 @@ """ The evaluator.py module contains a single Evaluator class, -which knows all the attributes of a specified Airfoil instance, +which knows all the attributes of a specified Aircraft instance, and contains functions to analyse the airfoil's geometrical & structural properties. """ diff --git a/example_airfoil.py b/example_airfoil.py index 292c1e9..08282a3 100644 --- a/example_airfoil.py +++ b/example_airfoil.py @@ -42,18 +42,18 @@ NOSE_BOTTOM_STRINGERS = 5 SAVE_PATH = '/home/blendux/Projects/Aircraft_Studio/save' # Create airfoil instance -af = wing.Airfoil(68, 150, mt.aluminium) +af = wing.Airfoil(20, 150, mt.aluminium) af.add_naca(NACA_NUM) -# af.info_print(2) -af.info_save(SAVE_PATH, 'foo_name') +af.info_print(2) +# af.info_save(SAVE_PATH, 'foo_name') # Create spar instances af.spar1 = wing.Spar(af, 0.23, mt.aluminium) af.spar2 = wing.Spar(af, 0.57, mt.aluminium) # af.spar1.info_print(2) # af.spar2.info_print(2) -af.spar1.info_save(SAVE_PATH, 'spar1') -af.spar2.info_save(SAVE_PATH, 'spar2') +# af.spar1.info_save(SAVE_PATH, 'spar1') +# af.spar2.info_save(SAVE_PATH, 'spar2') # # Create stringer instance # af.stringer = wing.Stringer() @@ -66,7 +66,7 @@ af.spar2.info_save(SAVE_PATH, 'spar2') # af.stringer.info_save(SAVE_PATH, 'foo_name') # Plot components with matplotlib -wing.plot_geom(af, [af.spar1, af.spar2], None) +# wing.plot_geom(af, [af.spar1, af.spar2], None) # Evaluator object contains airfoil analysis results. # eval = evaluator.Evaluator(af) |