Programming by Alexander Vakhrushev

From OpenFOAM Wiki
Jump to navigation Jump to search

Go back to Day 12.

Developing an OpenFOAM solver


This pdf introduces you to programming a custom solver for OpenFOAM. You will add all the required information into the code as well as an additional partial differential equation, which will be solved during run time. Also you will change an existing case in order to test the new solver. You will learn about

  • solver structure
  • compiling
  • existing solvers
  • adding an energy equation
  • modifying and running a case