Scaled Aircraft in Aeroelastic Similarity - Flutter Optimization
This folder contains the following folders:
- Garteur Model: All the python codes for all the scale ratios are inside it
- Goland Wing: All the python codes for all the scale ratios are inside it
- Presentation: The final defense presentation is inside this folder
- Report: The final report in both .docx and .pdf format are inside this folder
- Results: It contains a complied version of all the results in an excel file named "RESULT BOOK.xlsx" and each folder inside this folder contains the result of convergences and MAC matrices for respective scaling ratios
HOW TO RUN THE CODES:
To run the python codes for each scaling ratio:
-
Copy all the files from the folder "Reference Model" to the respective folder for example: Scale 1by4
-
Open the file "modal_optim_GOLAND_COBYLA_scale1by4.py" in Spyder2
-
Use python console to run the code
-
After convergence is acheived, open the file "optim_plot_COBYLA.py" in another tab on the same python window
-
Run this code in python console to get the convergence graphs
-
Go to the folder directory to read the output file "nastran_dynamic.out" for getting the frequency and mass values for scaled model
-
Go to the folder directory to read the output file "nastran_dynamic.inp" to get the optimized thickness and concentrated mass values for the scaled model
-
To get the MAC matrix type the following command in the python console: make sure you are in the right directory
import sqlitedict
db=sqlitdict.SqliteDict('modal_optim_COBYLA','iterations')
db.keys()
db[rank0:COBYLA|the last iteration number]['Unknowns']['MAC']
-
That's all!