Fast MATLAB evaluation of nonlinear energies using FEM in 2D and 3D: nodal elements

08/22/2021
by   Alexej Moskovka, et al.
0

Nonlinear energy functionals appearing in the calculus of variations can be discretized by the finite element (FE) method and formulated as a sum of energy contributions from local elements. A fast evaluation of energy functionals containing the first order gradient terms is a central part of this contribution. We describe a vectorized implementation using the simplest linear nodal (P1) elements in which all energy contributions are evaluated all at once without the loop over triangular or tetrahedral elements. Furthermore, in connection to the first-order optimization methods, the discrete gradient of energy functional is assembled in a way that the gradient components are evaluated over all degrees of freedom all at once. The key ingredient is the vectorization of exact or approximate energy gradients over nodal patches. It leads to a time-efficient implementation at higher memory-cost. Provided codes in MATLAB related to 2D/3D hyperelasticity and 2D p-Laplacian problem are available for download and structured in a way it can be easily extended to other types of vector or scalar forms of energies.

READ FULL TEXT
research
04/26/2020

Simple curl-curl-conforming finite elements in two dimensions

We construct smooth finite element de Rham complexes in two space dimens...
research
03/03/2021

Minimization of p-Laplacian via the Finite Element Method in MATLAB

Minimization of energy functionals is based on a discretization by the f...
research
08/11/2023

Conforming Finite Element Function Spaces in Four Dimensions, Part II: The Pentatope and Tetrahedral Prism

In this paper, we present explicit expressions for conforming finite ele...
research
04/26/2023

The Hellan-Herrmann-Johnson and TDNNS method for linear and nonlinear shells

In this paper we extend the recently introduced mixed Hellan-Herrmann-Jo...
research
08/11/2021

A mixed variational principle in nonlinear elasticity using Cartan's moving frame and implementation with finite element exterior calculus

This article offers a new perspective for the mechanics of solids using ...
research
10/25/2021

Transformations for Piola-mapped elements

The Arnold-Winther element successfully discretizes the Hellinger-Reissn...
research
05/15/2020

Sobolev Gradients for the Möbius Energy

Aiming at optimizing the shape of closed embedded curves within prescrib...

Please sign up or login with your details

Forgot password? Click here to reset