JAX-FEM
JAX-FEM is a differentiable finite element package based on JAX.
Documentation
For installation and user guide, please visit our documentation for details.
Key features
JAX-FEM is Automatic Differentiation (AD) + Finite Element Method (FEM), and we support the following features:
- 2D quadrilateral/triangle elements
- 3D hexahedron/tetrahedron elements
- First and second order elements
- Dirichlet/Neumann/Robin boundary conditions
- Linear and nonlinear analysis including
- Heat equation
- Linear elasticity
- Hyperelasticity
- Plasticity (macro and crystal plasticity)
- Multi-physics problems
- Integration with PETSc for solver options
- Differentiable programming for solving inverse/design problems without deriving sensitivities by hand, e.g.,
- Topology optimization
- Optimal thermal control
Examples
Thermal profile in direct energy deposition.
Linear static analysis of a bracket.
Crystal plasticity: grain structure (left) and stress-xx (right).
Stokes flow: velocity (left) and pressure(right).
Topology optimization with differentiable simulation.
JAX-FEM Express
We have built an LLM Agent for JAX-FEM: Try JAX-FEM Express! https://www.bohrium.com/apps/jax-fem-express
Click to watch the JAX-FEM Express video
License
This project is licensed under the GNU General Public License v3 - see the LICENSE for details. For commercial use, contact Tianju Xue.
Citations
If you found this library useful in academic or industry work, we appreciate your support if you consider 1) starring the project on Github, and 2) citing relevant papers:
@article{xue2023jax,
title={JAX-FEM: A differentiable GPU-accelerated 3D finite element solver for automatic inverse design and mechanistic data science},
author={Xue, Tianju and Liao, Shuheng and Gan, Zhengtao and Park, Chanwook and Xie, Xiaoyu and Liu, Wing Kam and Cao, Jian},
journal={Computer Physics Communications},
pages={108802},
year={2023},
publisher={Elsevier}
}
Metadata
Release files for jax-fem 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jax_fem-0.0.12.tar.gz | 72.8 MB | Without provenance | Details for jax_fem-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jax_fem-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for jax_fem-0.0.12-py3-none-any.whl |
Total release size: 72.9 MB
Release files / jax_fem-0.0.12.tar.gz
| Download URL | jax_fem-0.0.12.tar.gz |
|---|---|
| Size | 72.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dba6608b435a233c58ddf85eb1b092c5989210a6751618f641065c36362a8bea
|
|
BLAKE2b-256 checksum How to use checksums |
2a0affe865f2190340a06abfe19745230634d9ba7f4f873277767667514ab4a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / jax_fem-0.0.12-py3-none-any.whl
| Download URL | jax_fem-0.0.12-py3-none-any.whl |
|---|---|
| Size | 75.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2d499b45be73d368d024467c2b6dee65034e39065c3f9720530b02a63cdb7a5
|
|
BLAKE2b-256 checksum How to use checksums |
f848775898730245a72ac9988a415490760a6a522fe527af1fce961175425127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for jax-fem 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.