Difference between revisions of "Programming by Henrik Rusche"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
* '''affiliation''': Wikki GmbH
 
* '''affiliation''': Wikki GmbH
 
* '''contact''': <mail address='rusche@wikki-gmbh.de' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='rusche@wikki-gmbh.de' description='author'>click here for email address</mail>
* '''OpenFOAM version''': 2.3.0
+
* '''OpenFOAM version''': 4.1 and 17.06+
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
  
Line 18: Line 18:
  
 
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.

Revision as of 05:08, 6 September 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 4.1 and 17.06+ the applications in src don't compile. Just execute git checkout -f initU to get the initial velocity field.