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-------------------------------------------------------------------------------
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
26\*---------------------------------------------------------------------------*/
27
29#include "universalConstants.H"
32
34
35// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36
37namespace Foam
38{
39namespace 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// ************************************************************************* //
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Definition: dimensionSet.H:109
constant condensation/saturation model.
Dictionary reading and supplying the dimensioned constants used within OpenFOAM, particularly for the...
#define defineDimensionedConstantWithDefault(Group, Switch, DefaultExpr, Tag, Name)
Defined dimensioned constant with default , lookup as Name.
const dimensionedScalar e
Elementary charge.
constexpr scalar pi(M_PI)
constexpr scalar twoPi(2 *M_PI)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
const dimensionedScalar NA
Avagadro number.
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const dimensionedScalar c2
Second radiation constant: default SI units: [m.K].
const dimensionedScalar c1
First radiation constant: default SI units: [W/m2].
const dimensionedScalar R
Universal gas constant: default SI units: [J/mol/K].
constexpr const char *const group
Group name for physico-chemical constants.
const dimensionedScalar k
Boltzmann constant.
const dimensionedScalar h
Planck constant.
const dimensionedScalar hr
Reduced Planck constant: default SI units: [J/s].
const dimensionedScalar c
Speed of light in a vacuum.
Namespace for OpenFOAM.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)