Skip to content

3. Input Preparation & Surface Cleaving (Option 32)

3.1 Supported Input Formats & Preparation Tips

In Multiwfn, main function 300 → subfunction 7 opens the geometry operation menu, where Option 33 builds heterostructures. It supports both 3D periodic inputs (slabs or 2D materials with vacuum) and 2D periodic inputs across every periodic crystal format readable by Multiwfn:

  • Crystallographic Information File (.cif)
  • CP2K input / restart files (.inp, .restart)
  • VASP POSCAR (any filename containing POSCAR)
  • .pdb with CRYST1 cell records
  • Gaussian .gjf with Tv translation vectors
  • GROMACS .gro, and other periodic formats (see Section 2 of http://sobereva.com/587)

Use Primitive Cells Rather Than Large Supercells!

If a 2D layer or surface slab you downloaded is already a \(2\times 2\) or \(3\times 3\) supercell, feeding it directly into Option 33 forces every matched heterostructure supercell to be correspondingly larger.

Before entering Option 33, run Option 31 (Reduce to primitive cell) in the same geometry operation menu (300 → 7) to verify and reduce your structure to its minimal primitive cell so Option 33 can discover the smallest possible heterostructures!


3.2 Starting from a Bulk Crystal? Cleave the Surface First with Option 32

When modeling a 2D-on-substrate or slab-on-slab interface (such as Graphene / Cu(111), Graphene / Ir(332), or MoS2 / TiO2(110)) and you only have a bulk crystal .cif or POSCAR, you do not need any external software:

  1. Load the bulk crystal into Multiwfn and enter 300 → 7.
  2. Run Option 32 (Cleave surface slab with specified Miller index) to generate the oriented surface slab in memory.
  3. Without saving any intermediate file, immediately select Option 33—the freshly cleaved slab is automatically used as Part A (bottom substrate)!

Quick Reference for Option 32 (Cleave Surface Slab)

Option 32 Menu Item Purpose & Practical Tips
1 Set Miller index (h k l) Specify Miller indices relative to the loaded crystal cell (supports standard 3-index h,k,l like 1,1,1 and hexagonal 4-index Bravais–Miller h,k,i,l like 0,0,0,1 or 1,0,-1,0).
2 Set slab thickness / layers Define thickness by repeat units (preserves exact bulk stoichiometry), atomic sublayers (supports odd symmetric slabs or single vdW monolayers), or minimum thickness (Å).
3 Set vacuum thickness Default 15.0 Å. Setting 0 Å produces a 3D-periodic oriented bulk supercell aligned along \((hkl)\).
4 Set cleavage plane Lists all unique termination cuts within one repeat unit with gap width, bottom/top compositions, and [Symmetric] tags; automatically prefers vdW gaps or symmetric non-polar terminations. Input -1 for a custom fractional shift.
5 Set in-plane supercell / size Enter explicit integer repeats na, nb or desired approximate surface dimensions in Ångströms (e.g., 12 or 12,15), automatically converted to the closest integer repeats.
6 Set slab Z positioning Default Centered in c; alternatively place the bottom atom at a chosen \(Z\) height (e.g., 2.0 Å).
7 Use minimal surface periodicity Default Yes: for centered conventional cells (FCC, BCC, etc.), automatically transforms Miller indices covariantly to the primitive cell so you get the exact same crystal plane with the minimal in-plane surface area (avoiding 2×–4× redundant enlargement!).
8 Toggle orthogonalizing (a'b') One-click toggle to generate an exact \(90^\circ\) rectangular surface slab whenever a small-area orthogonal representation exists (e.g., FCC (111), HCP (0001), BCC (110)).
9 Set layer grouping tolerance Groups atoms whose normal-coordinate difference is within this tolerance (default 0.05 Å) into one physical atomic layer; increase slightly (e.g., 0.2 Å) for mildly rumpled oxide planes to obtain cleaner termination lists.