HTTPS SSH

Flow past cylinder

OpenFOAM case files for simulation of a laminar flow around a cylinder.

To generate mesh you need Gmsh application in your PATH.

To run simulations you need:

  1. Checkout files with Mercurial or download tarball.
  2. Select a version you'd like to run. Difference between cases is in mesh density. Coarse mesh has around 50k cells, fine mesh is 4 times denser.
  3. Select approperiate fvSchemes and fvSolution files. You can either rename fvSchemes.X in fvSchemes or create a symlink.
  4. After you can run Allprepare script to generate mesh and make corrections in boundary dictionary.
  5. Run pimpleFoam

Results and more detailed explanation can be found in the blog post.