[lammps-users] minimization under constant load


I was trying to minimize my atoms under a constant load applied in Y direction. I was using aveforce to assign the force generated due to the load.

fix 50 all aveforce null 0.2875 null

then I was minimizing the energy.

But, when I am visualizing this, I am not seeing any change in position of atoms due to this applied force. Is this the right way to do this?

Thanks in advance,


The doc page for fix aveforce says:

The forces due to this fix are imposed during an energy minimization,
invoked by the minimize command.

You can use fix addforce.