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

Uploaded Source

Built Distributions

fluidsim-0.8.4-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13 Windows x86-64

fluidsim-0.8.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

fluidsim-0.8.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ ARM64

fluidsim-0.8.4-cp313-cp313-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.13 macOS 11.0+ ARM64

fluidsim-0.8.4-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12 Windows x86-64

fluidsim-0.8.4-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.4-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.4-cp312-cp312-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fluidsim-0.8.4-cp312-cp312-macosx_10_13_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.12 macOS 10.13+ x86-64

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

Uploaded CPython 3.11 Windows x86-64

fluidsim-0.8.4-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.4-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.4-cp311-cp311-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fluidsim-0.8.4-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.4-cp310-cp310-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fluidsim-0.8.4-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.4-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.4-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fluidsim-0.8.4.tar.gz
Algorithm Hash digest
SHA256 0cc50d969284abf26541ace3e3e328824cd3ba980d699748c4b043cbe9f29d09
MD5 325d7f55c6ba0c55d5c2c7850a003e9c
BLAKE2b-256 6d0b524c39b1876c6a576b4f5a43462b54d8f71ea119bb80647964ca0d998a04

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4.tar.gz:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

Details for the file fluidsim-0.8.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5ca077ee7d004ead8ffa3e340650f9da663ecb2cbc79220f8737caf5967c8ef6
MD5 fac29fbcdb2ce4f81e61995fac2d8ed3
BLAKE2b-256 4596804d8b748578e6c9f84fafdc5dd8327f4f4e05276ab2e9c6a9190ffd9c8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

Details for the file fluidsim-0.8.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9fc6bcd3a0973d3f8ca75ec52fe378ee69ba488087b4c6804e8d7d9816997d6
MD5 518de1e153859d557425c65219fb1c21
BLAKE2b-256 6df086a11f18409d23be9165a4ee514d63200f37c4e0b6f897823b0029bbc00e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

Details for the file fluidsim-0.8.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f1ecbd69da8b6abadae5a521933b893a69c21acd416e1f0732f23e7be658218d
MD5 d6e285b10b7b38594d2eea7b8236e5fb
BLAKE2b-256 a50478342d9d0cfbda5057e16ccb0cb8d4e20f9042a0b494bb97e904a7b8c959

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

Details for the file fluidsim-0.8.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9d957926c3debd7b843a32569cb200a442a37fd3ad88157173b5a568f724d2c2
MD5 9bea68c28d984b2dd1035bd88999e591
BLAKE2b-256 d97895abd0c8a87454146d9a4740da2d75839208f9bb56d26c71691b303aedac

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 59d99ad596dd34e792a2546224c42ba589263089c8cc0dff5bd3d28718300ca7
MD5 2d61945661fe2106b3955296d2254430
BLAKE2b-256 9cdbd80d54b72afda6f8fb00233f957e6b2575e7165f9994c4f89c08bc5c23eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 211c19275d16afdb4d0721e652fa4128ad000f3b37b4563dccc3ac124d80e3a4
MD5 d94716c60f2c36530a6ffafd96fd2fd4
BLAKE2b-256 98ac2d5c10cfa168593974f9bc00c988f989286109c33ea48bdc4251034ec04a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d59cedbefed7ac57f72bafc7946bbfa96d78daaf01b99d86a01d5df334714cb3
MD5 67cdb62ead80539b3032ce2e62fb18d8
BLAKE2b-256 fd6ae38a18de8cb83c3a9453cd54c01d71d7ce4202570155f084e56f05c56c7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d02445fb7c37b5d0e69f5273cb6ff67d5c3941093b17b79a883ace108647de9e
MD5 50159f646fc597b09b6dd7580259da02
BLAKE2b-256 601c825f4fca52f16e3fa980c03eefbc612c20b04c125485164c8e57d3d4a5c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

Details for the file fluidsim-0.8.4-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d07d32f9aa4be78ef8f73703aea4688481010bb8fdd10bf29a70066eb3187eb2
MD5 af3052d6904ac69c6b7e3b4f0cc9540e
BLAKE2b-256 f3f9c82d7ec266e2953759e1fc034c3c75f5d79f6a0c0ba1bb6d3ed42df148dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7a80e8d1d874bf5357e3ec59c98e288b978b42c4f614808f5c8eec1dec2878bd
MD5 3d32ad776ef94018a8328dd3c27d38b5
BLAKE2b-256 e4590398456e31a579186b9f03bb9657986663a557c6ec329e9710023cd4c4ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fcb3b0ae488b17a38b0d517e6338ac8f809a06469dc8a3e3e002619d5474bd0
MD5 22ef4f8210afe0f6a2342d194d91d86c
BLAKE2b-256 d92d261edbfeed6d4532e20380b1000ad028793467b606088eab31d0cc48f40d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 db5fe2870a5338be70ef6acbb2d88b2ce785bf36ffd1eede1b7f1f1e57262dad
MD5 bc7169624df31d66abdf9ffa8ed7e677
BLAKE2b-256 de69bc0c827e60f0e4796b87b62985c5fc5025fc931b03777bdc9ee14b86e41b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6cf9bb9fb62375782e9f994c050bb66f17aa46f590c5a49974035515d729484e
MD5 d44608142e2a67a45668d358f705d851
BLAKE2b-256 dda5d1d5653d69831e26011feb3544256c2c17ca34be4197b184f45da61aaedc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1e189327771c0bc1fa09608ad1a5430ba11cf13e483415a65d1192c012974b88
MD5 fce1f2e9bab0a2246519f50237e910ba
BLAKE2b-256 f7e6c45316c8aeb9c058a77c68a98ab4ac1ae1aeb48e9b487a914425a0d9d674

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1a345aa6711ebe2d9e3fc720e9c393858ed5ea7df755df51f1efd944e5f4e6f5
MD5 e65e7a24040dea7943779dce7a3d29ce
BLAKE2b-256 a6b4318c51a4f67dba9773a6899887a3aea59130468dacb26d89634c5dcec493

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b36953d8e5ef8ff1d0698d75e9367931fbe072a49200565389afadf10dfa3095
MD5 3188a197f4fd12c0635a87d89a69d41f
BLAKE2b-256 8a4d759b1b4d3d523f2b0bfa557f6ca3c9e386334dbfc53504197a9225d91560

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78c414bebcc82bb221d407340758affb830e550c983e4c8387fbfe9e89668d84
MD5 73947f04cff12dc5cb68861f5602fe20
BLAKE2b-256 3d67a29c5108c826fe66915575d0a1225ab5a0779db2eb0b7dc6f7e12b87336c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80c95cd1cd54263420fa64e37cce0b92d708c3920cd9931357fceb657413e0ab
MD5 b1c123864a99257e25ff01515737e8c6
BLAKE2b-256 cddf50edb2ca2470e17e884ba79f5166a23a0345a464293b825b1e2819cd4d87

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

File details

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

File metadata

File hashes

Hashes for fluidsim-0.8.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 28209790ab0d1df65e3874935c9918e5a3b1de351d36c1239b0b15d675bcc662
MD5 5ffada3bcc36dc416be2369b902816ae
BLAKE2b-256 fd6fee10360e35d6e6bb9702e47b4c82cd5c5746e2a2d9575d132c25ded87697

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluidsim-0.8.4-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: wheels.yml on fluiddyn/fluidsim

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page