Viscosity calculation using green-kubo formulation

EC.in (3.8 KB)
This is my input file; I have been using to calculate the viscosity. I am getting same error for long time now. I think I am using all the syntax right but still don’t know why I am getting error like this. can anyone help me.
ERROR: Fix in variable not computed at compatible time (…/variable.cpp:4218)
Last command: run 1000000

The error message is pretty self explanatory. You are outputting some property computed from a fix in an equal style variable at a different frequency than what the fix uses. This often happens with thermo output or inputs for a time averaging fix.

Unfortunately, your input is an example of how an excessive use of variables can make an input near unreadable, so the exercise to find this discrepancy is left to you, I don’t have the patience to track all the values of all the many different variables manually.

1 Like

thank you for your reply