Hi, I working on simulating
I working on simulating a moving mesh problem with a geometry consisting of several moving patches using a changed version of dynamicBodyFvMesh. As solver I use icoDyMFoam of OpenFOAM-1.4.1.
To ensure the connection of the patches I need the correct coordinates of certain points. There is no problem if I use serial processing. There I read the coordinates from the "points"-file via
vector pt = points()[adress];
Where "address" is the address of the specific point.
The problem occurs, when I use parallel processing.
My idea is to search the orinal point address in the "pointProcAddressing" file to find the new address for this point at the specific processor and use this new address to read the coordinates. But I don't know how to access the "pointProcAddressing" file and how to use the same coordinates for all processors with the belonging patch.
If I try to use the same pattern
scalar ptad = pointProcAddressing()[adress];
I get an error message with:
Signal: Segmentation fault (11)
I would be really grateful for any help!
|All times are GMT -4. The time now is 06:53.|