hnsxmh / forces

new openFOAM forces library which supports calculation of pressure profile of airfoil in openFOAM extend-4.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

new openFOAM forces library which supports calculation of Cp (or pressure) profile of airfoil in openFOAM extend-4.1

How to use:

1.Use wmake libso to compile the library under following path: $(FOAM_USER_LIBBIN) with the name "libforcesNew".

2.Add function in ControlDict in your own case and run the case as normal.

3.You will find the results in forces folder which are separately stored in each time step as you defined.

4.Use i.e. gnuplot to plot the pressure profile arond the airfoil.

P.s. an example is shown in the repository.

result from NASA (https://turbmodels.larc.nasa.gov/naca0012_val.html):

QQ图片20210323113713

simulation results:

pProfile

About

new openFOAM forces library which supports calculation of pressure profile of airfoil in openFOAM extend-4.1

License:GNU General Public License v3.0


Languages

Language:C 52.0%Language:C++ 46.4%Language:CMake 1.4%Language:Shell 0.2%