Finite element method in python
Project description
Welcome to fempy!
Fempy is a pure python cross platform package for solving systems of PDEs by finite element method. It provides abstractions for dealing with discretized domains, fields on these domains, weak forms constructed with the fields and for solving the resulting systems of equations. Linear, non linear and time dependent problems can be solved with fempy.
Installation
Best way to install fempy is by using pip
:
pip install -U fempy
The only dependencies required are numpy and scipy. However for automatic meshing and preview of results you will need also gmsh executable in your path. You may choose to install it with pip
as well:
pip install -U gmsh-sdk
Testing
Run all tests by:
python -m fempy.tests.runtests
You can also specify subpackages, e.g:
python -m fempy.tests.runtests domain
Examples can be executed similarely as:
python -m fempy.examples.elastic
Note, that most examples need gmsh and a running display.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fempy-0.3.1.tar.gz
.
File metadata
- Download URL: fempy-0.3.1.tar.gz
- Upload date:
- Size: 8.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d5395dd0997dd034adab56ed5a52f26ce1f8346abd5fe724f03889407516b7 |
|
MD5 | 2bdbbbed31f1419843a52a6edaa7d434 |
|
BLAKE2b-256 | 1ef88ad71e02f7d4d1565822a6d6dd8e0e2938946590c909ac0dd17aec58cd53 |