LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] using variable index in thermo_style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] using variable index in thermo_style

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Mon, 23 Apr 2018 14:10:19 -0400

On Mon, Apr 23, 2018 at 9:42 AM, Djelel Djelloul <bdjelel1398@...24...> wrote:
> Dear users,
> Please who can help me ,
> to  calculate some thermodynamic properties
> in different temperature i used variables below,
> variable a loop 7
> variable t index 100 200 300 400 500 600 700
> how can i display temperature in thermo_style
> i used thermo_style custom step temp epair etotal v_t  but  an error message
> appears .
> ERROR:thermo custom variable is not equal-style variable (../thermo.cpp:915)

the error message *very* clearly explains what the problem is.

as steve already has already told you, the resolution for this is very
i also suggest you do a more detailed study of the documentation of
the variable command. it will be worth it.

> i use lammps ( version 13 dec 2016, platform  ubuntu 16.04)

please do yourself a favor and upgrade to a newer version (like 16
March 2018), if you can. you will specifically gain better error
reporting on variable uses with this version (and have many bugs


> Regards
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites,!
> _______________________________________________
> lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.