Page 1 of 1

Geometry Constraints for Selected Atoms

Posted: Mon Aug 15, 2011 7:25 pm
by Fermionae
Hello all,

I need to put some constraints on the relevant positions of some of the atoms in the supercell, but I don't know how exactly I can do it. It seems the input variable 'wtatcon':

http://www.abinit.org/documentation/hel ... ml#wtatcon

and the other associated input variables should do the job. However, the variable description is not clear to me and I couldn't find any example of it anywhere.
I would be extremely grateful if you could help me implement the 'wtatcon' variable, or if you know another way to set geometry constraints in abinit.
Thank you very much in advance.

Re: Geometry Constraints for Selected Atoms

Posted: Tue Aug 16, 2011 9:38 am
by david.waroquiers
Hello,

It depends on the constraints you want to set. For example, it is very easy to fix some atoms with the variables natfix and iatfix or natfixx/natfixy/natfixz and iatfixx/iatfixy/iatfixz.
What are the geometry constraints you need ?

David

Re: Geometry Constraints for Selected Atoms

Posted: Wed Aug 17, 2011 1:24 am
by Fermionae
Thanks for the response David.

I am working on a 80 atoms supercell. The constraints are on 14 atoms.

In the simplest case, I want to keep the relative positions of the selected atoms fixed, but still letting them move all together. It seems it is doable by 'wtatcon', though it is not clear to me how I should consider the difference in the masses of the atoms involved.

In the ideal case, I wish to loosen the constraints and let all the atomic coordinates relax, but still the position of the selected atoms should satisfy a constraint in the form of a linear relation such as:
a * x_1 + b * x_2 + c * x_3 + ... = d
where a, b, c, d, ... are constants and x_i is the coordinate of atom i in the x-direction.

Re: Geometry Constraints for Selected Atoms

Posted: Fri Mar 18, 2016 12:26 pm
by ChrisAblitt
Dear all,

I notice that this topic has not received a reply in a number of years but I wonder if anyone would be able to provide an answer.

Does anyone know if it is possible to apply more complex geometric constraints in abinit than those given in the example for the keyword wtatcon? In the example two atoms of the same type are free to move by equal (yet opposite) amounts in a given direction. I am interested in a a situation where I have two pairs of equivalent atoms (say one pair of O and one of Ca) and I would like each pair of atoms to obey constraints similar to those expressed in the example. However, I would also like the additional constraint that the sum of the separate displacements the O and the Ca atoms are equal to a constant value (i.e. the overall magnitude of the displacement is fixed but the individual ions are free to move in certain directions given this constraint). Are these sorts of constraints possible to implement in abinit?

Thank you in advance for any responses.

Chris

Re: Geometry Constraints for Selected Atoms

Posted: Sun Jun 05, 2016 5:29 am
by Vladimir
Hi, all.

I want to optimize geometry of some metal azides (KN3, AgN3, etc.)
It is obvious that the NN distance and NNN angle must be kept in the geometry optimization of the cell.
whether it is possible to set such constrains?

Best.
Vladimir.