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

How to write across a processorPolyPatch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2018, 07:49
Default How to write across a processorPolyPatch
  #1
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
Honza is offline   Reply With Quote

Reply

Tags
mpi, parallel, processorpolypatch


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


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