Jax-Fem: A Differentiable Gpu-Accelerated 3d Finite Element Solver For Automatic Inverse Design and Mechanistic Data Science

24 Pages Posted: 2 Dec 2022

See all articles by Tianju Xue

Tianju Xue

Northwestern University

Shuheng Liao

Northwestern University

Zhengtao Gan

University of Texas at El Paso

Chanwook Park

Northwestern University

Xiaoyu Xie

Northwestern University

Wing Kam Liu

Northwestern University

Jian Cao

Northwestern University

Abstract

This paper introduces JAX-FEM, an open-source differentiable finite element method (FEM) library. Constructed on top of Google JAX, a rising machine learning library focusing on high-performance numerical computing, JAX-FEM is implemented with pure Python while scalable to efficiently solve problems with moderate to large sizes. For example, in a 3D tensile loading problem with 7.7 million degrees of freedom, JAX-FEM with GPU achieves  around 10x acceleration compared to a commercial FEM code depending on platform. Beyond efficiently solving forward problems, JAX-FEM employs the automatic differentiation technique so that inverse problems are solved in a fully automatic manner without the need to manually derive sensitivities. Examples of 3D topology optimization of nonlinear materials are shown to achieve optimal compliance. Finally, JAX-FEM is an integrated platform for machine learning-aided computational mechanics. We show an example of data-driven multi-scale computations of a composite material where JAX-FEM provides an all-in-one solution from microscopic data generation and model training to macroscopic FE computations. The source code of the library and these examples are shared with the community to facilitate computational mechanics research.

Keywords: Differentiable Simulation, neural networks, design and optimization

Suggested Citation

Xue, Tianju and Liao, Shuheng and Gan, Zhengtao and Park, Chanwook and Xie, Xiaoyu and Liu, Wing Kam and Cao, Jian, Jax-Fem: A Differentiable Gpu-Accelerated 3d Finite Element Solver For Automatic Inverse Design and Mechanistic Data Science. Available at SSRN: https://ssrn.com/abstract=4291829 or http://dx.doi.org/10.2139/ssrn.4291829

Tianju Xue

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Shuheng Liao

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Zhengtao Gan

University of Texas at El Paso ( email )

500 West University Avenue
El Paso, TX 79968
United States

Chanwook Park

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Xiaoyu Xie

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Wing Kam Liu

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Jian Cao (Contact Author)

Northwestern University ( email )

2001 Sheridan Road
Evanston, IL 60208
United States

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
80
Abstract Views
431
Rank
664,997
PlumX Metrics