Difference between revisions of "Programming"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* [https://wiki.openfoam.com/Programming_by_Robert_Lee Lee's compact introduction] to compilation using existing code. | * [https://wiki.openfoam.com/Programming_by_Robert_Lee Lee's compact introduction] to compilation using existing code. | ||
* The [https://wiki.openfoam.com/Programming_by_Stefan_Radl tutorials by Stefan Radl] provide details on compilation and basic testing of new code. | * The [https://wiki.openfoam.com/Programming_by_Stefan_Radl tutorials by Stefan Radl] provide details on compilation and basic testing of new code. | ||
− | * [https://wiki.openfoam.com/Programming_by_Ferras,_Fernandes_and_Nobrega Ferras et al.] describe solver, compilation, and testing. | + | * [https://wiki.openfoam.com/Programming_by_Ferras,_Fernandes_and_Nobrega Ferras et al.] describe solver implementatiob, compilation, and testing. |
+ | * Gavin Tabor presents in [https://wiki.openfoam.com/Simulating_chocolate_by_Gavin_Tabor this tutorial] how to implement a new solver and a new constitutive model. | ||
'''Implementation of Initial and Boundary Conditions''' | '''Implementation of Initial and Boundary Conditions''' |
Revision as of 08:17, 19 March 2017
Small introduction
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.
- Gavin Tabor presents in this tutorial how to implement a new solver and a new constitutive model.
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.
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.