Skip to main content

Module sph_api

Module sph_api 

Source
Expand description

Smoothed Particle Hydrodynamics (SPH) simulation API for Python interop.

Provides PySphSimulation: a standalone 3-D weakly compressible SPH (WCSPH) solver with poly6/spiky kernels, pressure and viscosity forces, configurable gravity, and query helpers.

Structs§

PySphConfig
Configuration for the SPH simulation.
PySphSimulation
A 3-D weakly-compressible SPH fluid simulation.
SphParticleSet
A named particle set for managing groups of particles.
SphSolver
Wrapper that holds a PySphSimulation along with a solver variant.
SphStats
Per-step statistics for a WCSPH simulation.

Enums§

SphVariant
SPH solver variant.