Skip to content

Commit 367c17f

Browse files
davidfarinajrrwest
authored andcommitted
added rmg halogens example of 2btp/CF3Br in CH4 flames
1 parent af89bfc commit 367c17f

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Example input file for 2-BTP/CF3Br in methane flames
2+
3+
database(
4+
thermoLibraries = ['primaryThermoLibrary', 'DFT_QCI_thermo', 'thermo_DFT_CCSDTF12_BAC',
5+
'halogens', 'CHOBr_G4','CHOF_G4','CHOFBr_G4', '2-BTP', '2-BTP_G4', 'Fluorine',
6+
'CBS_QB3_1dHR','NISTThermoLibrary','JetSurF2.0'],
7+
#reactionLibraries = ['2-BTP/seed'], #optional: use NISTs 2-BTP kinetics library as seed or reaction library
8+
reactionLibraries = [],
9+
seedMechanisms = ['FFCM1(-)'], #optional: use FFCM1(-) kinetics library as seed for methane combustion
10+
kineticsDepositories = ['training'],
11+
kineticsFamilies = ['default','halogens'], # load both the `default` and `halogens` recommended kinetics families
12+
kineticsEstimator = 'rate rules',
13+
)
14+
15+
species(
16+
label = "2-BTP",
17+
reactive = True,
18+
structure = SMILES("FC(F)(F)C(Br)=C")
19+
)
20+
21+
species(
22+
label = "CF3Br",
23+
reactive = True,
24+
structure = SMILES("FC(F)(F)Br")
25+
)
26+
27+
species(
28+
label = 'CH4',
29+
reactive = True,
30+
structure = SMILES('C')
31+
)
32+
33+
species(
34+
label = "O2",
35+
reactive = True,
36+
structure = adjacencyList(
37+
"""
38+
multiplicity 3
39+
1 O u1 p2 c0 {2,S}
40+
2 O u1 p2 c0 {1,S}
41+
"""
42+
))
43+
44+
species(
45+
label = "N2",
46+
reactive = False,
47+
structure = adjacencyList(
48+
"""
49+
1 N u0 p1 c0 {2,T}
50+
2 N u0 p1 c0 {1,T}
51+
"""
52+
))
53+
54+
# reactor for 2-BTP in methane flame
55+
simpleReactor(
56+
temperature=[(1000,'K'),(2200,'K')],
57+
pressure=(1.0,'bar'),
58+
nSims=24,
59+
initialMoleFractions={
60+
"2-BTP": [0.0,0.04],
61+
"CH4" : [0.05,0.15],
62+
"O2": 0.21,
63+
"N2": 0.78,
64+
},
65+
terminationConversion={
66+
'CH4': 0.99,
67+
},
68+
terminationTime=(1,'s'),
69+
)
70+
71+
# pressue dependence is not yet implemented for halogen chemistry
72+
# pressureDependence(
73+
# method='modified strong collision',
74+
# maximumGrainSize=(0.5,'kcal/mol'),
75+
# minimumNumberOfGrains=250,
76+
# temperatures=(300,2200,'K',8),
77+
# pressures=(0.01,100,'bar',5),
78+
# interpolation=('Chebyshev', 6, 4),
79+
# )
80+
81+
82+
simulator(
83+
atol = 1e-16,
84+
rtol = 1e-08,
85+
sens_atol = 1e-06,
86+
sens_rtol = 0.0001,
87+
)
88+
89+
model(
90+
toleranceMoveToCore = 0.25,
91+
toleranceInterruptSimulation = 1,
92+
maximumEdgeSpecies = 5e5,
93+
filterReactions = True,
94+
filterThreshold = 5e8,
95+
minCoreSizeForPrune=400,
96+
minSpeciesExistIterationsForPrune=4,
97+
)
98+
99+
100+
# model(
101+
# toleranceMoveToCore=1,
102+
# toleranceInterruptSimulation=1e8,
103+
# toleranceKeepInEdge=0.05,
104+
# maximumEdgeSpecies=200000,
105+
# minCoreSizeForPrune=50,
106+
# minSpeciesExistIterationsForPrune=2,
107+
# filterReactions = True,
108+
# filterThreshold=5e8
109+
# )
110+
111+
generatedSpeciesConstraints(
112+
allowed=['input species','seed mechanisms','reaction libraries'],
113+
maximumCarbonAtoms=12,
114+
maximumOxygenAtoms=6,
115+
# maximumHeavyAtoms=24,
116+
maximumRadicalElectrons=2,
117+
maximumSingletCarbenes=1,
118+
maximumCarbeneRadicals=0,
119+
allowSingletO2 = False,
120+
)
121+
122+
options(
123+
units = "si",
124+
saveRestartPeriod = None,
125+
generateOutputHTML = True,
126+
generatePlots = False,
127+
saveSimulationProfiles = True,
128+
saveEdgeSpecies = False,
129+
keepIrreversible = True,
130+
verboseComments = False,
131+
)

0 commit comments

Comments
 (0)