Runtime configuration object for SolverSPH (WCSPH pipeline).
Attributes
| Attribute |
Description |
rest_density |
Target rest density [kg / m^3]. |
particle_spacing |
Nominal particle spacing [m]. |
particle_radius |
Particle render / collision radius [m]. |
kernel_radius |
SPH kernel support radius [m]. |
gas_constant |
Pressure equation stiffness. |
viscosity |
Viscosity coefficient. |
damping |
Velocity damping. |
substeps |
Solver substeps per frame. |
enable_boundary |
Enable boundary handling. |
domain_lower, domain_upper |
Simulation domain bounds. |
preferred_backend |
SPHBackendKind, currently CUDA when requested/available. |
Methods
| Method |
Description |
particle_mass() |
Compute particle mass from density and spacing. |
See Also