Force on wall

Submitted by Rahul Kumar on Mon, 02/03/2020 - 05:42

Dear all,
I am doing triaxial test and I want to know average force on the wall. The average force must be result of vector addition. For this I am using the following command.

------------------------------------------------
fix force1 all ave/time 1 1000 1000 f_twall_servo[1] f_twall_servo[2] f_twall_servo[3] file graph_run2/force_twall.dat mode vector
----------------------------------------------------

But it is giving me an error:

ERROR: Fix ave/time fix does not calculate an array (/build/liggghts-LzNUbp/liggghts-3.7.0+repack1/src/fix_ave_time.cpp:251)
-------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[42530,1],0]
Exit code: 1

Can anybody help me in this