Framework for studying fluid dynamics.
Project description
FluidDyn project is an ecosystem of packages for research and teaching in fluid dynamics. The Python package fluiddyn contains:
basic utilities to manage: File I/O for some esoteric formats, publication quality figures, job submission on clusters, MPI
powerful classes to handle: parameters, arrays, series of files
simplified interfaces to calculate: FFT, spherical harmonics
and much more. It is used as a library in the other specialized packages of the FluidDyn project (in particular in fluidfft, fluidsim, fluidlab and fluidimage).
Documentation: Read the Docs, Heptapod Pages
Installation
The simplest way to install fluiddyn is by using pip:
pip install fluiddyn
Requirements
Minimum |
Python (>=3.9), numpy matplotlib h5py psutil |
Full functionality |
h5py h5netcdf pillow imageio mpi4py scipy pyfftw (requires FFTW library), SHTns |
Optional |
OpenCV with Python bindings, scikit-image |
Note: Detailed instructions to install the above dependencies using Anaconda / Miniconda or in a specific operating system such as Ubuntu, macOS etc. can be found here.
Tests
With an editable installation, you can run the tests with:
pytest
Metapaper and citation
If you use any of the FluidDyn packages to produce scientific articles, please cite our metapaper presenting the FluidDyn project and the fluiddyn package:
@article{fluiddyn,
doi = {10.5334/jors.237},
year = {2019},
publisher = {Ubiquity Press, Ltd.},
volume = {7},
author = {Pierre Augier and Ashwin Vishnu Mohanan and Cyrille Bonamy},
title = {{FluidDyn}: A Python Open-Source Framework for Research and Teaching in Fluid Dynamics
by Simulations, Experiments and Data Processing},
journal = {Journal of Open Research Software}
}
History
The FluidDyn project started in 2015 as the evolution of two packages previously developed by Pierre Augier (CNRS researcher at LEGI, Grenoble): solveq2d (a numerical code to solve fluid equations in a periodic two-dimensional space with a pseudo-spectral method, developed at KTH, Stockholm) and fluidlab (a toolkit to do experiments, developed in the G. K. Batchelor Fluid Dynamics Laboratory at DAMTP, University of Cambridge).
Keywords and ambitions: fluid dynamics research with Python (>= 3.6), modular, object-oriented, collaborative, tested and documented, free and open-source software.
License
FluidDyn is distributed under the CeCILL-B License, a BSD compatible french license.
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 fluiddyn-0.6.6.tar.gz
.
File metadata
- Download URL: fluiddyn-0.6.6.tar.gz
- Upload date:
- Size: 122.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.20 Linux/5.10.0-23-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b6aa7e8c79cb9cac302809333c38506629a32dca58e6ea9c13f7039611644b8 |
|
MD5 | 660598b437dcf2e63d1a75f5a2febf94 |
|
BLAKE2b-256 | 9612a4f80b57713389f89bf7396ae946c62bcd3bfa07f5fbb5bed7235139c309 |
File details
Details for the file fluiddyn-0.6.6-py3-none-any.whl
.
File metadata
- Download URL: fluiddyn-0.6.6-py3-none-any.whl
- Upload date:
- Size: 161.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.20 Linux/5.10.0-23-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03fe65da9c05b3f9813d7b0379f55517cf6149be2e3e922dec64882ee3524178 |
|
MD5 | 7b8217c0f6b11d3f421fe65f87139b13 |
|
BLAKE2b-256 | a19ac376b642cc440ebe9236ddc0cf42fe708423706bd59ddabe1960a0e4cb87 |