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 Codestyle black 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.

[!NOTE] The name FElupe combines FE (finite element) with the German word Lupe (magnifying glass), highlighting the project's open and transparent approach to finite element simulation.

📦 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, return_loadcase=False)
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/.

Release files for felupe 11.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 11.0.0
File Size Uploaded
felupe-11.0.0.tar.gz 307.2 kB Details

Built distribution (wheel)

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

Total release size: 740.8 kB

Release files / felupe-11.0.0.tar.gz

Download URL felupe-11.0.0.tar.gz
Size 307.2 kB
Tags Source
SHA-256 checksum
How to use checksums
213c1d6d7801142b5076c38f9b3665e4fc5d8213be3abbc3446cc3e5df165605
BLAKE2b-256 checksum
How to use checksums
c411966fdd6939e96d71eb9d592e8c41d5b61d3ec5089ef455d591c07c9cf046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL felupe-11.0.0-py3-none-any.whl
Size 433.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68124e66143d7fde3dd9f4aa4b3d62248fea802a8a693ca9c02861f1d46d08c7
BLAKE2b-256 checksum
How to use checksums
3d98a6891527d44299ebc4b65c349612eb78810329131e11bc8cdc672d21da31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

11.1.0

2 release files

This release

11.0.0 This release

2 release files

10.1.0

2 release files

10.0.0

2 release files

9.5.0

2 release files

9.4.1

2 release files

9.4.0

2 release files

9.3.0

2 release files

9.2.0

2 release files

9.1.0

2 release files

9.0.0

2 release files

8.8.0

2 release files

8.7.0

2 release files

8.6.0

2 release files

8.5.1

2 release files

8.5.0

2 release files

8.4.0

2 release files

8.3.1

2 release files

8.3.0

2 release files

8.2.1

2 release files

8.2.0

2 release files

8.1.0

2 release files

8.0.0

2 release files

7.18.0

2 release files

7.17.0

2 release files

7.16.0

2 release files

7.15.0

2 release files

7.14.0

2 release files

7.13.0

2 release files

7.11.0

2 release files

7.10.0

2 release files

7.9.0

2 release files

7.8.0

2 release files

7.7.0

2 release files

7.6.1

2 release files

7.6.0

2 release files

7.5.1

2 release files

7.5.0

2 release files

7.4.1

2 release files

7.4.0

2 release files

7.3.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.4.0

2 release files

6.3.0

2 release files

6.2.5

2 release files

6.2.4

2 release files

6.2.3

2 release files

6.2.2

2 release files

6.2.1

2 release files

6.2.0

2 release files

6.1.0

2 release files

6.0.0

2 release files

5.3.1

2 release files

5.3.0

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.0.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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