Building a Polymer-Polymer Interface Model

Tutorial Created with Software Release: 2026-1
Topics: Consumer Packaged Goods, Pharmaceutical Formulations, Polymeric Materials
Methodology: All-Atom Molecular Dynamics
Products Used: Desmond, MS Maestro

Tutorial files

202 MB

This tutorial is written for use with a 3-button mouse with a scroll wheel.
Words found in the Glossary of Terms are shown like this: Workspacethe 3D display area in the center of the main window, where molecular structures are displayed

 

Tip: You can hover over a glossary term to display its definition. You can click on an image to expand it in the page.
Abstract:

 

In this tutorial, we will learn how to build a polymer-polymer interface model. Doing so will provide an introduction to several useful tools for constructing multi-component systems in MS Maestro: the nanostructure builder, polymer builder, disordered system builder and MD multistage workflow.

 

Tutorial Content
  1. Introduction to Polymer-Polymer Interfaces

  1. Creating Projects and Importing Structures

  1. Building Two Polymers Using the Polymer Builder

  1. Building a Graphene Infinite Sheet Using the Nanostructures Builder

  1. Packing the First Polymer into the System

  1. Packing the Second Polymer into the System

  1. Analyzing the Density Profile

  1. Conclusion and References

  1. Glossary of Terms

1. Introduction to Polymer-Polymer Interfaces

In this tutorial, we will learn a typical workflow for preparing a polymer-polymer interface atop a nanosheet. To begin, we will independently build two polymers with the Polymer Builder to be loaded into the system. Then, we will use the Nanostructure Builder to prepare a periodic system containing several graphene bilayers to serve as the separating planes in the system. Finally, a series of stepwise disordered system builds and MD simulations will be used to assemble the multicomponent system.

Constructing such a composite model is a useful first step for a variety of materials science applications:

  • Modeling plastic thin films
  • Analyzing the topology of polymers at an interface
  • Preparing a system to simulate mechanical distortions such as stress, strain and shearing
  • Distinguishing adhesive versus cohesive failure for a layered system
  • Studying the penetration of one layer into the other, or the diffusion of some other species across or to the interface

In this example, we will construct a system in which two prototypical polymers, polystyrene and polyvinyl chloride, are stacked atop two graphene bilayers.

2. Creating Projects and Importing Structures

At the start of the session, change the file path to your chosen Working Directorythe location where files are saved in MS Maestro to make file navigation easier. Each session in MS Maestro begins with a default Scratch Projecta temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project, which is not saved. A MS Maestro project stores all your data and has a .prj extension. A project may contain numerous entries corresponding to imported structures, as well as the output of modeling-related tasks. Once a project is saved, the project is automatically saved each time a change is made.

Structures can be built in MS Maestro or can be imported using File > Import Structures (or drag-and-dropped), and are added to the Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data. The Entry Lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion is located to the left of the Workspacethe 3D display area in the center of the main window, where molecular structures are displayed. The Project Tabledisplays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data can be accessed by Ctrl+T (Cmd+T) or Window > Project Table if you would like to see an expanded view of your project data.

  1. Double-click the Materials Science icon

Figure 2-1. Change working directory option.

  1. Go to File > Change Working Directory
  2. Find your directory, and click Choose
  3. Pre-generated input and results files are included for running jobs or examining output. Download the zip file here: schrodinger.com/sites/default/files/s3/release/current/Tutorials/zip/builders_polymer_polymer_interface.zip
  4. After downloading the zip file, unzip the contents in your Working Directorythe location where files are saved for ease of access throughout the tutorial

Figure 2-2. Save Project panel.

  1. Go to File > Save Project As
  2. Change the File name to polymerpolymer_tutorial, click Save
    • The project is now named polymerpolymer_tutorial.prj

3. Building Two Polymers Using the Polymer Builder

To begin, we’ll build polystyrene and polyvinyl chloride polymers to be used in the later steps. If you’ve never built polymers before with MS Maestro, you may (optionally) first wish to practice the Building, Equilibrating and Analyzing Amorphous Polymers tutorial.

Figure 3-1. Setting the monomer to styrene.

  1. Go to Tasks > Materials > Structure Builders > Polymer

