fix insert/data#
Syntax#
fix ID group-ID insert/data read_data_file filename
ID, group-ID are documented in fix command
insert/data = style name of this fix command
read_data_file = keyword specifying the data file to read * filename = name of the LAMMPS data file
Examples#
fix ins all insert/data read_data_file initial_particles.dat
Description#
Inserts particles into the simulation by reading them from a specified LAMMPS data file.
Internally, this fix executes the read_data command with the add append options during the pre-exchange phase. This makes it convenient to inject pre-defined configurations of particles into an ongoing simulation at the time the fix is invoked.
Restart, fix_modify, output, run start/stop, minimise info#
No information about this fix is written to binary restart files.
Restrictions#
none
Default#
none