FluidDyn is a framework for research and teaching in fluid dynamics. The Python package fluiddyn contains basic utilities (file io, figures, clusters, mpi, etc.). Most of the features of the FluidDyn project are actually implemented in other packages (in particular in fluidlab, fluidimage and fluidsim).
Key words and ambitions: fluid dynamics research with Python (2.7 or >= 3.4); modular, object-oriented, collaborative, tested and documented, free and open-source software.
FluidDyn is distributed under the CeCILL-B License, a BSD compatible french license.
It is recommended to install numpy before installing fluiddyn. The simplest way to install fluiddyn is by using pip:
pip install fluiddyn
The development mode is often useful. From the root directory, run:
python setup.py develop
- Python 2.7, >=3.4
- subprocess32 (for Python 2.7 only)
- pyfftw (requires FFTW library)
- OpenCV with Python bindings
From the root directory:
Or, from the root directory or any of the "test" directories:
python -m unittest discover
FluidDyn is the evolution of two other codes 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).