Help3. How to add a new Molecule or an Atom3.1 How to create *.csv file with cross-sections3.2 Conversion of a file with cross-sections to a MySQL table 3.3 Changing settings of Web-EEDF |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
You will maybe come to a point, when you will want to calculate EEDF for a molecule, which I did not included in this version
of Web-EEDF. You can wait for a new version, where I will maybe add a few more species, or you can do it yourself. The whole
procedure of adding a new species consist from three steps:
1. creation of a *.csv file with set of cross-sections 3.1 How to create *.csv file with cross-sectionsIf you open a file 'co2.csv' (directory '/cross-sections') in a text editor, you'd see, that it has a special form. There are values separated by comma (therefore I have used extension csv). If you open it in a spreadsheet editor (e. g. OpenOffice.org Calc or Microsoft Excel), it will look like a table, where each line of this file will be displayed in a new row and commas will separate them into columns. So, it is not difficult to write such a file, you can even write it an a 'Notepad' (Windows) or in 'vi' (linux). But you must follow criteria discribed in this subsection. However, it is much better to do it in any spreadsheet editor and finally to save it as a *.csv file. First row - here are names of future columns of the MySQL table, they must have following order and values (with explanation in brackets):
But because this file will be converted to MySLQ table, better use short names with no special characters. If you are not sure which cross-sections to use for which molecule, I reccommend you to read following paper [Sak02]. If you want to know more about cross-sections I use for nitrogen, water, carbon dioxide and oxygen, read chapter Theoretical Background. Second row - this row contains values of energy loss of electron after each collision of a given kind. So, if you have there
for example a process named qv1, which represents vibrational excitation by electron impact from vibrational level 0 to level 1
and difference of energy of these two levels is 0.35 eV, the value in this second row, below qv1 must be 0.35.
energia, qm, qv1, qv2, qe1, qa, qe2, qi, qt Other rows - there are values of cross-sections for given energies in the rest of this document. The energy starts at 0 eV and the last value is 100 eV. But the problem is, that values of cross-sections for different processes are usually defined for different energies. So, a table you would get will look something like this:
So, in the next step, it is necessary, to fill in empty fields. I use linera interpolation for this purpose. After this operation, this table will look like this:
Now, you have to calculate qt as a sum of all previous cross-sections and save it as a *.csv file. Let's call it 'ch4.csv' in this tutorial. Finally, if you check it in a text editor (or viewer) it should look like this:
energia, qm, qv1, qv2, qe1, qa, qe2, qi, qt 3.2 Conversion of a file with cross-sections to a MySQL tableSo, first of all, you must save your file 'ch4.csv' to the directory '/cross-sections' in your Web-EEDF. Now, open Web-EEDf in your web-browser and click on the link 'Data Conversions'. Go to the bottom of the form, choose job type 'create new table storing cross-sections', choose file storing cross-sections ant input there the name of MySQL table you want to create (for example 'ch4'). Befor you submit it, it sholud look like this:![]() If your input file 'ch4.csv' satisfy criteria mentioned in previous subsection and there is no other error, you have now created
table 'ch4' with cross-sections. But if you want to add it to the input form for data necessary for the calcualtion of EEDF, you
must also change your settings.
3.3 Changing settings of Web-EEDFAfter you have succesfully created new table with cross-sections in your MySQL database, you must must add information about this new table and new molecule (or atom) to the file 'settings'. You can do it manually, or you can use script 'Preferences'. You must change three parameters. First, increase the 'number of included molecules'. Then, add the name of created MySQL table to the parameter, which represents a list of all included molecules. Finally, you must also add mass of this molecule to the last parameter, storing masses of all included molecules. For explanation, see chapter 2.4 How to change settings of Web-EEDF or following figure:![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|