Skip to content

11_Example_Input_Scripts

Ambuild-code edited this page Jul 19, 2020 · 10 revisions

11 Example Input Scripts

This section contains a variety of example Ambuild input scripts, each of which involves the growth of a polymer from methane building blocks. There is one example of each of the growBlocks, joinBlocks, and zipBlocks scripts, in which the polymer is built solely from methane fragments, with no solvent, catalyst, or influence from other reagents (Sections 11.1-11.3, Figures 7-9, respectively). Then, to demonstrate the adaptability of the Ambuild code in modelling amorphous, hyper-crosslinked polymer networks, another example is included, in which the methane polymer is firstly assembled using a growBlocks script (Figure 10), whilst solvated with toluene, before being desolvated (Figure 11) and worked-up (Section 11.4, Figure 12), which can be adapted to best mimic the experimental synthesis.

11.1 Example growBlocks Input Script

images/Figure_7.jpg

11.2 Example joinBlocks Input Script

images/Figure_8.jpg

11.3 Example zipBlocks Input Script

images/Figure_9.jpg

11.4 Example Artificial Synthesis Procedure

Firstly, the polymer is assembled from methane fragments using a growBlocks script, whilst solvated with toluene (Figure 10):

images/Figure_10.jpg

Secondly, the toluene solvent fragments are removed slowly over a large number of steps, optimising the geometry and running MD simulations between steps (Figure 11), which simulates the experimental desolvation process:

images/Figure_11.jpg

Finally, the resulting polymer network is worked-up using hydrogen fragments (Figure 12), mimicking the acidic or aqueous workup that the experimental polymer will be subjected to. This ensures that all of the potentially undesired endGroups present are replaced with hydrogen atoms, thus revealing the final, desired, polymer network structure:

images/Figure_12.jpg

11.5 Example Statistical Sampling Script

images/Figure_13.jpg

Clone this wiki locally