Author Topic: Temperature in Lammps  (Read 1492 times)


  • Newbie
  • *
  • Posts: 1
Temperature in Lammps
« on: January 27, 2017, 03:39:34 PM »
Dear Users,

I want to show temperature while creating the movie. How can we do this as temperature in not a per atom quantity rather global property.
I am importing dump file from lammps. And this file contains only per atom property.



Alexander Stukowski

  • Administrator
  • Hero Member
  • *****
  • Posts: 588
Re: Temperature in Lammps
« Reply #1 on: January 28, 2017, 06:33:25 PM »
OVITO cannot directly import global thermo data from LAMMPS simulations.

But you could use OVITO's Python script overlay feature for this. That means you have to write a small Python script that reads in the temperature data from a text file (or directly from the LAMMPS log file). In your user-defined viewport overlay function you then print the temperature value for the current simulation frame onto the rendered viewport image.