|
[Sponsors] |
March 2, 2011, 07:49 |
patchToPatchInterpolation in parallel?
|
#1 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
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 |
|
March 7, 2011, 12:29 |
|
#2 |
Member
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17 |
Take a look at solidWallMixedTemperatureCoupledFvPatchScalarField ::updateCoeffs() in the chtMultiRegionFoam solver. I think this does what you're looking for.
|
|
March 7, 2011, 12:42 |
|
#3 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
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 |
|
June 3, 2011, 09:51 |
|
#4 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
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 |
|
|
|
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 |