|
[Sponsors] |
October 29, 2017, 11:10 |
loop over mesh points in parallel run
|
#1 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
i would like to change the mesh points based on a function during run, the algorithm works fine in serial, but for parallel run, mesh.points() only returns the position of points in one processor. do you have any ideas, how to access to each processors mesh data?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
October 30, 2017, 05:33 |
|
#2 | |
Member
|
Quote:
You can use the globalMeshData class to get this information. Specifically, I would recommend to have a look at the volPointInterpolation class where the member functions syncUntransformedData() and pushUntransformedData() use this information.
__________________
Jibran Haider |
||
Tags |
mesh data, mesh points, parallel, processor |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
Run in parallel slow and cannot open the mesh in Paraview | qjh888 | OpenFOAM Running, Solving & CFD | 0 | July 13, 2016 05:55 |
Explicitly filtered LES | saeedi | Main CFD Forum | 16 | October 14, 2015 12:58 |