wall distance calculation correction for point-connected faces
On one user case (ep 1442) it was reported that applyBoundaryLayer crashes. This seems to be due to the wall distance calculation. Upon visual inspection the code was not checking for duplicate faces enough so could run out of work array in extreme cases.
Steps to reproduce
What is the current bug behaviour?
Crash in applyBoundaryLayers, seemingly from wall distance calculation (and cellDistFuncs correction for point-connected faces)
- OpenFOAM version : v1812
- use dynamically resized lists
- use more duplicate face checking