HTPolyNet 1.0.7.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. HTPolyNet/__init__.py +1 -0
  2. HTPolyNet/ambertools.py +94 -0
  3. HTPolyNet/analyze.py +258 -0
  4. HTPolyNet/banner.py +26 -0
  5. HTPolyNet/bondlist.py +206 -0
  6. HTPolyNet/bondtemplate.py +111 -0
  7. HTPolyNet/checkpoint.py +88 -0
  8. HTPolyNet/command.py +42 -0
  9. HTPolyNet/configuration.py +240 -0
  10. HTPolyNet/coordinates.py +1071 -0
  11. HTPolyNet/countTime.py +26 -0
  12. HTPolyNet/curecontroller.py +767 -0
  13. HTPolyNet/dataframetools.py +130 -0
  14. HTPolyNet/driver.py +250 -0
  15. HTPolyNet/expandreactions.py +154 -0
  16. HTPolyNet/gromacs.py +333 -0
  17. HTPolyNet/inputcheck.py +51 -0
  18. HTPolyNet/linkcell.py +322 -0
  19. HTPolyNet/molecule.py +1279 -0
  20. HTPolyNet/plot.py +607 -0
  21. HTPolyNet/postsim.py +444 -0
  22. HTPolyNet/projectfilesystem.py +483 -0
  23. HTPolyNet/reaction.py +282 -0
  24. HTPolyNet/resources/README.md +20 -0
  25. HTPolyNet/resources/__init__.py +0 -0
  26. HTPolyNet/resources/cfg/DGE-PAC-hi.yaml +115 -0
  27. HTPolyNet/resources/cfg/DGE-PAC-lo.yaml +115 -0
  28. HTPolyNet/resources/cfg/FDE-DFDA-hi.yaml +116 -0
  29. HTPolyNet/resources/cfg/FDE-DFDA-lo.yaml +116 -0
  30. HTPolyNet/resources/cfg/GMASTY-hi.yaml +158 -0
  31. HTPolyNet/resources/cfg/GMASTY-lo.yaml +158 -0
  32. HTPolyNet/resources/cfg/README.md +1 -0
  33. HTPolyNet/resources/cfg/STY.yaml +23 -0
  34. HTPolyNet/resources/cfg/pMSTY-hi.yaml +101 -0
  35. HTPolyNet/resources/cfg/pMSTY-lo.yaml +101 -0
  36. HTPolyNet/resources/cfg/pSTY-hi.yaml +101 -0
  37. HTPolyNet/resources/cfg/pSTY-lo.yaml +101 -0
  38. HTPolyNet/resources/example_depot/0-liquid-styrene.tgz +0 -0
  39. HTPolyNet/resources/example_depot/1-polystyrene.tgz +0 -0
  40. HTPolyNet/resources/example_depot/2-polymethylstyrene.tgz +0 -0
  41. HTPolyNet/resources/example_depot/3-bisgma-styrene-thermoset.tgz +0 -0
  42. HTPolyNet/resources/example_depot/4-pacm-dgeba-epoxy-thermoset.tgz +0 -0
  43. HTPolyNet/resources/example_depot/5-dfda-fde-epoxy-thermoset.tgz +0 -0
  44. HTPolyNet/resources/mdp/README.md +1 -0
  45. HTPolyNet/resources/mdp/drag-min.mdp +13 -0
  46. HTPolyNet/resources/mdp/drag-npt.mdp +36 -0
  47. HTPolyNet/resources/mdp/drag-nvt.mdp +31 -0
  48. HTPolyNet/resources/mdp/min.mdp +14 -0
  49. HTPolyNet/resources/mdp/npt.mdp +37 -0
  50. HTPolyNet/resources/mdp/nvt.mdp +29 -0
  51. HTPolyNet/resources/mdp/relax-min.mdp +13 -0
  52. HTPolyNet/resources/mdp/relax-npt.mdp +37 -0
  53. HTPolyNet/resources/mdp/relax-nvt.mdp +31 -0
  54. HTPolyNet/resources/mdp/single-molecule-min.mdp +12 -0
  55. HTPolyNet/resources/mdp/single-molecule-nvt.mdp +25 -0
  56. HTPolyNet/resources/molecules/inputs/DFA.pdb +62 -0
  57. HTPolyNet/resources/molecules/inputs/DGE.mol2 +115 -0
  58. HTPolyNet/resources/molecules/inputs/EMB.mol2 +50 -0
  59. HTPolyNet/resources/molecules/inputs/FDE.pdb +72 -0
  60. HTPolyNet/resources/molecules/inputs/GMA.mol2 +163 -0
  61. HTPolyNet/resources/molecules/inputs/PAC.mol2 +91 -0
  62. HTPolyNet/resources/molecules/inputs/STY.mol2 +44 -0
  63. HTPolyNet/resources/molecules/make-monomers.sh +64 -0
  64. HTPolyNet/resources/molecules/pics/DFA.png +0 -0
  65. HTPolyNet/resources/molecules/pics/DGE.png +0 -0
  66. HTPolyNet/resources/molecules/pics/EMB.png +0 -0
  67. HTPolyNet/resources/molecules/pics/FDE.png +0 -0
  68. HTPolyNet/resources/molecules/pics/GMA.png +0 -0
  69. HTPolyNet/resources/molecules/pics/PAC.png +0 -0
  70. HTPolyNet/resources/molecules/pics/STY.png +0 -0
  71. HTPolyNet/resources/molecules/sample-inputs/DFA.pdb +62 -0
  72. HTPolyNet/resources/molecules/sample-inputs/DGE.mol2 +115 -0
  73. HTPolyNet/resources/molecules/sample-inputs/EMB.mol2 +50 -0
  74. HTPolyNet/resources/molecules/sample-inputs/FDE.pdb +72 -0
  75. HTPolyNet/resources/molecules/sample-inputs/GMA.mol2 +163 -0
  76. HTPolyNet/resources/molecules/sample-inputs/PAC.mol2 +91 -0
  77. HTPolyNet/resources/molecules/sample-inputs/STY.mol2 +44 -0
  78. HTPolyNet/resources/tcl/readbonds.tcl +32 -0
  79. HTPolyNet/resources/tcl/readgrx.tcl +46 -0
  80. HTPolyNet/resources/tcl/render.tcl +74 -0
  81. HTPolyNet/ring.py +155 -0
  82. HTPolyNet/runtime.py +709 -0
  83. HTPolyNet/software.py +106 -0
  84. HTPolyNet/stringthings.py +39 -0
  85. HTPolyNet/topocoord.py +1877 -0
  86. HTPolyNet/topology.py +1288 -0
  87. HTPolyNet/unused_symmetry_stuff.py +291 -0
  88. HTPolyNet/utils.py +405 -0
  89. htpolynet-1.0.7.2.dist-info/METADATA +84 -0
  90. htpolynet-1.0.7.2.dist-info/RECORD +93 -0
  91. htpolynet-1.0.7.2.dist-info/WHEEL +4 -0
  92. htpolynet-1.0.7.2.dist-info/entry_points.txt +2 -0
  93. htpolynet-1.0.7.2.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,116 @@
