Fanglei Hu, Stephen Niezgoda, Tianju Xue, Jian Cao
{"title":"Efficient GPU-computing simulation platform JAX-CPFEM for differentiable crystal plasticity finite element method","authors":"Fanglei Hu, Stephen Niezgoda, Tianju Xue, Jian Cao","doi":"10.1038/s41524-025-01528-2","DOIUrl":null,"url":null,"abstract":"<p>We present the formulation and applications of JAX-CPFEM, an open-source, GPU-accelerated, and differentiable 3-D crystal plasticity finite element method (CPFEM) software package. Leveraging the modern computing architecture JAX, JAX-CPFEM features high performance through array programming and GPU acceleration, achieving a 39× speedup in a polycrystal case with ~52,000 degrees of freedom compared to MOOSE with MPI (8 cores). Furthermore, JAX-CPFEM utilizes the automatic differentiation technique, enabling users to handle complex, non-linear constitutive materials laws without manually deriving the case-specific Jacobian matrix. Beyond solving forward problems, JAX-CPFEM demonstrates its potential in an inverse design pipeline, where initial crystallographic orientations of polycrystal copper are optimized to achieve targeted mechanical properties under deformations. The end-to-end differentiability of JAX-CPFEM allows automatic sensitivity calculations and high-dimensional inverse design using gradient-based optimization. The concept of differentiable JAX-CPFEM provides an affordable, flexible, and multi-purpose tool, advancing efficient and accessible computational tools for inverse design in smart manufacturing.</p>","PeriodicalId":19342,"journal":{"name":"npj Computational Materials","volume":"50 1","pages":""},"PeriodicalIF":9.4000,"publicationDate":"2025-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"npj Computational Materials","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1038/s41524-025-01528-2","RegionNum":1,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, PHYSICAL","Score":null,"Total":0}
Efficient GPU-computing simulation platform JAX-CPFEM for differentiable crystal plasticity finite element method
We present the formulation and applications of JAX-CPFEM, an open-source, GPU-accelerated, and differentiable 3-D crystal plasticity finite element method (CPFEM) software package. Leveraging the modern computing architecture JAX, JAX-CPFEM features high performance through array programming and GPU acceleration, achieving a 39× speedup in a polycrystal case with ~52,000 degrees of freedom compared to MOOSE with MPI (8 cores). Furthermore, JAX-CPFEM utilizes the automatic differentiation technique, enabling users to handle complex, non-linear constitutive materials laws without manually deriving the case-specific Jacobian matrix. Beyond solving forward problems, JAX-CPFEM demonstrates its potential in an inverse design pipeline, where initial crystallographic orientations of polycrystal copper are optimized to achieve targeted mechanical properties under deformations. The end-to-end differentiability of JAX-CPFEM allows automatic sensitivity calculations and high-dimensional inverse design using gradient-based optimization. The concept of differentiable JAX-CPFEM provides an affordable, flexible, and multi-purpose tool, advancing efficient and accessible computational tools for inverse design in smart manufacturing.
期刊介绍:
npj Computational Materials is a high-quality open access journal from Nature Research that publishes research papers applying computational approaches for the design of new materials and enhancing our understanding of existing ones. The journal also welcomes papers on new computational techniques and the refinement of current approaches that support these aims, as well as experimental papers that complement computational findings.
Some key features of npj Computational Materials include a 2-year impact factor of 12.241 (2021), article downloads of 1,138,590 (2021), and a fast turnaround time of 11 days from submission to the first editorial decision. The journal is indexed in various databases and services, including Chemical Abstracts Service (ACS), Astrophysics Data System (ADS), Current Contents/Physical, Chemical and Earth Sciences, Journal Citation Reports/Science Edition, SCOPUS, EI Compendex, INSPEC, Google Scholar, SCImago, DOAJ, CNKI, and Science Citation Index Expanded (SCIE), among others.