Python and shell scripts used to perform a mesh convergence analysis on swept wing 3D panel codes results.zip contains a large number of pre-computed meshes.
This code was intended to solve the last question of the Low Speed Flow Past a High Aspect Ratio Swept Wing laboratory exercise from AE3-417
The code requires the user to submit two FORTRAN files a mesh generator (geowing.f) that reads the mesh parametres from Panel_code/meshParam.dat. And combo.f a solver that outputs at least 3 sectionnal files sect_001 sect_002 and sect_003 and reads stream definition data from Panel_code/stream.dat.
The folowing python3 packages are required: numpy matplotlib
A linux enviroment is required, for this manipulation:
- cd into the main directory
- Run meshConv.sh with bash
- Simulation may take up to an hour to run (tested on intel i5)
The code can be inproved by:
- Generalizing the processing function -Communicating the simulation parameters to python
- Improving the management of simulation data
- Executing simulation cases in parallel (large performance increase)
Pull requests welcome!