ERROR: Dump custom variable is not atom-style variable

Hi,

I have attached the input script where i am getting ERROR on proc 0: Substitution for illegal variable

I want to output two variables with %% identifiers to use it in plotting in matlab.

Regards,

Priyank

in.msd.2d (1.5 KB)

Hi,

I have attached the input script where i am getting ERROR on proc 0:
Substitution for illegal variable

​so what? have you ever heard about a procedure called "debugging"?​ there
are many ways to make LAMMPS spit out errors. almost always, they are due
to mistakes in the input.
​please understand, that whenever LAMMPS prints an error message, you are
entitled to have somebody on this list give you an explanation why. quit on
the contrary. it is *your* duty to make a best effort (and explain what you
have checked yourself) to sort out this before you post to the list.​

​this error means, that you are using an incorrect variable name. please
carefully check your input for typos and compare the syntax you are using
with the documentation of the variable command and the section explaining
the input file parser. it should be straightforward for you to sort this
out.

axel.