Full Program »
Basic programming in OpenFOAM
Basic programming in OpenFOAM
This hands-on session will go through the basics of writing and compiling top-level codes in OpenFOAM; the different parts of the Make system, and how to modify and recompile solvers and utilities. Examples will include; modifying pimpleFoam to include scalar temperature equation , writing a time varying new boundary condition to implement as a inlet in the pitzDaily case. Some knowledge of programming would be useful, as would some knowledge of a programming language with C-like syntax (C, C++).
Expected outcomes:
1.Code compilation and navigation
2.Basic code development
2.Working Knowledge of OpenFOAM core classes :
-Scalar, vector, tensor, word and list
3.Tools and practice:
-Finding classes and functions