45
Network for Computational Nanotechnology (NCN) Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP Polymer Modeler: User Guide Andrea Arguelles Network for Computational Nanotechnology (NCN) Electrical and Computer Engineering [email protected]

Polymer Modeler: User Guide

  • Upload
    finley

  • View
    120

  • Download
    5

Embed Size (px)

DESCRIPTION

Polymer Modeler: User Guide. Andrea Arguelles Network for Computational Nanotechnology (NCN) Electrical and Computer Engineering [email protected]. OUTLINE. Polymer Builder (Page 3) Beginner’s Guide Advanced Guide - PowerPoint PPT Presentation

Citation preview

Page 1: Polymer Modeler: User Guide

Network for Computational Nanotechnology (NCN)Purdue, Norfolk State, Northwestern, MIT, Molecular Foundry, UC Berkeley, Univ. of Illinois, UTEP

Polymer Modeler: User Guide

Andrea ArguellesNetwork for Computational Nanotechnology (NCN)

Electrical and Computer Engineering

[email protected]

Page 2: Polymer Modeler: User Guide

Andrea Arguelles

OUTLINE

• Polymer Builder (Page 3)» Beginner’s Guide

» Advanced Guide

• Molecular Dynamics Simulations (Page 30)» Beginner’s Guide

» Advanced Guide

2

Page 3: Polymer Modeler: User Guide

Andrea Arguelles 3

Page 4: Polymer Modeler: User Guide

Andrea Arguelles

OUTLINE: Polymer Builder

• Polymer Builder: An Introduction• Getting Started: Beginner’s Guide

» First Step: Choosing a monomer» Number of monomers and chains» Energy Interactions

Torsion angles: all-trans, freely rotating chain

» Outputs

• Advanced Options: Expert’s Guide» Building a monomer: z-matrix format» Energy Interactions

Torsion angles distribution: energies and probabilities Long range interactions

» Temperature and cell dimensions» Output: Ideal length function» Exploring other options

4

Page 5: Polymer Modeler: User Guide

Andrea Arguelles

POLYMER BUILDER: The tool

• The polymer builder tool allows the user to create atomic level structures of linear polymer chains.

• Polymers are made of long chains formed by repeated units called monomers.

• Through the multiple tool options, changes in torsions angles and other energy interactions can be observed.

• Effect of temperature changes in the system may also be noted.

5

Page 6: Polymer Modeler: User Guide

Andrea Arguelles 6

Page 7: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Using the builder

Select the option stating “Build Polymer”

Select the option stating “Build Polymer”

7

Page 8: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

First Step: Choosing a monomer.

Choosing a built in monomer

Choosing a built in monomer

If a built-in monomer is chosen, the z-matrix, number of backbone atoms, and bond length between monomers are automatically loaded

8

Page 9: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Polymers repeat units (monomers) used:

Nylon

N CC

O

H H

H

N

H

C

H

H

C

O

6 4

PMMA

C

H

H

C

C

CH3

O

O CH3

Polyethylene

C

H

H

C

H

H Polypropylene

C

H

H

C

H

CH3

9

Page 10: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Polymers repeat units (monomers) used:

Polystyrene

C

H

H

C

H POM

C

H

H

O

PTFE

C

F

F

C

F

F PVC

C

H

H

C

Cl

H

10

Page 11: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Choose the number of monomers and chains

Specify the number of monomers that each chain

will contain

Specify the number of monomers that each chain

will contain

Specify the number of chains to be built, each with the

specified number of monomers

Specify the number of chains to be built, each with the

specified number of monomers

11

Page 12: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Specify the desired distribution of torsion angles

All torsion angles are set to 180º

All torsion angles are set to 180º

All angles are equally likely, therefore uniform distribution of angles is

selected

All angles are equally likely, therefore uniform distribution of angles is

selected

12

Page 13: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Choose the outputs that you want to observe

Results: Molecular structures.Displays the chains constructed. Example shows one freely rotating polyethylene chain of 40 monomers.

13

Page 14: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Choose the outputs that you want to observe

Results: Monomer rotation.The animate rotation varies the torsion angles from 0 to 360 degrees between two monomers, showing the effect of the dihedral angle variations

14

Page 15: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Choose the outputs that you want to observe

Results: End-to-end length.Outputs a graph of the mean end-to-end length of the polymer chain as well as the theoretical length according to the function specified.

