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

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.9.0.tar.gz (123.7 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.9.0-py3-none-any.whl (162.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fluiddyn-0.9.0.tar.gz
  • Upload date:
  • Size: 123.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.4 CPython/3.10.18 Linux/6.10.2-clevercloud-vm-dirty

File hashes

Hashes for fluiddyn-0.9.0.tar.gz
Algorithm Hash digest
SHA256 52960b0cb1fb22cac340cb08b4206f45d785df780980c434eee9511db87ea493
MD5 40d9d9216a67950d75fdd1f320d2692f
BLAKE2b-256 7140fd5e2013882011b541b19b93a6355c0372bb9d51f8a24b49a3534b10280c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluiddyn-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 162.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.4 CPython/3.10.18 Linux/6.10.2-clevercloud-vm-dirty

File hashes

Hashes for fluiddyn-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f55ffe930daa77309d8f3821b79ff6a45e609f4283624bbadbc10a542d5332d7
MD5 f9420349ad3d11b64b7082df63316241
BLAKE2b-256 67510fb8a9e5daeeec88f05787f1f7c5914b08c126d5177881876cb6df349cb2

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