physicoChemicalConstants.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2013 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
28 #include "mathematicalConstants.H"
29 #include "universalConstants.H"
32 
33 #include "dimensionedConstants.H"
34 
35 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36 
37 namespace Foam
38 {
39 namespace constant
40 {
41 
43 (
47  (
48  "R",
50  ),
51  constantphysicoChemicalR,
52  "R"
53 );
54 
55 
57 (
61  (
62  "F",
64  ),
65  constantphysicoChemicalF,
66  "F"
67 );
68 
69 
70 // Note: cannot use dimless etc. since not guaranteed to be constructed
72 (
76  (
77  "sigma",
79  (
80  "C",
81  dimensionSet(0, 0, 0, 0, 0), //Foam::dimless,
83  )
86  ),
87  constantphysicoChemicalsigma,
88  "sigma"
89 );
90 
91 
93 (
97  (
98  "b",
101  (
102  "C",
103  dimensionSet(0, 0, 0, 0, 0), //Foam::dimless
104  4.965114231
105  )
106  ),
107  constantphysicoChemicalb,
108  "b"
109 );
110 
111 
113 (
117  (
118  "c1",
120  (
121  "C",
122  dimensionSet(0, 0, 0, 0, 0), //Foam::dimless,
124  )
126  ),
127  constantphysicoChemicalc1,
128  "c1"
129 );
130 
131 
133 (
137  (
138  "c2",
140  ),
141  constantphysicoChemicalc2,
142  "c2"
143 );
144 
145 
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 
148 } // End namespace constant
149 } // End namespace Foam
150 
151 // ************************************************************************* //
mathematicalConstants.H
Foam::constant::physicoChemical::NA
const dimensionedScalar NA
Avagadro number.
Foam::constant::physicoChemical::k
const dimensionedScalar k
Boltzmann constant.
Definition: LISASMDCalcMethod2.H:41
Foam::constant::physicoChemical::group
constexpr const char *const group
Group name for physico-chemical constants.
Definition: physicoChemicalConstants.H:52
universalConstants.H
Foam::constant::physicoChemical::R
const dimensionedScalar R
Universal gas constant: default SI units: [J/mol/K].
Definition: evaluateNearWall.H:6
Foam::constant::physicoChemical::F
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
Foam::pow4
dimensionedScalar pow4(const dimensionedScalar &ds)
Definition: dimensionedScalar.C:100
Foam::constant::universal::hr
const dimensionedScalar hr
Reduced Planck constant: default SI units: [J/s].
Foam::constant::physicoChemical::c1
const dimensionedScalar c1
First radiation constant: default SI units: [W/m2].
Foam::constant::physicoChemical::b
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Definition: createFields.H:27
Foam::pow3
dimensionedScalar pow3(const dimensionedScalar &ds)
Definition: dimensionedScalar.C:89
Foam::constant::universal::h
const dimensionedScalar h
Planck constant.
Definition: setRegionSolidFields.H:33
Foam::constant::defineDimensionedConstantWithDefault
defineDimensionedConstantWithDefault(atomic::group, atomic::alpha, dimensionedScalar("alpha", sqr(electromagnetic::e)/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *electromagnetic::epsilon0 *universal::h *universal::c)), constantatomicalpha, "alpha")
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition: dimensionedScalarFwd.H:42
Foam::constant::mathematical::twoPi
constexpr scalar twoPi(2 *M_PI)
Foam::dimensioned< scalar >
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::constant::physicoChemical::c2
const dimensionedScalar c2
Second radiation constant: default SI units: [m.K].
electromagneticConstants.H
Foam::sqr
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Definition: dimensionedSymmTensor.C:51
Foam::constant::mathematical::pi
constexpr scalar pi(M_PI)
physicoChemicalConstants.H
Foam::constant::electromagnetic::e
const dimensionedScalar e
Elementary charge.
Definition: createFields.H:11
Foam::constant::physicoChemical::sigma
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
Foam::constant::universal::c
const dimensionedScalar c
Speed of light in a vacuum.
constant
constant condensation/saturation model.
dimensionedConstants.H
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for the...