Skip to main content

Framework for studying fluid dynamics with simulations.

Project description

FluidSim

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

Fluidsim is an extensible framework for studying fluid dynamics with numerical simulations using Python. Fluidsim is an object-oriented library to develop Fluidsim "solvers" (i.e. Python packages solving equations) by writing mainly Python code. The result is very efficient even compared to a pure Fortran or C++ code since the time-consuming tasks are performed by optimized compiled functions.

Documentation: https://fluidsim.readthedocs.io

Getting started

To try fluidsim without installation: Binder notebook

For a basic installation it should be sufficient to run:

pip install fluidsim

or with conda/mamba:

conda install -c conda-forge fluidsim

Much more detailed instructions are given in the documentation.

How does it work?

Fluidsim is a HPC code. It is part of the wider project FluidDyn and its pseudospectral solvers rely on the library fluidfft to use very efficient FFT libraries. Fluidfft is written in C++, Cython and Python. Fluidfft and fluidsim take advantage of Pythran, an ahead-of-time compiler which produces very efficient binaries by compiling Python via C++11.

An advantage of a CFD code written mostly in Python is that, to run simulations and analyze the results, the users communicate (possibly interactively) together and with the machine with Python, which is nowadays among the best languages to do these tasks. Moreover, it is much simpler and faster than with pure Fortran or C++ codes to add any complicated analysis or to write a modified solver. Fluidsim can also be used to extend existing solvers with Python interfaces such as Basilisk.

We have created fluidsim to be easy and nice to use and to develop, efficient and robust.

Keywords and ambitions: fluid dynamics research with Python (>=3.9); modular, object-oriented, collaborative, tested and documented, free and open-source software.

License

FluidSim is distributed under the CeCILL License, a GPL compatible french license.

Metapapers and citations

If you use FluidSim to produce scientific articles, please cite our metapapers presenting the FluidDyn project, FluidFFT, and FluidSim:

@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}
}

@article{fluidfft,
doi = {10.5334/jors.238},
year = {2019},
publisher = {Ubiquity Press,  Ltd.},
volume = {7},
author = {Ashwin Vishnu Mohanan and Cyrille Bonamy and Pierre Augier},
title = {{FluidFFT}: Common {API} (C$\mathplus\mathplus$ and Python)
    for Fast Fourier Transform {HPC} Libraries},
journal = {Journal of Open Research Software}
}

