BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / OpenFOAM / global / constants / physicoChemical / physicoChemicalConstants.C
blob8cf5cfdb6f9fe14bcfbaeb9605190cf662011d0a
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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.
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.
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/>.
24 \*---------------------------------------------------------------------------*/
26 #include "mathematicalConstants.H"
27 #include "universalConstants.H"
28 #include "electromagneticConstants.H"
29 #include "physicoChemicalConstants.H"
31 #include "dimensionedConstants.H"
33 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
35 const char* const Foam::constant::physicoChemical::group = "physicoChemical";
38 const Foam::dimensionedScalar Foam::constant::physicoChemical::R
40     dimensionedConstant
41     (
42         group,
43         "R",
44         dimensionedScalar
45         (
46             "R",
47             NA*k
48         )
49     )
53 const Foam::dimensionedScalar Foam::constant::physicoChemical::F
55     dimensionedConstant
56     (
57         group,
58         "F",
59         dimensionedScalar
60         (
61             "F",
62             NA*constant::electromagnetic::e
63         )
64     )
68 const Foam::dimensionedScalar Foam::constant::physicoChemical::sigma
70     dimensionedConstant
71     (
72         group,
73         "sigma",
74         dimensionedScalar
75         (
76             "sigma",
77             dimensionedScalar
78             (
79                 "C",
80                 dimless,
81                 sqr(constant::mathematical::pi)/60.0
82             )
83            *pow4(k)/(pow3(constant::universal::hr)*sqr(constant::universal::c))
84         )
85     )
89 const Foam::dimensionedScalar Foam::constant::physicoChemical::b
91     dimensionedConstant
92     (
93         group,
94         "b",
95         dimensionedScalar
96         (
97             "b",
98             (constant::universal::h*constant::universal::c/k)
99            /dimensionedScalar("C", dimless, 4.965114231)
100         )
101     )
105 const Foam::dimensionedScalar Foam::constant::physicoChemical::c1
107     dimensionedConstant
108     (
109         group,
110         "c1",
111         dimensionedScalar
112         (
113             "c1",
114             dimensionedScalar("C", dimless, constant::mathematical::twoPi)
115            *constant::universal::h*sqr(constant::universal::c)
116         )
117     )
121 const Foam::dimensionedScalar Foam::constant::physicoChemical::c2
123     dimensionedConstant
124     (
125         group,
126         "c2",
127         dimensionedScalar
128         (
129             "c2",
130             constant::universal::h*constant::universal::c/k
131         )
132     )
136 // ************************************************************************* //