WebMO Help - PBC Editor

Periodic Boundary Conditions (PBC)

Large (infinite) surfaces or solids are specified by using 2-D or 3-D periodic boundary conditions. A unit cell is specified, and the structure is assumed to repeat indefinitely along 2 directions for a surface or 3 directions for a solid.

PBC Editor

The PBC editor is invoked with Tools: PBC: Unit Cell... In order for periodic boundary conditions to be active, the Periodicity must be selected for 1D, 2D, or 3D.


Invoking the PBC Editor

Specifying the Unit Cell

The unit cell is specified using lengths a, b, and c in Angstroms, and angles α, β, and γ in degrees. Click Apply to preview the unit cell. Then click OK to accept the definition or Cancel to exit without making any changes.

The definition of the unit cell lattice vectors in terms of Cartesian coordinates can be viewed or edited by clicking the Details... button.


PBC Unit Cell Details

Defining Atoms in the Unit Cell

Atoms are entered into the unit cell with Tools: Edit Cartesian...

Although atom positions may be entered using Cartesian coordinates (X, Y, Z), it is more typical to enter them in direct or fractional coordinates (a, b, c), in which positions are specified by 0 to 1 along each lattice vector.

Click the Direct tab on the Cartesian Editor. Click the Add atom button. Edit the Atom element and coordinates. Repeat until all the unique atoms are entered.


PBC Unit Cell Details

When using periodic boundary conditions, each atom in the unit cell is specified only once. For example, atoms are specified along only 3 sides of cubic cell, as the atoms on the opposite 3 sides will be generated when the unit cell is mathematically replicated.


FCC Unit Cell

FCC Unit Cell with Replicas

Editing the Unit Cell

Centering the Unit Cell: The unit cell can be centered about the entered atoms by clicking the Center button.

Extending the Unit Cell: The unit cell lattice vectors lengths (and angles) can be adjusted directly by editing the cell parameters settings. The unit cell can also be scaled along any or all of the lattice vectors with the Scale... button. Important: If Fix Atoms is set to Cartesian coordinates, the atoms will stay fixed while the cell moves about them; if Fix Atoms is set to Direct coordinates, the atoms will move to stay in the same relative position within the newly defined unit cell.

Trimming Atoms Outside the Unit Cell: Atoms outside the defined unit cell can be deleted or "trimmed". This is useful when a supercell has been created by adding in replicas, the cell has been resized, and the extra atoms are to be removed. Simply click the Trim button.

Previewing Edits: The results of editing operations are shown in the 3D WebMO Editor. If the displayed result is desired, click OK. If the displayed result is not what was intended, click Cancel.

Adding Replicas

Additional unit cell replicas can be generated in each periodic dimension with Tools: PBC: Supercel.... Specify the number of replicas to be added before and after the unit cell in each dimension.


Specifying Replicas

To display replicas, check Display replicas and click OK.


Displaying Replicas

To add the replicated the replicated atoms and expand the unit cell to include them, click Generate supercell followed by OK. Click Yes or No in response to automatically generating bonds based on internuclear separation.


Creating a Supercell

Creating Surfaces along Miller Indices

Surfaces can be created by defining a unit cell, replicating it into a supercell, defining a Miller plane, and creating a slib along that plane.


Specifying a Miller Plane

To display a Miller plane, choose Tools: PBC: Surfaces... and specify Miller indices h, k, and l. Check Display Miller Plane. Click OK.


Displaying a Miller Plane

To generate a surface (i.e., introduce a vacuum gap between bulk layers), specify the miller plane along which the surface should be created, the size of the gap in Angstroms, and a displacement from the plane. Click Generate slab followed by OK. Click Yes or No in response to automatically generating bonds based on internuclear separation.


Generating a Surface

Running Calculations on Periodic Systems

Calculations on periodic systems are supported only by specific engines:

Example: Displaying NaCl Crystal structure

NaCl is composed of interspersed Na+ and Cl- face centered cubic (fcc) structures.

Define the unit cell and atom positions.

View the unit cell.

Calculate and display replicas.

Example: Hexagonal Closest Packed vs. Cubic Closest Packed Structures

A hexagonal closest packed (hcp) solid is composed of ABAB.. hexagonal close packed layers.

A cubic close packed (ccp) solid is composed of ABCABC... hexagonal close packed layers.

Visualizing hexagonal close packed (hcp):

Define the unit cell and atom positions.

Define and visualize replicas.

Generate a supercell.

Even after adding additional replicas in the c direction, observe that there are channels perpendicular to the layers.

Visualizing cubic close packed (ccp):

Define the unit cell and atom positions.

Define and visualize replicas.

Generate a supercell.

Since the tyhird layer is offset from the first two layers, there are no channels perpendicular to the layers.

Example: Face-Centered Cubic is Cubic Closest Packed

Define the unit cell and atom positions.

View the unit cell, and verify it is fcc.

Define and visualize replicas.

Generate a supercell.

Define and visualize the 111 Miller plane.

Generate a slab along the 111 surface.

View the slab, and verify that there are 3 non-overlapping layers (ABC) with hexagonal arrangement of atoms, i.e., cubic closest packed