Skip to content

petebachant/NACAFoil-OpenFOAM

Repository files navigation

NACA foil OpenFOAM

A Calkit project that simulates NACA airfoils with OpenFOAM in a Docker container.

Usage

To download all of the cases and their results, execute:

calkit pull

To run all cases and aggregate the results, execute:

calkit run

To run a single case, execute:

calkit xenv -n foam -- python run.py {profile} {angle_of_attack}

For example, to simulate the flow around a NACA 0012 at 8 degrees angle of attack, run:

calkit xenv -n foam -- python run.py 0012 8

To start an interactive OpenFOAM shell, run:

calkit xenv -n foam bash

Acknowledgements

blockMeshDict generation script based on work by Håkon Strandenes.

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.

Creative Commons License
All other materials licensed under a Creative Commons Attribution 4.0 International License.

About

OpenFOAM case files for simulating NACA foils.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors