3.2 Variable-cell silicon: pressure and Pulay error
These are unexecuted teaching inputs and starting models. Original diagrams are schematics, not calculated results. Validate version-specific syntax, licensed or authorized data, numerical convergence and the scientific model before using this workflow.
3.2.1 Model, units and provenance
PW cutoffs and energies use Ry, common force output uses Ry/bohr, and pressure uses kbar. Geometry cards state their coordinate units. Different executables have distinct grammars and time-unit conventions.
Shared inputs, conventions and evidence
3.2.2 Unexecuted inputs and explicit deltas
Use the accompanying instructions to identify the parent calculation and placement of every delta; a snippet is not automatically a standalone input. Preserve all blank-line and file-provenance requirements.
3.2.2.1 Input block 1
! Merge into Si-base; use a new prefix and outdir.
&CONTROL
calculation='vc-relax', prefix='si_vc', outdir='./scratch/si_vc',
pseudo_dir='./pseudo', tstress=.true., tprnfor=.true.,
etot_conv_thr=1.0d-6, forc_conv_thr=1.0d-4
/
&IONS
ion_dynamics='bfgs'
/
&CELL
cell_dynamics='bfgs', press=0.0, press_conv_thr=0.2,
cell_dofree='volume'
/
3.2.3 Worked investigation
3.2.3.1 Intuition and prerequisites
Atomic relaxation and cell relaxation solve different problems. Silicon in the ideal diamond basis can have vanishing forces at the wrong volume, so forces alone cannot identify its equilibrium lattice. Reuse the converged Si-base Hamiltonian, then allow the cell volume to change at zero applied pressure. Stress convergence generally requires a stricter basis test than a casual total-energy comparison.
3.2.3.2 Original delta
See input block 1 above.
3.2.3.3 Checks, pitfalls and exercise
Here press_conv_thr=0.2 means 0.2 kbar, not 0.2 GPa. Changing the cell at fixed plane-wave cutoff changes the basis, which can introduce Pulay stress and small discontinuities. Compare equilibrium volumes as the cutoff increases. Do not reuse a relaxed lattice from a different functional as if it were this Hamiltonian's equilibrium. Exercise: contrast volume-only and unconstrained-cell optimization, explaining any symmetry breaking only after numerical causes are excluded.
3.2.4 Related calculations
- 3.1 Relax a water molecule with trustworthy forces
- 3.3 Equation of state: fit a physically resolved minimum