Dear LAMMPS Users
I am trying to create a box of solvated water (NaCl) with a submerged nanostructure. I have created the water box and submerged the nanostructure, however I still can’t dissolve the water.
1.-My idea is to randomly remove water molecules according to the amount needed to solvate the volume of the box using the following syntax:
group water type 1 2
group tube type 3 4
delete_atoms random count 150 yes all water 482793 mol yes
However I get this error:
ERROR: Illegal delete_atoms command (…/delete_atoms.cpp:72)
2.-If I can remove the necessary water molecules, then I am going to replace the removed water molecules with sodium and chlorine ions using the following syntax:
variable counter equal count(water)
variable wtmol equal v_counter/3
variable wtion equal v_wtmol*0.15/55.5556 #Number of Na+ Ions
variable wtion1 equal round(v_wtion)
create_atoms 5 random ${wtion1} 12345 water overlap 2.0 maxtry 50
I also get problem in this syntax:
ERROR: Create_atoms region ID does not exist (…/create_atoms.cpp:104)
I need some ideas to achieve my goal please.
Sincerely
Eduardo Estevez