lammpstutorials/lammpstutorials.github.io

Outdated delete_atoms command

simongravelle opened this issue · 6 comments

Issue raised by Alireza Nazarahari: delete_atoms atom command in tutorial 2 must be updated to :

delete_atoms random fraction 0.5 no all membrane 482793

fixed. also reduced system size and added warning for simulation duration

I think I had the same issue: the command was

delete_atoms random fraction 0.02 no rdel NULL 482793 bond yes

then I tried

delete_atoms random fraction 0.5 no all membrane 482793

I still get an error saying

ERROR: Illegal delete_atoms command (src/delete_atoms.cpp:73)

Is there something I'm missing to fix this?
Thanks!

What is your LAMMPS version ?

29 Sep 2021 - Update 2

That could be the issue, the delete_atoms command has evolved since then. Try with the last LAMMPS version, it should work.

Got it, thank you!