OpenFOAM (3.0.x) case files for simulating NACA foils. Wikipedia's NACA 4-digit airfoils (http://en.wikipedia.org/wiki/NACA_airfoil)
- Python
- NumPy
- pandas
- matplotlib
Note: All dependencies are included in the Anaconda Python distribution. Python 3.5 is recommended.
To run a single case, execute
./Allrun {foil} {alpha_deg}
For example, to simulate the flow around a NACA 0012 at 8 degrees angle of attack, run
./Allrun 0012 8
To automatically simulate multiple angles of attack, execute
python paramsweep.py
To plot the results for multiple angles of attack, run
python plot.py
Just forking Pete Bachant (https://github.com/petebachant/NACAFoil-OpenFOAM) work to play with NACA foils. Some stuff needs update.
blockMeshDict
generation script based on work by
Håkon Strandenes.
NACA0012_6e6_Ladson*
datasets taken from http://turbmodels.larc.nasa.gov/NACA0012_validation/CLCD_Ladson_expdata.dat,
linked from http://turbmodels.larc.nasa.gov/naca0012_val.html. Header:
# Data from Ladson, NASA TM 4074, 1988
# Re=6 million, with transition tripped
# M=0.15
Code is GPL licensed. See LICENSE for details.
All other materials licensed under a Creative Commons Attribution 4.0 International License.