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

Parallelization of code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2015, 18:46
Default Parallelization of code
  #1
Member
 
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 14
Danath is on a distinguished road
Hello

I write,add a piece of a code in ParamagneticForce.C. Although the results are very good in serial processing there is a big difference in parallel.

I think that after the decomposition of the geometry the processors are worked only in the domain that they are obligated and not communicate with each other.

Is this true? Am i missing something ?

If this is true , how can i fix the problem ? is there any tutorial ?

the version that i use is OF 2.2.1
Danath is offline   Reply With Quote

Old   February 19, 2015, 02:38
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

If you would like to get general answer, then yes, you are right, you are missing something.

If you post the code you have added, people will be able to tell you how to change it to make it run correctly in parallel.
alexeym 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
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 12:30
How to make code run in parallel? cwang5 OpenFOAM Programming & Development 1 May 30, 2011 04:47
Open Source Vs Commercial Software MechE OpenFOAM 28 May 16, 2011 11:02
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 10:11
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 11:44


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