LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
[lammps-users] Fix Deposit and Particle Insertion Discrepancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lammps-users] Fix Deposit and Particle Insertion Discrepancy

From: MASATO KOIZUMI <mkoizumi@...3709...>
Date: Sun, 27 May 2018 00:54:10 -0700

Dear LAMMPS Users,

Hello. I was curious if I could ask a question regarding the fix deposit command.

I understand that fix deposit command inserts a single atom or molecule into the simulation domain every M timesteps until N atoms or molecules have been inserted. 

In my MD simulation, I have 

fix    4 addatoms deposit 10 0 1000 12345 region mobile near 0.0 mol dimer vz -1 -1

My simulation runs for 10000 and my simulation box is changing in size with periodic boundary conditions.

I output a dump file every 50 timesteps, and when I look at my dump file that was generated at 50 timestep, I see that the molecule has already been inserted. I check with OVITO, which confirmed that the first molecule was inserted at 50 timesteps when in fact, the first molecule should have been inserted at 1000 timesteps. The second molecule was inserted at 1000 timesteps consistent with the parameters I specified in my fix deposit command

I would greatly appreciate if I could request an advice on why the first molecule is being inserted at 50 timestep and not at 1000 timesteps. 

Thank you.


Masato Koizumi