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.0rc2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

fluidsim-0.8.0rc2-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.0rc2-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.0rc2-cp312-cp312-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fluidsim-0.8.0rc2-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.0rc2-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

fluidsim-0.8.0rc2-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.0rc2-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.0rc2-cp311-cp311-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fluidsim-0.8.0rc2-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.0rc2-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fluidsim-0.8.0rc2-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.0rc2-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.0rc2-cp310-cp310-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fluidsim-0.8.0rc2-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.0rc2-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

fluidsim-0.8.0rc2-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.0rc2-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.0rc2-cp39-cp39-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fluidsim-0.8.0rc2-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.0rc2.tar.gz.

File metadata

  • Download URL: fluidsim-0.8.0rc2.tar.gz
  • Upload date:
  • Size: 1.3 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.0rc2.tar.gz
Algorithm Hash digest
SHA256 8c714c0e8a44a5b7f1e1216e7afe7dc74be92d2f6df7e58f2202b3cbd95aa1e1
MD5 b155b25c208cccd67ea147c2de2609e9
BLAKE2b-256 4df312cc54c1880f50f268db4fcb92e696ef8c039a0bb847d2b850d583510173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6cce43acb97d08655f53432813c08277171a14dacb2d5c6c685b0615f4ed0db2
MD5 8412b2f54b193af7ed23b28700bb0641
BLAKE2b-256 5308afa70df740b99fba6d6090b19d8de8a8a11c37f405e77228a054555c6439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6dff336b66b5d70ff4c4e1a362d799ad9a3636af8b0abf28fbe2080cafdef32
MD5 86100aab8060db7b468ee55c38ff8e16
BLAKE2b-256 29313f0ef14cd2f4874c321020557ce6d41f7f121d16a26534b2d764e3380a76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4d6054df1a59f9e319c8c99012dc63e2c6436ca06989f82579f7e34b31640b76
MD5 e2e6e0a06f6097c384805af43369993b
BLAKE2b-256 3a2ec9d7844be8c3e45b18c55881991dbe5479dca1977f446376a28ce5575eee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9155c8664b6d72bb3955c4edf24e643228d864686163f5c9fbdc33452381b67e
MD5 750ac182bffd684537a2c507f49cbe8a
BLAKE2b-256 ece33512a485c9e6e5b0afb59c4c2ef53492e244a4e3c2b581698404c958efbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3fe4198dfb564074b33b75846613395390c63c6ee8169016505035d176d5dec7
MD5 f75548154150a466140b4e81e10b0bc8
BLAKE2b-256 020bf8ebe38d0cc7bc5ed0dd12a171d2645a1f5e6723b93802b575192af243cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eef8153b71ae10b5b6abca714e4049bd45565e375c7a32f79ad50d7df6efc4fb
MD5 0a2310c915a8985bf8cf1a870139155d
BLAKE2b-256 c8728c4e98052b5d1a17266673ae1eaf15a663ee7981173878499cbd7520e84c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3482f885d973b0d88a07fb19b1c1f07a54d94ea9e771e552f0c4a03d0e700329
MD5 3855363e80dbf17220cc84eaeafdb4d7
BLAKE2b-256 266c638523eeeb03b768a5ced9507d5df639a8b5806180e98744e6b524d9c53f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9820ba6933f621eeef7a40a27d915dbfecf02949576e54b4fd5d55b563a318be
MD5 973748cc27bcbf9574143c7c07841099
BLAKE2b-256 96bc55690a5041ddcbd2b69f48cfc744bcb40964aa47639500a62d10663fe668

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce3bd38a37bda3e216b9818b94e37fd2c12e0cca046cc23c0bd1adcfd6e1d2ae
MD5 99fe5826f2709593aa9747a6c93763a6
BLAKE2b-256 f2067413ea08565f032b8cfabd4bc7b970cc1121901e90b63edfaddb897b5a88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 396f5ba351d4ea46362cd904171c68725b7ef20ba07d7bc3edd96635930302d1
MD5 1a30232ae65f5f70812cd0548943a4a2
BLAKE2b-256 e053db3b848b0e8e4b194abbe47fcdd7745b6286bf733c7ab690c97c1f299b89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a94a66254a1cc0e4096a20fc8567c54ac7ce19f439e236e32303c9880c777426
MD5 3b1917dc3225093c60c04c3230497f3c
BLAKE2b-256 0fa8428eb94480b479aa1f760d43933643b5b9d7ccd3941788adab42b9860222

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a320af03b1184523bf5bd057c945853966a3f183f6d493accaab577ea793c309
MD5 d9317761d5c6a21eb08854264e1c8519
BLAKE2b-256 e7153046cd52410d1cb4761ef2c0c861b22949aeaaa565b77f30e1928daf100f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa556cb4aac54cbfa2b1c241d72b535fa633bc0e9355a5adf65dd9923ff98661
MD5 152ea6fd3f588568e02973085595f817
BLAKE2b-256 db33aafba413b7e48ae827c0990253b8bc24a663a3a2d8247d11aaac26937b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae5cea75484896d6f3e399c98b56acadb0a12b730d7bd6af4dce7e8a91217771
MD5 413159753254fed1fbe1b2354965fd1f
BLAKE2b-256 09c95dbd66521ff5e6259dfe31068ab1ffcb6cc5149e6052daac14324531bd43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 953fe693f8f32d12a4cc7ef77cc7ebecb38e95fcbfdd91ef360956eed7b40351
MD5 1fb42bed2f38a7dc6baa122845aabe85
BLAKE2b-256 be3bb472d450042928f82825f1c77154eaeee0a2f1665b25f058561c912c2bc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 342ac6353f4d76c399cc5bf2d6c92546fa4a228a116ddbf7c4fb4edf90b609d9
MD5 452022d6034513fd43e838ca9816af97
BLAKE2b-256 0d003c3fea8ed112832e351d919290f7257ed7dbc7b5773945a5013b09c99345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ad1a71e0c16fcc05076ab933c12a7aa0979b251d62c8222a430b997b9e329e60
MD5 fab3cad75b047bb27bca1430a66727eb
BLAKE2b-256 93bcd42d7fb50c0f46fb01e15e7883303188b692d0a7ddcd4dcca6bdf4c71fe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3c9fe167cd3d09525a6501ba9b155eeb8c02c247df05a8d05dcce6919d5808a3
MD5 da0abbaf5d71ef8a024eb8157690fcf5
BLAKE2b-256 1518efad0a27176ca0707c271089673d6d12367edc162f70c226e8768c0bddfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3dc91f300e826b464d1b6c3b864fdff9edd7e642c497355dd5d2474847036c59
MD5 e32f7385b897c52d2ffd303a3d3a86dc
BLAKE2b-256 d51e246596a7fb416ab4a9747ca2fc6b9a7bd69dd1829adbafea7fb38cd83baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7c43055b3fdeb8a421f6b6095c253281b1b9800257402770e158956c7cf73823
MD5 0a4ea3e3e3d241adeed964dc11264cca
BLAKE2b-256 f650fbb001d7d40cd91986691eee6a218a6fe994092eb79b2d4035fe3a836e7f

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