CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens

userfiles between parallel

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2008, 10:31
Default userfiles between parallel
Duarte Albuquerque
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
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.

  Reply With Quote


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
Parallel UDF Karo FLUENT 2 April 25, 2017 01:36
Parallel pi FLUENT 1 December 25, 2008 12:46
parallel CCM+ tom Siemens 5 May 8, 2008 18:54
Parallel UDF ccc FLUENT 0 December 3, 2004 22:17
CFX-5.5 Parallel NT Kawena CFX 4 March 13, 2002 20:24

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