Skip to main content

                  Documentation Status

SPlisHSPlasH is an open-source library for the physically-based simulation of fluids. The simulation in this library is based on the Smoothed Particle Hydrodynamics (SPH) method which is a popular meshless Lagrangian approach to simulate complex fluid effects. The SPH formalism allows an efficient computation of a certain quantity of a fluid particle by considering only a finite set of neighboring particles. One of the most important research topics in the field of SPH methods is the simulation of incompressible fluids. SPlisHSPlasH implements current state-of-the-art pressure solvers (WCSPH, PCISPH, PBF, IISPH, DFSPH, PF) to simulate incompressibility. Moreover, the library provides different methods to simulate viscosity, surface tension and vorticity.

The library uses the following external libraries: Eigen, json, partio, zlib, cxxopts, tinyexpr, toojpeg, pybind, glfw, hapPLY, nfd, and imgui. All external dependencies are included.

Furthermore we use our own libraries:

SPlisHSPlasH can export the particle data in the partio and vtk format. If you want to import partio files in Maya or Blender, try out our plugins:

Author: Jan Bender

License

The SPlisHSPlasH library code is licensed under the MIT license. See LICENSE for details.

External dependencies are covered by separate licensing terms. See the extern folder for the code and respective licensing terms of each dependency.

Documentation

Forum

On our GitHub discussions page you can ask questions, discuss about simulation topics, and share ideas.

Build Instructions

This project is based on CMake. Simply generate project, Makefiles, etc. using CMake and compile the project with a compiler of your choice that supports C++11. The code was tested with the following configurations:

  • Windows 10 64-bit, CMake 3.18.3, Visual Studio 2019
  • Debian 11.5 64-bit, CMake 3.18.4, GCC 10.2.1.

Note: Please use a 64-bit target on a 64-bit operating system. 32-bit builds on a 64-bit OS are not supported.

Python Installation Instruction

For Windows and Linux targets there exists prebuilt python wheel files which can be installed using

pip install pysplishsplash

These are available for Python versions 3.6-3.10. See also here: pySPlisHSPlasH. If you do not meet these conditions please refer to the build instructions and to the python binding Getting started guide.

The command line simulator is available by running one of the following

splash
splash --help

Features

SPlisHSPlasH implements:

  • an open-source SPH fluid simulation (2D & 3D)
  • neighborhood search on CPU or GPU
  • supports vectorization using AVX
  • Python binding (thanks to Stefan Jeske)
  • supports embedded Python scripts
  • several implicit pressure solvers (WCSPH, PCISPH, PBF, IISPH, DFSPH, PF)
  • explicit and implicit viscosity methods
  • current surface tension approaches
  • different vorticity methods
  • computation of drag forces
  • support for multi-phase simulations
  • simulation of deformable solids
  • rigid-fluid coupling with static and dynamic bodies
  • two-way coupling with deformable solids
  • XSPH velocity filter
  • fluid emitters
  • scripted animation fields
  • a json-based scene file importer
  • automatic surface sampling
  • a tool for volume sampling of closed geometries
  • a tool to generate spray, foam and bubble particles in a postprocessing step
  • a tool to skin a visual mesh to the moving particles of an elastic solid in a postprocessing step
  • partio file export of all particle data
  • VTK file export of all particle data (enables the data import in ParaView)
  • rigid body export
  • a Maya plugin to model and generate scene files
  • a ParaView plugin to import particle data

A list of all implemented simulation methods can be found here: https://splishsplash.physics-simulation.org/features

Screenshots & Videos

https://splishsplash.physics-simulation.org/gallery

Citation

To cite SPlisHSPlasH you can use this BibTeX entry:

