jacktreado / dpm

Simulate deformable particles with OOP framework. Supports cell linked-list, header files partitioned into different particle types.
2 stars 4 forks source link

Sinusoidal particles change \calA when they grow #2

Closed jacktreado closed 3 years ago

jacktreado commented 3 years ago

In jamtest.cpp, particle calA changes over time. Likely due to how rho0 normalizes force constant, need to determine true non-dimensionalization so calA stays the same during compression.

calA_change_issue

jacktreado commented 3 years ago

Fixed! Whenever changing particle size, make sure fb = kb * rho0 ... force needs to get stronger as particles grow to maintain shape. Comes from the fact that force is inherently ~ energy / length, since energy is unit , need to multiply by length to keep non-dimensional.