|
[Sponsors] |
July 19, 2020, 21:00 |
Parallelization of looping through all faces
|
#1 | |
New Member
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 6 |
Hi,
I have the following code: surfaceScalarField interfacialSurface(fvc::interpolate(alpha1)); const labelUList& owner = mesh.owner(); const labelUList& neighbour = mesh.neighbour(); Quote:
when I run the code in parallel, the shared faces between patches are not included in the loop above. I believe I need to write another for loop to include shared faces between patches. My problem is that the owner and neighbours are not necessarily from the same patch, so how could I make the patches communicate the data between each other? I appreciate any help |
||
Tags |
openfoam, parallel code, surfacescalarfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 91 | December 21, 2022 04:50 |
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) | AndreP | STAR-CCM+ | 10 | August 2, 2018 07:48 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 03:21 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 10:58 |