setforce command

Dear axel and lammps users

I should impose a specific axial compressive force at the one end of a cnt.
Thus, I used setforce command and then nvt or nve ensemble for moving atoms according to the applied force and time integration purpose (i cant use npt due to non periodic boundary conditions) but cnt was disintegrated.
is there any way to solve this problem?

I would appreciate if anyone can help me.
Thanks.

Dear axel and lammps users

I should impose a specific axial compressive force at the one end of a cnt.
Thus, I used setforce command and then nvt or nve ensemble for moving atoms
according to the applied force and time integration purpose (i cant use npt
due to non periodic boundary conditions) but cnt was disintegrated.
is there any way to solve this problem?

find the line in your input that is causing the issue, understand why
it is causing the issue and then correct it.

axel.