CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Tree of the openfoam code (http://www.cfd-online.com/Forums/openfoam-installation/57579-tree-openfoam-code.html)

mhuening January 28, 2007 18:39

Hello all together, Does an
 
Hello all together,

Does anybody know how you can get a tree of the source code of a solver? (Easier supervision of the code)

dmoroian January 29, 2007 04:55

The executable of every solver
 
The executable of every solver that comes with the distribution is in OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPOpt. Let say you are searching for the sources of icoFoam, then type sol, which will place you in OpenFOAM/OpenFOAM-1.3/applications/solvers. Here just use find ./ -name icoFoam and it will return the path: ./incompressible/icoFoam

Dragos

mhuening January 29, 2007 15:59

Thanks, But I am searching
 
Thanks,

But I am searching for a program that generates something similar to a map of the include files of a solver.

mattijs January 29, 2007 19:06

1. compile the solver and have
 
1. compile the solver and have a look at the .dep file generated. These are all the files a source file depends on.

2. use the html class documentation ($FOAM_SRC/../doc/Doxygen/ or http://foam.sourceforge.net/doc/Doxygen/html/)


All times are GMT -4. The time now is 09:19.