Programming by Henrik Rusche
- contributor: Henrik Rusche
- affiliation: Wikki GmbH
- contact: click here for email address
- OpenFOAM version: v8 and 2106
- published under: CC BY-NC-SA license (creative commons licenses)
Go back to Day 12.
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
- 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.