Difference between revisions of "Programming by Henrik Rusche"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
You can download the case files [https://sourceforge.net/projects/openfoam-extend/files/OpenFOAM_Workshops/OFW7_2012_Darmstadt/Training/HenrikRusche/HenrikRusche-TrainingMaterial.tgz/download here].
 
You can download the case files [https://sourceforge.net/projects/openfoam-extend/files/OpenFOAM_Workshops/OFW7_2012_Darmstadt/Training/HenrikRusche/HenrikRusche-TrainingMaterial.tgz/download here].
  
  For versions 4.1 and 17.06+ the applications in src don't compile. Just execute ''git checkout -f initU'' to get the initial velocity field.
+
  For versions 5.0 and v1706 the applications in src don't compile. Just execute ''git checkout -f initU'' to get the initial velocity field.

Revision as of 05:11, 12 October 2017

Go back to Day 11.

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 the applications in src don't compile. Just execute git checkout -f initU to get the initial velocity field.