First we’ll build an isotactic 30mer homopolymer of polystyrene (a linear polymer composed of 30 styrene monomers)

  1. In the Groups tab:
    • under Monomers, from the Custom dropdown menu, select styrene
  2. Click on the Composition tab

Figure 3-2. Define composition.

  1. Set the number of monomers to 30
  2. Click on the Chain Growth tab

Figure 3-3. Parameterize the chain growth and run.

  1. For Backbone dihedral, select Random
  2. For Affected dihedrals, select All
  3. Change the Job name to polymer_builder_styrene
  4. Adjust the job settings () as needed
    • This job requires a CPU host and can be . The job can be completed in a couple of minutes.
    • If you would like to run the job, click Run. Otherwise, pre-generated results are provided
  5. If you’d like to import the structure rather than run the job, import Section_03 > polymer_builder_styrene-polymer.maegz from the tutorial files (via File > Import Structures).

Figure 3-4. Polystyrene in the workspace.

Once the job is complete, an isotactic 30mer homopolymer of polystyrene can be viewed in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed.

Note: Due to the random dihedral angles the generated structure will look different than the one pictured in the Figure.

Figure 3-5. Build the second polymer.

Keep the Polymer Builder panel open and we will repeat the process for polyvinyl chloride, which will be the second polymer in the system.

  1. Return to the Groups tab:
    • under Monomers, from the Custom dropdown menu, select vinyl_chloride
  2. Change the Job name to polymer_builder_vinylchloride

Note that all of the other settings in the composition and chain growth tabs are maintained, so we will again be building a 30mer.

  1. If you’d like to import the structure rather than run the job, import Section_03 > polymer_builder_vinylchloride-polymer.maegz from the tutorial files (via File > Import Structures). Otherwise, to run the job, click Run.
    • The job should complete within a few minutes
  2. Close the Polymer Builder panel

Figure 3-6. Polyvinyl chloride in the workspace.

You should now have two entries in the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion corresponding with the polystyrene and polyvinyl chloride 30mers. We will use these in Section 5.

4. Building a Graphene Infinite Sheet Using the Nanostructures Builder

Next, we will build a substrate. We need a substrate to serve as a barrier in one direction, effectively creating a single polymer-polymer interface within our periodic system. It is advisable to use graphene because it is a generally benign surface.

Figure 4-1. Setting the parameters in the nanostructure builder panel.

  1. Go to Tasks > Materials > Structure Builders > Nanostructures
  2. For Termination, keep Periodic selected
    • This generates an infinite sheet as opposed to a capped finite plane
  3. For Dimensions (unit cells), input 12 x 12
    • This is the quantity of graphene unit cell translations in the a and b directions that will comprise the new P1 cell
  4. For Number of bilayers, input 2
  5. Change the Job name to layered_graphene
  6. If you’d like to import the structure rather than run the job, import layered_graphene.maegz from the tutorial files (via File > Import Structures). Otherwise, to run the job, click Run
    • The job should complete within a few minutes
  7. Close the Nanostructure Builder panel

Here are some additional considerations for constructing the graphene bilayer.

With respect to the dimensions:

  • 12 x 12 is reasonably sized for the MD simulations. Depending on the lengths of the polymers in practice, you may need something bigger or smaller.
  • 10 x 10 is probably the smallest dimensions that could be employed, as a minimum lattice length of 27Å is recommended for DESMOND using default settings.
  • The surface area of the polymer-polymer interface within the unit cell is going to be essentially defined by the dimensions of the graphene sheet (not exactly because the MD simulation will change the dimensions slightly).

With respect to the bilayers:

  • The bilayers ensure that there are no periodic image effects.
  • Specifically, if the short range Coulombic cutoff is ~9Å, then two bilayers (= 4 sheets) will be large enough to ensure no interactions with the periodic image.

Figure 4-2. Two graphene bilayers.

5. Packing the First Polymer into the System

Now that we have prepared all of the individual components of the system, we will begin to systematically add the components. First, we’ll use the Disordered System Builder to generate 20 polystyrene molecules above the graphene sheets. Then we’ll run a quick molecular dynamics (MD) workflow to pack the polymers onto the surface. For a more in depth explanation of building disordered systems, see the Disordered System Building and Molecular Dynamics Multistage Workflows tutorial.

