FENaPack: FEniCS Navier-Stokes preconditioning package
Project description
FENaPack is a package implementing preconditioners for Navier-Stokes problem using FEniCS and PETSc packages. In particular, variants of PCD (pressure-convection-diffussion) preconditioner from [1], [2] are implemented.
Usage
To use FENaPack matching version of FEniCS (version 2019.1.0) compiled with PETSc, petsc4py and mpi4py is needed. Note that FENaPack uses same version numbering as FEniCS and follows its release schedule with a short lag.
To install FENaPack from source do:
pip3 install [--user|--prefix=...] [-e] .
in the source/repository root dir. Editable install using -e allows to use FENaPack directly from source directory while editing it which is suitable for development.
You can install latest FENaPack release form PyPI:
pip3 install [--user|--prefix=...] fenapack
or install latest development version from Github:
pip3 install [--user|--prefix=...] git+https://github.com/blechta/fenapack
To start experimenting:
cd demo/navier-stokes-pcd python3 demo_navier-stokes-pcd.py --help python3 demo_navier-stokes-pcd.py [opts] mpirun -n 16 python3 demo_navier-stokes-pcd.py [opts]
Full documentation is available at https://fenapack.readthedocs.io/.
License
FENaPack is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
FENaPack 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FENaPack. If not, see <http://www.gnu.org/licenses/>.
Acknowledgement
This work was supported by The Ministry of Education, Youth and Sports from the Large Infrastructures for Research, Experimental Development and Innovations project „IT4Innovations National Supercomputing Center – LM2015070“.
Links
Homepage https://github.com/blechta/fenapack
Documentation https://fenapack.readthedocs.io/
Bug reports https://github.com/blechta/fenapack/issues
PyPI home https://pypi.org/project/fenapack
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
Built Distribution
File details
Details for the file fenapack-2019.1.0.tar.gz
.
File metadata
- Download URL: fenapack-2019.1.0.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09598707368ac73483ab34d361d65b42db1e3f0a89def43fe7215f485c8f5e46 |
|
MD5 | 42425ee05a00d40d9356dcfeadd5b2ce |
|
BLAKE2b-256 | eaad70d1419218e7151e9515b4d995c96bd9af7d076db86af160b12e0dcd5a45 |
File details
Details for the file fenapack-2019.1.0-py3-none-any.whl
.
File metadata
- Download URL: fenapack-2019.1.0-py3-none-any.whl
- Upload date:
- Size: 46.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ead8ae5a81f2009746a4196d0b0d097c66b2003e0aa88f4a63a0ead6dc0aeb |
|
MD5 | adb4a2bedbbdda3d889b49deabee1569 |
|
BLAKE2b-256 | 93016ba53438acdbe52215f464810a2cd61cbe35d45e6edc8d5039d7e1032eef |