[lammps-users] Generating and reading trajectory file with fix deposit

Dear mailing list users,
I’m using fix deposit to deposit 30 molecules on a surface.
I would like to visualize the deposition process to properly know how it occurs.
However seeing the generated lammpstrj file, it apparently assumes there already are 30 molecules (maybe because it gets the values from the areas that have been preallocated?).

so there’s no valid trajecto generated while the deposition occurs. Are there any known workarounds or alternative solutions?

LAMMPS outputs exactly the current number of atoms. So there must be a problem with how you requested the trajectory file to be created.