Journal of Theoretical Computational and Applied Mechanics
Expressing general constitutive models in FEniCSx using external operators and algorithmic automatic differentiation
October 2025 • Andrey Latyshev, Jérémy Bleyer, Corrado Maurini, Jack Hale
Many problems in solid mechanics involve general and non-trivial constitutive models that are difficult to express in variational form. Consequently, it can be challenging to define these problems in automated finite element solvers, such as the FEniCS Project, that use domain-specific languages specifically designed for writing variational forms. In this article, we describe a methodology and software framework for FEniCSx / DOLFINx that enables the expression of constitutive models in nearly any general programm…