*ARCHIVED* development moved to aircraft-studio.
Delete main.py
main.py
@@ -1,45 +0,0 @@
1
Removed:
# This file is part of Marius Peter's airfoil analysis package (this program).
2
Removed:
#
3
Removed:
# This program is free software: you can redistribute it and/or modify
4
Removed:
# it under the terms of the GNU General Public License as published by
5
Removed:
# the Free Software Foundation, either version 3 of the License, or
6
Removed:
# (at your option) any later version.
7
Removed:
#
8
Removed:
# This program is distributed in the hope that it will be useful,
9
Removed:
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
Removed:
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
Removed:
# GNU General Public License for more details.
12
Removed:
#
13
Removed:
# You should have received a copy of the GNU General Public License
14
Removed:
# along with this program. If not, see <https://www.gnu.org/licenses/>.
15
Removed:
16
Removed:
import creator
17
Removed:
import random
18
Removed:
19
Removed:
import time
20
Removed:
start_time = time.time()
21
Removed:
22
Removed:
CHORD_LENGTH = 100
23
Removed:
SEMI_SPAN = 200
24
Removed:
25
Removed:
POP_SIZE = 1
26
Removed:
SAVE_PATH = 'C:/Users/blend/Desktop/python/airfoils'
27
Removed:
28
Removed:
29
Removed:
def main():
30
Removed:
# Create coordinate system specific to airfoil dimensions.
31
Removed:
creator.Coordinates(CHORD_LENGTH, SEMI_SPAN)
32
Removed:
for airfoil_number in range(1, POP_SIZE + 1):
33
Removed:
foo = creator.Airfoil()
34
Removed:
foo.naca(2412)
35
Removed:
# foo.print_geometry(4)
36
Removed:
foo.spar = creator.Spar()
37
Removed:
foo.spar.add_spar(foo.coordinates, 'aluminium', 0.15)
38
Removed:
creator.plot(foo, foo.spar)
39
Removed:
# foo.save_values(airfoil_number, SAVE_PATH)
40
Removed:
41
Removed:
print("--- %s seconds ---" % (time.time() - start_time))
42
Removed:
43
Removed:
44
Removed:
if __name__ == '__main__':
45
Removed:
main()