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

userfiles between parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 19, 2008, 10:31
Default userfiles between parallel
  #1
Duarte Albuquerque
Guest
 
Posts: n/a
Hi. I am made a moving mesh model that computed the new mesh with some variables in mine "newxyz.f". I would like to use more than 1 processor. How can I make the comunication between different processors?

I have the variables in vectors in common blocks.

thanks for reading

Duarte Albuquerque
  Reply With Quote

Old   July 29, 2008, 11:17
Default Re: userfiles between parallel
  #2
steve
Guest
 
Posts: n/a
Newxyz works on all processors, so you should be able to calculate everything locally.

If you want to make sure a value is the same on all processors then the way I have had sucess is that I initialise the variable to be a large negative number on all processors, perform the calculation on processor X (which results in a positive number) and the perform a GMAX operation on the variable. This guarantees that the values are the same on all processors.

If the number is -ve, then use the GMIN operation and a large positive initial number.

Other operations are IGMAX/IGMIN for integers and sums of varibles via GSUM and IGSUM.

Your local Agent can help here.

Steve
  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
Parallel pi FLUENT 1 December 25, 2008 13:46
parallel CCM+ tom CD-adapco 5 May 8, 2008 18:54
Parallel UDF Karo FLUENT 1 April 24, 2008 08:38
Parallel UDF ccc FLUENT 0 December 3, 2004 23:17
CFX-5.5 Parallel NT Kawena CFX 4 March 13, 2002 21:24


All times are GMT -4. The time now is 10:40.