Bond boost: Cross-linked polymers

In this tutorial we will show how the bond boost acceleration method can be used to drive the non-catalyzed epoxide - amine polymerization reaction with the aim of generating highly crosslinked epoxy polymer structures:

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_crosslinking.png

Fig. 32 Epoxide - amine polymerization reaction

The goal is not to capture or simulate the kinetics of the polymerization reaction, but rather to generate realistic atomistic models of epoxy polymers which can used in further simulations (e.g. for prediction of mechanical properties)

This advanced ReaxFF tutorial is loosely based on the following publications:

More details and information on other acceleration methods can be found in the ReaxFF manual:

Setting up

The cross linking polymerization reaction occurs between the epoxy and the amine groups. The reaction is depicted in its simplest, non-catalyzed form in Fig. 32.

Throughout this tutorial the epoxy resin will be BisF whilst DETDA will be used as the hardener (amine):

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_bisF_DETDA.png

You can either draw the 3D structures of these molecules with the GUI or download the xyz files:

Click to download here the .xyz file BisF.xyz
Click to download here the .xyz file DETDA.xyz

Use the builder functionality in AMSinput to fill a periodic box with one DETDA and two BisF molecules:

In AMSinput, select the ReaxFF panel: ADFPanel ReaxFFPanel.
Go to Edit → Builder to open the Packmol dialog
Enter 20, 20 , 20 on the diagonal for the lattice vectors
Click on the Folder icon and select the file BisF.xyz you just downloaded
Click on + button and open the file DETDA.xyz
Enter 2 and 1 for BisF and DETDA respectively
Click on Generate Molecules
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_packmol.png

To accelerate a reaction with the bond boost method, ReaxFF needs to be provided with a set of atom distances that define a preliminary complex which could lead up to the transition state of the reaction. If this complex is formed during the dynamics, external forces are applied to support bond breaking and bond formation for a user defined set of bonds. This ‘boost’ lasts for user defined time during which the reaction may or may not occur.

For the current reaction, a simple, yet effective set of atom distances are those between the N atom and the terminal C-atom of the epoxy group as well as the distance between the O-atom of the epoxy group to whichever H-atom of the amine group is closest:

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_non_catalyzed.png

It is possible to distinguish atoms depending on their chemical environment, e.g. the terminal C-atom of the epoxy group, but the information needs to be provided via the regions model of ReaxFF by the user. To distinguish the terminal C-atom from all other C-atoms in the system, a CT region needs to be setup:

Go to Model → Regions
Click + button next to Regions on the top
Enter a suitable name for the new region CT
Select a terminal C-atom in the molecule panel
Click on the + button next to the CT region
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_regions_1.png

Repeat steps 3. and 4. to add all other terminal C-atoms to the new CT region

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_regions_2.png

Tip

You can hold down the SHIFT key to select multiple atoms in the molecule view.

Tip

If you have multiple identical molecules, the region can be copied over in the Regions panel using the ‘Apply To Identical Molecules’ option from the dropdown menu on the right.

Now the subset of terminal C-atoms can be distinguished via referring to the region CT as we’ll see later. The other regions are consisting of all N-,O- and H-atoms. To set up a region with all N-atoms:

Create a new region: Click + button next to Regions
Enter a suitable name: allN
Select one N-atom
Go to Select → Select Atoms Of Same Type
Click on the + button next to the allN region
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_regions_3.png

Tip

Make sure that the atoms of the previous region assignment are not selected anymore when assigning a new region. Trying to assign one atom to multiple regions is a common source of error.

Continue setting up regions containing all O- and H-atoms respectively:

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_regions_4.png

Once the regions are set up, we can use them to define a tracking regime for the bond boost. The set of atom distances that will switch on the boost once all criteria are met is

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_tracking.png

to set this up in the GUI

Go Model → MD… → Bond boost
Click on the + button next to Bond boost
Enter 10000 for the Boost lifetime
Click on the + button next to Detect initial configuration
From Atom types with regions menu, select N-allN and C-CT
Set Rmin to 2.5 and Rmax to 4.0
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_tracking_gui.png

