Skip to main content

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: https://fluiddyn.readthedocs.io

Getting started

To try fluiddyn without installation: Binder notebook

Installation

The simplest way to install fluiddyn is by using pip:

pip install fluiddyn [--user]

Add --user flag if you are installing without setting up a virtual environment.

You can also get the source code from https://foss.heptapod.net/fluiddyn/fluiddyn or from the Python Package Index. It is recommended to install numpy before installing fluiddyn. The development mode is often useful if you intend to modify fluiddyn. From the root directory:

python setup.py develop

Requirements

Minimum

Python (>=3.6), 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

From the root directory:

make tests

Or, from the root directory or any of the “test” directories:

python -m unittest discover

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

fluiddyn-0.3.2.tar.gz (245.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fluiddyn-0.3.2-py2.py3-none-any.whl (143.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fluiddyn-0.3.2.tar.gz.

File metadata

  • Download URL: fluiddyn-0.3.2.tar.gz
  • Upload date:
  • Size: 245.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for fluiddyn-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a00c0b2a1cc58bb64341c34d399ba869f8bc46a8b423735979fa1f63d664608a
MD5 38db88737cbbe5e0bda8d24191c7406e
BLAKE2b-256 f10ab7f4af65e08d49155411f725134ae61cfa6da8b62fb0d78473daeb70ba7c

See more details on using hashes here.

File details

Details for the file fluiddyn-0.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: fluiddyn-0.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 143.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for fluiddyn-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 77e528d5e750d4b5b94d40555fbf0b92eb9182db1f2e34efbb5c25f8ddc523f8
MD5 850f9149106debc7824aca212ed3c9e1
BLAKE2b-256 e71d60f173991b7dd624362cf2091ab452dc069809d50e2c76fcf4549d547db6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page