Author Topic: how to analyse lammps trajectory file in ATK  (Read 3589 times)

0 Members and 1 Guest are viewing this topic.

Offline tanni

  • New QuantumATK user
  • *
  • Posts: 3
  • Reputation: 0
    • View Profile
how to analyse lammps trajectory file in ATK
« on: July 20, 2017, 13:25 »
I HAVE TRAJECTORY FILE OF WATER AS OUTPUT FROM LAMMPS.I WANT TO ANALYSE .HOW CAN I BRING IT TO SCRIPTGENERATOR?
thermo       100
thermo_style custom step temp pe etotal press
dump     d_trajectory all custom 100 trajectory.dat id type x y z vx vy vz
i have use this command in lammps to generate the file.

Offline Julian Schneider

  • QuantumATK Staff
  • QuantumATK Guru
  • *****
  • Posts: 164
  • Country: dk
  • Reputation: 25
    • View Profile
Re: how to analyse lammps trajectory file in ATK
« Reply #1 on: July 20, 2017, 17:24 »
With these settings you should in principle be able to import your trajectory in the labfloor in VNL.
VNL looks for the log file that has been generated by lammps,  make sure that this file ends with ".lammps", otherwise VNL will not detect it as lammps file. Rename the file if it has a different extension.
From this log file, VNL will read the name of the lammps trajectory file and import the trajectory.
The trajectory should show up under the name "xxx" if "xxx.lammps" is the name of the lammps log file.
You can treat it as a normal VNL MD-Trajectory. i.e. open it in the Viewer / MovieTool / MD-Analyzer, etc.
 If you want to send a snapshot of the trajectory to the Script Generator, open the lammps trajectory with the MovieTool, play the movie until you have reached the desired snapshot, and then use the blue "Send To" arrow in the lower right-hand corner to send the configuration to the ScriptGenerator.
If you haven't done so already, you should read the tutorial http://docs.quantumwise.com/tutorials/lammps_trajectories/lammps_trajectories.html, everything should be explained there.

Offline tanni

  • New QuantumATK user
  • *
  • Posts: 3
  • Reputation: 0
    • View Profile
Re: how to analyse lammps trajectory file in ATK
« Reply #2 on: August 18, 2017, 08:10 »
sir i wanted to know the lattice custom command for copper slab?

a1,a2,a3

Offline Petr Khomyakov

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1290
  • Country: dk
  • Reputation: 25
    • View Profile
Re: how to analyse lammps trajectory file in ATK
« Reply #3 on: August 18, 2017, 14:05 »
In the Builder, you can set lattice parameters for the slab structure, using the Builder plugin, Bulk Tools -> Lattice parameters.

Offline tanni

  • New QuantumATK user
  • *
  • Posts: 3
  • Reputation: 0
    • View Profile
Re: how to analyse lammps trajectory file in ATK
« Reply #4 on: August 19, 2017, 05:31 »
The lattice parameters are defined by the following code in LAMMPS.

lattice custom $a a1 1 0 0 a2 0 1.732051 0 a3 0 0 1.361789 &
              basis 0 0 0 &
         basis 0.5 0.5 0 &
              basis 0.5 0.16666 0 &
              basis 0 0.6666 0

where a= 2.46A. a1, a2, a3 are lattice vectors and the point group symmetry given by the basis. These lattice parameters results in a graphene sheet.
I want to know this parameters for copper sheet??