Difference between revisions of "Programming by Henrik Rusche"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* '''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''': 5.0 and 1706+
+
* '''OpenFOAM version''': v11 and v2312
 
* '''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])
  
Go back to [https://wiki.openfoam.com/index.php?title=Day_11 Day 11].
+
Go back to [https://wiki.openfoam.com/index.php?title=Day_12 Day 12].
  
 
=[https://sourceforge.net/projects/openfoam-extend/files/OpenFOAM_Workshops/OFW7_2012_Darmstadt/Training/HenrikRusche/HenrikRusche-TrainingSlides.tgz/download Scalar Transport: Swirl Test]=
 
=[https://sourceforge.net/projects/openfoam-extend/files/OpenFOAM_Workshops/OFW7_2012_Darmstadt/Training/HenrikRusche/HenrikRusche-TrainingSlides.tgz/download Scalar Transport: Swirl Test]=
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 5.0 and v1706 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 and more recent ones the applications in src don't compile. Just execute ''git checkout -f initU'' to get the initial velocity field.

Latest revision as of 09:08, 20 March 2024

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.