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.2.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

fluidsim-0.8.2-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

fluidsim-0.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.2-cp312-cp312-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fluidsim-0.8.2-cp312-cp312-macosx_10_9_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

fluidsim-0.8.2-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

fluidsim-0.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.2-cp311-cp311-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fluidsim-0.8.2-cp311-cp311-macosx_10_9_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

fluidsim-0.8.2-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fluidsim-0.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.2-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fluidsim-0.8.2-cp310-cp310-macosx_10_9_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fluidsim-0.8.2-cp39-cp39-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

fluidsim-0.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.2-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fluidsim-0.8.2-cp39-cp39-macosx_10_9_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fluidsim-0.8.2.tar.gz
Algorithm Hash digest
SHA256 eb36c2d7d588fbb088af026683a12bb14aa126bbbc91b999009130d6cb7920f9
MD5 4a5e053493cf9720756182a4b51f02e8
BLAKE2b-256 530c0a5959868620aee15ea50369df8892b8104c689596f4d424ed65461ae5aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fluidsim-0.8.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8df9970638347cab7c8c0b9175694378319317178f01bee860c092dcf6fcd85e
MD5 350ca6a9c9dd0fc551f12df7e5c4064e
BLAKE2b-256 1181f2dc46b3c9e91200e6318496f5a6bc568443cf38f6ebbe4f43e012170879

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 edbee58c569dac81bf3fb4deba02758b7064a00f0e988f58157f35e481268992
MD5 c69ecad21fee57989eda90382d466688
BLAKE2b-256 50285e5018c257e027b1cb4ddaffd0b47204e645f26f8e3c8279b075ed4e0f26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a5b51a8ad456c9c75a7877c498549f4e259a0d036cffd0748643c4abb520adb7
MD5 0955fb94ad1efd927fa703bca56449e6
BLAKE2b-256 80927623d3312adef0ca721e973ab05aea274068aae6b1231b8b1d34136ee658

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a3e5d09c2654b74d4c3f5528d86c7d2259f32249097eaa3c3d67d7373a32057
MD5 da9809cb57a36269ea74abae58174041
BLAKE2b-256 805ae1bdb605af0b2f9ac809bd2f978eb7e6a4fca8741a25429a791c20c4b7ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c9d0e40426bc667153d23a38a933c8282783699358b7ba080a72823ccd109b64
MD5 45015d7e3c930041a9ec8fcae607696a
BLAKE2b-256 5ea00471ec4e63c46a08c640fe48982a331d787d58f2a3f2adb7d648fe62cc1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fluidsim-0.8.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f87a10d81d7c2ec7142319e2dc2bc1b6422a61ac835292e1f2e75b8e221c0bfe
MD5 8f2c899841ab307e1ab4aee6225c014f
BLAKE2b-256 81965fbf962faaac6c05d09def28a9dfa946f1c01b7bd1c75c19694debe4010c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99f7a62a2c8afe205af7f0fcb42b19682b5f7a5e9eef37317acdcd6595bf7dde
MD5 bbe2326333ea7e577e089e78f6aba513
BLAKE2b-256 6d5272a59e3d8f495f9cfd5ba633c4a48ff8f2651b05c246662aebbf4acf0e65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9c0b22a4483c69ea3361ea4a58af1dba67b3d9a480c29c2dabb363c55c283bf5
MD5 37fdd58fb519de4caabd98219c1a5a47
BLAKE2b-256 189d1982865ec9646147f215c540bc23628da7ed7d1abdbcc5a067851e302e1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a659ccbbd9587cf3c12ece1811b30bcd890a43598a2ee5e221abfab05218b18
MD5 b47998dc8c55626ab9b9403c0a5eeeaf
BLAKE2b-256 373e46e30da573935e90f1dbde18e6b08b005bbc21ccda659536ab7b083b4dd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1bbe122bb3aac0e8d36fd1119e094e0a71de1cc543eeb4e7999cf197d0d34a2f
MD5 3a5778559b5da87e89903d4315522283
BLAKE2b-256 5fe75c64f8e2974b14ee03aa63b1b975717cb00a55ca675495b584b4bfaaf439

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fluidsim-0.8.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f8dab167f27ea0c1600feb8b9bfa774732843265bde7e6953b9a699792346d9c
MD5 49d742f36d53d866b64babc6cbb6a7b9
BLAKE2b-256 f32d783c9e15205a5845180779dbe42375fc74f42a3de0c3cbeb2196457dd49a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3096825c568e614093dd9dea9a7052d1847701e351eb0cf836f0d765754f08a
MD5 380011d72bb86cb821cb6514b6ac620c
BLAKE2b-256 b93758414fb567990c8465b19f7e7e4aeb2fd2865a03c249e7ca3c0d62b2c624

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dedae78020bdd0eacdece8c4b32d05572cecbf20f411cee19b0c6cecab50b92b
MD5 2970dc0c5f253ff333bf9a32914489bc
BLAKE2b-256 4f3ce4e1bbf5109cc8b3cff47a99b10a44db3765938f7dae1796159b9b25fbc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5abd4158307e5f1705b514ff4085269759641b1350428d84efd38f095c543d8a
MD5 c5c6a8eb5418de4c0fbff03dc2a02f40
BLAKE2b-256 2123d98a6c69f7855aae6b2471b69bbc7cd9de7f9f1d3ce8ec0349efa9dccc8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0578571b71da2f2d56963ee5739cf31d2ec66bac59f74ca9bff1d39accf304fb
MD5 32edcbd13c87830b4281245b1842a695
BLAKE2b-256 9fc50cd3ad6c905830b0846d29839974a109d38b29fd2524a90828ca3e511d19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fluidsim-0.8.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a1efcbca7bb398e2fdb5706759eb5116d2a152198285e59e082f71095561c3d9
MD5 50dc9f03c91acd601867b85ca1a8bb4d
BLAKE2b-256 35bc3b2bd603207cc8beb35c40480fa381ed96b456718551658193c8008fd084

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba45f19d032b9d6a852d6a26f988aa4a07b8eac09e74ea5be44355fbfd4b4c52
MD5 f69b1cd389ce1959cc1dd2cc5d81a5d3
BLAKE2b-256 33af9410aee080ed9280706e739bc6e038af50c5dc7bfe87cdab4818ad7af027

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cb09f244ee1f665027d679bb4f6cfe2cf99df9763665f7433f8a8505463e93f2
MD5 87b6fa86d43d73252386bef30dd3cf78
BLAKE2b-256 305e499257a009b9d2d5ea995fc7e74e516b243cdc05331f1ee6c538a8c2c7bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8c2242669c5126f494a7f8e345bc36d7a2810bb3a7ee6d02349a493d37bc24e
MD5 1438903b0ff1f843ef8b91a4faa77c06
BLAKE2b-256 57b09a191e43bbe1782d4b959a96872020f7ad7d038e509ba5b17c9e948cbbe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1dd03739cdcd2906076c8bc12ac6fa1ba28a1fb0f77af2a0f8a34e0538111cf4
MD5 8830a85291be8fcccb6792a353cc4154
BLAKE2b-256 179e9ad2f56a455c7fa15e118d9a846f572553984df19e617ead961fe248ae37

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