How can I restart a simulation from the last time step ?
16 days ago by
EDIT: How would I do it without the GUI just through the terminal? I was able to write restart file but am not sure how to specify to read from that particular directory when restarting the next stage of simulation. More specifically ,
./runScript.sh -i < input.cc3d> -o < Output directory > ...... < restart directory > ?
1 day ago by
If you want to restart it make sure that you remove serialization line from the .cc3d file - you can do it as shown in the manual or simply edit .ccd file so that
<Simulation version="3.6.1"> <XMLScript Type="XMLScript">Simulation/cellsort_2D.xml</XMLScript> <SerializeSimulation AllowMultipleRestartDirectories="False" FileFormat="text" OutputFrequency="100"/> <RestartSimulation RestartDirectory="restart"/> </Simulation>
when you remove the serialization line.
<Simulation version="3.6.1"> <XMLScript Type="XMLScript">Simulation/cellsort_2D.xml</XMLScript> <RestartSimulation RestartDirectory="restart"/> </Simulation>
And if you want to run from command line you type
./runScript.command -i /Users/m/CC3DProjects/restart_01600/cellsort_2D.cc3d --noOutput
See attached file. Unpack it and change /Users/m/CC3DProjects/restart_01600/cellsort_2D.cc3d to the path where you unpacked the attached file. It has complete restart snapshot and it runs both from GUI and command line
File attached: restart_01600.zip (14.76 KB)
Please login to add an answer/comment or follow this question.