Difference between revisions of "Programming"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | One of the most powerful features of OpenFOAM is the possibility of creating new solvers and features, able to cope with specific needs. For this you | + | One of the most powerful features of OpenFOAM is the possibility of creating new solvers and features, able to cope with specific needs. For this you need to use Programming. Below there is a list of tutorials that covers Programming in OpenFOAM. |
Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic]. | Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic]. |
Revision as of 08:24, 19 March 2017
One of the most powerful features of OpenFOAM is the possibility of creating new solvers and features, able to cope with specific needs. For this you need to use Programming. Below there is 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 collection of programming tutorials.
- Tips by Gerhard Holzinger Source Code and Programming (Chapter IX).
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.
Debugging
- See the list of tools by Stefan Radl to get an overview of debugging tools.
Further reading
- Hakan_Nilsson Nilsson's collection [1] comprises several reports that comprise programming.