Fragment Analysis¶
This tutorial will show you how to use the Fragment Analysis within ADF. The two examples used here are:
- Ni(CO)4
- PtCl4 H2 2-
You will set up the calculations, run them, and visualize the results.
The resulting ADFinput input file (*.adf) is available in the examples directory included in the ADF distribution. In the examples documentation you can read how to set up a similar calculation without ADFinput.
The first example in this tutorial is Ni(CO)4 . It consists of one Ni fragment and once CO fragment that is repeated four times.
The second example is PtCl4 H2 2- . It consists of a PtCl4 2- fragment, and one H2 fragment. It is a good example on how to specify the charges of the fragments.
Step 1: Build Ni(CO)4¶
The structure is perfectly tetrahedral. You should be able to build the molecule yourself, using the techniques described in earlier tutorials. One possible way:
- Start ADFinputBuild a tetrahedral metal complex: Structure Tool → Metal Complexes → ML4 tetrahedralChange the central atom into a Ni atomSelect one ligandSelect all ligands: Select → Select Atoms Of Same Type menu commandChange them in CO ligands: Atoms → Replace By Structure → Ligands → COChoose the ‘Geometry Optimization’ PresetSave and RunWhen the run has finished, click ‘Yes’ to import the optimized coordinatesSave
Your molecule should look something like this:
Step 2: Define fragments¶
The fragments that ADF uses are based on the regions that you define. In this example we will generate four new regions: one for each of the CO ligands. The regions for the CO ligands will get special names to make sure that ADF recognizes them as one fragment repeated four times.
The Ni atom will not be in a region. ADFinput will automatically create atomic fragments for all atoms not in a region.
Repeated fragments are indicated with the fragment name followed by ‘/n’, with n the number of the copy. All copies must match such that one fragment can be positioned exactly over another fragment by rotation and translation. ADF checks for this, ADFinput does not. In this particular example all four CO fragments are obviously identical by symmetry.
- Panel bar Model → RegionsSelect all atomsClick the ‘+’ button to add another new region (containing all atoms)Select the Ni atomRemove the Ni atom from Region_1: click the ‘-‘ button on the right side of the ‘Region_1’Change the name of ‘Region_1’ into ‘CO’
Now one new region has been defined: the CO region for the ligands. The next step is to split the ligand region into four repeated regions:
- Press the triangle on the right side of the CO region lineIn the pop-up menu, use the ‘Split By Molecule’ command
This should result in the following regions:
Step 3: set up the fragment analysis run¶
The next step is very easy: we will tell ADF to perform a Single Point calculation (fragment analysis in ADF only works with a single point calculation), and we tell ADFinput to use the regions that we just defined as fragments:
- Open the ‘Main’ panelSelect the ‘Single Point’ presetPanel bar MultiLevel → FragmentsCheck the ‘Use fragments’ check box
Instead you could also select the ‘Fragment Analysis’ preset, which is identical to the Single Point preset but with ‘Use fragments’ activated.
In the Fragments panel you will see that one fragment is present, without charge: the repeated CO fragment. ADF will use basic atomic atoms for any atoms not put in another fragment. Thus, the Ni atom will be an atomic fragment.
Step 4: Run the fragment analysis and view the results¶
Next you will Save and Run the calculation. When you do this, ADFinput will actually save two different calculations:
- The CO calculation (with matching .adf and .run file)
- The Ni(CO)4 fragment analysis calculation (with matching .adf and .run file)
You do not need to set up a separate ADF calculation for the CO fragment: when you run the fragment analysis calculation, the run script will detect that the individual fragments first need to be calculated. It does so automatically. Next, the fragment analysis calculation will run.
- SaveRunObserve the running of the fragment (CO), and the final fragment analysis
The CO-fragment and Ni(CO)4 calculations all have been performed.
This calculation results in the normal .t21 and .out output files. You can view them with the SCM → View and SCM → Output commands. More interesting in the case of a fragment analysis is the interaction diagram that you can view using ADFlevels:
- In the still open ADFinput window: use the SCM → Levels command
In the center you see the levels of the whole molecule, on the sides you see the CO fragment and the Ni-atom fragment. The red interaction lines tell you which molecular orbitals come from which fragment orbitals. The brightness of the line is directly related to the contribution %.
The blue interaction lines together show the orbital interaction, and are drawn when a bonding and anti-bonding combination can be made. The strength of this interaction is calculated by taking the geometric average of the 4 contributions. Compared to the normal average, the geometric average places more emphasis on equal contributions. This will give 50-50 contributions the strongest interaction, and 0-100 contributions no interaction at all. The strongest interaction is drawn, and weaker interactions can be drawn by using the menu or the shortcuts.
In the output file you can find detailed information about the composition of the molecular levels in terms of the fragment orbitals.
Step 5: Build PtCl4 H2 2-¶
The following is a picture of the PtCl4 H2 2- molecule, after optimization with ADF:
To make this molecule, an easy way is to start with an octahedral complex to ensure symmetry. Next make changes to get this molecule, ending with a geometry optimization with ADF:
- Build an octahedral metal complex using the Structures button(Structure Tool → Metal Complexes → ML6 octahedral)Change the central atom into a Pt atomChange four dummies in a plane into Cl atomsRemove one of the remaining dummiesChange the remaining dummy in OH, via Structure Tool → Ligands → OH(this will ensure the final two H’s do not break symmetry)Change the O atom into an H atomChoose the ‘Geometry Optimization’ PresetSet the total charge to -2Select the Scalar ZORA relativistic optionRunWhen the run has finished, click ‘Yes’ to import the optimized coordinatesSave
Note that pre-optimization using UFF will make the geometry worse, if you wish you can pre-optimize using Mopac. But the ADF geometry optimization will also converge without pre-optimization.
Step 6: Define fragments¶
Define the PtCl4 2- and H2 fragments in the Regions panel:
- Panel bar Model → RegionsSelect the Pt and Cl atomsUse the ‘+’ button to add a new region, and name it ‘PtCl4’Select the two H atomsUse the ‘+’ button to add a new region, and name it ‘H2’Clear the atom selection (click in empty space)
Now the fragments are defined. Next, we set up the fragment analysis calculation:
- Select ‘Main’ panelSelect the ‘Fragment Analysis’ presetPanel bar MultiLevel → FragmentsChange the charge of the PtCl4 fragment to -2Save
The other changes (the overall molecule charge, and the scalar ZORA option) have already been set previously. The Fragment Analysis preset does not change these.
When you click on the Open button (the big dot) next to the PtCl4 fragment, you can inspect the PtCl4 fragment setup:
- Click on the Open button (the big dot next to the PtCl4 fragment) in the ‘Fragments’ panelCheck the charge of the fragment in the newly opened ADFinput (should be -2)Close the PtCl4 fragment ADFinput window
For more complex calculations, you could make additional changes to your fragment runs. However, normally the set up as created by ADFinput should be fine.
Step 7: Run the fragment analysis and view the results¶
Next you will Run the calculation:
- Run
After the calculation has finished, you can view the resulting interaction diagram:
- Use the SCM → Levels commandUse the mouse (drag with left mouse, scroll wheel, drag with right mouse)zoom in on the interesting region (roughly from -0.5 to 0.4)Select the PtCl4H2 column (by clicking on the name at the bottomUse the View → Interactions → Show menu commandWith the pop-up menu in the H2 column, shift the H2 levels by +0.28
Only interactions between visible levels are shown. So, if you zoom out no interactions will be visible for some of the levels. That is the reason that you will need to use the Show Interactions menu command.
We needed to shift the H2 levels to accommodate that in the final molecule the fragment experiences the -2 charge, but this is absent from the H2 fragment calculation. The interaction diagram should look something like the following:
In the output file you can find detailed information about the composition of the molecular levels in terms of the fragment orbitals.