|
[Sponsors] |
July 9, 2021, 12:23 |
Processor shared point operation
|
#1 |
Member
Jun
Join Date: Nov 2015
Posts: 57
Rep Power: 10 |
Dear Forums,
Currently, I am trying to sum distance between mesh vertex and face center of nearby faces. For parallel computing, only points and faces within processor are considered. Therefore, the distance between point at processor boundaries and the nearby faces at the other processor can not be considered. If the summed value of points at processor boundaries can be exchange with the value of corresponding points in the other processor, it seems easy to solve. However, I do not how to do it practically. If you have any idea, it would be helpful. Thank you in advance. Best, Jun |
|
July 11, 2021, 21:01 |
It is solved.
|
#2 |
Member
Jun
Join Date: Nov 2015
Posts: 57
Rep Power: 10 |
Dear Forums,
Using syncTools, it is solved. Code:
syncTools::syncPointList (mesh, pointField, plusEqOp<scalar>(), 0.0); I only need to sum operation. If it is not the proper answer, please let me know. Best, Jun |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solids4Foam + sixDoFRigidBodyDisplacement | Michael@UW | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 30 | January 17, 2024 09:00 |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
CFD-post: defining (or projecting) point on surface | bongbang | CFX | 1 | April 1, 2015 12:16 |
matching variable data with grid point data | anfho | OpenFOAM Programming & Development | 0 | May 6, 2011 15:28 |
Floating Point Operation Count and Scalability | mchurchf | OpenFOAM | 0 | June 23, 2010 12:56 |