CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Tree of the openfoam code

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 28, 2007, 18:39
Default Hello all together, Does an
  #1
New Member
 
Marcus Hüning
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 4
Rep Power: 8
mhuening is on a distinguished road
Hello all together,

Does anybody know how you can get a tree of the source code of a solver? (Easier supervision of the code)
mhuening is offline   Reply With Quote

Old   January 29, 2007, 04:55
Default The executable of every solver
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
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
dmoroian is offline   Reply With Quote

Old   January 29, 2007, 15:59
Default Thanks, But I am searching
  #3
New Member
 
Marcus Hüning
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 4
Rep Power: 8
mhuening is on a distinguished road
Thanks,

But I am searching for a program that generates something similar to a map of the include files of a solver.
mhuening is offline   Reply With Quote

Old   January 29, 2007, 19:06
Default 1. compile the solver and have
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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/)
mattijs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 10:26
Paraview3 tree and OpenFOAM jens_klostermann OpenFOAM Paraview & paraFoam 4 August 22, 2007 14:01
Musig code in OpenFoam in_flu_ence OpenFOAM Running, Solving & CFD 1 February 25, 2007 17:47


All times are GMT -4. The time now is 17:38.