|
[Sponsors] |
May 21, 2018, 07:49 |
How to write across a processorPolyPatch
|
#1 |
New Member
Join Date: May 2017
Posts: 1
Rep Power: 0 |
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 |
|
Tags |
mpi, parallel, processorpolypatch |
|
|
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 |