Restart file after simulation

Submitted by asier_aragon on Mon, 03/26/2018 - 14:51

Dear all.
I would like to know if there is any way to create a restart file after a simulation has been stopped by using the post files of the DEM.
Thank you.

jsams | Tue, 03/27/2018 - 04:08

It should be possible to transform a dump file into a data file in text format that can then be read via the read_data command, given that your dump file contains all the necessary information. Check out the documentation for the read_data command to find more information about the file structure. You can also run a simulation and use the write_data command to see what the file should look like.

Ermek Asylbekov | Thu, 03/29/2018 - 07:34

This is indeed one way to do it. Another is using the write_restart and read_restart commands. Take a look at the ErgunTestMPI tutorial. Its used there. If your simulation tends to stop for any reason, you can write restart files perodicly with "restart every" command. Its recomended to use two restart files and overwrite them in sequence. There should be an explanation on this in the documentation.

Regards,
Ermek