@software{SPlisHSPlasH_Library,
  author = {Bender, Jan and others},
  license = {MIT},
  title = {{SPlisHSPlasH Library}},
  url = {https://github.com/InteractiveComputerGraphics/SPlisHSPlasH},
}

Metadata

Release files for pySPlisHSPlasH 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pySPlisHSPlasH 3.0.0
File Actions
pysplishsplash-3.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for pysplishsplash-3.0.0-cp313-cp313-win_amd64.whl
pysplishsplash-3.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for pysplishsplash-3.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
pysplishsplash-3.0.0-cp313-cp313-macosx_26_0_arm64.whl CPython 3.13 CPython 3.13 macOS 26.0+ ARM64 Details for pysplishsplash-3.0.0-cp313-cp313-macosx_26_0_arm64.whl
pysplishsplash-3.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for pysplishsplash-3.0.0-cp312-cp312-win_amd64.whl
pysplishsplash-3.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for pysplishsplash-3.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
pysplishsplash-3.0.0-cp312-cp312-macosx_26_0_arm64.whl CPython 3.12 CPython 3.12 macOS 26.0+ ARM64 Details for pysplishsplash-3.0.0-cp312-cp312-macosx_26_0_arm64.whl
pysplishsplash-3.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pysplishsplash-3.0.0-cp311-cp311-win_amd64.whl
pysplishsplash-3.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for pysplishsplash-3.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
pysplishsplash-3.0.0-cp311-cp311-macosx_26_0_arm64.whl CPython 3.11 CPython 3.11 macOS 26.0+ ARM64 Details for pysplishsplash-3.0.0-cp311-cp311-macosx_26_0_arm64.whl
pysplishsplash-3.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pysplishsplash-3.0.0-cp310-cp310-win_amd64.whl
pysplishsplash-3.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for pysplishsplash-3.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
pysplishsplash-3.0.0-cp310-cp310-macosx_26_0_arm64.whl CPython 3.10 CPython 3.10 macOS 26.0+ ARM64 Details for pysplishsplash-3.0.0-cp310-cp310-macosx_26_0_arm64.whl
pysplishsplash-3.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for pysplishsplash-3.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 69.2 MB

Release files / pysplishsplash-3.0.0-cp313-cp313-win_amd64.whl

Download URL pysplishsplash-3.0.0-cp313-cp313-win_amd64.whl
Size 4.8 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
cc4e41631e3fdedf9b87c3b91c4bf5897c8e773db74fc5412820dfc39526c1dc
BLAKE2b-256 checksum
How to use checksums
58c16125b0bef30767f2965a28ecda2e748e016374153a93557432a1c491f43e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pysplishsplash-3.0.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b5ba8894966963a096d9f6f09798cb2ad6ced0f8fc9bc89355f87a4c66093a48
BLAKE2b-256 checksum
How to use checksums
a5e8586738aa4d185a33ad7b40772b7f20a5ba8f70d0d8bca2c3f2fc2a101445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / pysplishsplash-3.0.0-cp313-cp313-macosx_26_0_arm64.whl

Download URL pysplishsplash-3.0.0-cp313-cp313-macosx_26_0_arm64.whl
Size 4.7 MB
Tags CPython 3.13 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
42e604da31307b8ab32adff29216830ebf447afc668a323f2b05e726a870486c
BLAKE2b-256 checksum
How to use checksums
83e90cb231b7d4e62ec3216f644a1a26ed510122a899dc6e87f7af1506aac333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp312-cp312-win_amd64.whl

Download URL pysplishsplash-3.0.0-cp312-cp312-win_amd64.whl
Size 4.8 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8aaee22b6ada6c722efa64ef0ef07f24fa3f25b0805a3df31cc8da33801dfee0
BLAKE2b-256 checksum
How to use checksums
58bd37f188bd6bb52f2824c2079b33c3fcb60238264d09532808e9b3b779e084
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pysplishsplash-3.0.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9b4e5cab617a01971245f73a2cf3c3009b253dc7631d25975bf36c9ed62ca874
BLAKE2b-256 checksum
How to use checksums
378ea4b13326f2731d413566b85882a59fdf0110f19532445bbe3cb9cd7dbab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / pysplishsplash-3.0.0-cp312-cp312-macosx_26_0_arm64.whl

Download URL pysplishsplash-3.0.0-cp312-cp312-macosx_26_0_arm64.whl
Size 4.7 MB
Tags CPython 3.12 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
5fd062e80be18beb59433eb3a83bae4fe1fc004e584b910a1ad70a37c9980e5e
BLAKE2b-256 checksum
How to use checksums
e06eb8d2c64470921e9b4cfeadd1007f3e9df124fd1bef73632a0085e09b12a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp311-cp311-win_amd64.whl

Download URL pysplishsplash-3.0.0-cp311-cp311-win_amd64.whl
Size 4.7 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
c2a08ffa0efd6a55b70bb313487d81e9249949ec4c36f867ebda72e1870ceff2
BLAKE2b-256 checksum
How to use checksums
4db2c4a13523695f812a5c9adcbdac0a90e436381fc0741be13f6d4f37911e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pysplishsplash-3.0.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5868272d9099903f2b7e72c71d9d03feac899768784238482940c1f123101b75
BLAKE2b-256 checksum
How to use checksums
0d516e59088f39746bf58b4ec5536e56b1ea37eb69e93a504f6c5cc3a17b658d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / pysplishsplash-3.0.0-cp311-cp311-macosx_26_0_arm64.whl

Download URL pysplishsplash-3.0.0-cp311-cp311-macosx_26_0_arm64.whl
Size 4.6 MB
Tags CPython 3.11 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
00b1c4e40fa39d973abc3fbeb1499ee03d7c31728a93393325c51d948ab1ed33
BLAKE2b-256 checksum
How to use checksums
12864f9466057625f2bad86fb8212c73f595628c7b0403ca1571778363d68744
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp310-cp310-win_amd64.whl

Download URL pysplishsplash-3.0.0-cp310-cp310-win_amd64.whl
Size 4.8 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6012248916a2aab0f5ebdfd9d7c54dbfceb7c158ab3c3f16bcaf5b6915173301
BLAKE2b-256 checksum
How to use checksums
b5c80e4c0f865c67c8568ecd887a4d1d2eb5ed0b37bacea3bc273e7db3a4a6d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pysplishsplash-3.0.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8dd35bc634bcb206b56b6d1f8eb65112aceca3c131a05e328db05a9572a20c50
BLAKE2b-256 checksum
How to use checksums
807b27ad7e1afb4e4f94ff536b92179a70309e8c1871c70416c14686c43a9975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / pysplishsplash-3.0.0-cp310-cp310-macosx_26_0_arm64.whl

Download URL pysplishsplash-3.0.0-cp310-cp310-macosx_26_0_arm64.whl
Size 4.6 MB
Tags CPython 3.10 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
e74adad0829ab41ce85c7e392d13b5c46e9112665f01f3ccee6879c2de333178
BLAKE2b-256 checksum
How to use checksums
32a2600b0d557ead463a4f0f9bdd46fa94e30272b98707ea0719b93ebce70aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pysplishsplash-3.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pysplishsplash-3.0.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.3 MB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8d4749b63ae20ddb49a7bdab422044259e343b7ca5dae28946c7819789b93973
BLAKE2b-256 checksum
How to use checksums
72bdb482114eea9317ee3cd2581321c8200a9546361b6c07bd16caaf6c2a596b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for pySPlisHSPlasH 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.0 This release

13 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page