一键导入
supercell-dimension-check
How to size supercells correctly: primitive vs. conventional cell, periodic-image clearance for adsorbates/molecules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to size supercells correctly: primitive vs. conventional cell, periodic-image clearance for adsorbates/molecules.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | supercell-dimension-check |
| description | How to size supercells correctly: primitive vs. conventional cell, periodic-image clearance for adsorbates/molecules. |
| when_to_use | Read BEFORE building a supercell that must host a molecule, defect, or adsorbate. Pairs with the `supercell-builder` skill. |
Obtain base structure
Determine cell type and expansion needs
Build supercell
Validate supercell
Measure molecule dimensions
Check supercell lateral dimensions
Verify minimum margin requirements
Expand supercell if necessary
| Cell Type | BCC Example | FCC Example | Use Case |
|---|---|---|---|
| Primitive | 1 atom | 1 atom | Smallest representation |
| Conventional | 2 atoms | 4 atoms | Standard visualization, surface creation |
crystal_builder.py --cubic true for conventional cellsUsing primitive cell when conventional needed
File format incompatibility
Incorrect expansion factor
Molecule exceeds cell dimension
Insufficient margin for periodic images
Not checking all dimensions
ase build --change-format <format> input outputBuild common bulk crystal structures (FCC/BCC/HCP/diamond/zincblende/...) using ASE.
Build a coherent lattice-matched interface between two bulk structures using the pymatgen ZSL algorithm.
Workflow, lattice-matching strategies, and pitfalls for building interfaces between two crystals/surfaces.
Strategies for searching, filtering, and downloading structures from the Materials Project (MP) database.
Workflow for building Metal-Organic Framework (MOF) structures (MOF-5, Cu-BTC, IRMOF series, custom).
Methods for building isolated molecules (ASE database, SMILES via RDKit, organometallics, endohedral cages, NEB pathways).