6. Frequently Asked Questions (FAQ)¶
Q1: What should I do if Option 33 reports "No matching supercell found"?¶
Check the following four items in order—this resolves 99% of cases immediately:
- Check whether the input files are primitive cells: If you loaded an unreduced large supercell (e.g., a 50-atom monolayer), its large primitive area may leave no room below the default 300-atom limit. Reduce it first with Option
31. - Relax the strain tolerance or atom-count cap: Increase Option
1(e.g., from3%to5%) or Option2(e.g., from300to500). - Try Average Lattice mode (
Option 3 → 3): For 2D/2D heterobilayers, splitting strain equally between A and B effectively doubles the searchable mismatch window. - Check whether overly strict filters are active: Check Option
4(orthogonal \(90^\circ\) or hexagonal \(120^\circ\) restriction), Option5(tight twist-angle lock near \(0^\circ\)), or Option9(whether the stacking axis is actuallyaorbinstead ofc).
Q2: How do I choose the "best" heterostructure from the candidate table?¶
Look at the starred (*) Pareto-optimal entries first, following the rule of thumb:
Within your computational budget, choose the lowest strain; once strain is acceptably small (
< 2%–3%), choose the fewest atoms.
When comparing similar candidates, also prefer:
- Cell angle \(\gamma\) close to \(90^\circ\) or \(120^\circ\) (higher symmetry and more uniform reciprocal-space \(k\)-point sampling).
- Edge lengths \(a'\) and \(b'\) with a balanced aspect ratio (avoid very slender boxes).
Q3: How do I build a trilayer or multilayer (A / B / C) heterostructure?¶
Simply invoke Option 33 recursively! First build the A / B bilayer heterostructure with Option 33 (which becomes the current system in Multiwfn memory). Back in the geometry operation menu, enter 33 again and load the third material C as Part B—Multiwfn automatically treats the entire A / B stack as the bottom component and places C cleanly on top!
Q4: What should I pay attention to when running first-principles calculations on the built heterostructure?¶
- Enable van der Waals dispersion corrections appropriately: For example, the widely used PBE functional severely underestimates interlayer vdW attraction, which causes 2D heterostructure interlayer gaps to expand excessively or even dissociate. Enable an appropriate dispersion correction.
- Geometry optimization and atom-freezing strategy: For free-standing 2D/2D heterostructures, keep the cell vectors fixed by default and relax only atomic coordinates; never run unconstrained 3D full-cell optimization on a system with a vacuum layer, or the vacuum will collapse along the \(c\) direction! If in-plane lattice relaxation is needed, constrain the \(c\)-axis. For thick metal/oxide substrates, typically freeze the bottom substrate layers—because Multiwfn places Part A first and sorts it in ascending \(Z\) from bottom to top, you simply need to freeze the first several atoms!
- Dipole correction: Because the upper and lower layers are different materials, interfacial charge transfer creates a net dipole moment perpendicular to the surface. Enabling a dipole correction is recommended, unless using 2D periodicity combined with a Martyna–Tuckerman (
MT) Poisson solver (as supported by CP2K and similar codes). - Test multiple stacking registries: For small high-symmetry supercells (e.g., \(1\times 1\) MoS2/WSe2 or Graphene/Cu(111)), use
-4in Option 33 (on-the-fly lateral shift andRot180) to build 3–6 high-symmetry registries, optimize each with DFT, and take the lowest-energy configuration as the minimum-energy structure.