Accuracy of mean end-to-end length depends on number of chains built.

15

Page 16: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Observing the outputs

In order to output the polymer structure without running MD simulations, select this option

In order to output the polymer structure without running MD simulations, select this option

This panel appears after the simulation button, on the bottom right corner of the first panel, is pressed.

16

Page 17: Polymer Modeler: User Guide

Andrea Arguelles 17

Page 18: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Steps to specify a new monomer

Step 1: Build the z-matrixStep 1: Build the z-matrix

Step 2: Specify backbone atomsStep 2: Specify

backbone atoms

Step 3: Specify bond length

Step 3: Specify bond length

18

Page 19: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Step 1: Building the z-matrix

First atomLine number of the atom it is linked to

Distance to atom it is linked toAtom that defines angle

Bond angleAtom that defines torsion angle Torsion

(or dihedral) angle

19

Page 20: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Step 2: Specifying the backbone atoms

Backbone atoms MUST be listed first when creating the z-matrix

Backbone atoms MUST be listed first when creating the z-matrix

Specify the number of atoms that represent the backbone of the

monomer

Specify the number of atoms that represent the backbone of the

monomer

20

Page 21: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Step 3: Specifying the bond length

Specify the bond length between the monomersSpecify the bond length between the monomers

When creating the polymer chain the head of one monomer and the tail atom of the other are removed, this length represents the distance of the new bond created.

21

Page 22: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Setting torsion angles

Define using probabilitiesDefine using probabilities

Define using energiesDefine using energies

Specify which torsions angles are energetically favored

22

Page 23: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Define torsion angles occurrence using probabilities

To specify torsion angles using probabilities, enter

angle (in degrees) followed by probability, separated by a

space

To specify torsion angles using probabilities, enter

angle (in degrees) followed by probability, separated by a

space

Note: Do NOT include units in input

23

Page 24: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Define torsion angles occurrence using energies

To specify torsion angles using energies, enter angle (in degrees) followed by its

energy (in eV), separated by a space

To specify torsion angles using energies, enter angle (in degrees) followed by its

energy (in eV), separated by a space

Probability is calculated from the energies using the Maxwell-Boltzman probability with the temperature specified on the System tab

24

Page 25: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Prevents polymer chains from self intersecting

Prevents polymer chains from self intersecting

Not self-avoiding chain Self-avoiding chain

25

Page 26: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Define the system volume

Specify the system’s volume using the polymer’s density.Specify the system’s volume using the polymer’s density.

Note: Do NOT include units in input

Specify the cell dimensions of the system in Angstroms

Specify the cell dimensions of the system in Angstroms

Express density in grams per cubic centimeter (g/cm^3)

26

Page 27: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Define the system temperature

Specify the temperature of the system

Specify the temperature of the system

This temperature will be used in the calculation of the torsion angles probabilities for the given energies, using the Maxwell-Boltzman probability.

27

Page 28: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Defining the theoretical end-to-end length function

The prefactor C depends of the polymer being built

The prefactor C depends of the polymer being built

The exponent P represents the model used to calculate the theoretical end to end length

The exponent P represents the model used to calculate the theoretical end to end length

For a random walk P 1/2,Rod-like chain P 1,Self-avoiding random walk P 3/5,Strong Attraction P 1/3.

For polyethylene:Rod-like chain C 1.28,Freely-rotating chain C 2.28.

28

Page 29: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Exploring other options

Assign a number generator seed to exactly reproduce

results later

Assign a number generator seed to exactly reproduce

results later

29

Page 30: Polymer Modeler: User Guide

Andrea Arguelles 30

Page 31: Polymer Modeler: User Guide

Andrea Arguelles

OUTLINE: Molecular Dynamic Simulations

• MD Simulations: An Introduction

• Getting Started: Beginner’s Guide» Running LAMMPS on structure

» Energy Expression

» Drivers Setting the ensemble Strain Rate Periodic Tasks

• Advanced Options: Expert’s Guide» Thermalizing system

31

Page 32: Polymer Modeler: User Guide

Andrea Arguelles

Molecular Dynamic Simulations

• Molecular dynamics consists in following the motion of all the atoms in your material.

• The tool provides an easy to understand interface to allow users to set up molecular dynamic simulations.

