The Molecule Gun

This tutorials will help you with setting up a molecule gun from within the GUI. We will see how the molecule gun can be used to shoot molecules on surfaces.

The bouncing buckyball

In this tutorial we will be modeling the impact of a C60 buckyball on a graphene sheet:

/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Intro.png

Setting up the system

The setup of the system consists of three steps:

  1. Creating a graphene sheet from graphite
  2. Adding a buckyball
  3. Mapping the setup to the ReaxFF (0..1) unit cell

Let us begin by creating a graphene sheet

Start up ADFInput
1. Switch to ReaxFF
2. In the Main ReaxFF panel click on the magnifying glass
3. Search for graphite and select Graphite from the crystal compounds
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Graphite.png

The graphite unit cell shown in the GUI window consists of two graphene layers but we only need one layer:

Select the upper two atoms and press the DEL (or backspace) button on your keyboard
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_GraphiteToGraphene.png

Next we create a super cell using the Crystal tools:

1. Click on the Edit menu next to the SCM logo on the top
2. Select Crystal → Generate Super Cell
3. In the pop-up window enter 20, 20, 1 on the diagonal
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Supercell.png

At this point we have created a graphene sheet, but still need to increase the size of the periodic box otherwise the buckyball won’t fit into the box. Let’s first show the lattice vectors in the GUI:

Click on the View menu in the top panel
Select Periodic → Show Lattice Vectors

Increase the length of the z-vector:

1. In the main ReaxFF panel select Model → Lattice
2. Change the value of the z-vector to 42
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_ChangeCell.png

Now that we adjusted the size of the simulation box we can add the buckyball from the compounds database:

1. In the Main ReaxFF panel click on the magnifying glass
2. Enter buckyball into the search field and select C60: Buckyball
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_AddBuckyball.png

The buckyball will be selected automatically.

Use your mouse to drag the buckyball above the graphene sheet.

The last step now consists in mapping your system to the ReaxFF unit cell.

Note

The default periodic display of the GUI uses a -0.5..0.5 convention of the lattice vectors as opposed to 0..1 in ReaxFF. The Molecule Gun will miss the target if the atoms are not mapped to the ReaxFF unit cell.

First select only the buckyball then set the direction of view along the z-axis:

Click on the View menu next in the top panel
Select View → View direction → Along Z-Axis
Make sure the buckyball is inside the space spanned by the lattice vectors,
i.e. it is not intercepting the z-axis anymore (see next image)
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_MoveBuckyball.png

If this step is not taken, the next step - mapping to the ReaxFF cell - will result in a split-up buckyball. To map this system to the ReaxFF cell:

1. Click in empty space to clear the selection
2. Select Edit → Crystal → Map atoms to (0..1)
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Mapping.png

Note that all atoms are now contained inside the space spanned by the lattice vectors:

/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_SetupFinished.png

Setting up the calculation

In the next steps we are setting up the calculation details. First we choose a force field and change the preset from the canonical (NVT) to the microcanonical (NVE) ensemble:

Note

The thermostats used in NVT runs can affect the overall velocity of the added particle.

In the ReaxFF Main panel:
1. Click on the folder icon next to Force field and select C.ff
2. From the Methods menu Select NVE
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_MDSettings.png

Next we set up the Molecule Gun:

In the ReaxFF panel:
Select Model → Molecule Gun
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_GUIPanel.png

The first information we need to supply is which particle should be the one that is shot. This is done by assigning particles to a region and passing the region identifier to the Molecule Gun:

Click on the menu Add molecules from and select Buckyball
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_SelectRegion.png

Tip

Any imported structure from the structure database is automatically assigned to a region as in the present case. Click on New Region to create any other regions.

The molecule display window will show two dummy atoms at the buckyball. The slightly bigger yellow dummy atom marks the starting position of the particle while the red dummy atom is used for aiming:

Use your mouse to select the red dummy atom
Drag it towards the graphene sheet
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Aiming.png

Note

The distance between the yellow and red dummy atoms will not affect the starting velocity. Their sole purpose is the definition of a direction.

After having set the direction of the shot we can define the initial velocity and rate at which particles will be added. Let’s request an overall initial velocity that corresponds to a temperature of 8000K and request only one shot at timestep 250 of the trajectory:

1. In the field Temperature enter 8000
2. In the field Start at iteration enter 250
3. In the field Frequency enter 100000
/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Settings.png

Running the calculation and visualizing the results

We are ready to run the calculation:

Click on File → Save as...
Run the calculation with File → Run
Click on SCM → Movie to visualize the trajectory

The buckyball will appear at timestep 250 on the position defined by the yellow dummy atom. It’s initial velocity will follow the path set by the yellow and red dummy atoms while the overall velocity corresponds to 8000K. The impact will show slightly later - depending on your aiming - at approx. timestep 900:

/scm-uploads/doc.2018/Tutorials/_images/ReaxFF_MolGun_Movie.png