@article{fluidsim,
doi = {10.5334/jors.239},
year = {2019},
publisher = {Ubiquity Press,  Ltd.},
volume = {7},
author = {Mohanan, Ashwin Vishnu and Bonamy, Cyrille and Linares, Miguel
    Calpe and Augier, Pierre},
title = {{FluidSim}: {Modular}, {Object}-{Oriented} {Python} {Package} for
    {High}-{Performance} {CFD} {Simulations}},
journal = {Journal of Open Research Software}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluidsim-0.8.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

fluidsim-0.8.0-cp312-cp312-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

fluidsim-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.0-cp312-cp312-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fluidsim-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

fluidsim-0.8.0-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

fluidsim-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.0-cp311-cp311-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fluidsim-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

fluidsim-0.8.0-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fluidsim-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.0-cp310-cp310-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fluidsim-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fluidsim-0.8.0-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

fluidsim-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.0-cp39-cp39-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fluidsim-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file fluidsim-0.8.0.tar.gz.

File metadata

  • Download URL: fluidsim-0.8.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fluidsim-0.8.0.tar.gz
Algorithm Hash digest
SHA256 01f6d489ce44fe4dc47357506ba227ae0e87b346758d8f067c13f319d0a9a881
MD5 c2adb13e0ede0abdaaa45a99acabf776
BLAKE2b-256 2e0c27ce2c17080444f98f7892e6049f7d0e49a2dcd4fad124c45bd8226fe700

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fluidsim-0.8.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fluidsim-0.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6ae60e93d1914187d1a8331dfacb4c1904ecebcb35247531aa3b46a06873c3d1
MD5 4d9449b402a7acd3417627a6911ec9a1
BLAKE2b-256 b35cdbb2757b0f6df294bc51c0b1c0390cac4ebac3fbd370e12cc489390d2a2b

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f04cef338270d382ff0945a019fe52f3fa7c073c279d15db809777eaa5a14f77
MD5 98361542e076fd5b6ebfbe2759b257a0
BLAKE2b-256 36e99cea8d21bf899bd4f496bb8a71b9fd286853a5df46947a9720891b571935

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a47898ca4e6be645de0f9b796a6d74aea8fa1666193ee91a8680fd7dadbe8b38
MD5 c866b761ca631867f68b19d90d0c8001
BLAKE2b-256 57fdc6873f4a47685727f98394854798665105b11f5597ba2b38d41739dd0d6c

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fb5f70bfa43d744f7a1f73a65f1218719dac7e01349e5f500f0aa288fd5fd126
MD5 1a6b4353105a137495a6d824e91c07a9
BLAKE2b-256 b948b4b9fd1af30f137c45121d6d48bf667916364f8c7545c824ae4e3c903260

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e33c96b7327b6fa842d9a9cfb0b2cf3919c60ebfff35ad28830c3934ed3bfbb3
MD5 63c23bc14728a344ae49d8959f0cb90f
BLAKE2b-256 1ae133c291d3d881de39cbf64421206fff86a14187039a9b967140801f31c726

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: fluidsim-0.8.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fluidsim-0.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2f9a6eaa94da330e838f5f3c3db432afd542676c939be77b0f938438a7abad19
MD5 faf7ae03f353e967216534f2339958bf
BLAKE2b-256 4e101b04609d2cd1f9de690de1ea2bceb0e9e2ae18213fbce5775ebcb6109dd0

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e49b3cc2a571cbd4120a01cef687b3fc225105aa054666ec5c7e7bd3ed13b531
MD5 4b585e499d34327fda8c3ad6ebf77402
BLAKE2b-256 149232cdd3dc563c01fb4e00e88c7cea8fc0f986560ac08ac87fa3961fae56fc

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b397c62102c930c15df7ac52330d7e55c3e50ebb58fd477c9915cba54f5c9bda
MD5 26abb90b12136008b99ce9868e0f1a86
BLAKE2b-256 0e0b6ccafce7ae10fdd1fab2fd9292b9741d106470c012364ad718d5275204aa

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 015e756672f149480fb05486004d2c109262aa41d8281eae1a32af7cda4339a2
MD5 98c5c3483b098572e73da16faaa0f24b
BLAKE2b-256 5ab32421862007faf21e74644afb33909bf4885cbfb62cac2834d5246921f036

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e54d96d91fa7a6f8ecbd21de37d88f86d5eb54f11374f9764c18164ad2c4d20a
MD5 33a366cebb81c024b38a8763120b42ce
BLAKE2b-256 986deaff430ce96398a7ac4341145086ee1ce452a062d2d9fe3c8c5b119e93ce

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: fluidsim-0.8.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fluidsim-0.8.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 23e6f1e50d61346bc324ee2d7b295f20d41aa791321a547b860a5b312a52f22b
MD5 cf7cbaeffba4880d109b4ae4c7b37308
BLAKE2b-256 1ebabd4d5959c57ce6d7b63366b0a03e58728b4c84ac655a6dbff8afccb4168b

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 334735164b9e989436137d24ac9d1e84cb844234ed65a2a3fa11e5bf292b964c
MD5 cc81ec94904f86e6a7bc3df128bb09d1
BLAKE2b-256 a670fda012413d45924f5fcba53b106a908c974d2a2e7ff203434ec2ae833901

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1efd54aace4c6438db99a59683f90395e3047646aec4276a481437d1c202e43f
MD5 ed5f148ccbaeb1257d56066181460c1d
BLAKE2b-256 2e48aa461d7b927f1df5142c36869787fe7e90534d3e7b8659d611633fc6f53c

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd6aa3a9d372053e0ef4770368e1d9647b9a859df7f3c7dc8dd93e79155bc967
MD5 93fee6b0e34ae9c3027beab912bbc090
BLAKE2b-256 5137267ed109e8d258b1c169c0397e66196eef8ddd1ff17da4d5c32837732d1a

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e20be2540f72803a4857d410355a2c06b6385da6a3a79919bf3170e2612ac28f
MD5 dbcc9dd900bf9817e453d0f00e28861d
BLAKE2b-256 7e3fdc45984295f7351ecbbaf7811a0b1ccd0db4eaece20725b273b2ee7f1ec9

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: fluidsim-0.8.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for fluidsim-0.8.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8739773b4fdbb7d3fdbe31edde743a605246965a548e308be2d4e9f3fc341b74
MD5 289d2ad956a87be77faf1581928b9c20
BLAKE2b-256 b83d79ce123ae35fa2d2eaef18ca9ff4e37a1fa230ceec3b91e2ebc1aef88ca9

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fa794c4104caf54f394b450a51e3ece097aa8e58f2aa5c27e4817bd5f27d5224
MD5 ce543db681ae5a12739ea888a7be03bd
BLAKE2b-256 5256f31c26e47a8576221703e64c8b6a4a3337d8c874bb21cf04cb3280a66bba

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ce4ed8f301476cdc5597c5b23805b0365db0ba802f4fe67a89c34cddcceb0fd3
MD5 e2691ee903b5b86679f6074649fe7af3
BLAKE2b-256 08a811183a4d426b783545efad50b6624863d857d0bfc29715f03f1b11199b27

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b12bca44db486fe59449b088334cde896f81b0441e0ddda5dc52719e20f9721
MD5 974b1f36e3c0dc9c57029a53e99b64cb
BLAKE2b-256 1f158ca481111b79953666f7bf307f2f29aa90965de41a69261e22c3b912d536

See more details on using hashes here.

File details

Details for the file fluidsim-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c9b89b54d5ef029b914f9bd16a043f11452d412a36237a0eabd10f176f7e98e5
MD5 d3885c98102f41cafc532d055bcb20fc
BLAKE2b-256 8d47e64968d3c055cfa214a8381bace69a916165449ca5c0958e400d0241edd9

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