• Using the open source code LAMMPS, different polymeric samples can be deformed and different outputs can be observed.

32

Epon 862 Epon 825

Page 33: Polymer Modeler: User Guide

Andrea Arguelles 33

Page 34: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Using pre-built polymers

Select any of the polymer pre-built structures

Select any of the polymer pre-built structures

34

You may also build your own polymer structure using the builder presented previously.

Page 35: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Running LAMMPS on structure

35

Force fields dictate how the forces between atoms are

approximated.

Force fields dictate how the forces between atoms are

approximated.

These two cutoffs dictate after what distance the

interactions between atoms are no longer calculated.

These two cutoffs dictate after what distance the

interactions between atoms are no longer calculated.

Currently Dreiding is the only option offered and is a good generic force field. More application specific force fields exist and may be added later

Page 36: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Running LAMMPS on structure

36

The PPPM and ewld options will calculate electrostatic interactions beyond the cutoff specified above

The PPPM and ewld options will calculate electrostatic interactions beyond the cutoff specified above

This specifies how many kspace vectors are present in the ewld option or FFT

grid size in PPPM.

This specifies how many kspace vectors are present in the ewld option or FFT

grid size in PPPM.

The cutoff option will ignore all long range interactions.

1e-4 corresponds to 1 part in a million

Page 37: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Setting the ensemble

37

This ensemble controls the number of atoms, volume, and

temperature of the system.

This ensemble controls the number of atoms, volume, and

temperature of the system.

This ensemble controls the number of atoms, pressure, and

temperature of the system.

This ensemble controls the number of atoms, pressure, and

temperature of the system.

This ensemble controls the number of atoms, volume, and

total energy of the system.

This ensemble controls the number of atoms, volume, and

total energy of the system.

If a strain is to be applied NVT or NVE should be selected.

Page 38: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Specify the different drivers

38

Length of time between MD steps.

Length of time between MD steps.

Total number of time steps in the simulation.

Total number of time steps in the simulation.

Shorter time steps give more accurate results but increases computation time.

Page 39: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Specify the different drivers

39

Sets the temperature of the system.

Sets the temperature of the system.

Controls the rate at which the temperature is changed over the course of the simulation.

Controls the rate at which the temperature is changed over the course of the simulation.

System temperature is regulated using a Nose/Hoover thermostat.

Page 40: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Set the strain rate for the different directions

40

The strain rate controls the rate of deformation performed on the system. Deformation can be applied in any combination

of the principle and shear directions.

The strain rate controls the rate of deformation performed on the system. Deformation can be applied in any combination

of the principle and shear directions.

Note: All Strain rates are in engineering strain.

When using large negative strain rates, if the strain rate combined with the simulation length make the sample contract more than physically possible, an error will be encountered and a smaller strain rate or shorter simulation length will be necessary.

Page 41: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Periodic Tasks

41

How many steps between output writings

How many steps between output writings

How often the program will write atom positions to the trajectory

file.

How often the program will write atom positions to the trajectory

file.

Computer will perform calculations to update the atoms every MD step.

Page 42: Polymer Modeler: User Guide

Andrea Arguelles

Getting Started

Periodic Tasks

42

Controls how often LAMMPS creates a new list of nearby atoms for each atom in the

system.

Controls how often LAMMPS creates a new list of nearby atoms for each atom in the

system.

If an error stating an atom has been lost occurs, decreasing this number will create a new neighbor list more often. However, lower values increase computation time.

Page 43: Polymer Modeler: User Guide

Andrea Arguelles 43

Page 44: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Check the box to thermalize system before running simulations

44

Heats the system to 600K for a period of time in order to allow

atoms to shift positions and reach an overall lower energy

configuration.

Heats the system to 600K for a period of time in order to allow

atoms to shift positions and reach an overall lower energy

configuration.

Note: Output data is not reported during thermalization.

After thermalization another simulation is performed using the conditions specified in the options below.

Page 45: Polymer Modeler: User Guide

Andrea Arguelles

Advanced Options

Check the box to thermalize system before running simulations

45

Ensemble options are the same as earlier and do not have to match the ensemble used later in the

simulation.

Ensemble options are the same as earlier and do not have to match the ensemble used later in the

simulation.

Note: The time of each step is the same as selected earlier.

The thermalization will run for this number of MD steps.

The thermalization will run for this number of MD steps.