[lammps-users] Dumping PE_strain values

I have defined a PE_strain[1] atom variable called myStrainE, but I can’t dump it to my dump file using ‘dump custom’. How should I reference it in the dump command? I can’t use c_myStrainE since it’s not a compute, and v_myStrainE doesn’t work either.


the syntax of how things are to be done is given in great detail in the manual.

your description is too vague to make any assessment and to give any advice. particularly “it doesn’t work” is not a very good description.
the corresponding response to it would be “then you must have done it wrong”, which is as unsatisfactory as an answer as is the description.