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 -------------------------------------------------------------------------------
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 Description
27  Fundamental dimensioned constants
28 
29 \*---------------------------------------------------------------------------*/
30 
31 #ifndef fundamentalConstants_H
32 #define fundamentalConstants_H
33 
34 #include "dimensionedScalar.H"
35 
36 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
37 
38 namespace Foam
39 {
40 namespace constant
41 {
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace 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 
57 namespace electromagnetic
58 {
59  //- Elementary charge
60  extern const dimensionedScalar e;
61 }
62 
63 namespace atomic
64 {
65  //- Electron mass
66  extern const dimensionedScalar me;
67 
68  //- Proton mass
69  extern const dimensionedScalar mp;
70 }
71 
72 namespace 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
85 namespace 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 // ************************************************************************* //
Foam::constant::atomic::mp
const dimensionedScalar mp
Proton mass.
Foam::constant::physicoChemical::NA
const dimensionedScalar NA
Avagadro number.
Foam::constant::physicoChemical::mu
const dimensionedScalar mu
Atomic mass unit.
Definition: createFieldRefs.H:4
Foam::constant::physicoChemical::k
const dimensionedScalar k
Boltzmann constant.
Definition: LISASMDCalcMethod2.H:41
Foam::constant::universal::G
const dimensionedScalar G
Newtonian constant of gravitation.
Foam::constant::standard::Pstd
const dimensionedScalar Pstd
Standard pressure.
Definition: thermodynamicConstants.C:48
Foam::constant::standard::Tstd
const dimensionedScalar Tstd
Standard temperature.
Definition: thermodynamicConstants.C:49
Foam::constant::atomic::me
const dimensionedScalar me
Electron mass.
Foam::constant::universal::h
const dimensionedScalar h
Planck constant.
Definition: setRegionSolidFields.H:33
Foam::dimensioned< scalar >
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
dimensionedScalar.H
Foam::constant::electromagnetic::e
const dimensionedScalar e
Elementary charge.
Definition: createFields.H:11
Foam::constant::universal::c
const dimensionedScalar c
Speed of light in a vacuum.
constant
constant condensation/saturation model.