Skip to content

it is an OpenFOAM example to show how to import grid from pyhyp.

Notifications You must be signed in to change notification settings

NimaSam/windTurbine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFOAM Example: Importing pyHyp Grid for Wind Turbine Simulation

This Git repository serves as a OpenFOAM example demonstrating the import of grid data from pyHyp for wind turbine simulation purposes. The repository showcases a user-friendly bash script that efficiently converts a pyHyp grid, specifically designed for an airfoil, into a fully structured wind turbine computational domain with a rotating region.

Steps

  • initial grid generated in pyHyp pyHyp airfoil grid

The output grid format is in .cgns, which can be converted into an OpenFOAM polyMesh using the method available at this GitHub repository.

The remaining steps can be easily managed using the provided bash script Allrun for OpenFOAM-9. Here's a general outline of the process:

  • rotate and replicate grid region around airfoils replicated airfoils

  • create srounding region with blockMesh/snappyHexMesh replicated airfoils

  • run the simulation with pimpleFoam (previously aka:pimpleDyMFoam) (Click picture below to Watch) run with pimpleFoam

About

it is an OpenFOAM example to show how to import grid from pyhyp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published