Programming by Henrik Rusche

From OpenFOAM Wiki
Jump to navigation Jump to search

Go back to Day 12.

Scalar Transport: Swirl Test

These pdfs will introduce you to programming in OpenFOAM. You will create your own application and give you and introduction to the structure of the source files as well as the content of the code. You will set up a case to test the application. You will learn about:

  • types of source files
  • applications
  • utilities
  • build system
  • modifying a case setup

You can download the case files here.

For versions 5.0 and v1706 and more recent ones the applications in src don't compile. Just execute git checkout -f initU to get the initial velocity field.