Welcome to myfempy's online documentation¶
Under Development
The myfempy project is under development, updates and code modifications may occur in future versions without prior notice from the developers.

Copyright © Antonio Vinicius G. Campos 2022-2026. Processo INPI BR512022001484-0
About¶
myfempy is a python package based on finite element method to multiphysics analysis. The code is open source and intended for educational and scientific purposes only, not recommended to commercial use. The name myfempy is an acronym for MultiphYsics Finite Elements Module to PYthon. You can help us by contributing with the main project, send us a mensage Github Discussions. If you use myfempy in your research, the developers would be grateful if you could cite in your work.

Installation¶
To install myfempy manually in your directory, following the steps
- Clone/ Download the main code latest version from github/myfempy/main
- Unzip the pack in your preferred location
- In the myfempy folder, open a terminal and enter with the command:
>> python -m pip install --upgrade pip
>> pip install .
or
>> python -m pip install --upgrade build
>> python -m build
Note: is recommend to create a virtual environment previously the installation of myfempy and dependencies packs. You can use the virtualenv or conda environments
Dependencies¶
Myfempy can be used in systems based on Linux and Windows, MacOS (has not been tested), and requires Python 3 to running.
Installation prerequisites, required to build myfempy
You can use either of two python development environments to run myfempy
- Python 3.11.x - Python is a programming language that lets you work quickly and integrate systems more effectively.
- Anaconda - Anaconda offers the easiest way to perform Python/R data science and machine learning on a single machine.
Basic python packages required for using myfempy
The following python packages are required to run myfempy. Before to install myfempy, install this packages. Check if they are already installed on your machine
- numpy - The fundamental package for scientific computing with Python
- cython - Cython is a language that makes writing C extensions for Python as easy as Python itself
- scipy - Fundamental algorithms for scientific computing in Python
- vedo - A python module for scientific analysis and visualization of эd objects
- vtk - VTK is an open-source toolkit for 3D computer graphics, image processing, and visualization
try
Others prerequisites
-
gmsh/External Generator Mesh - Gmsh is an open source 3D finite element mesh generator with a built-in CAD engine and post-processor. Notes: 1 - Gmsh is NOT part of myfempy projects; 2 - Is Needed install Gmsh manually
try
Tutorial¶
An User's Guide is available here.
Many Examples are available here.
Documentation¶
The myfempy's web documents can be found here. The myfempy is documented using the Mkdocs under docs folder.
Releases/ Versions¶
The changelog is available here
License¶
myfempy is published under the GPLv3 license. See the myfempy/LICENSE.
Citing¶
Have you found this software useful for your research? Star the project and cite it as:
- APA:
- BibTex:
@software{campos_2022_15756128,
author = {Campos, Antonio Vinicius Garcia},
title = {myfempy},
month = jul,
year = 2022,
publisher = {Zenodo},
doi = {10.5281/zenodo.15756128},
url = {https://doi.org/10.5281/zenodo.15756128},
}
References¶
-
Myfempy - A python package for scientific analysis based on finite element method.
-
FEM - The finite element method (FEM) is a popular method for numerically solving differential equations arising in engineering and mathematical modeling.
-
Solid Mechanics -Solid mechanics, also known as mechanics of solids, is the branch of continuum mechanics that studies the behavior of solid materials, especially their motion and deformation under the action of forces, temperature changes, phase changes, and other external or internal agents.
-
PDE In mathematics, a partial differential equation (PDE) is an equation which imposes relations between the various partial derivatives of a multivariable function.