Skip to content

5.3 Charge rearrangement and work function

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.

5.3.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

Original schematic: Charge rearrangement and work function. No numerical results are claimed.
Original schematic: Charge rearrangement and work function. No numerical results are claimed.

5.3.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.

5.3.2.1 Input block 1

A: full adsorbate + slab, frozen at the relaxed adsorbed geometry
B: remove adsorbate atoms only; keep all slab positions and the same cell
C: keep adsorbate atoms only at the same positions and in the same cell
For all three: same ecutwfc/ecutrho and explicit compatible FFT grid.
Export plot_num=0 densities with pp.x.
Delta_rho(r) = rho_A(r) - rho_B(r) - rho_C(r)

5.3.2.2 Input block 2

&INPUTPP
 prefix='ads', outdir='./scratch/ads', filplot='ads.ves', plot_num=11
/
&PLOT
 nfile=1, filepp(1)='ads.ves', weight(1)=1.0,
 iflag=3, output_format=6, fileout='ads.ves.cube'
/

5.3.3 Worked investigation

5.3.3.1 Intuition and prerequisites

Adsorption-induced density change and work-function change probe related but distinct phenomena. Density subtraction requires identical grids and frozen fragment geometries. Work function requires an electrostatic vacuum reference and a Fermi energy in the same calculation convention. Reuse one converged adsorption geometry from 5.2; do not subtract a separately relaxed clean slab density from it.

5.3.3.2 Original three-density protocol

See input block 1 above.

5.3.3.3 Checks, pitfalls and exercise

Integrate Δρ over the cell; for consistent neutral fragments it should approach zero within numerical error. This does not mean no transfer occurred, because positive and negative regions cancel. A Bader charge requires a separately validated external analysis and a suitable density definition. Check vacuum-plateau stability versus cell height, slab thickness and dipole setup. Exercise: compare an isosurface picture with the plane-integrated Δρ(z), and explain why a colored lobe alone does not assign a unique oxidation state.

5.3.5 Sources and further reading