Difference between revisions of "Programming"
Jump to navigation
Jump to search
Jozsef Nagy (talk | contribs) |
Jozsef Nagy (talk | contribs) |
||
Line 9: | Line 9: | ||
'''C++''' | '''C++''' | ||
− | |||
'''Intro: Compilation and Testing''' | '''Intro: Compilation and Testing''' |
Revision as of 09:32, 5 December 2022
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
- Nilsson's introduction to programming in OpenFOAM.
C++
Intro: Compilation and Testing
- Ferras et al. describe solver implementation, 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.
- Guerrero describes how to implement a basic solver from scratch.
- Guerrero describes how to add a passive scalar (or the convection-diffusion equation) to a basic solver.
Customizing solvers
- Rusche's introduction to programming details on version control with git, the build system and customizing solvers.
- Code Development describes now you can implement your own souce code in OpenFOAM.
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.