Automatic differentiation for solid mechanics
Preprint
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. 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.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- Automatic Differentiation for Solid MechanicsArchives of Computational Methods in Engineering, 2020
- Automation of Finite Element Methods2016
- The Finite Element Method for Solid and Structural Mechanics2014
- The Finite Element Method: its Basis and Fundamentals2013
- Automated Solution of Differential Equations by the Finite Element Method2012
- Nonlinear Continuum Mechanics for Finite Element Analysis2008
- Automating the Finite Element MethodArchives of Computational Methods in Engineering, 2007
- Isogeometric analysis: CAD, finite elements, NURBS, exact geometry and mesh refinementComputer Methods in Applied Mechanics and Engineering, 2005
- Effective properties of the octet-truss lattice materialJournal of the Mechanics and Physics of Solids, 2001
- Foam topology: bending versus stretching dominated architecturesActa Materialia, 2001