smd computed quantity

Dear Axel:

Thanks very much your reply.

In SMD simulation i have use constant velosity and I want to accesses to total force values in pulling direction.

In manual part 6.15 “Summary table of output options and data flow between commands”, for global vector we can use just from “compute slice” and “fix ave/time” and “fix ave/histo” , so now how i can access to force value?

best regards
Xueqing Lu

Dear Axel:
Thanks very much your reply.
In SMD simulation i have use constant velosity and I want to accesses to
total force values in pulling direction.
In manual part 6.15 "Summary table of output options and data flow between
commands", for global vector we can use just from "compute slice" and "fix
ave/time" and "fix ave/histo" , so now how i can access to force value?

how about fix print ?

axel.

Thanks your reply.

I use this tow command but no values print in my text file and screen :
variable 1 equal f_6[4]

fix 7 all print 100 “v_1” file force.txt

and also:

fix 7 all print 100 “$f_6[4]” file force.txt

but my force.txt file is empty.

best regards
Xueqing Lu

Thanks your reply.
I use this tow command but no values print in my text file and screen :
variable 1 equal f_6[4]
fix 7 all print 100 "v_1" file force.txt
and also:
fix 7 all print 100 "$f_6[4]" file force.txt
but my force.txt file is empty.

because you don't follow the docs. neither command is correct.

axel.

Dear Axel:

I use from these two commands:
variable force equal f_6[4]
fix 7 all print 1000 ${force} file force.txt

and I think they are true. in my output text file all of values is print zero. but when I use the ave/time command:
fix 7 head ave/time 100 5 1000 f_6[4] file force.profile

the values are not zero. some firs lines are:

Time-averaged data for fix 7

TimeStep f_6[4]

9000 2.76065
10000 4.12093
11000 9.46304
12000 13.3329
13000 17.1142
14000 7.95413
15000 4.31822

what is my mistake?

Dear Axel:
I use from these two commands:
variable force equal f_6[4]
fix 7 all print 1000 ${force} file force.txt
and I think they are true. in my output text file all of values is print
zero. but when I use the ave/time command:
fix 7 head ave/time 100 5 1000 f_6[4] file force.profile
the values are not zero. some firs lines are:

# Time-averaged data for fix 7
# TimeStep f_6[4]
9000 2.76065
10000 4.12093
11000 9.46304
12000 13.3329
13000 17.1142
14000 7.95413
15000 4.31822
what is my mistake?

no quotes. please run your input with -echo screen and watch closely.

axel.

Dear Axel:
Thanks very much, I am sorry I did not read details with precision. It worked.Best regards
Xueqing Lu