Help2. Using Web-EEDF2.1 Calculation of EEDF2.2 Additional analysis of calculated EEDF 2.3 Another possibilities 2.3 How to change settings of Web-EEDF |
|||||
Here you can learn how to work with scripts included in the 'Web-EEDF'. There is an example of a calculation in the first subsection
(2.1) and example of additional analysis of calculated EEDF in the subsection 2.2. In the third part of this chapter, you can find out,
how to use another features of 'Web-EEDF'. And finally, in the subsection 2.4, you can learn how to change settings of Web-EEDF.
2.1 Calculation of EEDFFirst of all, you must open 'Web-EEDF' in your browser (why not to make a bookmark?). Then, you must go to the form for input data. You will get there, if you click on the link 'Calculation' in the menu on the left side. Now, you must fill in this input form. What do you actually have to fill in: Name of the table for data storage (= JOB NAME) - this is a name of job you want to run. At the beginning of the calculation Web-EEDF creates table in your MySQL database with this name. Output files have also names derived from this 'name of the job'. If a table with the name you write here already exists in your database, the calculation will not start and you will have to change the name of your job. This name cannot contain empty spaces and you can use any character that is allowed in a filenames, except '.', '\', and '/'.
Composition of treated gas - concentration of each molecule is given in volume %. Together, it must be exactly 100 %. You can use various formats of numbers, e.g. 85.25 or 1E2. Gas Temperature - this value is used only to calculate concentration of particles (n [cm-3]) in treated gas and distance between these particles. These values are important in the algorithm used to calculate EEDF. However, EEDF itself does not depend directly on the temperature, since the effect of higher population of higher rotational and/or vibrational states on EEDF is not included in this version of Web-EEDF. Thus, EEDF depends only on the composition of gas and reduced electric field strength, which is equal to E/n (where E is the intensity of electric field). Initial Temperature of Electrons - the energy of the test electron at the beginnig of the calculation is randomly choosen from Boltzmann-Maxwell distribution with average temperature given by this parameter. In reality, this initial energy is not very significant in case of long simulations, since the test electron forgets its intitial after several collisions. Pressure - similar to the temperature, this value is used only to calculate concentration of treated gas and distance between molecules and it influences the EEDF only indirectly through the reduced filed strength. Number of cycles - this must be an integer between 1 and 108, but it is almost useless to perform calculation with number of cycles lower than a few hundered thousands. Electric Field - you can choose between two different units, Td and kV/cm. In case you choose Td, it means that value you write there represents directly reduced electric field strength (1 Td = 10-17 V.cm2). In case you choose kV/cm, reduced field strength will be calculated from the value of electric field you write here and from concentration of particles, derived from the temperature and total pressure. The reduced field strength in Web-EEDF must be in the range from 10 to 400 Td. File with the division of energy to intervals - during the calculation of EEDF, the energy of the electron in each cycle is not stored, instead of this, Web-EEDF only stores the number of occurance of electron in given energy intervals (histogram). This file defines, how is the the energy scale from 0 to 100 eV divided into smaller intervals. Five different files are already included in Web-EEDF, and they are stored in directory '/intervals'. You can easily create your own files with the division of energy to intervals and save them to this directory. Degree of ionization - you must perform your first calculation with zero degree of ionization. Because in case the degree of ionization is higher than 0,
e-e interaction is included in the algorithm. This mean, that test electron can interact with background
electrons. The energy of backgroun electron, which interacts with test electron, is choosen randomly,
from previously calculated EEDF. A source of EEDF of background electrons - as I have already written, you must choose one only if you calculate with non-zero degree of ionization. Now, imagine that you want to calculate EEDF in synthetic dry air (80% N2 and 20% O2) at atmospheric pressure, temperature 293 K and reduced electric field strength 100 Td.
Let's say that we will call this job 'dry_air_100Td'. The degree of ionization will be equal to zero, we will use file 'normal.txt' for the division of energy to intervals.
![]() You can click on the 'OK' button now. If everything OK, you should see something like this:
![]()
But if you made something wrong, this script will inform you about this error and it will prompt you to go back to input form and to correct it (try it).
But if everything is OK, the calculation can start. You just have to click OK again. Now, you just have to wait, till it finishes. During this time, you will see something like this:
![]() As you can see, it informs you, how long will at approximatelly take to finish the simulation. The first output on the screen comes after 100000 cycles, then it will print this information as frequently as it is defined in your settings by parameter 'Number of cycles between two data storage into database'. Default value of this parameter is 250000. We will learn later, how to change it (Section 2.4). At the end, the script will write you calculated mean electron energy, drift velocity, mean time between collisions, collisional frequency, reduced mobility of electrons, rate coefficients of all processes included in the calculation and also the energy branching between these processes. The electron drift velocity and mean time between two collisions are calculated directly during simulation. And of course, the electron mobility and collisional frequency are derived directly from these values. Other parameters, electron mean energy, mean free path and rate coefficients are calculated at the end of the simulation from obtained EEDF. Besides the MySQL table with the name of your job (in this example it is dry_air_100Td), this script generates two output files (click on them to view them in a separate window): dry_air_100Td.csv
- here the normalized EEDF is stored
They are saved in directory '/results'. This *.csv file can be viewed for example by OpenOffice.org Calc or Microsoft Excel. 2.2 Additional Analysis of calculated EEDFIf you want to get more out of the EEDF you have just calculated, you can use script 'Analysis' for this purpose. At the beginning, you must choose at least one thing you want to calculate from the next list:
1. electron mean energy
All these parameters are calculated from the EEDF, which you must choose in the next step. You have two sources of EEDFs in disposition. You can choose between EEDFs stored in MySQL tables or in '*.csv' files. But of course, results are identical. You can for example use MySQL table 'dry_air_100Td' or file 'dry_air_100Td.csv' (both were created during the calculation described in previous subsection). No more information is required, if you want to calculate only electron mean energy from this EEDF. These data are also necessary to calculate energy branching and rate constants of processes, which were involved in the calculation of given EEDF. Cross-sections of these processes are taken from MySQL tables, of course. More about these processes is written in the section Theoretical Background. But you can also calculate rate constant of a single process. For this purpose, this script also needs to know cross-sections of this process. And you have two possibilities here. You can select a molecule and one of those processes, which are included in MySQL table. But you can also have cross-sections of a another process, which is not involved during the calculation of EEDF. These cross-sections must be saved in a file *.csv in directory '/cross-sections'. If you want to know, how this file should look like, click on the file 'n2_dis.csv'. This file contains cross-sections for dissociation of nitrogen (sum of all processes, which lead to its dissociation). As for example, I will return to the calcualtion we have made in previous section. We have calculated EEDF for dry air and reduced electric field strength 100 Td. We have named this job 'dry_air_100Td'. Le's say that we will use all possibilities this script (Analysis) offers us. So,
we choose all jobs, we will use file 'dry_air_100Td.csv' as the source of EEDF, the file 'dry_air_100Td_data.txt' as the source of other necessary information (such as composition of the gas, electric field strength...), we will also calculate rate constant of nitrogen dissation from the cross-sections stored in the file 'n2_dis.csv', and we will save all calculated data to the file 'dry_air_100Td.dat'. Now, shortly before submiting, this form for the analysis of EEDF should look like this:
![]() The output will emerge on the display in a few seconds. The same data will be saved in file 'dry_air_100Td.dat' (click on it to view it). 2.3 Another possibilitiesThis subsection describes another scripts included in Web-EEDF.
View Results
WizMySQLAdmin
Data Conversions ![]()
Pressure of water vapor
Options 2.4 How to change settings of Web-EEDFThere are two possibilities how to change settings of Web-EEDF. First, you can directly edit a file 'setting', which you can find in the directory '/scripts'. Or you can use a script 'Preferences' which I have made for this purpose. After you click on it, you should see something like this:![]() Here is the explanation of individual parameters: Name of your MySQL host: this is the name of your MySQL server, if you have installed it directly on your PC, its name is 'localhost'. Name of your MySQL database: I think that this does not need to be explained. Your MySQL user name: I think that this does not need to be explained either. Your MySQL password: Please remember, that you cannot change your password to your MySQL database by this script. Number of cycles between two data storage into database:This number decides, how frequently Web-EEDF updates information about counts of occurances of the test electron in given energy intervals during the calculation. I have decided for this saving of preliminary electron energy distribution function into MySQL table for the safety reason. So, if anything happens during the simulation, e. g. you accidentaly close your browser, electron distribution function remains stored in MySQL database. Besides, preliminary values of electron mean energy. drift velocity, and collisional frequency are also stored after n cycles, where n is the value of this paramater. But they are not stored in MySQL table, but in the file 'name_of_the_job_data.txt'. Click on this file 'dry_air_100Td_data.txt' to see an example.
Number of included molecules: this number stores the information how many sets of cross-sections did you save into your MySQL database. There are four sets of cross-sections in the directory '/cross-sections' saved in files n2.csv, co2.csv, o2.csv and h2o.csv. So, as you can guess, they contain electron collision cross-sections for molecules of nitrogen, carbon dioxide, oxygen and water respectively. And If you have choosen them all during the installation of the Web-EEDF, you should have four MySQL tables with cross-sections, so the value of this parameter should be 4. However, you can change it to 3, or two, if you want to allow to calculate EEDFs for only two or three of these molecules. But then, you must also change next two parameters then. List of these molecules, resp. MySQL tables with their cross-sections:
Here is the list of MySQL tables storing cross-sections of those molecules, which you want to include in your calculations of EEDF. For example, if you did not change names of MySQL tables with cross-sections during the installation, this paramater has value: 'co2, o2, n2, h2o'. Masses of these molecules in atomic units: You must set this parameter according to the previous one. So, if for example you have only two tables with cross-sections and their names are 'N_2' and 'CO_2, the value of previous parameter could be 'N_2, CO_2' or 'CO_2, N_2' and the value of this parameter would have to be '28, 44' or '44, 28' respectively. |
|||||
|