Skip to main content

Framework for studying fluid dynamics.

Project description

alt:

Travis CI status

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 Bitbucket 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

Citing

If you need to cite a FluidDyn paper, feel free to use: https://arxiv.org/abs/1807.09224

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.1.tar.gz (173.5 kB view details)

Uploaded Source

Built Distribution

fluiddyn-0.3.1-py2.py3-none-any.whl (142.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: fluiddyn-0.3.1.tar.gz
  • Upload date:
  • Size: 173.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for fluiddyn-0.3.1.tar.gz
Algorithm Hash digest
SHA256 488dcc8cd1660fd6eed939defeb21250114b5de9c94cc1d979136ea439789b33
MD5 8406a3ff9f93124e22ee0d692c365c3a
BLAKE2b-256 e30292af30e6aa328e2f0e334df872407aa4edae29a059a84e5b9a4ec329dc6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluiddyn-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 142.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for fluiddyn-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4bee81890fe56279a64804e28c58a0d003784d1dd0f21954a58b4d3f64cec677
MD5 f144c5069913489e0e8d21b50971da05
BLAKE2b-256 06cf03dd4933ce0fb04c983f0af1f41bad5fdd2b8a47582455c0212f8dec7220

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