LATTICE CONSTRAINTS: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 7: Line 7:
We recommend to use this tag for liquids in the isobaric-isothermal (NpT) ensemble in the following way:
We recommend to use this tag for liquids in the isobaric-isothermal (NpT) ensemble in the following way:
  {{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 constants needs to be allowed to change to allow volume changes for the barostat (the system is 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}}


== Related Tags and Sections ==
== Related Tags and Sections ==

Revision as of 09:00, 6 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.


This tag requires three boolean values for the , and direction of the lattice constants, respectively. By setting .TRUE. the lattice constant in the respective dimension is allowed to change.

We recommend to use this tag for 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 constants needs to be allowed to change to allow volume changes for the barostat (the system is 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 Sections

Interface pinning

Examples that use this tag