CAPSChain Assembly and Packing Suite

Build · module 09

Crystal

Build a crystal from its space group (all 230, in their ITA settings), lattice and asymmetric unit, or import a CIF, then make supercells, find symmetry, reduce cells, cut clusters and add defects.

Open it Build›Crystal…

You start with
A space group with lattice and sites, a CIF, or a structure from the library.
You get
A periodic crystal, savable as CIF or VASP POSCAR.
Crystal builder: space group, lattice and the asymmetric unit.

Step by step

  1. Pick the space group

    Search by symbol, number or system (Pnma, 14, cubic).

  2. Set the lattice and sites

    a, b, c in Å and α, β, γ in degrees. Under Asymmetric unit, Add site with label, element, x, y, z and occupancy; or Import CIF, or pick one From the library.

  3. Use the symmetry tools

    Apply symmetry, Find symmetry, Primitive cell and a supercell, with a tolerance of 0.001–0.1 Å.

  4. Press Build crystal

    The crystal opens as a new structure. Cell tools then act on it: Niggli reduction, conventional cell, redefine the lattice, a vacuum slab, a cluster, point defects or a nanowire.

  5. Read a disordered CIF

    When an imported CIF has disorder, the CIF disorder card says what it found (assemblies and groups, mixed and split sites, vacancies) and how to read it: Major group and occupant (one ordered cell, the default), A named group in every assembly, or Random fill of a supercell with its repeats and a seed, which fills the sites to their occupancies and keeps every copy of a disordered group whole. Read it again opens the file read that way as a new structure.

  6. Substitutional disorder

    Make the supercell first. Under Substitutional disorder, give the element whose sites are shared and the one that takes some of them. Quasirandom alloy at a share in % opens the arrangement whose near-neighbour pair statistics match a random alloy. Distinct arrangements for a number of substituent atoms lists every arrangement up to the cell's symmetry with how many equivalent copies it has; Open arrangement opens one by its number.

    For a gradient, use Point defects under Cell tools with Graded from the centre or graded along x, y or z, and give the share at the centre or low end and at the surface or high end: core–shell particles and gradient alloys.

  7. Find the crystal's shape

    Under Crystal shape, set the highest index (hkl ≤ 3 by default) and press Find the shape for the faces by interplanar spacing. Tick Attachment energies and Surface energies to add the growth and equilibrium shapes; both use the force field assigned on the Force field page. Switch between Spacing (BFDH), Growth (attachment energy) and Equilibrium (surface energy), turn the shape, and Build particle cuts a particle of that shape and radius as a new structure.

  8. Space group, lattice planes and point group

    Modify › Unit cell & supercell… shows the space group kept with the structure: read from its CIF, built here, or found with Find (the highest group the atoms have within 0.1 Å); Drop makes it P 1. With Apply fits the cell to the crystal system on, a changed cell keeps the system's metric (cubic a = b = c, hexagonal γ = 120°). With Moving an atom moves its symmetry images on, the move tool takes each atom's images with it.

    On the same page, Lattice planes draws the planes (h k l) cut to the cell, with a shift in units of their spacing; Show draws them and View onto turns the view down their normal. Point group (molecule) finds a molecule's point group within a tolerance, and Symmetrise moves the atoms so it is exactly symmetric.

  9. Save it

    File › Save as CIF (the asymmetric unit with its operations while a space group is kept, else P 1 with the cell and formula; opens in VESTA, Mercury, pymatgen, ASE) or VASP POSCAR (VASP 5, atoms grouped by element).

The same without the Studio

Every Studio page calls the same core as the caps command and the caps Python package, so a step you clicked can be repeated in a script.

caps crystal --group 'P 42/m n m' --cell 4.594,4.594,2.959 \
    --sites 'Ti1 Ti 0 0 0; O1 O 0.3048 0.3048 0' --supercell 2,2,2 -o rutile.cif
caps crystal rutile.cif --find-symmetry
caps cif disordered.cif --disorder random --supercell 2,2,2 --seed 1 -o filled.cif
caps sqs alloy.cif --from Cu --to Au --fraction 0.25 --supercell 2,2,2 -o sqs.cif
caps habit rutile.cif --ff catlow1985-rutile --attachment
caps planes rutile.cif --hkl 1,1,0

Where to go next

Read more