2.2.8.1 fix acc

fix acc is used to add user-specified acceleration to a certain group of particles.

Syntax:

fix                id group-id acc options-keyword

Examples:

fix                2 Al acc gravity z -0.592113 region box2

Description:

If option-keyword gravity is used, the user-defined magnitude (“value”) can only be applied in one “dimension”, which can be specified by x, y or z. A negative value will indicate an opposite direction of standard Cartesian coordinate.

If option-keyword region is used, only particles in this “region id” will be applied with this fix.