Difference between revisions of "Programming"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
* 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 implementatiob, compilation, and testing. | * [https://wiki.openfoam.com/Programming_by_Ferras,_Fernandes_and_Nobrega Ferras et al.] describe solver implementatiob, compilation, and testing. | ||
− | |||
'''Implementation of Initial and Boundary Conditions''' | '''Implementation of Initial and Boundary Conditions''' | ||
Line 25: | Line 24: | ||
* [https://wiki.openfoam.com/Programming_by_Alexander_Vakhrushev Vakhrushev's slides] illustrate how to modify a solver. | * [https://wiki.openfoam.com/Programming_by_Alexander_Vakhrushev Vakhrushev's slides] illustrate how to modify a solver. | ||
* [https://wiki.openfoam.com/Thermodynamic_class_by_Isabelle_Choquet Isabelle Choquet and Håkan Nilsson] teaches how to implement new thermophysical model and additional transport equation. | * [https://wiki.openfoam.com/Thermodynamic_class_by_Isabelle_Choquet Isabelle Choquet and Håkan Nilsson] teaches how to implement new thermophysical model and additional transport equation. | ||
+ | * Gavin Tabor presents in [https://wiki.openfoam.com/Simulating_chocolate_by_Gavin_Tabor this tutorial] how to customize solver and implement a new constitutive model. | ||
'''Debugging''' | '''Debugging''' |
Revision as of 08:18, 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.
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 presents 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.