Difference between revisions of "Programming"
Jump to navigation
Jump to search
Jozsef Nagy (talk | contribs) |
Jozsef Nagy (talk | contribs) |
||
Line 8: | Line 8: | ||
* [https://wiki.openfoam.com/Programming_by_Kenneth_Hoste_and_Hrvoje_Jasak Hoste and Jasak video series] on programming. | * [https://wiki.openfoam.com/Programming_by_Kenneth_Hoste_and_Hrvoje_Jasak Hoste and Jasak video series] on programming. | ||
* [https://wiki.openfoam.com/Basic_programming_by_Hakan_Nilsson Nilsson's introduction] to basic programming in OpenFOAM. | * [https://wiki.openfoam.com/Basic_programming_by_Hakan_Nilsson Nilsson's introduction] to basic programming in OpenFOAM. | ||
+ | * [https://wiki.openfoam.com/Basic_programming_by_Hakan_Nilsson Nilsson's introduction] to advanced programming of models in OpenFOAM. | ||
* [https://wiki.openfoam.com/Tips_by_Gerhard_Holzinger Tips by Gerhard Holzinger] Source Code and Programming (Chapter IX). | * [https://wiki.openfoam.com/Tips_by_Gerhard_Holzinger Tips by Gerhard Holzinger] Source Code and Programming (Chapter IX). | ||
Revision as of 05:18, 5 September 2017
One of the most relevant capabilities of OpenFOAM the possibility of creating new solvers and features, required for specific needs, which are done with Programming. You can find below a list of tutorials that covers Programming in OpenFOAM.
Go back to Collection by topic.
Programming
Complete Programming Courses
- Hoste and Jasak video series on programming.
- Nilsson's introduction to basic programming in OpenFOAM.
- Nilsson's introduction to advanced programming of models in OpenFOAM.
- Tips by Gerhard Holzinger Source Code and Programming (Chapter IX).
C++
- Basics of C++ by Hakan Nilsson.
Intro: Compilation and Testing
- Lee's compact introduction to compilation using existing code.
- The tutorials by Stefan Radl provide details on compilation and basic testing of new code.
- Ferras et al. describe solver implementatiob, compilation, and testing.
Implementation of Initial and Boundary Conditions
- Guerrero describes how to implement and test BCs using codeStream.
- Guerrero describes field initialization using codeStream.
- This tutorial by Gavin Tabor covers the implementation of custom boundary conditions.
Customizing solvers
- Rusche's introduction to programming details on version control with git, the build system and customizing solvers.
- Vakhrushev's slides illustrate how to modify a solver.
- Isabelle Choquet and Håkan Nilsson teaches how to implement new thermophysical model and additional transport equation.
- Gavin Tabor describes in this tutorial how to customize solver and implement a new constitutive model.
- Holzmann shows how to systematically build, analyze and build your own code in this tutorial.
Debugging
- See the list of tools by Stefan Radl to get an overview of debugging tools.
Further reading
- Håkan Nilsson's collection [1] comprises several reports that cover programming topics.