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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

  • Download URL: fluidsim-0.8.0rc3.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.0rc3.tar.gz
Algorithm Hash digest
SHA256 1d90f0cffec919e04182319a134412e4df1d882c36499356ecca05017f7d9bc0
MD5 d35ace2b3561672d80b5d5b6a675906e
BLAKE2b-256 56ce0ccd124c1ed5e2ecc6495f536ed1443382cc51937dcc4ae067900af06d01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa4bfb0a2c7bf2357ad1c0a22acb27f7d3c10f9b6759c813a4eda96c828cd6db
MD5 c2a6a77b428d9d985a7ce48e803260a4
BLAKE2b-256 29c077559f11a47f884b29de5baa0890cee200ef2fd6c9f074b2b4ec7883e817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4927a512ebc08d3575952ecdbbd1b330bb8fb250ae865f952e2166b7727f5ec2
MD5 2dcf011bf0ff4705747957877911a23c
BLAKE2b-256 72f0e3f35643f87480ac7744aa29b2cabeec23e481b320345faeb0d759b14e1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9108c2e60d0bfe3c9b1384ebbad1972b3462c98da53da194d3eedfbb9824aea5
MD5 80ad16e96950e1b8a74e302d57859511
BLAKE2b-256 2ff6d4400d275512f704961a76fa06269ccef348ac6bdfca42a892e10b75e0dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe0313edb8c53024a0e536f45aada063ddcdbd028b161f2068c5774e9db1189f
MD5 94766f785083d1b11d3bd5f9b07acb03
BLAKE2b-256 8265deeb3b401ae23556b4d6fb0e5de6b92be4b03898b476c57ebafb43670c32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f23ad74d40ec9564c7f554f1c94cfc78229a13f9827fb258cc47e2048c648f7a
MD5 e84da1255e48433ce6e5153b9f00bfb7
BLAKE2b-256 a49f2356fb4d34380936190b02c322cf41d57963a6a55e8f942be74399a96fbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 487dade8dadcdfbb4c3d22cae89d1b8448d55179bf9ce38d563e444f74022a79
MD5 5a616f67c435b0e5e87001404065ab94
BLAKE2b-256 0f87bc810e61a1940fc982bd046937221c19ae3ff2dbee820475ce230553b65e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6af0d610cae165551d80e93e282f230c6f37b1e576fdd99cadb9f534a3b8062
MD5 81c55ece99c7b201708c3828d428a30c
BLAKE2b-256 f3ba965445e3b8d94496130dffb7b6d2ad3120d1b912e108c9ab82c8bdbc8501

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 22236a2fd7c747f16cd65612dc4e87731480b30dda438add580796193348e2ac
MD5 c7c31d7465520a1d26fd64c62d0b4648
BLAKE2b-256 c7236a860d5e9699bf36cde5601ef510b88d27a222816fc5cd1ad7867882aec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0729073721a70eaa79ab88a3662816b353435c460410b05fd31f774e8b69c7a7
MD5 ec6da6b77eb05f642e99770c6f842e70
BLAKE2b-256 dbcfa5d63363351c1a9f704ce765f6bf034f388b226ec4e0b1a0b59b87e28df9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3bcca28f99837053d8f1459556d69a3a7f3ee86915ae362b4bb4a583e3f889fb
MD5 271c8356a8a0b6290593c107d48b87b2
BLAKE2b-256 5ab63d881fb80306127ce1a831f0cbb901aba7308ec76f0c60afb05adc0172fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c14de8e221274bedc453fdd280551b9b838b57389859b7d3083f880dcbaefdd8
MD5 0325face4f3cafdd36eef15f55fee65c
BLAKE2b-256 0a8b214a92668143c248b772405a141e295ec6d5c8fd86cc7213c50dad6f5df1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59f513f3b8024de24b529df9972d7811ab4737e1d816c1c778393dcfce7ffb9a
MD5 2f896a92ef27845f76390e33ec2bc50e
BLAKE2b-256 96ac00e8609deb67c85130c0f5681df69f80558788b9b73844a3e2840038d99d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fb77c32c1f88ebf0c349c9bf6fee203154805a3881e026cf1aa27f3d2c32fb55
MD5 e09663325acc8346661d00d071a29f74
BLAKE2b-256 e62b9c88c3bee210894d42052b7e4ed763357ec954f870354297ebcdb82c12b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23a58d7ec7a999a7753679fbb9286de662498f37d4b45f4c40be23db4ba3f311
MD5 81e7a84fbf67714d1619ffb1f77898c3
BLAKE2b-256 d3f4c13fc3a5eb0621abddc570be5031a744b0ed77244562ba389a7752279367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 455131ef748a7be82dacd83c27b507171604d56b2250a15de68848b119fd157a
MD5 285b9b1dc00f619b34ef5a75a6f5cc22
BLAKE2b-256 c9736fdf57890cef851e06c92ae2a9ccd1bf68edc27187438a7c39a1ffde31ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8cec5b38725c4648f99a735f9f670e1995ef7456ed32663696f4ecfd1581e2d1
MD5 668932df6524bdeac8fca0e04369cf67
BLAKE2b-256 ec78bcc3d5ad5b328e1f2320dae5cb758eb2bf12c1f1e5aaeeceb18bfc893a1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14948caec3de7bd0efe83ed45d745b919be6fa6383f7728de5d2f6961ade1e51
MD5 3fa2660abcc4eed4895d7b425f38cbbf
BLAKE2b-256 041d8a59ff637bd9bf7ec90b9b095f4290f00639f3fb0a6b038322901c992129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4df608ce326b8537d46b8c3ba363fbd5f2cd36ef06138b3fb7efc64a7280824
MD5 cc3894526fbc58dc62494d47289dee79
BLAKE2b-256 55e0d29a070bf28f8c988908be6835b0c6c51b2321bfd7bd532b96890db12bda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab989cc741aaa5450d417acb1e24b3f3de96db7c548fa2b1cf59e97707222308
MD5 04b6117860120eee6a555bb58658df78
BLAKE2b-256 1299e7ab2823f0159968f0464e7d3de2a93a9d0ed9decdaf2f4462ce3e50696c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.0rc3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4cdd99b7f6fb2cb3ae857d3a1ff349bc9b550238de7024f3c974ed874b752f22
MD5 9cd94e6f1c13d1c589ae6480483bc7d5
BLAKE2b-256 19302c7db4f3b93e29b4a8d8795dcf925de908093d4d5a895837a74ac5941342

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