enter image description here

With this code, I can get two atoms in different positions. Now, I want the blue atom to colisionate with the red atom (in repose). Is it possible? Thanks.

  • $\begingroup$ +1, But have you tried to figure that out from reading the documentation of lammps? You need to define the interaction potential between the two atoms and specify the simulation parameters, check the following parameters from lammps documentation: pair_style, pair_coeff, timestep, thermo, thermo_style. $\endgroup$ Commented Jan 1 at 7:23
  • $\begingroup$ I will try. If lose myself, I will update the subject. $\endgroup$
    – eraldcoil
    Commented Jan 2 at 4:35
  • $\begingroup$ If you want to make them "collide", you will need to add an initial velocity for one of them. $\endgroup$
    – Camps
    Commented Jan 2 at 17:03
  • $\begingroup$ @Camps I don't know how to do that :( (I'm totally new to this) $\endgroup$
    – eraldcoil
    Commented Jan 2 at 18:01


You must log in to answer this question.

Browse other questions tagged .