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''': 4.1 and 17.06+
+
* '''OpenFOAM version''': 5.0 and 1706+
 
* '''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])
  

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.