The file log.lammps,at http://comsics.usm.my/tlyoon/storage/log.lammps, is part of an output produced by a Molecular Dyn
Posted: Tue Jul 12, 2022 8:28 am
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