CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to write across a processorPolyPatch

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2018, 06:49
Default How to write across a processorPolyPatch
New Member
Join Date: May 2017
Posts: 1
Rep Power: 0
Honza is on a distinguished road
Hello Foamers,

could anybody please explain how to communicate across a processorPolyPatch? For reading (ghost) information belonging to another processor I use

const scalarField myGhostInformation (myVolScalarField.boundaryField())[myPatch].patchNeighbourField();

and it works fine. But I wonder how to change this ghost information belonging to another processor.

I guess I need some MPI staff, I went through a lot of files like OPstream.H, UPstream.H etc but I have not found any peer-peer communication tools.

(Usually I do not need this while computing fluids but these days I am working on particles moving through the domain (lagrangian approach) and I need to communicate between processors peer to peer)

Thanks a lot in advance,

Honza is offline   Reply With Quote


mpi, parallel, processorpolypatch

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
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh elvis OpenFOAM Community Contributions 210 January 30, 2017 18:57
Floating point exception (yes...) sandri_92 OpenFOAM Running, Solving & CFD 0 October 23, 2016 14:42
Is there a way to write only the probe locations instead the whole fields? jeanbvb OpenFOAM Programming & Development 6 October 5, 2016 10:57
[snappyHexMesh] Debug option in snappy / Write volScalarField with cellLevel for postprocessing Ruli OpenFOAM Meshing & Mesh Conversion 1 March 30, 2014 08:57
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40

All times are GMT -4. The time now is 16:15.