The file log.lammps,at http://comsics.usm.my/tlyoon/storage/log.lammps, is part of an output produced by a Molecular Dyn
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
The file log.lammps,at http://comsics.usm.my/tlyoon/storage/log.lammps, is part of an output produced by a Molecular Dyn
http://comsics.usm.my/tlyoon/storage/log.lammps, is part of an output produced by a Molecular Dynamics simulation software package LAMMPS. log.lammps is a formatted file containing assorted information of the LAMPPS output, such as "Step" "Atoms" "Temp" "Press" "PotEng" "KinEng" "TotEng" "Volume" "Enthalpy". Write a Python code to abstract the data of "Step", "Atoms", "Temp", "Press", "PotEng", "KinEng", "TotEng", "Volume" and "Enthalpy from log.lammps. Then plot Temp vs. Step Poteng vs. Step Poteng vs. Temp Your output should be similar to that shown below:
The file log.lammps,at