LATTICE CONSTRAINTS: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:LATTICE_CONSTRAINTS}} | {{DISPLAYTITLE:LATTICE_CONSTRAINTS}}{{TAGDEF|LATTICE_CONSTRAINTS|[logical][logical][logical]}} | ||
{{TAGDEF|LATTICE_CONSTRAINTS|[logical][logical][logical]}} | |||
Description: The tag {{TAG|LATTICE_CONSTRAINTS}} determines whether the lattice dynamics are released ({{TAG|LATTICE_CONSTRAINTS}}=''.TRUE.'') in the given directions in molecular-dynamics calculations ({{TAG|IBRION}}=0). | Description: The tag {{TAG|LATTICE_CONSTRAINTS}} determines whether the lattice dynamics are released ({{TAG|LATTICE_CONSTRAINTS}}=''.TRUE.'') in the given directions in molecular-dynamics calculations ({{TAG|IBRION}}=0). | ||
Line 10: | Line 8: | ||
{{TAGBL|LATTICE_CONSTRAINTS}} = .FALSE. .FALSE. .TRUE. | {{TAGBL|LATTICE_CONSTRAINTS}} = .FALSE. .FALSE. .TRUE. | ||
This way the first two lattice constants are not allowed to change. The third lattice constant needs to be free to change to allow volume changes for the barostat (the system is then like a piston). The constraints are | This way the first two lattice constants are not allowed to change. The third lattice constant needs to be free to change to allow volume changes for the barostat (the system is then like a piston). The constraints are necessary for liquids in NpT simulations, because if all lattice degrees of freedom are allowed to relax, irreversible deformations of the cell are very likely to happen. | ||
{{NB|warning|This tag is only available for molecular-dynamics calculations.}} | |||
{{NB|warning|This tag is only available for molecular dynamics calculations.}} | |||
== Related tags and articles == | == Related tags and articles == |
Revision as of 14:01, 7 April 2022
LATTICE_CONSTRAINTS = [logical][logical][logical]
Description: The tag LATTICE_CONSTRAINTS determines whether the lattice dynamics are released (LATTICE_CONSTRAINTS=.TRUE.) in the given directions in molecular-dynamics calculations (IBRION=0).
This tag requires three boolean values for the , and direction of the lattice constants, respectively. By setting .TRUE. the lattice constant in the respective direction is allowed to change.
We recommend to use this tag for (orthorombic) liquids in the isobaric-isothermal (NpT) ensemble in the following way:
LATTICE_CONSTRAINTS = .FALSE. .FALSE. .TRUE.
This way the first two lattice constants are not allowed to change. The third lattice constant needs to be free to change to allow volume changes for the barostat (the system is then like a piston). The constraints are necessary for liquids in NpT simulations, because if all lattice degrees of freedom are allowed to relax, irreversible deformations of the cell are very likely to happen.
Warning: This tag is only available for molecular-dynamics calculations. |
Related tags and articles
IBRION, MDALGO, Interface pinning