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

patchToPatchInterpolation in parallel?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2011, 07:49
Default patchToPatchInterpolation in parallel?
  #1
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,


I use the patchToPatchInterpolation class for interpolating values between patches, but it gives erroneous values with parallel runs (if the patches of interest are split between processors).

So I am looking for advice on the best way to solve this problem,

my idea at the moment is when ever I need to use patchToPatchInterpolation, I will send all the patch info from the slaves to the master processor. Then the master processor will reconstruct the patches of interest and create a patchToPatchInterpolation object with the full patches. The master can then use the patchToPatchInterpolation object to interpolate values of interest. Finally the master can send back the interpolated values to the slaves.

Does this seem like a good way of doing it?

And if it seems OK, then how to I get the master to reconstruct a patch from all the slave patch parts?


Philip
bigphil is offline   Reply With Quote

Old   March 7, 2011, 12:29
Default
  #2
Member
 
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17
cliffoi is on a distinguished road
Take a look at solidWallMixedTemperatureCoupledFvPatchScalarField ::updateCoeffs() in the chtMultiRegionFoam solver. I think this does what you're looking for.
cliffoi is offline   Reply With Quote

Old   March 7, 2011, 12:42
Default
  #3
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Thanks for the help,

I'll have a look at it and let you know if it does what I am looking for.

Thanks,
Philip
bigphil is offline   Reply With Quote

Old   June 3, 2011, 09:51
Default
  #4
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,

I was able to get it working in parallel,
I explain what I did here http://www.cfd-online.com/Forums/ope...tml#post310385

Philip
bigphil 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
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
parallel performance on BX900 uzawa OpenFOAM Installation 3 September 5, 2011 15:52
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 06:17
Cumulative continuity error large in parallel simulations xiao OpenFOAM 3 March 7, 2011 04:13
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 12:00


All times are GMT -4. The time now is 07:14.