Skip to content

searchableExtrudedCircle / extrudedCircle uses wrong search sphere

Summary

The analytical shape 'extrudedCircle' does not interpret the search distance correctly. It is taken as the distance to the centre line instead of the distance to the cylinder itself.

Steps to reproduce

Use in e.g. a snappyHexMeshDict. Set the snapping distance (snapTol) to e.g. 1. Make sure that the centre line is more than 1 edge distance away from the geometry. Now it will not be attracted to the extrusion, even when the extrusion itself might intersect the geometry.

Example case

What is the current bug behaviour?

What is the expected correct behavior?

Re-work the search distance into distance-to-extrusion

@Prashant

Edited by Andrew Heather