|
[Sponsors] |
Exchanging fields across processor boundaries |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Roland Engberg
Join Date: Jan 2011
Posts: 14
Rep Power: 16 ![]() |
Hi!
To parallelise a home-brewed (OpenFOAM-) code I have to send some fields across processor boundaries. Specifically, I need the cell centers of the faceCells at the processor boundaries and the values of a volScalarField stored at those centers. I have begun to code this but probably it is already implemented in OpenFOAM, isn't it?Any advise how to send these fields is welcome! Thanks for your help! Roland |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 ![]() |
The processorFvPatch / processorPolyPatch classes already do this for you.
Take a look at the sources. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Roland Engberg
Join Date: Jan 2011
Posts: 14
Rep Power: 16 ![]() |
Hi Sandeep,
thanks for your reply! I know that the processorFvPatch / processorPolyPatch classes would normally do this for me. However, I have implemented a few methods which step out of the normal FVM-framework of OpenFOAM, it's a finite differences method which draws heavily from neighbour relations in specific directions. I have written my own code to describe these relations and would like to extend it to parallel computations. Thus, I have to exchange the fields mentioned above by "hard coding" the data exchange in my code... Thanks again! Roland |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The mysterious _0 fields | stevenvanharen | OpenFOAM Running, Solving & CFD | 2 | January 4, 2011 08:24 |
Missing fields in reconstructPar | flowris | OpenFOAM | 1 | July 9, 2010 03:48 |
domainIntegrate, dieselFoam and Lagrangian Fields | mturcios777 | OpenFOAM | 0 | May 14, 2010 16:16 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 10:15 |
Temperature fields | Fernando Lopez Parra | FLUENT | 1 | September 28, 2003 09:15 |