EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Expressing general constitutive models in FEniCSx using external operators and algorithmic automatic differentiation

Andrey Latyshev, Jérémy Bleyer, Corrado Maurini, Jack Hale

Journal of Theoretical, Computational and Applied Mechanics · 2025

DOI: 10.46298/jtcam.14449 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Theoretical, Computational and Applied Mechanics, 2025. Verfasst von Andrey Latyshev und 3 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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 programming language. We demonstrate our approach on two solid mechanics problems; the first is a simple von Mises elastoplastic model with isotropic hardening implemented with Numba, and the second a Mohr-Coulomb elastoplastic model with apex smoothing implemented with JAX. In the latter case we show that by leveraging JAX's algorithmic automatic differentiation transformations we can avoid error-prone manual differentiation of the terms necessary to resolve the constitutive model. We show extensive numerical results, including Taylor remainder testing, that verify the correctness of our implementation. The software framework and fully documented examples are available as supplementary material under the LGPLv3 or later license.

Zitieren

APA

Latyshev, A., Bleyer, J., Maurini, C., & Hale, J. (2025). Expressing general constitutive models in FEniCSx using external operators and algorithmic automatic differentiation. Journal of Theoretical, Computational and Applied Mechanics. https://doi.org/10.46298/jtcam.14449

Vancouver

Latyshev A, Bleyer J, Maurini C, Hale J. Expressing general constitutive models in FEniCSx using external operators and algorithmic automatic differentiation. Journal of Theoretical, Computational and Applied Mechanics. 2025. doi:10.46298/jtcam.14449

BibTeX
@article{Latyshev2025,
  author = {Latyshev, Andrey and Bleyer, Jérémy and Maurini, Corrado and Hale, Jack},
  title = {Expressing general constitutive models in FEniCSx using external operators and algorithmic automatic differentiation},
  journal = {Journal of Theoretical, Computational and Applied Mechanics},
  year = {2025},
  doi = {10.46298/jtcam.14449}
}
Kostenlos starten →