ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / OpenFOAM / global / constants / fundamental / fundamentalConstants.C
blob3e85524f492ea260b51558d5737ceaed4607bd23
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 Description
25     Fundamental dimensioned constants
27 \*---------------------------------------------------------------------------*/
29 #include "fundamentalConstants.H"
31 #include "universalConstants.H"
32 #include "electromagneticConstants.H"
33 #include "atomicConstants.H"
34 #include "physicoChemicalConstants.H"
36 #include "dimensionedConstants.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 // Universal constants
42 const Foam::dimensionedScalar Foam::constant::universal::c
44     dimensionedConstant(universal::group, "c")
48 const Foam::dimensionedScalar Foam::constant::universal::G
50     dimensionedConstant(universal::group, "G")
54 const Foam::dimensionedScalar Foam::constant::universal::h
56     dimensionedConstant(universal::group, "h")
60 // Electromagnetic
62 const Foam::dimensionedScalar Foam::constant::electromagnetic::e
64     dimensionedConstant(electromagnetic::group, "e")
68 // Atomic
70 const Foam::dimensionedScalar Foam::constant::atomic::me
72     dimensionedConstant(atomic::group, "me")
76 const Foam::dimensionedScalar Foam::constant::atomic::mp
78     dimensionedConstant(atomic::group, "mp")
82 // Physico-chemical
84 const Foam::dimensionedScalar Foam::constant::physicoChemical::mu
86     dimensionedConstant(physicoChemical::group, "mu")
90 const Foam::dimensionedScalar Foam::constant::physicoChemical::NA
92 //    dimensionedConstant(physicoChemical::group, "NA")
93     dimensionedConstant
94     (
95         physicoChemical::group,
96         "NA",
97         dimensionedScalar
98         (
99             "NA",
100             dimless/dimMoles,
101             6.0221417930e+23
102         )
103     )
107 const Foam::dimensionedScalar Foam::constant::physicoChemical::k
109     dimensionedConstant(physicoChemical::group, "k")
113 // Standard
115 const Foam::dimensionedScalar Foam::constant::standard::Pstd
117     dimensionedConstant("standard", "Pstd")
121 const Foam::dimensionedScalar Foam::constant::standard::Tstd
123     dimensionedConstant("standard", "Tstd")
127 // ************************************************************************* //