Automatic differentiation for solid mechanics

Andrea Vigliotti, Ferdinando Auricchio
1/21/2020
math.NA

Official code: avigliotti/AD4SM.jl (58 stars, Julia, MIT, last commit 2026-09-07).

Abstract

Automatic differentiation (AD) is an ensemble of techniques that allow to evaluate accurate numerical derivatives of a mathematical function expressed in a computer programming language. In this paper we use AD for stating and solving solid mechanics problems.

Show full abstract

Given a finite element discretization of the domain, we evaluate the free energy of the solid as the integral of its strain energy density, and we make use of AD for directly obtaining the residual force vector and the tangent stiffness matrix of the problem, as the gradient and the Hessian of the free energy respectively. The result is a remarkable simplification in the statement and the solution of complex problems involving non trivial constraints systems and both geometrical and material non linearities. Together with the continuum mechanics theoretical basis, and with a description of the specific AD technique adopted, the paper illustrates the solution of a number of solid mechanics problems, with the aim of presenting a convenient numerical implementation approach, made easily available by recent programming languages, to the solid mechanics community.

View on arXivView PDF

Code Implementations(1)

MIT

Automatic Differentiation for Solid Mechanics

5810JuliaAug 13, 20192 months agoMIT
automatic-differentiationfinite-element-methodsjulia-languagesolid-mechanics

Similar Papers

Cite this paper

@article{vigliotti2020automatic,
  title  = {Automatic differentiation for solid mechanics},
  author = {Andrea Vigliotti and Ferdinando Auricchio},
  year   = {2020},
  eprint = {2001.07366},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.07366}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.07366.svg)](https://codeofpaper.com/paper/2001.07366)

Discussion