salva

Join us on Discord CircleCI 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.
Multiple models to choose from
Choose among multiple different models for pressure resolution, viscosity, surface tension, etc. and achieve the best performance/realism compromise for your simulation.