1
+ Title: DFA-FDE thermoset
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ FDE: {count: 200, symmetry_equivalent_atoms: [[C1,C2],[C3,C4],[O1,O2]], stereocenters: [C3]},
12
+ DFA: {count: 100, symmetry_equivalent_atoms: [[N1,N2]] }
13
+ }
14
+ densification: {
15
+ initial_density: 200.0, # kg/m3
16
+ temperature: 300, # K
17
+ pressure: 10, # bar
18
+ nsteps: 100000
19
+ }
20
+ precure_equilibration: {
21
+ temperature: 300, # K
22
+ pressure: 1, # bar
23
+ nsteps: 50000
24
+ }
25
+ CURE: {
26
+ initial_search_radius: 0.5, # nm
27
+ radial_increment: 0.25, # nm
28
+ max_iterations: 150,
29
+ desired_conversion: 0.50,
30
+ late_threshhold: 0.85
31
+ }
32
+ drag: {
33
+ trigger_distance: 0.6, # nm
34
+ increment: 0.08, # nm
35
+ limit: 0.3, # nm
36
+ equilibration: [
37
+ { ensemble: min },
38
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
39
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
40
+ ]
41
+ }
42
+ relax: {
43
+ increment: 0.08, # nm
44
+ temperature: 600, # K
45
+ equilibration: [
46
+ { ensemble: min },
47
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
48
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
49
+ ]
50
+ }
51
+ postcure_equilibration: {
52
+ ensemble: npt,
53
+ temperature: 300, # K
54
+ pressure: 1, # bar
55
+ nsteps: 50000
56
+ }
57
+ postcure_anneal: {
58
+ ncycles: 2,
59
+ initial_temperature: 300,
60
+ cycle_segments: [
61
+ { T: 300, ps: 0 },
62
+ { T: 600, ps: 20 },
63
+ { T: 600, ps: 20 },
64
+ { T: 300, ps: 20 },
65
+ { T: 300, ps: 20 }
66
+ ]
67
+ }
68
+ postanneal_equilibration: {
69
+ temperature: 300, # K
70
+ pressure: 1, # bar
71
+ nsteps: 50000
72
+ }
73
+ reactions:
74
+ - {
75
+ name: 'Primary-to-secondary-amine',
76
+ stage: cure,
77
+ reactants: {1: DFA, 2: FDE},
78
+ product: DFA~N1-C1~FDE,
79
+ probability: 1.0,
80
+ atoms: {
81
+ A: {reactant: 1, resid: 1, atom: N1, z: 2},
82
+ B: {reactant: 2, resid: 1, atom: C1, z: 1}
83
+ },
84
+ bonds: [
85
+ {atoms: [A, B], order: 1}
86
+ ]
87
+ }
88
+ - {
89
+ name: 'Secondary-to-tertiary-amine',
90
+ reactants: {1: DFA~N1-C1~FDE, 2: FDE},
91
+ product: DFA~N1-C1~FDE-C1~FDE,
92
+ stage: cure,
93
+ probability: 0.5,
94
+ atoms: {
95
+ A: {reactant: 1, resid: 1, atom: N1, z: 1},
96
+ B: {reactant: 2, resid: 1, atom: C1, z: 1}
97
+ },
98
+ bonds: [
99
+ {atoms: [A, B], order: 1}
100
+ ]
101
+ }
102
+ - {
103
+ name: 'Oxirane-formation',
104
+ reactants: {1: FDE},
105
+ product: FDEC,
106
+ stage: post-cure,
107
+ probability: 1.0,
108
+ atoms: {
109
+ A: {reactant: 1, resid: 1, atom: O1, z: 1},
110
+ B: {reactant: 1, resid: 1, atom: C1, z: 1}
111
+ },
112
+ bonds: [
113
+ {atoms: [A, B], order: 1}
114
+ ]
115
+ }
116
+
@@ -0,0 +1,158 @@
1
+ Title: GMA-STY thermoset
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ STY: {count: 150},
12
+ GMA: {count: 75, symmetry_equivalent_atoms: [[C1,C2],[C3,C4],[C5,C6]], stereocenters: [C1,C5] }
13
+ }
14
+ densification: {
15
+ initial_density: 200.0, # kg/m3
16
+ temperature: 300, # K
17
+ pressure: 10, # bar
18
+ nsteps: 100000
19
+ }
20
+ precure_equilibration: {
21
+ temperature: 300, # K
22
+ pressure: 1, # bar
23
+ nsteps: 50000
24
+ }
25
+ CURE: {
26
+ initial_search_radius: 0.5, # nm
27
+ radial_increment: 0.25, # nm
28
+ max_iterations: 150,
29
+ desired_conversion: 0.95,
30
+ late_threshhold: 0.85
31
+ }
32
+ drag: {
33
+ trigger_distance: 0.6, # nm
34
+ increment: 0.08, # nm
35
+ limit: 0.3, # nm
36
+ equilibration: [
37
+ { ensemble: min },
38
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
39
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
40
+ ]
41
+ }
42
+ relax: {
43
+ increment: 0.08, # nm
44
+ temperature: 600, # K
45
+ equilibration: [
46
+ { ensemble: min },
47
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
48
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
49
+ ]
50
+ }
51
+ postcure_equilibration: {
52
+ ensemble: npt,
53
+ temperature: 300, # K
54
+ pressure: 1, # bar
55
+ nsteps: 50000
56
+ }
57
+ postcure_anneal: {
58
+ ncycles: 2,
59
+ initial_temperature: 300,
60
+ cycle_segments: [
61
+ { T: 300, ps: 0 },
62
+ { T: 600, ps: 20 },
63
+ { T: 600, ps: 20 },
64
+ { T: 300, ps: 20 },
65
+ { T: 300, ps: 20 }
66
+ ]
67
+ }
68
+ postanneal_equilibration: {
69
+ temperature: 300, # K
70
+ pressure: 1, # bar
71
+ nsteps: 50000
72
+ }
73
+ reactions:
74
+ # radical on 1 attacks 2
75
+ - {
76
+ name: 'sty~c1-c2~sty',
77
+ stage: cure,
78
+ reactants: {1: STY, 2: STY},
79
+ product: STY~C1-C2~STY,
80
+ probability: 1.0,
81
+ atoms: {
82
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
83
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
84
+ },
85
+ bonds: [
86
+ {atoms: [A, B], order: 1}
87
+ ]
88
+ }
89
+ - {
90
+ name: 'gma~c1-c2~sty',
91
+ stage: cure,
92
+ reactants: {1: GMA, 2: STY},
93
+ product: GMA~C1-C2~STY,
94
+ probability: 1.0,
95
+ atoms: {
96
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
97
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
98
+ },
99
+ bonds: [
100
+ {atoms: [A, B], order: 1}
101
+ ]
102
+ }
103
+ - {
104
+ name: 'sty~c1-c3~gma',
105
+ stage: cure,
106
+ reactants: {1: STY, 2: GMA},
107
+ product: STY~C1-C3~GMA,
108
+ probability: 1.0,
109
+ atoms: {
110
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
111
+ B: {reactant: 2, resid: 1, atom: C3, z: 1}
112
+ },
113
+ bonds: [
114
+ {atoms: [A, B], order: 1}
115
+ ]
116
+ }
117
+ - {
118
+ name: 'gma~c1-c3~gma',
119
+ stage: cure,
120
+ reactants: {1: GMA, 2: GMA},
121
+ product: GMA~C1-C3~GMA,
122
+ probability: 1.0,
123
+ atoms: {
124
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
125
+ B: {reactant: 2, resid: 1, atom: C3, z: 1}
126
+ },
127
+ bonds: [
128
+ {atoms: [A, B], order: 1}
129
+ ]
130
+ }
131
+ - {
132
+ name: 'styCC',
133
+ stage: post-cure,
134
+ reactants: {1: STY},
135
+ product: STYCC,
136
+ probability: 1.0,
137
+ atoms: {
138
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
139
+ B: {reactant: 1, resid: 1, atom: C2, z: 1}
140
+ },
141
+ bonds: [
142
+ {atoms: [A, B], order: 2}
143
+ ]
144
+ }
145
+ - {
146
+ name: 'gmaCC',
147
+ stage: post-cure,
148
+ reactants: {1: GMA},
149
+ product: GMACC,
150
+ probability: 1.0,
151
+ atoms: {
152
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
153
+ B: {reactant: 1, resid: 1, atom: C3, z: 1}
154
+ },
155
+ bonds: [
156
+ {atoms: [A, B], order: 2}
157
+ ]
158
+ }
@@ -0,0 +1,158 @@
1
+ Title: GMA-STY thermoset
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ STY: {count: 150},
12
+ GMA: {count: 75, symmetry_equivalent_atoms: [[C1,C2],[C3,C4],[C5,C6]], stereocenters: [C1,C5] }
13
+ }
14
+ densification: {
15
+ initial_density: 200.0, # kg/m3
16
+ temperature: 300, # K
17
+ pressure: 10, # bar
18
+ nsteps: 100000
19
+ }
20
+ precure_equilibration: {
21
+ temperature: 300, # K
22
+ pressure: 1, # bar
23
+ nsteps: 50000
24
+ }
25
+ CURE: {
26
+ initial_search_radius: 0.5, # nm
27
+ radial_increment: 0.25, # nm
28
+ max_iterations: 150,
29
+ desired_conversion: 0.50,
30
+ late_threshhold: 0.85
31
+ }
32
+ drag: {
33
+ trigger_distance: 0.6, # nm
34
+ increment: 0.08, # nm
35
+ limit: 0.3, # nm
36
+ equilibration: [
37
+ { ensemble: min },
38
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
39
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
40
+ ]
41
+ }
42
+ relax: {
43
+ increment: 0.08, # nm
44
+ temperature: 600, # K
45
+ equilibration: [
46
+ { ensemble: min },
47
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
48
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
49
+ ]
50
+ }
51
+ postcure_equilibration: {
52
+ ensemble: npt,
53
+ temperature: 300, # K
54
+ pressure: 1, # bar
55
+ nsteps: 50000
56
+ }
57
+ postcure_anneal: {
58
+ ncycles: 2,
59
+ initial_temperature: 300,
60
+ cycle_segments: [
61
+ { T: 300, ps: 0 },
62
+ { T: 600, ps: 20 },
63
+ { T: 600, ps: 20 },
64
+ { T: 300, ps: 20 },
65
+ { T: 300, ps: 20 }
66
+ ]
67
+ }
68
+ postanneal_equilibration: {
69
+ temperature: 300, # K
70
+ pressure: 1, # bar
71
+ nsteps: 50000
72
+ }
73
+ reactions:
74
+ # radical on 1 attacks 2
75
+ - {
76
+ name: 'sty~c1-c2~sty',
77
+ stage: cure,
78
+ reactants: {1: STY, 2: STY},
79
+ product: STY~C1-C2~STY,
80
+ probability: 1.0,
81
+ atoms: {
82
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
83
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
84
+ },
85
+ bonds: [
86
+ {atoms: [A, B], order: 1}
87
+ ]
88
+ }
89
+ - {
90
+ name: 'gma~c1-c2~sty',
91
+ stage: cure,
92
+ reactants: {1: GMA, 2: STY},
93
+ product: GMA~C1-C2~STY,
94
+ probability: 1.0,
95
+ atoms: {
96
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
97
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
98
+ },
99
+ bonds: [
100
+ {atoms: [A, B], order: 1}
101
+ ]
102
+ }
103
+ - {
104
+ name: 'sty~c1-c3~gma',
105
+ stage: cure,
106
+ reactants: {1: STY, 2: GMA},
107
+ product: STY~C1-C3~GMA,
108
+ probability: 1.0,
109
+ atoms: {
110
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
111
+ B: {reactant: 2, resid: 1, atom: C3, z: 1}
112
+ },
113
+ bonds: [
114
+ {atoms: [A, B], order: 1}
115
+ ]
116
+ }
117
+ - {
118
+ name: 'gma~c1-c3~gma',
119
+ stage: cure,
120
+ reactants: {1: GMA, 2: GMA},
121
+ product: GMA~C1-C3~GMA,
122
+ probability: 1.0,
123
+ atoms: {
124
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
125
+ B: {reactant: 2, resid: 1, atom: C3, z: 1}
126
+ },
127
+ bonds: [
128
+ {atoms: [A, B], order: 1}
129
+ ]
130
+ }
131
+ - {
132
+ name: 'styCC',
133
+ stage: post-cure,
134
+ reactants: {1: STY},
135
+ product: STYCC,
136
+ probability: 1.0,
137
+ atoms: {
138
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
139
+ B: {reactant: 1, resid: 1, atom: C2, z: 1}
140
+ },
141
+ bonds: [
142
+ {atoms: [A, B], order: 2}
143
+ ]
144
+ }
145
+ - {
146
+ name: 'gmaCC',
147
+ stage: post-cure,
148
+ reactants: {1: GMA},
149
+ product: GMACC,
150
+ probability: 1.0,
151
+ atoms: {
152
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
153
+ B: {reactant: 1, resid: 1, atom: C3, z: 1}
154
+ },
155
+ bonds: [
156
+ {atoms: [A, B], order: 2}
157
+ ]
158
+ }
@@ -0,0 +1 @@
1
+ ## Example configurations for HTPolyNet
@@ -0,0 +1,23 @@
1
+ Title: liquid-styrene
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ STY: {count: 200}
12
+ }
13
+ densification: {
14
+ initial_density: 200.0, # kg/m3
15
+ temperature: 300, # K
16
+ pressure: 10, # bar
17
+ nsteps: 150000
18
+ }
19
+ precure_equilibration: {
20
+ temperature: 300, # K
21
+ pressure: 1, # bar
22
+ nsteps: 100000
23
+ }
@@ -0,0 +1,101 @@
1
+ Title: polystyrene
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ EMB: {count: 100}
12
+ }
13
+ densification: {
14
+ initial_density: 200.0, # kg/m3
15
+ temperature: 300, # K
16
+ pressure: 10, # bar
17
+ nsteps: 100000
18
+ }
19
+ precure_equilibration: {
20
+ temperature: 300, # K
21
+ pressure: 1, # bar
22
+ nsteps: 50000
23
+ }
24
+ CURE: {
25
+ initial_search_radius: 0.5, # nm
26
+ radial_increment: 0.25, # nm
27
+ max_iterations: 150,
28
+ desired_conversion: 0.99,
29
+ late_threshhold: 0.85
30
+ }
31
+ drag: {
32
+ trigger_distance: 0.6, # nm
33
+ increment: 0.08, # nm
34
+ limit: 0.3, # nm
35
+ equilibration: [
36
+ { ensemble: min },
37
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
38
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
39
+ ]
40
+ }
41
+ relax: {
42
+ increment: 0.08, # nm
43
+ temperature: 600, # K
44
+ equilibration: [
45
+ { ensemble: min },
46
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
47
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
48
+ ]
49
+ }
50
+ postcure_equilibration: {
51
+ ensemble: npt,
52
+ temperature: 300, # K
53
+ pressure: 1, # bar
54
+ nsteps: 50000
55
+ }
56
+ postcure_anneal: {
57
+ ncycles: 2,
58
+ initial_temperature: 300,
59
+ cycle_segments: [
60
+ { T: 300, ps: 0 },
61
+ { T: 600, ps: 20 },
62
+ { T: 600, ps: 20 },
63
+ { T: 300, ps: 20 },
64
+ { T: 300, ps: 20 }
65
+ ]
66
+ }
67
+ postanneal_equilibration: {
68
+ ensemble: npt,
69
+ temperature: 300, # K
70
+ pressure: 1, # bar
71
+ nsteps: 50000
72
+ }
73
+ reactions:
74
+ - {
75
+ name: 'emb1_1',
76
+ stage: cure,
77
+ reactants: {1: EMB, 2: EMB},
78
+ product: EMB1_1,
79
+ probability: 1.0,
80
+ atoms: {
81
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
82
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
83
+ },
84
+ bonds: [
85
+ {atoms: [A, B], order: 1}
86
+ ]
87
+ }
88
+ - {
89
+ name: 'embCC',
90
+ stage: post-cure,
91
+ reactants: {1: EMB},
92
+ product: EMBCC,
93
+ probability: 1.0,
94
+ atoms: {
95
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
96
+ B: {reactant: 1, resid: 1, atom: C2, z: 1}
97
+ },
98
+ bonds: [
99
+ {atoms: [A, B], order: 2}
100
+ ]
101
+ }
@@ -0,0 +1,101 @@
1
+ Title: polystyrene
2
+ gromacs: {
3
+ gmx: 'gmx',
4
+ gmx_options: '-quiet -nobackup',
5
+ mdrun: 'gmx mdrun'
6
+ }
7
+ ambertools: {
8
+ charge_method: gas
9
+ }
10
+ constituents: {
11
+ EMB: {count: 100}
12
+ }
13
+ densification: {
14
+ initial_density: 200.0, # kg/m3
15
+ temperature: 300, # K
16
+ pressure: 10, # bar
17
+ nsteps: 100000
18
+ }
19
+ precure_equilibration: {
20
+ temperature: 300, # K
21
+ pressure: 1, # bar
22
+ nsteps: 50000
23
+ }
24
+ CURE: {
25
+ initial_search_radius: 0.5, # nm
26
+ radial_increment: 0.25, # nm
27
+ max_iterations: 150,
28
+ desired_conversion: 0.50,
29
+ late_threshhold: 0.85
30
+ }
31
+ drag: {
32
+ trigger_distance: 0.6, # nm
33
+ increment: 0.08, # nm
34
+ limit: 0.3, # nm
35
+ equilibration: [
36
+ { ensemble: min },
37
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
38
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
39
+ ]
40
+ }
41
+ relax: {
42
+ increment: 0.08, # nm
43
+ temperature: 600, # K
44
+ equilibration: [
45
+ { ensemble: min },
46
+ { ensemble: nvt, temperature: 600, nsteps: 1000 },
47
+ { ensemble: npt, temperature: 600, pressure: 1, nsteps: 2000 }
48
+ ]
49
+ }
50
+ postcure_equilibration: {
51
+ ensemble: npt,
52
+ temperature: 300, # K
53
+ pressure: 1, # bar
54
+ nsteps: 50000
55
+ }
56
+ postcure_anneal: {
57
+ ncycles: 2,
58
+ initial_temperature: 300,
59
+ cycle_segments: [
60
+ { T: 300, ps: 0 },
61
+ { T: 600, ps: 20 },
62
+ { T: 600, ps: 20 },
63
+ { T: 300, ps: 20 },
64
+ { T: 300, ps: 20 }
65
+ ]
66
+ }
67
+ postanneal_equilibration: {
68
+ ensemble: npt,
69
+ temperature: 300, # K
70
+ pressure: 1, # bar
71
+ nsteps: 50000
72
+ }
73
+ reactions:
74
+ - {
75
+ name: 'emb1_1',
76
+ stage: cure,
77
+ reactants: {1: EMB, 2: EMB},
78
+ product: EMB1_1,
79
+ probability: 1.0,
80
+ atoms: {
81
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
82
+ B: {reactant: 2, resid: 1, atom: C2, z: 1}
83
+ },
84
+ bonds: [
85
+ {atoms: [A, B], order: 1}
86
+ ]
87
+ }
88
+ - {
89
+ name: 'embCC',
90
+ stage: post-cure,
91
+ reactants: {1: EMB},
92
+ product: EMBCC,
93
+ probability: 1.0,
94
+ atoms: {
95
+ A: {reactant: 1, resid: 1, atom: C1, z: 1},
96
+ B: {reactant: 1, resid: 1, atom: C2, z: 1}
97
+ },
98
+ bonds: [
99
+ {atoms: [A, B], order: 2}
100
+ ]
101
+ }