Skip to content

Incorrect signs of distance and normals for corner cases in geometric search #33462

Description

@bwspenc

Bug Description

When a node is identified as being off the ridge between two faces in the geometric search, the normal direction and distance are corrected depending on what side of the face it's on (based on the normal of the face it's paired with).

In the case where the node is barely within the "ridge zone", there are some comparisons that should have been fuzzy because the signs were getting flipped because of small negative values.

Steps to Reproduce

There are three tests that currently fail on Apple silicon and were disabled on some platforms because of this issue:
test/tests/geomsearch/3d_moving_penetration/pl_test4
test/tests/geomsearch/3d_moving_penetration/pl_test4q
test/tests/geomsearch/3d_moving_penetration/pl_test4tt

These have the note:
PR #26848. Clang 16 Apple Si is not compatible.

Impact

The conditions that trigger this issue are fairly obscure, but fixing this could improve node/face contact reliability.

[Optional] Diagnostics

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: Modules/ContactP: normalA defect affecting operation with a low possibility of significant effects.T: defectAn anomaly, which is anything that deviates from expectations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions