Modify the size of domain after RESTART FILE

Submitted by Nathan on Thu, 04/13/2017 - 09:57

Dear my friends,

I am running a simulation using write/read_restart. When using read_restart, I want to resize the domain of simulation created in the RESTART FILE. Is there any solution for this case ?

Thanks,

Regards,

Nathan | Mon, 04/17/2017 - 02:23

Hi Daniel,

Thanks for your hint. Unfortunately I am using restart_file, so it seems to not work properly. The error as follows:

ERROR: Cannot change_box after reading restart file with per-atom info (.../change_box.cpp:84)

Do you have any solution for this ?

Regards,

Daniel Queteschiner | Tue, 04/18/2017 - 11:41

If I remember correctly, it should work fine if you run a single time step (i.e. run 1) after read_restart and before change_box.

Nathan | Thu, 04/20/2017 - 01:17

HI Daniel,

You are right, change_box works well after a small run. Many thanks for your hints.

Best regards,