7 applicationSourceCode
7 applicationSourceCode
Solvers in OpenFOAM
• In $FOAM_SOLVERS (use alias sol to go there) you find the source code for the
solvers arranged according to (version-dependent):
• In sub directory incompressible you find the solver source code directories:
• Inside each solver directory you find a *.C file with the same name as the direc-
tory. This is the main file, where you will find the top-level source code and a
short description of the solver. For icoFoam:
For a more complete description, you have the source code right there.
Utilities in OpenFOAM
• In $FOAM_UTILITIES (use alias util to go there) you find the source code for the utili-
ties arranged according to (version-dependent):
• Inside each utility directory you find a *.C file with the same name as the directory. This
is the main file, where you will find the top-level source code and a short description of
the utility. For noise:
• The number of utilities have been greatly reduced in recent versions, since they are
being moved into functionObjects.
• The Make directory contains two files, files and options, that specifies how icoFoam
should be compiled.