I am just wondering that is there any way to automatically adjust the timestep in the simulation based on the size of newly generated/inserted particles. One such way is to use fix dt/reset but in that the impornat keyword is XMAX which seems difficult to produce.
rahulsoni | Fri, 02/07/2014 - 16:06
Okay, modified few lines in
Okay, modified few lines in two files fix_check_timestep_gran.cpp and fix_check_timestep_gran.h and got it worked. Files are attached. Anyone, can consider accepting them widely.
https://sites.google.com/site/ismrahulsoni/files-1/fix_check_timestep_gr...
https://sites.google.com/site/ismrahulsoni/files-1/fix_check_timestep_gr...
rahulsoni | Sat, 02/08/2014 - 08:27
<strong>fix ts_check all check/timestep/gran 1 0.1 0.1 reset ye
sysntax of the modified command would be:
fix ts_check all check/timestep/gran 1 0.1 0.1 reset yes
ckloss | Mon, 02/17/2014 - 19:13
Hi Rahul,
Hi Rahul,
thanks for your contribution. It might seem to work for the case you're looking at, but unfortunately this is quite tricky to implement on a general level - some LIGGGHTS functions would not work with such a simple implementation or show unphysical behavior. Moreover, velocity verlet is not good for changing time-steps - so at this time we can't accept your contribution
Best wishes
Christoph
rahulsoni | Tue, 02/25/2014 - 07:43
timestep adjustment
Thanks Christopher for your informative reply. I understand the problem. Anyway that is the beauty of opensource package.