2.2.8 fix

fix is used to add constraints or additional conditions to the simulation.

Syntax:

fix                id group-id style args

Examples:

fix                1 all nve 
fix                2 Al acc gravity z -0.592113

Description:

A list of current available fix style is given below:




acc add acceleration
addforce add a specified force to a certain group of particles
nve the NVE ensemble
setforce set a constant force to a certain group of particles
wall/dem set a constant force to a certain group of particles
wall/reflectapplied certain rules to particles across the user-defined wall



Table 2.4: List of available fix style