Home Publications · JOSS

NLMech: Implementation of Finite Difference/Meshfree Discretization of Nonlocal Fracture Models

Prashant K. Jha, Patrick Diehl · Journal of Open Source Software · 2021 · first & corresponding author

NLMech implements finite-difference and meshfree discretizations of nonlocal models, principally peridynamics. Peridynamics reformulates continuum mechanics so that the internal force at a point is the integral of pairwise force densities over a neighborhood of radius, the horizon, rather than the divergence of a stress. Discontinuous displacement is therefore admissible in the model itself, and cracks require no special numerical treatment: elastic deformation and fracture are handled by the same constitutive law.

The code covers bond-based and state-based formulations, is written in C++ with HPX for parallelism, and is documented and tested as a research code intended for reuse rather than a one-paper script.