interpolation cell-point not working in processorCyclicPointPatchField (in nonBlocking mode)
Summary
processorCyclicPointPatchField does not buffer local send data when running non-blocking. This gives memory errors on bigger cases (if running with cyclics where owner and neighbour might be on different processors)
Steps to reproduce
Run incompressible/pimpleFoam/LES/periodicHill/transient
tutorial. At the postprocessing at the end it triggers a cell->point interpolation which under valgrind shows up the errors. Note that the only thing that matters is to have the processorCyclic patches + volPointInterpolation.
Example case
See above
What is the current bug behaviour?
Get NaN (1e-318) in last element of array when printing out the values. Get valgrind memory errors.
What is the expected correct behavior?
Relevant logs and/or images
Environment information
- OpenFOAM version : v2212
- Operating system :
- Hardware info :
- Compiler :
Possible fixes
Use persistent buffer for transferring data (ideally only when running non-blocking)