[Python] Design & build airplanes from your specifications.
Start work under Pypy3
Changed files
README.org
@@ -1,5 +1,6 @@
1
1
#+TITLE: Aircraft Studio
2
2
#+AUTHOR: Marius Peter
3
Added:
#+EMAIL: mpeter@ucla.edu
3
4
4
5
This program enables the creation of NACA airfoils;
5
6
the analysis of the airfoil's structural properties;
@@ -7,3 +8,26 @@
7
8
With the final objective of designing a lightweight FAR 23 compliant airfoil.
8
9
9
10
I adapted it from my own code for the UCLA MAE 154B final project (Spring 2019).
11
Added:
12
Added:
* Program Structure
13
Added:
14
Added:
** =creator.py=
15
Added:
This module enables the creation of discrete aircraft components.
16
Added:
17
Added:
** =evaluator.py=
18
Added:
19
Added:
** =generator.py=
20
Added:
The =generator= module contains classes describing aircrafts comprised
21
Added:
of sufficient =creator= components that they can be fed to the =evaluator=
22
Added:
for useful analysis.
23
Added:
24
Added:
* Program Flow
25
Added:
26
Added:
1. Create an =evaluator= object
27
Added:
2. Populate the =evaluator= with aircrafts by either:
28
Added:
1. Using =generator= methods to create an aircraft from a template
29
Added:
2. Using =creator= to manually describe all aircraft components
30
Added:
3. Use =evaluator= methods to:
31
Added:
1. Calculate relevant aircraft properties
32
Added:
2. Set desired optimization parameter(s)
33
Added:
3. Execute the genetic algoritm and return an optimized aircraft
creator/__init__.pyc
Binary files differ
doc/diagram
@@ -0,0 +1,5 @@
1
Added:
hide footbox
2
Added:
title Sequence Diagram (Footer removed)
3
Added:
4
Added:
Alice -> Bob: Authentication Request
5
Added:
Bob --> Alice: Authentication Response
doc/diagram.png
Binary files differ
example_airfoil.py
@@ -69,7 +69,7 @@
69
69
# af.stringer.info_save(SAVE_PATH, 'foo_name')
70
70
71
71
# Plot components with matplotlib
72
Removed:
# wing.plot_geom(af, [af.spar1, af.spar2], None)
72
Added:
# creator.wing.plot_geom(af, [af.spar1, af.spar2], None)
73
73
74
74
# Evaluator object contains airfoil analysis results.
75
75
eval = evaluator.Evaluator(aircraft)
example_airfoil.pyc
Binary files differ
resources/__init__.py
resources/__init__.pyc
Binary files differ
resources/materials.pyc
Binary files differ