Continue with assigning the other tracking options:

  • C-CT / O-allO 1.2 - 3.0

  • O-allO / H-allH 3.0 - 5.5

  • H-allH / →1 0.8 - 1.5

Note

Note the last atom type is set to be →1 to specify that it must be the initially detected Nitrogen atom, i.e. the one close to CT.

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_tracking_gui_2.png

The boost settings are chosen such that the following logic is implemented

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_boosting.png

the aim is to support the breaking and forming of bonds but still allow the reaction to fail.

Note

The above settings have been chosen empirically. A more thorough assessment of energetics based on ab initio calculations is presented in the publication by A. Vashisth et al.

The bond boost options are defined in the lower part of the bond boost panel

Click on the + next to Add restraint
Choose the atoms 1 and 2 from the dropdown menu
Set R0(target bond length) to 1.5
Set param1 to 0.04, the type to Erf and param2 to 0.4.

Note

For the Erf restraint type, the first parameter (param1) is the force constant k, while the second parameter (param2) is the maximum allowed force F. The maximum allowed Force, F, is the most important parameter. It is important that it’s not too large because it may just rip the reactants apart if the force is too large. We found, for example, that with 0.5 it’s often ripping them apart, while with 0.3 it’s much less likely but still possible. With 0.2 the reaction takes longer but should give more reasonable results in the end. The force constant value seems to be much less essential.

Continue with assigning two more boosts:

  • 3 / 4 1.5 , 0.03 , 0.30

  • 2 / 3 2.5 , 0.03 , 0.30

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_boosting_2.png

Execution and visualization

After completing the setup of the bond boost in the previous chapter, we can test the boost by running a small NVT trajectory. Choose the following general ReaxFF settings from the main panel

Task → Molecular Dynamics
Force field dispersion/CHONSSi-lg.ff
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_trajectory_settings.png

Note

This tutorial employs the dispersion corrected force field, that has not been optimized for usage with the bond boost. This force field has been used successfully in the study by M.S. Radue et al. The results might be improved by using the force field CHON2017_weak_bb.ff fitted for usage with the bond boost method (A. Vashisth et al. ). However, note that switching the force field will require tweaking the bond boost settings.

Open the MD settings:

Click on MoreBtn next to Molecular Dynamics
For Number of steps: enter 40000
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_trajectory_settings-2.png

Open the thermostat settings:

Click on MoreBtn next to Thermostat
Click on AddButton next to Thermostat
Select ThermostatBerendsen and Damping constant 100.0 fs
Set Temperature 500.0 K
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_trajectory_settings-3.png

Save and run the calculation:

FileSave
FileRun

Open AMSmovie and follow the calculation of the trajectory, you should see at least one successful cross linking reaction. The boost periods are visible as kinks in the energy graph

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_amsmovie.png

Scaling it up: Generate large Polymer structures

For simulation of polymer properties much larger structures are needed. In the following chapter, we will explain how to scale up the bond boost simulation to more realistic systems up to several thousand atoms.

Open a new AMSinput window

From the SCM Menu SCM select New Input
Change to ReaxFFPanel

open the Packmol builder to create a larger initial structure. Set up a periodic box with with 20 BisF epoxy and 10 DETDA hardener molecules. Make sure that the density displayed in the bottom panel of builder panel is around 0.4 g/mL otherwise packing the molecules will become a hard task and some might even not fit at all. With that criterion in mind, a good box size seems to 32 Å.

Edit → Builder
Put 32.0 on diagonal of the lattice vectors panel
Click to download here the .xyz file BisF.xyz
Click to download here the .xyz file DETDA.xyz
Click on the Folder to import 20 BisF molecules
Click on the AddButton next to Molecules, and import another 10 DETDA molecules
Click on the Generate Molecules button
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_packmol-big.png

Next we need to assign regions to one BisF and one DETDA molecule. One molecule of each species will suffice. It’s possible to translate regions to identical molecules across the whole periodic as we shall see now.

Assign the following regions to one of the DETDA and one of BisF molecules:

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_regions.png

To assign the same regions to all other molecules automatically

Select Add region in same to… from the region dropdown menu
Repeat this step for all regions you have assigned
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_regions-menu.png

Your periodic box with all the regions automatically assign should now look like this

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_with-regions.png

Next we can assign the tracking for the bond boost using the same logic as before with the exception of requesting more bond boost instances and softer restraints. The instances refer to the number of simultaneously boosted reactions. Since we have ten amines, i.e. ten reaction sites, we could in principle expect ten simultaneous reactions (not counting double reactions on the same amine group). The restraints are softened to prevent the molecules from tearing apart when multiple boosts are active at the same time.

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_boost-settings.png

Now only the MD settings need to be set.

Switch to the Main panel
Task → Molecular Dynamics
Force field dispersion/CHONSSi-lg.ff
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_MD-settings.png

This time we shall run the simulation for a longer time. To increase the efficiency of the calculation, we will lower the framerate from writing a snapshot every 100th to every 1000th MD step.

Open the MD settings:

Click on MoreBtn next to Molecular Dynamics
For Number of steps: enter 250000
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_MD-settings-2.png

We use the same thermostat as before but will add a barostat:

Click on MoreBtn next to Thermostat
Click on AddButton next to Thermostat
Select ThermostatBerendsen and Damping constant 100.0 fs
Set Temperature 500.0 K
/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_trajectory_settings-3.png
Click on MoreBtn next to MD main options
Click on MoreBtn next to Barostat
Select BarostatBerendsen and Pressure 101325 Pa (1 atm)
Set Damping constant to 500.0 fs

Save and run the calculation:

/scm-uploads/doc.trunk/Tutorials/_images/bond_boost_big_mol_MD-settings-3.png
FileSave
FileRun

Analysis: Calculate the density and cross-linking ratio

The trajectory can be monitored in AMSmovie, though it becomes increasingly tough to spot the reactions with such huge systems. For this reason, we provide a special analysis tool that allows you to monitor the progress of the systems cross-linking via the cross-linking ratio.

Click to download the script cross-link-density.py
Place the script in the same folder where your .ams inputfile is located
on Windows and Mac, open a command line from AMSinput HelpCommand line (windows) or HelpTerminal
type bash and hit ENTER

Note

You can find more information on PLAMS and AMS scripting in the Getting started section of the scripting documentation.

To run the script execute the following command in the command line:

$AMSBIN/plams cross-link-density.py -v resultsdir=myjob.results

The script will print the results onto the command line as follows:

...
( 241/ 251) 42.000 0.550
( 242/ 251) 41.000 0.525
( 243/ 251) 41.000 0.525
( 244/ 251) 41.000 0.525
( 245/ 251) 41.000 0.525
( 246/ 251) 42.000 0.550
( 247/ 251) 42.000 0.550
( 248/ 251) 42.000 0.550
( 249/ 251) 43.000 0.575
( 250/ 251) 43.000 0.575
( 251/ 251) 43.000 0.575

Final density: 0.407
Cross-linking ratio: 0.575

Where the values in parentheses refer to the current analyzed frame and the total number of frames. The second column is the total number of C-N bonds found in the system at that frame and the third column is the cross-linking ratio computed as the ratio between newly formed CN-bonds and number of theoretically possible CN bonds (two new bonds per amine group).

Note

Obviously the density has not yet converged to the experimental value. Wether or not it’s possible to just extend the simulated timescale, depends on the system. Often it helps to run one or several simulated annealing runs with such a cross-linked polymer structure to eliminate local density hot spots or vacuum bubbles in the structures. An enlightening discussion can be found in computational details of A. Vashisth, C. Ashraf, W. Zhang, C. E. Bakis, and Adri C. T. van Duin, J. Phys. Chem. A 2018, 122, 32, 6633-6642 (2018)