[lammps-users] Shearing and minimizing the energy every single deformation step

Hi all,

I'd like to perform an experiment where at each step I
1. shear my triclinic box by a small amount
2. minimize the energy of the particles

By iterating the steps above I'd like to reach arbitrary large strains.

Using something of the form

The more typical way to do this is
to alternate between 2 commands in
your loop: displace_box and minimize.

If you want to displace really far (which is
somewhat odd) then you still need to
worry about resetting xy yourself to a negative
value. You could probably right a variable
formula to do this.

Alternatively you could use a run command with
fix deform as you are now, but let it run longer
than 1 step. In this case the run should do
the box flip to reset large xy values whenever
it exceeds the value that fix deform discusses.

Steve

The more typical way to do this is
to alternate between 2 commands in
your loop: displace_box and minimize.

Dear Steve, thank you very much for the tip and the prompt reply. I'll
try to follow this way then.

If you want to displace really far (which is
somewhat odd)

Arbitrarily large strains can be useful to study the plastic behaviour
of my sample (I hope!).

Best (wishing a merry Christmas to the community too),

Davide

Hi all,

Is there a way to to shear
step-by-step and have the automatic particle remapping (i.e keeping
Xy always within some interval)?

Alternatively you could use a run command with
fix deform as you are now, but let it run longer
than 1 step. In this case the run should do
the box flip to reset large xy values whenever
it exceeds the value that fix deform discusses.

In case someone is ever using this, it turns out that the box flip is
performed or not depending on the choice of the delta in fix_deform
and of the number of run steps (even if the latter is > 1).
I wasn't able to figure out how to determine the parameters that
ensure the flip to be always performed for my geometry though.

Best,

Davide