Difference between revisions of "Programming4"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
[[category:programming]]
 
* '''contributor''': Joel Guerrero
 
* '''contributor''': Joel Guerrero
 
* '''affiliation''': Universita degli Studi di Genova, Wolf Dynamics
 
* '''affiliation''': Universita degli Studi di Genova, Wolf Dynamics

Revision as of 05:46, 12 October 2017

Go back to Day 11.

Programming in OpenFOAM - Adding a passive scalar to icoFoam

my_icoFoam


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

  • You can download the solver source code and case files in this link.


Go back to the contributions page.