CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Understanding parallel solvers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2008, 18:20
Default Dear all, I am trying to unde
  #1
New Member
 
P. Milkov
Join Date: Mar 2009
Posts: 5
Rep Power: 17
milkovp is on a distinguished road
Dear all,
I am trying to understand how the parallelisation is done in Openfoam. But in applications/solvers/multiphase/interFoam/interFoam.C (and included files) I don't find the slightest hint of any MPI calls, although the interFoam/damBreak tutorial can be run in parallel.

Would you give me a rough overview which function calls finally lead to the parallel communication, and which source file is responsible for coordinating the parallel work?

Thank you
Pavel
milkovp is offline   Reply With Quote

Old   May 15, 2008, 20:43
Default Hi Pavel! The actual MPI(or
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Pavel!

The actual MPI(or equivalent)-calls are encapsulated by the PStream-library. Have a look there.

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   May 16, 2008, 14:51
Default Thank you Bernhard! While bro
  #3
New Member
 
P. Milkov
Join Date: Mar 2009
Posts: 5
Rep Power: 17
milkovp is on a distinguished road
Thank you Bernhard!
While browsing through the sources I thought Openfoams PStream library was a special version of http://pstreams.sourceforge.net/, so I didn't recognize the real purpose.

But there is no relationship at all between the two, is it?

Do the Openfoam sources happen to be documented in more detail than the Programmer's guide and other than the Doxygen output? The Doxygen output is useful to understand class hierarchies, but because (afaik) it only parses the header files, it doesn't help to follow the program flow across the classes.
I would need some kind of flow diagram, representing the whole bunch of sources by a few blocks which group related functionality, so that a typical application like the parallel damBreak example could be more easily comprehended from a visual representation. Do you know any technical Openfoam documentation including such an overview, especially about the parallelism?

Pavel
milkovp is offline   Reply With Quote

Old   May 20, 2008, 18:07
Default Hi Pavel! @Doxygen: It is p
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Pavel!

@Doxygen: It is possible to have Doxygen parse the .C files and even generate HTML-files for each of them that are interlinked with the class docu. I don't know the name of Flag that switches that on, but it should be rather obvious whern you have a look at the Doxyfile that comes with the distributed Doxygen-docu (but of course doxygen will take its time to generate the new files)

@Additional docu: Some additional info can be found at: http://www.mfix.org/mwiki/index.php/...d_Capabilities

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding sourcecode of solvers karen OpenFOAM Running, Solving & CFD 0 August 14, 2008 04:19
Parallel direct solvers khurram Main CFD Forum 0 January 17, 2007 17:45
Parallel run with different solvers carlo_fabrizi OpenFOAM Running, Solving & CFD 19 June 13, 2006 05:57
Exporting problem from parallel solvers Kong FLUENT 6 May 4, 2005 12:55
Parallel solvers srik Main CFD Forum 3 October 17, 2003 03:46


All times are GMT -4. The time now is 06:04.