salva

Join us on Discord Travis.ci Status Crates.io Status License (3-Clause BSD)

Become a Patron!


2D and 3D fluid simulation engine

… for the Rust programming language.


Multiphase fluids
Simulate multiple fluids with different densities and viscosities.
Two-way coupling with nphysics
Two-way coupling with rigid-bodies, multibodies, and deformable bodies from the nphysics physics engine. This allows bodies from nphysics and fluids from salva to affect each other.
Comming soon: multiple models to choose from
Choose among multiple different models for pressure resolution, viscosity, surface tension, etc. and achive the best performance/realism compromise for your simulation. (Currently only PBF pressure resolution and XSPH viscosity are implemented.)