Hi, guys.
There is a problem restarting the liggghts file.
Specifically, I can not restart my simulation about the latest time using the file "DEM/post/restart/liggghts.restartCFDEM" after my computer suddenly turned off.
This is the second case.
First, the restartCFDEM file exists but the file size is 0KB.
The second file exists normally. However, if I execute "parCFDDEMrun.sh", it will not proceed in the step of reading the restart file as below.
-------------------------------------------------------------------------------------------------------------------
...
# read the restart file
read_restart ../DEM/post/restart/liggghts.restartCFDEM_71s
Reading restart file ...
...
orthogonal box = (-0.0805 -0.1205 -0.048) to (0.2405 0.1205 0.16)
2 by 2 by 4 MPI processor grid
-------------------------------------------------------------------------------------------------------------------
So this time, I'm in danger of blowing up the calculation result of about 3 weeks.
I would like to find a way to prevent the restart file from being corrupted if the calculation ends abruptly.
For example, is there a way to create a restart file in the liggghtsCommand file, just like setting the write interval to the controDict file in the CFD solver?
Any help would be appreciated.
Regards,
ssong
paul | Wed, 09/19/2018 - 09:24
Why not do it in LIGGGHTS
Why not do it in LIGGGHTS directly? Check out the restart command - not using it when running "expensive" calculations is somewhat negligent!
writeLiggghts in liggghtsCommands does write the LIGGGHTS restart file every time the CFD writes.
I do not know what happened, since the circumstances are not reproducible.
ssong | Sun, 09/23/2018 - 15:51
Thank you!
I saw your comment now. and I will check the command in more detail.
Thank you, paul!
ssong.