https://github.com/petebachant/nacafoil-openfoam
OpenFOAM case files for simulating NACA foils.
https://github.com/petebachant/nacafoil-openfoam
aerodynamics cfd openfoam
Last synced: 9 months ago
JSON representation
OpenFOAM case files for simulating NACA foils.
- Host: GitHub
- URL: https://github.com/petebachant/nacafoil-openfoam
- Owner: petebachant
- License: gpl-3.0
- Created: 2015-08-14T23:32:43.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-07T01:55:24.000Z (about 1 year ago)
- Last Synced: 2025-09-06T10:43:46.712Z (9 months ago)
- Topics: aerodynamics, cfd, openfoam
- Language: Python
- Homepage: https://calkit.io/petebachant/nacafoil-openfoam
- Size: 217 KB
- Stars: 50
- Watchers: 4
- Forks: 18
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NACA foil OpenFOAM
A [Calkit](https://calkit.org) project that simulates
NACA airfoils with OpenFOAM in a Docker container.
## Usage
To download all of the cases and their results, execute
```sh
calkit pull
```
To run all cases and aggregate the results, execute
```sh
calkit run
```
To run a single case, execute
```sh
calkit xenv python run.py {profile} {angle_of_attack}
```
For example, to simulate the flow around a NACA 0012 at 8 degrees angle
of attack, run
```sh
calkit xenv python run.py 0012 8
```
## Acknowledgements
`blockMeshDict` generation script based on work by
[Håkon Strandenes](https://www.hpc.ntnu.no/display/hpc/OpenFOAM+-+Airfoil+Calculations#OpenFOAM-AirfoilCalculations-3:Calculationofforcesandforcecoefficients).
## Experimental data
`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
```
## License
Code is GPL licensed. See LICENSE for details.
All other materials licensed under a
Creative Commons Attribution 4.0 International License.