stb-dftu¶
DFT+U / Hubbard Block Generator · menu code 1.5 · guide: 1.5 DFT+U / Hubbard Block Generator
usage: stb-dftu [-h] [--fdf PATH] [--species SPECIES [SPECIES ...]] [--u U [U ...]]
[--use-reference] [--j J [J ...]]
[--shell {3d,4d,4f,5d,5f} [{3d,4d,4f,5d,5f} ...]] [-o OUTPUT]
[--list-reference] [--suggest ELEMENT] [-v] [--no-intro]
Generates a ready-to-use %block LDAU.proj snippet for one or more species.
You supply U (and optionally J) explicitly -- this tool never guesses or
estimates U for you. --list-reference prints a small table of literature GGA+U
values (citation included) as a convenience starting point; --suggest prints
that value for one element with a clear disclaimer. Neither is ever used
automatically -- --u must always be given to produce a block, unless you pass
--use-reference to explicitly opt in to auto-filling U from that same table.
--fdf reads the species list off an existing structure file instead of typing
--species by hand -- combine it with --use-reference to build a block straight
from a structure: only metal species with a tabulated value go into the block,
with a loud warning; non-metals are skipped silently and untabulated metals
are skipped with a warning. For a
first-principles U computed from your own system via the Cococcioni & de
Gironcoli linear-response method, see the Workflow menu's "Hubbard U (Linear
Response)" entry (stb-hubbardu / stb-hubbarduAnalysis) instead.
options:
-h, --help show this help message and exit
--fdf PATH Read the species list off this .fdf structure file instead of typing --species by hand. If --species is also given, it filters down to that subset (each one must be present in the file).
--species SPECIES [SPECIES ...]
Species label(s) to add a DFT+U correction to. Required unless --fdf is given.
--u U [U ...] Hubbard U (eV), one per species, in the same order. Required unless --use-reference is given (and every species has a tabulated value).
--use-reference For any species without an explicit --u, auto-fill U from the tabulated Materials Project reference table (see --list-reference). A non-metal species (no default correlated shell, e.g. O, Si) is silently skipped -- DFT+U doesn't apply to it. A metal species with no tabulated value is skipped too, but with a warning. The block is built from whatever is left; errors out only if nothing qualifies.
--j J [J ...] Exchange J (eV), one per --species (default: 0.0 for each).
--shell {3d,4d,4f,5d,5f} [{3d,4d,4f,5d,5f} ...]
Correlated shell per species (3d/4d/5d/4f/5f). Default: the standard shell for each species (transition metals -> (n)d, lanthanides -> 4f, actinides -> 5f).
-o OUTPUT, --output OUTPUT
Also save the block to this file (in addition to printing it).
--list-reference Print the literature GGA+U reference table (with citation) and exit.
--suggest ELEMENT Print the literature reference U for one element (with a disclaimer) and exit -- does not generate a block.
-v, --version show program's version number and exit
--no-intro Do not show the introduction
Usage examples:
stb-dftu --species Mn --u 3.9
stb-dftu --species Fe Co --u 5.3 3.32 --shell 3d 3d
stb-dftu --fdf calc.fdf --use-reference
stb-dftu --fdf calc.fdf --species Mn --u 3.9
stb-dftu --list-reference
stb-dftu --suggest Ni