Skip to main content

fedoo

Finite element library FEDOO Logo

About

Fedoo is a free open source Finite Element library developed in Python. It is mainly dedicated for mechanical problems but is easily developpable for other kind of problems (thermal laws already included). One of the main application of fedoo is to simulate the mechanical response of heterogeneous materials. For that purpose, fedoo is part of the 3mah set that also include microgen for the CAD and meshing of heterogeneous materials and simcoon for the non linear material constitutive models in finite strain.

Here are the main features:

  • New A full interactive viewer is now included to improve the results visualization.
  • Entirely written in Python 3
  • Implicit finite element Solver for Static and Dynamics poblems
  • Finite strain constitutive laws based on the simcoon library (simcoon is developped in C++ allowing a fast execution)
  • Geometrical non linearities based on the simcoon library
  • Wide constitutive equation library including composites law, elasto-plastic law, ...
  • Include many types of elements like 2D, 3D, beam, plate, cohesive elements, ...
  • Homogeneisation: Easy application of periodic boundary conditions and fast automatic extraction of mean tangent matrices
  • Embedded results visualization using the powerfull pyvista library
  • Multi-point constraints
  • Easy scripting
  • Good compromise between a reasonable execution time and an open and lisible code. fedoo is not the fastest finite element software and doesn't intend to be, but a particular attention is paid to the computational cost.
  • Contact in 2D and 3D, Self contact
  • And many other....
PyPI package PyPI version
Conda package Conda
Documentation Documentation
License License
Website Website

Documentation

Installation

Installation with conda with recommanded dependencices:

conda install -c conda-forge -c set3mah fedoo

Minimal installation with pip:

pip install fedoo

Installation with pip including recommanded dependencies:

pip install fedoo[all]

In mac OS make sure to use petsc4py (included in the conda package) or scikit-umfpack. To install scikit-umfpack, it is recommanded to use pip (the conda package is outdated):

pip install scikit-umpack>=0.41 

For performance considerations, it is in general strongly recommended to make sure that numpy is correctly installed using a fast implementation of BLAS (MKL for windows or linux or Accelerate for mac OS).

In mac OS, the best way to take the most of MacOs accelerate framework is to install numpy from sources first:

pip install cython pybind11
pip install --no-binary :all: numpy

Also, make sure that the default number of threads is not leading to performance degradations: using explicit number of threads might help, see below for extensive control of threads number.

#Set the number of threads
import os

n_threads = 4
os.environ["OMP_NUM_THREADS"] = f"{n_threads}"
os.environ["OPENBLAS_NUM_THREADS"] = f"{n_threads}"
os.environ["MKL_NUM_THREADS"] = f"{n_threads}"
os.environ["VECLIB_MAXIMUM_THREADS"] = f"{n_threads}"
os.environ["NUMEXPR_NUM_THREADS"] = f"{n_threads}"

Metadata

Release files for fedoo 1.2.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 fedoo 1.2.0
File Size Uploaded Provenance Actions
fedoo-1.2.0.tar.gz 15.5 MB Without provenance Details for fedoo-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 MB

Release files / fedoo-1.2.0.tar.gz

Download URL fedoo-1.2.0.tar.gz
Size 15.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d8dddc5fad80da7d1846d32795add72556a01d6ca34fe2fe8c5cbd49d10ae93c
BLAKE2b-256 checksum
How to use checksums
c1ea6eae131fb1656558fd407642c79d623c23d4d174c95d69eacc70040b960a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / fedoo-1.2.0-py3-none-any.whl

Download URL fedoo-1.2.0-py3-none-any.whl
Size 688.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0fea12397b57e289c979a99778fb121d00b3d8533a0ddaab8134df4ecf42f2c
BLAKE2b-256 checksum
How to use checksums
b79397a932c02f07d20509ef859bc122419188cc93367adb4bd29c44ebc51947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for fedoo 1.2.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.

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