FreeFOAM The Cross-Platform CFD Toolkit
atomicWeights.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include <specie/atomicWeights.H>
27 
28 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
29 
31 Foam::atomicWeightTable::atomicWeights[atomicWeightTable::nElements] =
32 {
33  {"E", 0},
34  {"H", 1.00797},
35  {"He", 4.00260},
36  {"Li", 6.93900},
37  {"Be", 9.01220},
38  {"B", 10.81100},
39  {"C", 12.01115},
40  {"N", 14.00670},
41  {"O", 15.99940},
42  {"F", 18.99840},
43  {"Ne", 20.18300},
44  {"Na", 22.98980},
45  {"Mg", 24.31200},
46  {"Al", 26.98150},
47  {"Si", 28.08600},
48  {"P", 30.97380},
49  {"S", 32.06400},
50  {"Cl", 35.45300},
51  {"Ar", 39.94800},
52  {"K", 39.10200},
53  {"Ca", 40.08000},
54  {"Sc", 44.95600},
55  {"Ti", 47.90000},
56  {"V", 50.94200},
57  {"Cr", 51.99600},
58  {"Mn", 54.93800},
59  {"Fe", 55.84700},
60  {"Co", 58.93320},
61  {"Ni", 58.71000},
62  {"Cu", 63.54000},
63  {"Zn", 65.37000},
64  {"Ga", 69.72000},
65  {"Ge", 72.59000},
66  {"As", 74.92160},
67  {"Se", 78.96000},
68  {"Br", 79.90090},
69  {"Kr", 83.80000},
70  {"Rb", 85.47000},
71  {"Sr", 87.62000},
72  {"Y", 88.90500},
73  {"Zr", 91.22000},
74  {"Nb", 92.90600},
75  {"Mo", 95.94000},
76  {"Tc", 99.00000},
77  {"Ru", 101.07000},
78  {"Rh", 102.90500},
79  {"Pd", 106.40000},
80  {"Ag", 107.87000},
81  {"Cd", 112.40000},
82  {"In", 114.82000},
83  {"Sn", 118.69000},
84  {"Sb", 121.75000},
85  {"Te", 127.60000},
86  {"I", 126.90440},
87  {"Xe", 131.30000},
88  {"Cs", 132.90500},
89  {"Ba", 137.34000},
90  {"La", 138.91000},
91  {"Ce", 140.12000},
92  {"Pr", 140.90700},
93  {"Nd", 144.24000},
94  {"Pm", 145.00000},
95  {"Sm", 150.35000},
96  {"Eu", 151.96000},
97  {"Gd", 157.25000},
98  {"Tb", 158.92400},
99  {"Dy", 162.50000},
100  {"Ho", 164.93000},
101  {"Er", 167.26000},
102  {"Tm", 168.93400},
103  {"Yb", 173.04000},
104  {"Lu", 174.99700},
105  {"Hf", 178.49000},
106  {"Ta", 180.94800},
107  {"W", 183.85000},
108  {"Re", 186.20000},
109  {"Os", 190.20000},
110  {"Ir", 192.20000},
111  {"Pt", 195.09000},
112  {"Au", 196.96700},
113  {"Hg", 200.59000},
114  {"Tl", 204.37000},
115  {"Pb", 207.19000},
116  {"Bi", 208.98000},
117  {"Po", 210.00000},
118  {"At", 210.00000},
119  {"Rn", 222.00000},
120  {"Fr", 223.00000},
121  {"Ra", 226.00000},
122  {"Ac", 227.00000},
123  {"Th", 232.03800},
124  {"Pa", 231.00000},
125  {"U", 238.03000},
126  {"Np", 237.00000},
127  {"Pu", 242.00000},
128  {"Am", 243.00000},
129  {"Cm", 247.00000},
130  {"Bk", 249.00000},
131  {"Cf", 251.00000},
132  {"Es", 254.00000},
133  {"Fm", 253.00000},
134  {"D", 2.01410},
135  {"e", 5.45e-4}
136 };
137 
138 
139 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
140 
142 {
143  for (int i=0; i<nElements; i++)
144  {
145  insert(word(atomicWeights[i].name), atomicWeights[i].weight);
146  }
147 }
148 
149 
150 // * * * * * * * * * * * * * * * * Global data * * * * * * * * * * * * * * //
151 
153 
154 
155 // ************************ vim: set sw=4 sts=4 et: ************************ //