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

Running in parallel mysteries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2013, 03:40
Default Running in parallel mysteries
  #1
New Member
 
Join Date: Oct 2012
Posts: 14
Rep Power: 13
andreas is on a distinguished road
Dear foamers,

I want to run a fine mesh (1200*400) on OF and for that I need to run in parallel. I run a first time with some 18cpu and the simulation went to 0.1sec after 3 days. I took the same folder and ran it from the 0.1sec with 36cpu since 4 days, it barely reached the 1.1sec…

I then ran some test cases with 1, 2, 4, 8cpu, during 5minutes for a 150*50 mesh. Here are the results:

1cpu: Time = 0.0569324
2cpu: Time = 0.0680509
4cpu: Time = 0.0638118
8cpu: Time = 0.00469057
16cpu: Time = 0.00384501

Quite strange isn't?

To run in parallel, I simply change the "numberOfSubdomains" in the decomposeParDict file and change the n(x y z) in the simpleCoeffs knowing that x*y*z must be equal to the numberOfSubdomains.

That's it, do I have to change any other parameter?

Thank you for your help, I'm quite new in cfd…
Andreas
andreas is offline   Reply With Quote

Old   March 14, 2013, 06:30
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
hello,

A common mistake is to forget the "-parallel" option with the solver, which can explain why it's slower with more core ....

regards,
olivier
olivierG 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
error while running in parallel using openmpi on local mc 6 processors suryawanshi_nitin OpenFOAM 10 February 22, 2017 21:33
Running mapFields with Parallel Source and Parallel Target RDanks OpenFOAM Pre-Processing 4 August 2, 2016 05:24
running OpenFoam in parallel vishwa OpenFOAM Running, Solving & CFD 22 August 2, 2015 08:53
Problems running in parallel - missing controlDict Argen OpenFOAM Running, Solving & CFD 4 June 7, 2012 03:50
Running in parallel crashed zhajingjing OpenFOAM 4 September 15, 2010 07:12


All times are GMT -4. The time now is 11:24.