Streamer fluid modeling - An overview of ARCoS  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
kinetic_example.cfg
Go to the documentation of this file.
1 filename="kinetic_example.cfg";
2 
3 #########################
4 ## Species definitions ##
5 #########################
6 
7 species = (
8  {
9  name="o2";
10  mass=0.0;
11  charge=0.0;
12  },
13  {
14  name="n2";
15  mass=0.0;
16  charge=0.0;
17  },
18  {
19  ## This is the generic neutral species used for compound reactions that take ##
20  ## any neutral as input. Make sure to set its density as the sum of the ##
21  ## densities of all actual neutral species in the seed section ##
22  name="neutral";
23  mass=0.0;
24  charge=0.0;
25  },
26  {
27  name="electrons";
28  mass=1.0;
29  charge=-1.0;
30  },
31  {
32  ## We don't distinguish between different positive ions, so one ##
33  ## generic ion, X+, is used ##
34  name="xplus";
35  mass=0.0;
36  charge=1.0;
37  },
38  {
39  name="o2minus";
40  mass=0.0;
41  charge=-1.0;
42  },
43  {
44  name="ominus";
45  mass=0.0;
46  charge=-1.0;
47  },
48  ## These dummy species are used for the photo-ionization code. ##
49  ## D+ represents N2+, D- is just to preserve the charge-balance. ##
50  {
51  name="dummyminus";
52  mass=0.0;
53  charge=-1.0;
54  },
55  {
56  name="dummyplus";
57  mass=0.0;
58  charge=1.0;
59  }
60  );
61 
62 ######################
63 ## Seed definitions ##
64 ######################
65 
66 seed = (
67  {
68  species="electrons";
69  type="gaussian";
70  value=1.0e6;
71  x0=0.;
72  y0=0.;
73  z0=13044.;
74  sigma_x=32.0;
75  sigma_y=32.0;
76  sigma_z=32.0;
77  },
78  {
79  species="xplus";
80  type="gaussian";
81  value=1.0e6;
82  x0=0.;
83  y0=0.;
84  z0=13044.;
85  sigma_x=32.0;
86  sigma_y=32.0;
87  sigma_z=32.0;
88  },
89  {
90  species="xplus";
91  type="constant";
92  value=0.0e-8;
93  },
94  {
95  species="o2minus";
96  type="constant";
97  value=0.0e-8;
98  },
99  {
100  species="n2";
101  type="constant";
102  value=4.16e4;
103  },
104  {
105  species="o2";
106  type="constant";
107  value=1.04e4;
108  },
109  {
110  species="dummyminus";
111  type="constant";
112  value=0.0;
113  },
114  {
115  species="dummyplus";
116  type="constant";
117  value=0.0;
118  },
119  {
120  ## The value for this seed should be the sum of the values for all ##
121  ## normal neutral seeds. ##
122  species="neutral";
123  type="constant";
124  value=5.2e4;
125  }
126  );
127  ##########################
128  ## Reaction definitions ##
129  ##########################
130 
131  ## Impact ionization of N2: e + N2 -> 2 e + X+ + D+ + D- ##
132  ## Since the rate of N2-impact-ionization is a source-term for the ##
133  ## photoionization-equation, we use the dummy species to track this ##
134  ## reaction ##
135 
137  {
138  nin=2;
139  nout=5;
140  specin0="n2";
141  specin1="electrons";
142  specout0="electrons";
143  specout1="electrons";
144  specout2="xplus";
145  specout3="dummyminus";
146  specout4="dummyplus";
147  reacttable="input/n2ion.reaction";
148  },
149  {
150  ## Impact ionization of O2: e + O2 -> 2 e + X+ ##
151  nin=2;
152  nout=3;
153  specin0="o2";
154  specin1="electrons";
155  specout0="electrons";
156  specout1="electrons";
157  specout2="xplus";
158  reacttable="input/o2ion.reaction";
159  },
160  {
161  ## Attachment to O2: e + O2 -> O- + neutral ##
162  nin=2;
163  nout=2;
164  specin0="o2";
165  specin1="electrons";
166  specout0="o2";
167  specout1="neutral";
168  reacttable="input/o2attach2.reaction";
169  },
170  {
171  ## Attachment to O2: e + O2 + O2 -> O2- + O2 ##
172  nin=3;
173  nout=2;
174  specin0="o2";
175  specin1="o2";
176  specin2="electrons";
177  specout0="o2";
178  specout1="o2minus";
179  reacttable="input/o2attach3.reaction";
180  },
181  {
182  ## Attachment to O2: e + O2 + N2 -> O2- + N2 ##
183  nin=3;
184  nout=2;
185  specin0="o2";
186  specin1="n2";
187  specin2="electrons";
188  specout0="o2minus";
189  specout1="n2";
190  reacttable="input/n2o2attach.reaction";
191  },
192  {
193  ## Detachment from O2-: O2- + O2 -> e + 2 O2 ##
194  nin=2;
195  nout=3;
196  specin0="o2";
197  specin1="o2minus";
198  specout0="o2";
199  specout1="o2";
200  specout2="electrons";
201  reacttable="input/o2detach.reaction";
202  },
203  {
204  ## Detachment from O2-: O2- + N2 -> e + O2 + N2 ##
205  nin=2;
206  nout=3;
207  specin0="n2";
208  specin1="o2minus";
209  specout0="n2";
210  specout1="electrons";
211  specout2="o2";
212  reacttable="input/o2n2detach.reaction";
213  },
214  {
215  ## Electron/ion recombination: e + X+ -> X ##
216  nin=2;
217  nout=1;
218  specin0="xplus";
219  specin1="electrons";
220  specout0="neutral";
221  reacttable="input/elecionrecomb.reaction";
222  },
223  {
224  ## Ion/ion recombination: O- + X+ -> X ##
225  nin=2;
226  nout=1;
227  specin0="xplus";
228  specin1="ominus";
229  specout0="neutral";
230  reacttable="input/ominusrecomb.reaction";
231  },
232  {
233  ## Ion/ion recombination: O- + X+ + X -> 2 X + O ##
234  nin=3;
235  nout=3;
236  specin0="xplus";
237  specin1="ominus";
238  specin2="neutral";
239  specout0="neutral";
240  specout1="neutral";
241  specout2="neutral";
242  reacttable="input/ominusneutralrecomb.reaction";
243  },
244  {
245  ## Ion/ion recombination: O2- + X+ -> O2 + X ##
246  nin=2;
247  nout=2;
248  specin0="xplus";
249  specin1="o2minus";
250  specout0="o2";
251  specout1="neutral";
252  reacttable="input/o2minusrecomb.reaction";
253  },
254  {
255  ## Ion/ion recombination: O2- + X+ + X -> O2 + X + X ##
256  nin=3;
257  nout=3;
258  specin0="xplus";
259  specin1="o2minus";
260  specin2="xplus";
261  specout0="o2";
262  specout1="neutral";
263  specout2="neutral";
264  reacttable="input/o2minusneutralrecomb.reaction";
265  }
266  );