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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

fluidsim-0.8.1-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.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fluidsim-0.8.1-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.1-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

fluidsim-0.8.1-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.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fluidsim-0.8.1-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.1-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fluidsim-0.8.1-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.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fluidsim-0.8.1-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.1-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

fluidsim-0.8.1-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.1-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.1-cp39-cp39-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fluidsim-0.8.1-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.1.tar.gz.

File metadata

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

File hashes

Hashes for fluidsim-0.8.1.tar.gz
Algorithm Hash digest
SHA256 44c70f388c429856f5df24705cddb2e024d7d1376d2153e113ef111af90b857b
MD5 127044f8eb1ebc015bb23524eb665109
BLAKE2b-256 7689b3d8d2bcc423057881ae644d086fb3870b4ba533cfe248eb650a8406ccae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.1-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.8

File hashes

Hashes for fluidsim-0.8.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 444687a49c8f0b8632b8dc5276b0fbb8f934b782b7f06418249c2fcdcccc6207
MD5 5db3c462bb5d43179b482acb129b5c4d
BLAKE2b-256 301a903c179cb551ea2fa8aec7654680b0074abf9d65fe87d3436a3dadf54175

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 724ccf3a1d89759a3f8ffc91804a1737fd37e6c07da67fa395a4105d620b7496
MD5 165392f499463c2e392e7494c282fde0
BLAKE2b-256 361e8c3f6023e04cc2d141ebab157d5d2a0ca853777edee33c049a502e17e514

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1d52e55fb1f785e1bc790d33d69c9a72721a4088d6d4137dcfdf0d1035180c0
MD5 5fa1f53655f196b3db78d70605adbc81
BLAKE2b-256 93ca9da07e63be053f859f63bc26af9400aa6e9175abbe7ddcd16de745ce0923

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ecb698ac891ba61bdc84329b7292551bc6eb0a72a07b7cf452d435b20de1dc75
MD5 a42a82e3a8872c411c0be0d683a6d3aa
BLAKE2b-256 6fe0b05c9b77bf9d9bfbac149743122023cbc32941d732465fc986de22dd0502

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 aeb2cb4856cd8f4908f8e0bf21b86b577d3e48c1d16cf6945a0e380cc7d6471c
MD5 1fc78a112abac667bdddbbea8161c80f
BLAKE2b-256 5d4ab9f7938271a4d9161dcbad2a542e646850dca4e8dacd60650f09fefe11e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.1-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.8

File hashes

Hashes for fluidsim-0.8.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c0ed8620dc5547b47bbfaff2404a9a3a4320b73350727243f89ed3141b57730
MD5 600f0d9d69be9a788b12b9fab21488e1
BLAKE2b-256 08c09fdf6f63661c54e191f9bda79ab88865f61ffe6ee6f80635c12fb3d58847

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32981d6d4cecee491dd83efd1cd12c2cae878324d7c05e10c76d5edd87804884
MD5 8f68ddf7f4b009fce774592305eb7bc2
BLAKE2b-256 d2ec54faf505cde12956a19989231ed373d096eb8eab7416ddb116c6a7bdeed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4e2670fd5d64700eeec267a62bfe9fd92637a9ddb111f08224a06ecd028815e2
MD5 7740ded94d3bc90335947b88ec3de84d
BLAKE2b-256 aea48b52b45088d25880818d5b79b89d0eefe018fbab67abf3eeee475cf143e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44956075b7f0898e8e082573098cc579bf9123357d5b6b8434caa2348fcaca10
MD5 ceb739f60e6f5a5730ca8aecb7224d10
BLAKE2b-256 cbdd63d2eef96d90b54d08f0b74451a3770a70b2393f25374df69f0e8f7361cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 59ab5503363bb497cb726880b58e4ed3b0bf4ea6acf563d95417bbb3e675551a
MD5 8d539be7fbf9f1d589d15b44448db102
BLAKE2b-256 2b3c9de1facc47a27364d1c85c05a347863e0fb3cf187b5d2b26df02c24f1480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.1-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.8

File hashes

Hashes for fluidsim-0.8.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 59ee647d17b9f1fc2d3a69ce064f8e32c9cf2bfcd6043738ac91092ded4b570b
MD5 778b8172a66e7dc5af1fa4b50ac2997f
BLAKE2b-256 3cb830770d8b0f472cdd73b631f6fca3bcce18ab7da28ce6a05db1d60ff6695b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26a13ee4fbfc078b37a2ebd6ac0347ee884bb48f93c3daf9d0214ee72f2113c4
MD5 ee8e0fa2642d76be6db16b7aa930c15c
BLAKE2b-256 8551c9602222c9fc27cb95ae12f88d292dea9707f52f32f5c1cb433dfb963bc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3b9645225c24b0f1001e496e8c911bf29fd1586de2481ac4d53e9aad14bf09ed
MD5 f9a72a87b6de8bd21e11e943e5d2c54e
BLAKE2b-256 53ec66bfb97f91133e315574e532139e4842664ce9d3a0fa9e305a43cc8b901e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 865986b29d8b23b498d672dcd89d4ee142319ce5ea8cd5830886f32361ed125c
MD5 8e17bbd985b99a445d040f75fa3e7086
BLAKE2b-256 5b45a64f696edc46041c101c154e3fafb041731b8bc8b26256dc7d831aedd4e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 66c8c798f7a4c85255a198828c820805eae2d0df113df274a5db52379f091978
MD5 b5155b6a3db438aa3cdc93fb52778286
BLAKE2b-256 a964c0f208f40cbad4e48bdfeb742b1044408ab473f40b6562ae2ab0fcd272e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fluidsim-0.8.1-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.8

File hashes

Hashes for fluidsim-0.8.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b7c5e5696ee00bc16bf5929e34ede4594396f08700dee8c36dca72e3a7c96a6e
MD5 c5d358227b3efa7eed94aa9ef72a2a38
BLAKE2b-256 4b0dadc392da641e62398537cd1478be22fab2ada3c027c70eff6e138585a65e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8678408c8799851ae42894dc4e52a68510db3c3a70ebc72c52d2d42bf4f82061
MD5 1f5c8377a2ff23d10cb86bb91b6ffa8d
BLAKE2b-256 abf8684fcfff566c2f221e806164ea9af29a80376f10ee4286f37b7a0525dec2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bdb1c502d0fe6bd6f7bae5d452dd618655cac0e685c8661550426f5e771d1c26
MD5 d4008e6dc99b1edd83ad29da64277767
BLAKE2b-256 318fcebdf89abad2df9005ca933a80207d9982cc8cbc1808988f9db8a9fef4fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 12ce2f932c0fb9a7b6ff54bd65c2073a4b425b40d5cc5d6e0a0c9b85cfe9c00d
MD5 a23cec6fea20b54fd69bb3702f2cb4eb
BLAKE2b-256 a60d88ead3c70cfbafba7afa0b381332dab3d3d816d23d18ff1535127eedce2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6021cd8e5d56a39bac365aa950c02f544a1c50e14dd993495df5ad64442295ba
MD5 845d31d674ed652a5636dc0c024d84e0
BLAKE2b-256 f21bb0255727e4177b25e4c729f3cadc4eb1821d2e63d697221f7933c0f22d47

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