Skip to main content

Open finite element infrastructure for nonlinear computational mechanics.

FElupe PyPI version shields.io Conda Version PyPI - Python Version Documentation Status License: GPL v3 Project Status: Active – The project has reached a stable, usable state and is being actively developed. codecov DOI status pyOpenSci Peer-Reviewed Ruff PyPI - Downloads lite-badge Open In Colab

FElupe is an open, Python-based finite element infrastructure for nonlinear computational solid mechanics, providing high-level and extensible workflows for research and engineering applications.

Image

✨ Highlights

FElupe achieves efficient NumPy-based computations through vectorized element-wise operations on trailing array axes [1]. The finite element method, as used in FElupe, is based on [2], [3] and [4]. Related scientific articles are listed in the sections of the API reference.

📦 Installation

Install Python, open a terminal and run

pip install felupe[all]

The documentation covers more details, like required and optional dependencies and how to install the latest development version.

🚀 Getting Started

This minimal code-block demonstrates a nonlinear simulation of a hyperelastic cube under compression.

import felupe as fem

mesh = fem.Cube(n=8)
region = fem.RegionHexahedron(mesh)
field = fem.FieldContainer(fields=[fem.Field(region, dim=3)])

boundaries = fem.dof.uniaxial(field, clamped=True, move=-0.3)
solid = fem.SolidBody(umat=fem.NeoHooke(mu=1, bulk=5), field=field)

step = fem.Step(items=[solid], boundaries=boundaries)
job = fem.Job(steps=[step]).evaluate()

solid.plot("Principal Values of Cauchy Stress").show()

Solid Body

📖 Documentation

The documentation is located here.

🧩 Extension Packages

The capabilities of FElupe may be enhanced with extension packages created by the community.

Package Description
contique Numerical continuation of nonlinear equilibrium equations.
hyperelastic Constitutive hyperelastic material formulations
matadi Material Definition with Automatic Differentiation (AD)
statescale Snapshot-Driven State Upscaling
tensortrax Differentiable Tensors based on NumPy Arrays
feplot A visualization tool for FElupe

🛠️ Testing

To run the FElupe unit tests, check out this repository and type

tox

📝 Scientific Publications

A list of articles in which FElupe is involved. If you use FElupe in your scientific work, please star this repository, cite it status and optionally add your publication to this list.

Expand the list...

📄 Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

📚 References

[1] T. Gustafsson and G. McBain, "scikit-fem: A Python package for finite element assembly", Journal of Open Source Software, vol. 5, no. 52. The Open Journal, p. 2369, Aug. 21, 2020. DOI:10.21105/joss.02369.

[2] J. Bonet and R. D. Wood, "Nonlinear Continuum Mechanics for Finite Element Analysis". Cambridge University Press, Mar. 13, 2008. DOI:10.1017/cbo9780511755446.

[3] K. J. Bathe, "Finite Element Procedures". 2006, isbn: 978-0-9790049-0-2.

[4] O. C. Zienkiewicz, R. L. Taylor and J. Z. Zhu, "The Finite Element Method: its Basis and Fundamentals". Elsevier, 2013. DOI:10.1016/c2009-0-24909-9.

🔓 License

FElupe - finite element analysis (C) 2021-2026 Andreas Dutzler, Graz (Austria).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Metadata

Release files for felupe 12.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for felupe 12.0.0
File Size Uploaded Provenance Actions
felupe-12.0.0.tar.gz 581.8 kB Without provenance Details for felupe-12.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for felupe 12.0.0
File Interpreter ABI Platform Actions
felupe-12.0.0-py3-none-any.whl Python 3 none any Details for felupe-12.0.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / felupe-12.0.0.tar.gz

Download URL felupe-12.0.0.tar.gz
Size 581.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e40069f6347777d55728bf97413732d572a2990dbab98175b9e3a250c9d71b94
BLAKE2b-256 checksum
How to use checksums
de3bf6b3651fd299e9e084b1fb738718d42d22eb1cb08471dfad14573c1ecd74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / felupe-12.0.0-py3-none-any.whl

Download URL felupe-12.0.0-py3-none-any.whl
Size 578.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cf0e2a9eeb3bc73c5d203e87c8d9699fd00308c97cf42c3e8663a1fc14480ce
BLAKE2b-256 checksum
How to use checksums
e5630b0b638ba1c618971318dccf7b1f4f8fbbcb454da68361d2f60be3cdc04d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for felupe 12.0.0

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.

Release history Release notifications | RSS feed

This release

12.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page