stb-phononsPos¶
Stage 2 - Analysis of the 5.4 Phonons workflow · menu code 5.4.2
usage: stb-phononsPos [-h] [-dir DIRECTORY] [-l LABEL] [-m MESH MESH MESH]
[--shifted-mesh] [--symmetrize-fc] [--tmin TMIN] [--tmax TMAX]
[--tstep TSTEP] [--plot-dir PLOT_DIR] [--bands]
[--band-points BAND_POINTS] [--vacuum-gap VACUUM_GAP] [--dos]
[--pdos] [--thermal-displacements] [--freeze-unstable-mode]
[--freeze-amplitude FREEZE_AMPLITUDE] [--symprec SYMPREC]
[--save-gnuplot] [--view] [-v] [--no-intro]
Post-processing for SIESTA phonon calculations using Phonopy.
options:
-h, --help show this help message and exit
-dir DIRECTORY, --directory DIRECTORY
Directory containing the displacement folders (default: phonon_runs)
-l LABEL, --label LABEL
SystemLabel used in calc.fdf (default: auto-detected from the copied calc.fdf/structure.fdf, falling back to 'siesta')
-m MESH MESH MESH, --mesh MESH MESH MESH
Q-point mesh for thermal properties (default: 20 20 20)
--shifted-mesh Use phonopy's half-grid shift for even mesh divisions (what versions up to 2.0.0 did). Default: a Gamma-centred mesh, which keeps the point-group symmetry of every lattice -- on a hexagonal lattice the shifted 30x30x1 mesh is not symmetric and phonopy falls back to time reversal only (MeshSymmetryFallbackWarning).
--symmetrize-fc Symmetrize the force constants by the space group before anything is computed (phonopy's symmetrize_force_constants_by_space_group). Section [2] always reports how much the Gamma frequencies would change, i.e. how far the raw force constants are from the crystal's symmetry; this option applies it.
--tmin TMIN Minimum temperature in K (default: 0)
--tmax TMAX Maximum temperature in K (default: 1000)
--tstep TSTEP Temperature step in K (default: 10)
--plot-dir PLOT_DIR Directory (inside the phonon directory) for gnuplot .dat/.gplot output (default: phonon_plots)
--bands Compute and plot the phonon band structure along an auto-detected high-symmetry path
--band-points BAND_POINTS
Number of q-points per band-structure path segment (default: 101)
--vacuum-gap VACUUM_GAP
Minimum gap (Ang) along an axis to consider it vacuum-padded, for --bands' periodicity detection (default: 10.0)
--dos Compute and plot the total phonon density of states
--pdos Compute and plot the phonon density of states projected per chemical species
--thermal-displacements
Compute per-atom thermal displacement (Debye-Waller) tensors and write a tdispmat.cif
--freeze-unstable-mode
If the mesh has an imaginary (unstable) mode, export the structure frozen along that mode's displacement pattern as frozen_mode.fdf -- a starting point for a real relaxation
--freeze-amplitude FREEZE_AMPLITUDE
Target maximum atomic displacement (Ang) for --freeze-unstable-mode (default: 0.05)
--symprec SYMPREC Symmetry-detection tolerance (Ang), used for force-constant symmetrization and the --bands high-symmetry path (default: 0.01, pymatgen's own default -- matches the rest of the suite, and deliberately NOT Phonopy's/ASE's own raw defaults (1e-5 / 2e-4), which are far tighter than typical DFT-relaxation noise). A much TIGHTER value than what stb-phononsCreate used to reduce the displacements (its own --symprec, also default 0.01) can fail to reconstruct force constants -- loosen, don't tighten, if in doubt.
--save-gnuplot Also write a .dat + .gplot pair for every computed quantity (thermal properties, bands, group velocity, DOS, PDOS, thermal displacements). Off by default -- this tool previously wrote these unconditionally on every run.
--view Show an interactive matplotlib preview of the computed plots (thermal properties, bands, DOS, PDOS) before finishing. Off by default.
-v, --version show program's version number and exit
--no-intro Do not show the introduction
Example usage:
phonons_post -dir phonon_runs -l siesta -m 20 20 20
phonons_post --tmin 0 --tmax 800 --tstep 5