Using data from pair/gran/local & wall/gran local in "variable" of stlye "atom"

anandmds's picture
Submitted by anandmds on Mon, 10/03/2016 - 05:33

Hi everyone,

I want to use the data computed by " compute pair/gran/local & wall/gran/local" in my output. When I used it directly in atom style variable, I was getting the error " Mismatched compute in variable formula". So I used " fix store/state" as suggested in the previous post to store the values in the current timestep and then use in the atom style variable to hold it and then finally dump it using the dump command. Now the error that has propped is "ERROR: Fix store/state compute does not calculate per-atom values (../fix_store_state.cpp:285)". Please help me to solve this issue. I need to use the data from pair/gran/local and wall/gran/local. How do i go about doing this ?

Thanks & Regards

Anand M.

Zheng Hu | Mon, 10/09/2017 - 20:01

Hi Anand,
I met the same problem "ERROR: Fix store/state compute does not calculate per-atom values" as yours and want to ask whether you have solved this problem? Could you please you give me some clues?
Many thanks.
Zheng