Skip to content

stb-adsorbGibbs

Stage 4 - Gibbs Free Energy of the 5.8 Adsorption workflow · menu code 5.8.4

usage: stb-adsorbGibbs [-h] [--dir DIR] [--file FILE] [--tmin TMIN] [--tmax TMAX]
                       [--tstep TSTEP] [--force-tolerance FORCE_TOLERANCE]
                       [--view-plots] [-v] [--no-intro]

Stage 4 of the Adsorption workflow: combines the vibrational Hessian/phonon folders stb-adsorbAnalysis --compute-gibbs (Stage 3) wrote into a Gibbs free energy of adsorption, DG = E_ads(BSSE if available) + DZPE - T*DS.
DZPE/DS = [ZPE/S(site) - ZPE/S(isolated adsorbate reference)].

Isolated reference: an IDEAL GAS molecule (ase.thermochemistry.IdealGasThermo, reference pressure
1 bar) -- translational + rotational + vibrational ZPE/entropy. Its vibrations come from the local,
full-molecule Hessian; exactly 3N-6 (nonlinear), 3N-5 (linear) or 0 (single atom) modes are kept,
the highest ones, so finite-difference noise in the rigid-body modes is never counted as a
vibration. Geometry class and rotational symmetry number come from the point group of the relaxed
reference. A single atom gets its translational (Sackur-Tetrode) entropy.

Adsorbed side: HARMONIC only -- every real mode of the local partial Hessian (imaginary ones are
excluded and listed), or of the full Phonopy calculation, site minus clean slab, when Stage 3 used
--zpe-mode full, is a vibration. Hindered
translations and rotations of the adsorbate are treated as harmonic modes too; there is no
free-translator/hindered-rotor model, so a weakly bound adsorbate with very soft modes gets an
entropy that depends on those soft frequencies (see the mode list in the report).

options:
  -h, --help            show this help message and exit
  --dir DIR             Root directory containing 'gibbs/', 'sites/', 'clean_slab/' etc. (default: adsorption_run -- stb-adsorb's own default --output-dir).
  --file FILE           SIESTA output filename inside each folder (default: calc.out).
  --tmin TMIN           Sweep start, Kelvin (default: 200).
  --tmax TMAX           Sweep end, Kelvin (default: 400).
  --tstep TSTEP         Sweep step, Kelvin (default: 25).
  --force-tolerance FORCE_TOLERANCE
                        Residual atomic force in eV/Ang (default: 0.05) above which a folder is flagged as possibly not converged/relaxed. Advisory only.
  --view-plots          Also show the DG-vs-T plot on screen, instead of only saving it as a PNG. Off by default.
  -v, --version         show program's version number and exit
  --no-intro            Do not show the introduction

Usage example:
  stb-adsorbGibbs --dir adsorption_run --tmin 100 --tmax 500