Figure 5-1. Selecting and including for the build.

  1. Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries poly(styrene) and includethe entry is represented in the Workspace, the circle in the In column is blue nanosheet
    • Recall that select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries means to highlight from the entry lista simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion and includethe entry is represented in the Workspace, the circle in the In column is blue means to fill the blue circle to view the entry in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed

 

Note: Please refer to the Glossary of Terms for the difference between includedthe entry is represented in the Workspace, the circle in the In column is blue and selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries.

Figure 5-2. Disordered System Builder panel.

  1. Go to Tasks > Materials > Structure Builders > Disordered System
    • The Disordered System Builder panel opens
    • poly(styrene) should appear as the only component, otherwise, go back to Step 1 and ensure that the polymer is selected(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries

Figure 5-3. Set number of molecules and import substrate.

  1. Select Tangled chain for the Initial state
  2. Change the Number of molecules to 20
    • This will generate 20 molecules of the polystyrene 30mer in our system
  3. Check Substrate
  4. Click Import
    • nanosheet should appear next to the import button
    • If it does not import, ensure that nanosheet was includedthe entry is represented in the Workspace, the circle in the In column is blue in Step 1 of this section

Figure 5-4. Define Interface.

  1. Change the Substrate type to Planar interface
  2. Click Define Interface
    • The Define Interface panel opens
    • A plane appears in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed indicating where the build will occur. We want to build up in the c direction, as indicated
  3. In the Define Interface panel, set both buffers to 2 Å
    • This will aid the build and will be reconciled in the later MD stages
  4. Click OK

Note: The c (or z) direction is preferred for the crystal vector, particularly if subsequent steps will involve MD simulations as they do here.

Figure 5-5. Select PBC and name the build.

  1. For Periodic Boundary Conditions (PBC), select Use/expand substrate PBC from the dropdown
  2. Change the Job name to disordered_system_firstpolymer
  3. Go to the Disorder tab

 

Note: In this tutorial, we do not use the Cells tab, but in practice, if you wanted to sample many builds, you could do so there.

Figure 5-6. Parameterize the disordered build.

  1. Set the Initial density to 0.9
  2. Select Color molecules by component
  3. Click the Disorder Options button
  4. Change the Dihedral angle distribution to Boltzmann
  5. Click OK
    • This job requires a CPU host. The job can be completed in about 15 minutes on a CPU host
  6. If you’d like to import the output rather than run the job, close the panel and import Section_05 > disordered_system_firstpolymer_system-out.cms from the tutorial files (via File > Import Structures). Otherwise, click Run and then close the Disordered System Builder.
    • The job should complete within 10 minutes  

Note: The initial density of 0.9 was chosen because of the persistence length of this polymer. For more rigid polymers, you may need to reduce the density to a much lower value (e.g. 0.3) to facilitate efficient building.

Figure 5-7. Output of the disordered build.

Once the build is complete, the output will be incorporated into the workspacethe 3D display area in the center of the main window, where molecular structures are displayed.

 

 

Note: The unit cell display may be staggered, but this is only a visual matter and can be ignored. While this is purely visual, we can make an adjustment to realign the box if we wish using the Manipulate Cell tool

Figure 5-8. Setting the MD Multistage Workflow.

Now that we have prepared the disordered system. We will use an MD protocol to relax the polymer chains.

  1. Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the output: disordered_system_firstpolymer_all_components_amorphous
  2. Go to Tasks > Materials > Classical Mechanics > MD Simulations > MD Multistage Workflow
  3. Check Relaxation protocol and keep the Materials relaxation as default
    • This protocol includes three stages
  4. For the fourth stage, select Molecular Dynamics from the dropdown menu
  5. Change the total Simulation time (ns) to 5
  6. Click Advanced Options

Figure 5-9. Adjusting the coupling style.

  1. Set the Coupling style to Semi-isotropic
  2. Click OK

 

Note: Setting the coupling style to semi-isotropic will scale the a and b dimensions uniformly, while the c dimension changes independently.  The Constant area coupling style can be used to maintain the a and b dimensions while applying the pressure tensor along c. See the documentation on the Advanced Options dialog box for more information.

Figure 5-10. Naming and running the job.

  1. Set the Job name to multistage_simulation_firstpolymer
  2. Adjust the job settings () as needed
    • This job requires a GPU host. The job can be completed in about 30 minutes.
    • If you would like to run the job, click Run. Otherwise, pre-generated results are provided
    • MD simulations have a number of files associated with the job, for a full description of each file type see the help documentation on Desmond Files
  3. Close the MD Multistage Workflow panel

Figure 5-11. Output of the MD job.

The polystyrene is packed atop the graphene.

(if you are importing the structure rather than running the job, you will do so in Section 6)

6. Packing the Second Polymer into the System

Now that we have packed the system with polystyrene on graphene, we will proceed to add the second polymer.

Figure 6-1. Importing the pre-generated file.

  1. If you ran the job in Section 5, skip to Step 5.
  2. Otherwise, go to File > Import Structures
  3. Navigate to where you downloaded the tutorial files and choose the Section_06 > multistage_simulation_firstpolymer-out.cms file.
  4. Click Open

Note: If using the pre-generated file, the trajectory data is not provided because it is not necessary to proceed. You can safely click on either Remove Data or Cancel if the Missing Trajectory dialog pops up.

 

Figure 6-2. Selecting and deleting graphene.

During the simulation, one or more graphene layers may have shifted across the periodic boundaries to the top of the cell. If not, proceed to Step 8. If so, follow the next steps to erase any graphene above the polystyrene to prepare for the next polymer:

  1. Set your selection scope to molecules using the selection scope dropdown menu or by typing M on your keyboard.
  2. Select any graphene molecules above the polystyrene
  3. Go to the Build menu in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed and click Delete selected atoms.
    • The graphene layer is removed

Figure 6-3. Top of the box with no graphene.

The top of your box should just be a polymer layer.

Figure 6-4. Selecting and including for the build.

We are now ready to essentially repeat the general steps of Section 5 on top of the first polymer.

  1. Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries poly(vinyl chloride) while keeping the output from the MD (without any graphene above the polystyrene) includedthe entry is represented in the Workspace, the circle in the In column is blue in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed

Figure 6-5. Disordered system builder panel.

  1. Go to Tasks > Materials > Structure Builders > Disordered System
  2. Verify that all of the settings used for Section 5 still apply
  3. Click Import
    • disordered_system_firs... should appear next to the import button
  4. Keep the Substrate type: as Planar interface
  5. Click Define interface
    • The Define interface panel opens

Figure 6-6. Define interface.

  1. Make sure that the Crystal vector is set to c
    • The plane appears in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed indicating where the build will occur. It may not default correctly. We want to build up in the c direction again
  2. The previous settings are otherwise okay. Click OK

Figure 6-7. Running the job.

  1. Change the Job name to disordered_system_secondpolymer

Again, all of the settings from Section 5 can be used here, so no need to adjust the parameters.

  1. If you’d like to import the output rather than run, close the panel and import Section_06 > disordered_system_secondpolymer_system-out.cms from the tutorial files (via File > Import Structures). Otherwise, click Run and then close the Disordered System Builder
    • You may be warned about periodic bonds in the c direction. You can dismiss this warning with Continue. So long as the final system has 40 + n molecules where n is the number of graphene sheets, there were no issues.
    • The job should complete within 5 minutes

Note: It is a best practice to close the Disordered System Builder whenever you are done using it, particularly if your project includes large systems.

Figure 6-8. Output of the disordered build.

Once the build is complete, the output will be incorporated.

 

If any graphene layers shift again, be sure to follow the above steps to remove the layer.

 

Note: The unit cell display may be staggered, but this is only a visual matter and can be ignored. While this is purely visual, we can make an adjustment to realign the box if we wish using the Manipulate Cell tool

Figure 6-9. Removing the fourth stage.

We will run an MD protocol again to relax the system now with all of the components.

  1. Select(1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries and includethe entry is represented in the Workspace, the circle in the In column is blue the output: disordered_system_secondpolymer_all_components_amorphous
  2. Go to Tasks > Materials > Classical Mechanics > MD Simulations > MD Multistage Workflow
    • The MD Multistage Workflow panel opens
  3. Check Relaxation protocol and keep the Materials relaxation as default (these settings should be maintained from our previous use of this panel)
    • This protocol includes three stages
  4. Remove the fourth stage ()

Figure 6-10. The MD Multistage panel before job submission.

  1. Set the Job name to multistage_simulation_secondpolymer
  2. Confirm that the job will run on a GPU host by checking the run settings (). This job takes ~5 minutes on a GPU host. If you would prefer to continue with pre-generated files, proceed to the next section without running the job. Otherwise, click Run
  3. Close the MD Multistage Workflow panel

7. Analyzing the Density Profile

We have successfully packed both polymers into the system. Let’s briefly introduce the Density Profile tool before concluding.

Figure 7-1. Importing the pre-generated file.

  1. If you ran the job in Section 6, skip to Step 5
  2. Otherwise, go to File > Import Structures
  3. Navigate to where you downloaded the tutorial files and choose the Section_07 > multistage_simulation_secondpolymer-out.cms file
  4. Click Open

Figure 7-2. The output from the second MD job.

During the simulation, one or some of a graphene layer may have shifted again within the periodic boundary conditions. Feel free to erase one or more sheets if you wish following the steps outlined in Section 6. In practice, there will be situations where you want to keep at least one sheet and situations where you wish to remove all of the graphene. One graphene sheet was deleted in the system.

Figure 7-3. Analyzing the density profile.

Let’s analyze the density profile of the system. Note that polystyrene has a known density of ~1.05 g/cm3 and polyvinyl chloride has a density of ~1.38 g/cm3.

  1. Includethe entry is represented in the Workspace, the circle in the In column is blue the full system in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed: disordered_system_secondpolymer_all_components_amorphous
  2. Go to Tasks > Materials > Tools > Density Profile
  3. Click Analyze Workspace
    • Data is loaded into the panel
  4. Change the Axis to Z-Axis and ensure that you are on the Profile tab
    • The graph shows the density of the system as a function of the Z-Axis Depth (or more simply, as a function of box height)
    • The density in the graphene layers spikes because of the sheets and gaps, whereas the density in the polystyrene and polyvinyl chloride layers is reasonably close to the experimental densities. In general, longer simulation would be necessary to get within 2-3% of the experimental density for each layer.

Figure 7-4. Analyzing the cross section density profile.

We can also use the Cross Section tool to look at the molecular features of the interfacial layer.

  1. Change to the Cross Section tab
  2. Use the arrows or the layer input box to control the plane that now appears in the workspacethe 3D display area in the center of the main window, where molecular structures are displayed. Shift the plane to approximately where the two polymers meet.
    • In the provided output, it is approximately layer 76

 

Feel free to explore other cross sections in the box by navigating with the arrows.

Figure 7-5. Analyzing atoms at a specific location from the cross section density profile.

Finally, note that the cross density tool can be used to directly interact with the workspacethe 3D display area in the center of the main window, where molecular structures are displayed.

  1. With the layer aligned near the polymer-polymer interface, click anywhere within the cross section density plot to visualize the atoms at that location
  2. Click Re-display All Atoms to visualize the full system again

 

Feel free to explore the topology at the interface further.

 

Depending on your research direction, you may now proceed in several directions to study this polymer-polymer interface.

8. Conclusion and References

In this tutorial, we learned a useful building workflow for preparing a polymer-polymer interface on top of a nanosheet employing various building panels in tandem with the MD Multistage workflow. These strategies can be used to build related systems for study. 

For further reading:
  • For further guidance on building polymers, see the detailed help documentation

9. Glossary of Terms

Entry List - a simplified view of the Project Table that allows you to perform basic operations such as selection and inclusion

Included - the entry is represented in the Workspace, the circle in the In column is blue

Project Table - displays the contents of a project and is also an interface for performing operations on selected entries, viewing properties, and organizing structures and data

Scratch Project - a temporary project in which work is not saved, closing a scratch project removes all current work and begins a new scratch project

Selected - (1) the atoms are chosen in the Workspace. These atoms are referred to as "the selection" or "the atom selection". Workspace operations are performed on the selected atoms. (2) The entry is chosen in the Entry List (and Project Table) and the row for the entry is highlighted. Project operations are performed on all selected entries

Working Directory - the location where files are saved

Workspace - the 3D display area in the center of the main window, where molecular structures are displayed