[ase-users] How to constrain "c" vector in slab optimization

Reza Behjatmanesh-Ardakani reza.b.m.a at gmail.com
Fri Mar 19 16:34:41 CET 2021


Thank you Noam for your valuable information. How about fixing some/all
angles for simulation of  phase transitions in bulk systems. It seems that
it is difficult to constrain some angles and relax other lattice parameters
in ASE.

On Fri, Mar 19, 2021 at 4:15 PM Bernstein, Noam CIV USN NRL (6393)
Washington DC (USA) <noam.bernstein at nrl.navy.mil> wrote:

> > On Mar 19, 2021, at 8:01 AM, Reza Behjatmanesh-Ardakani via ase-users <
> ase-users at listserv.fysik.dtu.dk> wrote:
> >
> > Hi,
> > as you know, we can use "UnitCellFilter" or "ExpCellFilter" to optimize
> cell vectora and atoms positions simultaneously. I need to optimize a slab
> with vacuum in "c" direction. I need to constrain "c" vector, but relaxing
> "a", "b", and all angles: "alpha", "beta", and "gamma". It seems that I
> should use stress 6-vectors for this. How can one fix some angles and
> optimize some others by these stress vectors?
>
> If you align the cell with x, y, z, and make sure the c vector is
> perpendicular to the surface (which is always possible if there's vaccum),
> you can use the "mask" argument on the stress components.  If you use T T F
> T T T, you'll freeze the zz component, and free all the others.
>
> However, I'd like to point out that it's probably physically incorrect to
> relax the slab cell vectors at all, at least if you're doing a conventional
> surface calculation.  The _physical_ slab you want is probably much much
> thicker than your simulated slab.  The surface you create induces a stress
> (surface stress, not to be confused with surface energy), which will cause
> in-plane relaxation.  In the physical thick slab that relaxation is
> essentially zero, because there's so much more thick bulk-like material.
> In your thin simulated slab that relaxation will have a much larger effect,
> and it will be unphysical.
>
> Only if you really are trying to simulate an extremely thin membrane is it
> physically meaningful to relax the cell.
>
>                                                         Noam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20210319/53b1b048/attachment-0001.htm>


More information about the ase-users mailing list