Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit ef56821

Browse files
committed
add pdd example using fully automated afm
1 parent 48c9fbf commit ef56821

File tree

2 files changed

+126
-0
lines changed

2 files changed

+126
-0
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
database(
2+
thermoLibraries = ['primaryThermoLibrary', 'SulfurLibrary','DFT_QCI_thermo'],
3+
reactionLibraries = [],
4+
seedMechanisms = [],
5+
kineticsDepositories = 'default',
6+
kineticsFamilies = ['H_Abstraction','R_Addition_MultipleBond','R_Recombination',
7+
'Disproportionation'],
8+
kineticsEstimator = 'rate rules',
9+
)
10+
11+
generatedSpeciesConstraints(
12+
maximumRadicalElectrons = 1,
13+
)
14+
15+
species(
16+
label='arccccr',
17+
reactive=True,
18+
structure=fragment_adj("""1 C u0 p0 c0 {2,S} {3,S} {11,S} {12,S}
19+
2 C u0 p0 c0 {1,S} {4,S} {13,S} {14,S}
20+
3 C u0 p0 c0 {1,S} {5,S} {15,S} {16,S}
21+
4 C u0 p0 c0 {2,S} {17,S} {18,S} {19,S}
22+
5 C u0 p0 c0 {3,S} {6,S} {7,D}
23+
6 C u0 p0 c0 {5,S} {8,D} {20,S}
24+
7 C u0 p0 c0 {5,D} {10,S} {24,S}
25+
8 C u0 p0 c0 {6,D} {9,S} {21,S}
26+
9 C u0 p0 c0 {8,S} {10,D} {22,S}
27+
10 C u0 p0 c0 {7,S} {9,D} {23,S}
28+
11 H u0 p0 c0 {1,S}
29+
12 H u0 p0 c0 {1,S}
30+
13 H u0 p0 c0 {2,S}
31+
14 H u0 p0 c0 {2,S}
32+
15 H u0 p0 c0 {3,S}
33+
16 H u0 p0 c0 {3,S}
34+
17 R u0 p0 c0 {4,S}
35+
18 H u0 p0 c0 {4,S}
36+
19 H u0 p0 c0 {4,S}
37+
20 H u0 p0 c0 {6,S}
38+
21 H u0 p0 c0 {8,S}
39+
22 H u0 p0 c0 {9,S}
40+
23 H u0 p0 c0 {10,S}
41+
24 H u0 p0 c0 {7,S}
42+
"""),
43+
)
44+
45+
species(
46+
label='rccccr',
47+
reactive=True,
48+
structure=fragment_adj("""1 C u0 p0 c0 {2,S} {3,S} {5,S} {6,S}
49+
2 C u0 p0 c0 {1,S} {4,S} {7,S} {8,S}
50+
3 C u0 p0 c0 {1,S} {9,S} {11,S} {12,S}
51+
4 C u0 p0 c0 {2,S} {10,S} {13,S} {14,S}
52+
5 H u0 p0 c0 {1,S}
53+
6 H u0 p0 c0 {1,S}
54+
7 H u0 p0 c0 {2,S}
55+
8 H u0 p0 c0 {2,S}
56+
9 R u0 p0 c0 {3,S}
57+
10 R u0 p0 c0 {4,S}
58+
11 H u0 p0 c0 {3,S}
59+
12 H u0 p0 c0 {3,S}
60+
13 H u0 p0 c0 {4,S}
61+
14 H u0 p0 c0 {4,S}
62+
"""),
63+
)
64+
65+
species(
66+
label='rcccc',
67+
reactive=True,
68+
structure=fragment_adj("""1 C u0 p0 c0 {2,S} {3,S} {5,S} {6,S}
69+
2 C u0 p0 c0 {1,S} {4,S} {7,S} {8,S}
70+
3 C u0 p0 c0 {1,S} {10,S} {11,S} {12,S}
71+
4 C u0 p0 c0 {2,S} {9,S} {13,S} {14,S}
72+
5 H u0 p0 c0 {1,S}
73+
6 H u0 p0 c0 {1,S}
74+
7 H u0 p0 c0 {2,S}
75+
8 H u0 p0 c0 {2,S}
76+
9 R u0 p0 c0 {4,S}
77+
10 H u0 p0 c0 {3,S}
78+
11 H u0 p0 c0 {3,S}
79+
12 H u0 p0 c0 {3,S}
80+
13 H u0 p0 c0 {4,S}
81+
14 H u0 p0 c0 {4,S}
82+
"""),
83+
)
84+
85+
86+
simpleReactor(
87+
temperature = (623,"K"), # 350 C
88+
pressure = (1050,"bar"),
89+
initialMoleFractions={
90+
"arccccr": 1,
91+
"rccccr": 1,
92+
"rcccc": 1
93+
},
94+
terminationTime = (1000,"h"),
95+
terminationConversion = {
96+
"arccccr": 0.6,
97+
},
98+
)
99+
100+
simulator(
101+
atol = 1e-16,
102+
rtol = 1e-08,
103+
sens_atol = 1e-06,
104+
sens_rtol = 0.0001,
105+
)
106+
107+
model(
108+
toleranceKeepInEdge = 0.05,
109+
toleranceMoveToCore = 0.2,
110+
toleranceInterruptSimulation = 1000000000,
111+
filterReactions=True,
112+
)
113+
114+
options(
115+
units = "si",
116+
saveRestartPeriod = None,
117+
generateOutputHTML = True,
118+
generatePlots = False,
119+
saveSimulationProfiles = False,
120+
saveEdgeSpecies = True,
121+
verboseComments = False,
122+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
source activate afm_env
3+
rmg.py input.py
4+
source deactivate

0 commit comments

Comments
 (0)