Programming boundary conditions by Gavin Tabor

From OpenFOAM Wiki
Revision as of 05:10, 12 October 2017 by Jozsef Nagy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Go back to Day 12.

Writing new boundary conditions in OpenFOAM

This tutorial gives you an extensive walkthough of the implementation of a custom boundary condition. You will see the main steps and compile the code in order to run a case, where you utilize the boundary condition. The topics covered are:

  • classes in OpenFOAM
  • polymorphism
  • runtime selection
  • boundary conditions
  • testing

You can download the code and case files here.