Reduced-dimension constraints in ICONST

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
apolet
Newbie
Newbie
Posts: 9
Joined: Tue Feb 15, 2022 9:39 pm
Contact:

Reduced-dimension constraints in ICONST

#1 Post by apolet » Fri Jan 13, 2023 3:00 pm

Hi folks,

Another question from me about setting up constraints in ICONST. How does one specify in ICONST the flags to bias a distance between two atoms but only along 1 or 2 axes, but not all three?
I am guessing that it will be some combination of "primitive" flags X/Y/Z or cX/cY/cZ with the "complex" flag C, but I do not think I understand how the X/Y/Z or cX/cY/cZ are used.

I am ideally looking for an example, the same way that the VASP wiki provides helpful examples on the other flags.

The context for this is trying to create a metadynamics-biased simulation of atoms sliding past one another in an anisotropic environment. It is possible to bias the three-dimensional distance, but that is quite inefficient.

Thank you!
_____
Andrey Poletayev

apolet
Newbie
Newbie
Posts: 9
Joined: Tue Feb 15, 2022 9:39 pm
Contact:

Re: Reduced-dimension constraints in ICONST

#2 Post by apolet » Wed Mar 01, 2023 6:29 pm

Following up in absence of answers - is there any way to do this at all?
_____
Andrey Poletayev

andreas.singraber
Global Moderator
Global Moderator
Posts: 236
Joined: Mon Apr 26, 2021 7:40 am

Re: Reduced-dimension constraints in ICONST

#3 Post by andreas.singraber » Thu Mar 02, 2023 10:15 am

Hello!

I am not entirely sure what you are trying to achieve with this constraint. Please be aware that by constraining only one or two components of a distance vector you are breaking rotational invariance in your system, i.e. your Hamiltonian is not rotationally invariant.

Nevertheless, your constraint still can be applied with the ICONST file, for example like this:

Code: Select all

cZ 8 0
cZ 9 0
S 1 -1 0
In the first two lines this defines the z-components of the Cartesian coordinates of atoms 8 and 9 as primitive coordinates (not constrained) and then constrains the difference between them. Hence, the z-distance between atoms 8 and 9 will stay constant throughout the simulations while x- and y-distances may vary.

Best,
Andreas Singraber

apolet
Newbie
Newbie
Posts: 9
Joined: Tue Feb 15, 2022 9:39 pm
Contact:

Re: Reduced-dimension constraints in ICONST

#4 Post by apolet » Sun Mar 26, 2023 3:09 pm

Thank you! I was looking to apply metadynamics biasing along selective dimensions to increase the effectiveness of such biasing. If I know that I want to explore only a subset of displacements, then it makes a lot of sense to bias them along only the directions I care about.
_____
Andrey Poletayev

Post Reply