SetDirectory[NotebookDirectory[]];
rawdata=Import["log.lammps","Table"];
lr=Length[rawdata];
rawdata[[1]]
rawdata[[2]]
rawdata[[3]]
rawdata[[4]]
rawdata[[5]]
rawdata[[62]]
data[i_]:=rawdata[[i]];
data[62]
Length[data[62]]

NumberQ[data[15][[1]]]

count=0;
For[i=1,i≤lr,i++,
If [Length[data[i]]==9 && NumberQ[data[i][[1]]],
count=count+1;
Print[{i,data[i]}];
entry[count]=data[i];
];(*end if *)
];

count

step[i_]:=entry[i][[1]];
atoms[i_]:=entry[i][[2]];
temp[i_]:=entry[i][[3]];
press[i_]:=entry[i][[4]];
kinnng[i_]:=entry[i][[5]];
toteng[i_]:=entry[i][[6]];
volume[i_]:=entry[i][[7]];
enthalpy[i_]:=entry[i][[8]];

tsteptemp=Table[{step[i],temp[i]},{i,1,count}];
ListPlot[tsteptemp]