Skip to content

Rebuild displaced mortar meshes during standalone Jacobian evaluation #33503

Description

@Andreas-Lepak

Bug Description

FEProblemBase::computeJacobianTags() updates the displaced mesh without rebuilding displaced mortar segment meshes. Mortar segments can therefore retain old coordinates while quadrature points are mapped against updated parent faces.

When dynamic mortar regeneration was introduced in commit 8b1f83c7df, its source comment stated that mortar meshes would be rebuilt during “residual and Jacobian evaluation.” The implementation added the rebuild to residual evaluation, but not to the standalone Jacobian path.

Steps to Reproduce

Run a displaced 3D mortar problem using standalone Jacobian assembly, such as through automatic scaling. The stale mortar geometry can cause an error such as:

Unable to map 3D mortar quadrature point ... the analytical fallback did not find one unique in-domain QUAD4 inverse. Rebuilding displaced mortar immediately after updating the displaced mesh removes the failure.

Impact

Affected displaced-mortar simulations can fail or unnecessarily reduce the timestep. Residual and combined residual/Jacobian evaluation already perform the required update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P: 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