|
[Sponsors] |
January 28, 2007, 18:39 |
Hello all together,
Does an
|
#1 |
New Member
Marcus Hüning
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 4
Rep Power: 17 |
Hello all together,
Does anybody know how you can get a tree of the source code of a solver? (Easier supervision of the code) |
|
January 29, 2007, 04:55 |
The executable of every solver
|
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
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 |
|
January 29, 2007, 15:59 |
Thanks,
But I am searching
|
#3 |
New Member
Marcus Hüning
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 4
Rep Power: 17 |
Thanks,
But I am searching for a program that generates something similar to a map of the include files of a solver. |
|
January 29, 2007, 19:06 |
1. compile the solver and have
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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/) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the construction of different 5 parts of the code in OpenFoam | sandy | OpenFOAM Running, Solving & CFD | 3 | December 22, 2008 16:58 |
tree levels error message | Pedro | CFX | 0 | December 24, 2007 22:17 |
Number of tree levels exceeded | ahlo | CFX | 0 | August 29, 2007 11:26 |
[OpenFOAM] Paraview3 tree and OpenFOAM | jens_klostermann | ParaView | 4 | August 22, 2007 15:01 |
Musig code in OpenFoam | in_flu_ence | OpenFOAM Running, Solving & CFD | 1 | February 25, 2007 17:47 |