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

Solving lots of equations in parallel on the same mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 29, 2016, 08:48
Default Solving lots of equations in parallel on the same mesh
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
I'd like to use parallelization to solve lots of equations on a small mesh. The equations are independent of each other, so I would like to solve them separately on different cores.

This is somewhat possible by copying the complete mesh in the processor subdirectories. However, doing this requires an equal number of iterations on each core because there are some communications happening during the solve function. This also limits the performance because the equations may take a different amount of time to solve and waiting for the other cores introduces unnecessary delays. Basically I would like to have only one communication at the end to combine the results.

Any ideas how to disable the inter process communication during the solving of an equation? I'm wondering if one could disable mpi temporarily and then later on resume it?

I think http://www.cfd-online.com/Forums/ope...tml#post584556 might be a possible solution, but I have yet to try it.

Edit: Tried and works.

Last edited by chriss85; March 2, 2016 at 10:40.
chriss85 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


All times are GMT -4. The time now is 21:22.