From OpenFOAM Wiki
Jump to navigation Jump to search

Go back to Day 11.

Programming in OpenFOAM - Adding a passive scalar to icoFoam


In the previous tutorial, we learned how to program a basic solver from scratch (the convection-diffusion equation). In these slides, we cover how to add a passive scalar (or the convection-diffusion equation) to the solver icoFoam. Additionally, we also add custom boundary conditions using codeStream.

  • You can download the solver source code and case files at this link.
  • You can download the meshes and geometries at this link.

Go back to the contributions page.