Skip to main content

Framework for studying fluid dynamics.

Project description

Latest version Supported Python versions Documentation status Code coverage Heptapod CI Github Actions

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

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

pip install -e .[dev]

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

fluiddyn-0.6.2.tar.gz (121.8 kB view details)

Uploaded Source

Built Distribution

fluiddyn-0.6.2-py3-none-any.whl (159.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluiddyn-0.6.2.tar.gz
  • Upload date:
  • Size: 121.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.13.3 CPython/3.9.19 Linux/5.10.0-8-amd64

File hashes

Hashes for fluiddyn-0.6.2.tar.gz
Algorithm Hash digest
SHA256 40f772cfdf111797ae1c6cf7b67272207f2bc7c4f599085634cc1d74eb748ee5
MD5 f07d0bd67971f5eb6c68a7a3ab094cc4
BLAKE2b-256 48dc96e43e0be1adb26c8384ea82ba64f57aa4631c7b0cc837d0472cbca4c7fe

See more details on using hashes here.

File details

Details for the file fluiddyn-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: fluiddyn-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 159.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.13.3 CPython/3.9.19 Linux/5.10.0-8-amd64

File hashes

Hashes for fluiddyn-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1042e8aa88dc86a5bd759426ef4e328bbf12f79a5efa449361fdd6a0ce35628
MD5 e26945427c94ef96916e8f06d95c6a96
BLAKE2b-256 8f5cb8b831f41099b4bc2f3147f67a49ce48db2f4b32f765181b1aca0fb3acef

See more details on using hashes here.

Supported by

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