Difference between revisions of "Programming"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
* [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 describes in [https://wiki.openfoam.com/Simulating_chocolate_by_Gavin_Tabor this tutorial] how to customize solver and implement a new constitutive model.
 
* Gavin Tabor describes in [https://wiki.openfoam.com/Simulating_chocolate_by_Gavin_Tabor 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 [https://wiki.openfoam.com/Code_development_by_Tobias_Holzmann tutorial].
  
 
'''Debugging'''
 
'''Debugging'''

Revision as of 09:20, 20 July 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

Intro: 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

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.