SPHSystem Class
Smoothed-particle hydrodynamics system
Constructor
SPHSystem
()
Methods
getNeighbors
(
-
particle
-
neighbors
Get neighbors within smoothing volume, save in the array neighbors
Parameters:
-
particle
Body -
neighbors
Array
Properties
density
Number
Density of the system (kg/m3).
smoothingRadius
Number
Distance below which two particles are considered to be neighbors. It should be adjusted so there are about 15-20 neighbor particles within this radius.
viscosity
Number
Viscosity of the system.