|
[Sponsors] |
October 18, 2022, 18:33 |
Access to all cells of the mesh
|
#1 |
New Member
Anvar Gilmanov
Join Date: Oct 2022
Posts: 2
Rep Power: 0 |
Dear OpenFormers,
Can someone here help me to figure out how to implement a loop over my entire mesh? When I do it for only one processor I can implement my code and print "Info" without any issues for any cells, but when I run the same case on multiprocessors I am able to make a loop only over a part of my mesh that is executed in one of the processors and hence some of the cells are not reachable to print "Info" I needed. How can I get all my mesh while running on multiprocessors? Thanks, Anvar |
|
October 20, 2022, 04:29 |
|
#2 |
New Member
Martin
Join Date: Jul 2022
Posts: 16
Rep Power: 4 |
Info print only on process 0, use Pout instead. That one prints from all processes.
|
|
October 20, 2022, 11:24 |
|
#3 |
New Member
Anvar Gilmanov
Join Date: Oct 2022
Posts: 2
Rep Power: 0 |
Hi Martin,
Thanks a lot! |
|
Tags |
multiprocessors, running |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 11:11 |
cellZone not taking all the cells inside | rahulksoni | OpenFOAM Running, Solving & CFD | 6 | January 25, 2019 01:11 |
[blockMesh] Create internal faces as patch in blockMesh | m.delta68 | OpenFOAM Meshing & Mesh Conversion | 14 | July 12, 2018 15:43 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |