Temperature profile

Hello,
I am trying to simulate a molten metal system . The problem that I am facing is that I do not know if LAMMPS can help me create a temperature profile so that I can look into the cooling characteristics of the system . If not , I have come to know of a h5 format that works with mdtraj but does that allow us to dump ke/atom once computed?
Thanks,
Shivam

yes, LAMMPS can compute profiles of properties. use compute chunk/atom to create (1d?) bins and fix ave/chunk to collect data into those bins and output it.
please see section 8.4 of the LAMMPS manual for an overview, especially: https://lammps.sandia.gov/doc/Howto_output.html and https://lammps.sandia.gov/doc/Howto_chunk.html

axel.