fundamentalConstants.H
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 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
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
26Description
27 Fundamental dimensioned constants
28
29\*---------------------------------------------------------------------------*/
30
31#ifndef fundamentalConstants_H
32#define fundamentalConstants_H
33
34#include "dimensionedScalar.H"
35
36// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
37
38namespace Foam
39{
40namespace constant
41{
42
43// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45namespace universal
46{
47 //- Speed of light in a vacuum
48 extern const dimensionedScalar c;
49
50 //- Newtonian constant of gravitation
51 extern const dimensionedScalar G;
52
53 //- Planck constant
54 extern const dimensionedScalar h;
55}
56
57namespace electromagnetic
58{
59 //- Elementary charge
60 extern const dimensionedScalar e;
61}
62
63namespace atomic
64{
65 //- Electron mass
66 extern const dimensionedScalar me;
67
68 //- Proton mass
69 extern const dimensionedScalar mp;
70}
71
72namespace physicoChemical
73{
74 //- Atomic mass unit
75 extern const dimensionedScalar mu;
76
77 //- Avagadro number
78 extern const dimensionedScalar NA;
79
80 //- Boltzmann constant
81 extern const dimensionedScalar k;
82}
83
84//- Standard values
85namespace standard
86{
87 //- Standard pressure
88 extern const dimensionedScalar Pstd;
89
90 //- Standard temperature
91 extern const dimensionedScalar Tstd;
92}
93
94// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95
96} // End namespace constant
97} // End namespace Foam
98
99// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
100
101#endif
102
103// ************************************************************************* //
constant condensation/saturation model.
const dimensionedScalar mp
Proton mass.
const dimensionedScalar me
Electron mass.
const dimensionedScalar e
Elementary charge.
const dimensionedScalar NA
Avagadro number.
const dimensionedScalar mu
Atomic mass unit.
const dimensionedScalar k
Boltzmann constant.
const dimensionedScalar Pstd
Standard pressure.
const dimensionedScalar Tstd
Standard temperature.
const dimensionedScalar h
Planck constant.
const dimensionedScalar c
Speed of light in a vacuum.
const dimensionedScalar G
Newtonian constant of gravitation.
Namespace for OpenFOAM.