read particle data

Submitted by Rahul Kumar on Wed, 04/24/2019 - 07:01

Hello
I am doing compression test simulation and I have the initial position of the particle. I want to read the particle data from file and give it to liggghts for further DEM simulation.
1. how can I read it. (command for it)
2. what is the file format that liggghts accepts.

mschramm | Thu, 04/25/2019 - 15:23

Hello,

The answer to this depends on the particle type you are using
http://www.cfdem.com/media/DEM/docu/read_data.html

so for a sphere/gran particle

${NumAtoms} atoms

${NumAtomTypes} atom types

${xlo} ${xhi} xlo xhi
${ylo} ${yhi} ylo yhi
${zlo} ${zhi} zlo zhi

Atoms

atom_ID atom_type diameter density x y z

This would only give initial positions.
Look into the reference to set velocities