-
Notifications
You must be signed in to change notification settings - Fork 253
Expand file tree
/
Copy pathinput.py
More file actions
64 lines (58 loc) · 1.1 KB
/
input.py
File metadata and controls
64 lines (58 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Data sources
database(
thermoLibraries = ['primaryThermoLibrary', 'GRI-Mech3.0-N'],
reactionLibraries = [],
seedMechanisms = ['GRI-Mech3.0-N'],
kineticsDepositories = ['training'], # 'all', 'default'==['training'], [],
kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'],
kineticsEstimator = 'rate rules',
)
generatedSpeciesConstraints(
maximumRadicalElectrons = 4,
)
# List of species
species(
label='CH2',
reactive=True,
structure=SMILES("[CH2]"),
)
species(
label='C2H2',
reactive=True,
structure=SMILES("C#C"),
)
species(
label='N2',
reactive=False,
structure=InChI("InChI=1/N2/c1-2"),
)
# Reaction systems
simpleReactor(
temperature=(1350,'K'),
pressure=(1.0,'bar'),
initialMoleFractions={
"CH2": 0.001,
"C2H2": 0.099,
"N2": 0.9,
},
terminationConversion={
'C2H2': 0.9,
},
terminationTime=(1e12,'s'),
)
simulator(
atol=1e-16,
rtol=1e-8,
)
model(
toleranceKeepInEdge=1e-5,
toleranceMoveToCore=0.01,
toleranceInterruptSimulation=0.1,
maximumEdgeSpecies=9999999
)
options(
units='si',
saveRestartPeriod=None,
drawMolecules=False,
generatePlots=False,
)