CONTCAR: Difference between revisions
No edit summary |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The {{FILE|CONTCAR}} file contains information about the structure, e.g., the ionic positions. It has a format that is compatible with the {{FILE|POSCAR}} file. The file is written after each ionic step and at the end of a completed calculation. It can thus be copied to the {{FILE|POSCAR}} file to restart a calculation. | |||
== Molecular dynamics == | |||
For relaxation | For [[:Category:Molecular dynamics|molecular-dynamics]] (MD) runs ({{TAG|IBRION}}=0), the {{TAG|CONTCAR}} file contains the MD trajectories. In particular, the structure parameters, velocities, and predictor-corrector coordinates are needed as input to restart an MD simulation. | ||
*1st block: Lattice parameters and ionic positions. | |||
*2nd block: Initial velocities for atoms. | |||
*3rd block: Predictor-corrector coordinates. | |||
{{NB|mind| Whether the ionic positions are rebased into the unit cell depends on the choice for the {{TAG|MDALGO}} tag for historical reasons.}} | |||
{{NB|warning|To continue an MD calculation from a {{TAG|CONTCAR}} file but with a different ensemble (e.g. switching from {{TAG|NVT ensemble}} to {{TAG|NpT ensemble}}) the predictor-corrector coordinates must be removed; otherwise the calculations will crash. If no velocities are copied to the {{TAG|POSCAR}} file then random velocities are drawn from a Maxwell-Boltzmann distribution at the selected temperature {{TAG|TEBEG}}.}} | |||
== Structure relaxation == | |||
For [[:Category:Ionic minimization|structure relaxation]], the {{TAG|CONTCAR}} file contains the positions of the last ionic step of the relaxation. If the relaxation run has not yet converged one should copy {{TAG|CONTCAR}} to {{FILE|POSCAR}} before continuing. For static calculations, the {{TAG|CONTCAR}} file contains the same information as the {{TAG|POSCAR}} file. | |||
== Related tags and articles == | |||
{{FILE|POSCAR}}, [[:Category:Ionic minimization|structure relaxation]], [[structure optimization]], {{TAG|XDATCAR}}, {{TAG|IBRION}} | |||
---- | ---- | ||
[[Category:Files]][[Category:Output | [[Category:Files]][[Category:Output files]][[Category:Symmetry]] |
Latest revision as of 11:48, 18 October 2024
The CONTCAR file contains information about the structure, e.g., the ionic positions. It has a format that is compatible with the POSCAR file. The file is written after each ionic step and at the end of a completed calculation. It can thus be copied to the POSCAR file to restart a calculation.
Molecular dynamics
For molecular-dynamics (MD) runs (IBRION=0), the CONTCAR file contains the MD trajectories. In particular, the structure parameters, velocities, and predictor-corrector coordinates are needed as input to restart an MD simulation.
- 1st block: Lattice parameters and ionic positions.
- 2nd block: Initial velocities for atoms.
- 3rd block: Predictor-corrector coordinates.
Mind: Whether the ionic positions are rebased into the unit cell depends on the choice for the MDALGO tag for historical reasons. |
Warning: To continue an MD calculation from a CONTCAR file but with a different ensemble (e.g. switching from NVT ensemble to NpT ensemble) the predictor-corrector coordinates must be removed; otherwise the calculations will crash. If no velocities are copied to the POSCAR file then random velocities are drawn from a Maxwell-Boltzmann distribution at the selected temperature TEBEG. |
Structure relaxation
For structure relaxation, the CONTCAR file contains the positions of the last ionic step of the relaxation. If the relaxation run has not yet converged one should copy CONTCAR to POSCAR before continuing. For static calculations, the CONTCAR file contains the same information as the POSCAR file.
Related tags and articles
POSCAR, structure relaxation, structure optimization, XDATCAR, IBRION