Hello,
I wanted to verify that my time step was right in my "ball drop" simulations. in DEM-Engine.
One minimal example I created is attached. I just drop one ball in a 5 meter-high box from z=2m with a null velocity. Then, I record and plot the velocity and elevation of the ball over time.
Here are some examples attached, with dt=1e-4, 1e-5, 2e-5, 3e-5, and 5e-5 seconds.
What I found is that the behavior of the ball is completely different between different time steps: the bounces can make the ball go higher than its initial position, which breaks the energy conservation. Even stranger, setting a very small time step also leads to that issue.
Here, I do not know which one should be taken as true, dt=1e-5s seems good, but if I double the time step there are still bounces, just lower. Here this is for a very simple example, but that tells me that there is too much variability in the results based on the time step.
Therefore, I was wondering: is there an issue with my test? If not, how do we know the time step we are setting is hitting the sweet spot: not too low, not too large? Is there a criterion we can use? And finally, can DEM-Engine adapt its time step automatically to prevent the user to play with that value when it might produce unrealistic behaviors?
Thanks!