Open zhang-qiang-github opened 1 year ago
Please have a look at the following code:
https://github.com/erizmr/taichi_sph/blob/2e8780f6d7a43fe2e38f9a62d2b24e614e3dfa20/particle_system.py#L21
How to understand m_V? Is it the mass of particle?
m_V
But, the mass should be density * v = density * (pi * (radius**2)).
density * v = density * (pi * (radius**2))
Any suggestion is appreciated~~~
self.particle_diameter ** self.dim treat the particle as a cube.
self.particle_diameter ** self.dim
Please have a look at the following code:
https://github.com/erizmr/taichi_sph/blob/2e8780f6d7a43fe2e38f9a62d2b24e614e3dfa20/particle_system.py#L21
How to understand
m_V
? Is it the mass of particle?But, the mass should be
density * v = density * (pi * (radius**2))
.Any suggestion is appreciated~~~