[lammps-users] using variable in fix addforce command

Dear LAMMPS users,
I would like to use variable in the force component value, so that f_x is a function of time. Is it possible? Any idea?

Best,
Hongjun

|

The code in fix_addforce (or whichever fix you mean) would have
to be modified to use a variable.

Steve