dimensionSets.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Global
25  dimensionSets
26 
27 Description
28  Useful dimension sets
29 
30 SourceFiles
31  dimensionSets.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef dimensionSets_H
36 #define dimensionSets_H
37 
38 #include "dimensionSet.H"
39 #include "unitConversions.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47 
48 extern const dimensionSet dimless;
49 
50 extern const dimensionSet dimMass;
51 extern const dimensionSet dimLength;
52 extern const dimensionSet dimTime;
53 extern const dimensionSet dimTemperature;
54 extern const dimensionSet dimMoles;
55 extern const dimensionSet dimCurrent;
56 extern const dimensionSet dimLuminousIntensity;
57 
58 extern const dimensionSet dimArea;
59 extern const dimensionSet dimVolume;
60 
61 extern const dimensionSet dimRate;
62 
63 extern const dimensionSet dimVelocity;
64 extern const dimensionSet dimMomentum;
65 extern const dimensionSet dimAcceleration;
66 
67 extern const dimensionSet dimDensity;
68 extern const dimensionSet dimForce;
69 extern const dimensionSet dimEnergy;
70 extern const dimensionSet dimPower;
71 
72 extern const dimensionSet dimPressure;
73 extern const dimensionSet dimKinematicPressure;
74 extern const dimensionSet dimCompressibility;
75 extern const dimensionSet dimGasConstant;
76 extern const dimensionSet dimSpecificHeatCapacity;
77 extern const dimensionSet dimKinematicViscosity;
78 extern const dimensionSet dimDynamicViscosity;
79 extern const dimensionSet dimThermalConductivity;
80 
81 extern const dimensionSet dimVolumetricFlux;
82 extern const dimensionSet dimMassFlux;
83 
84 
85 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
86 
87 //- Get the table of dimension sets
88 const HashTable<dimensionSet>& dimensions();
89 
90 
91 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
92 
93 } // End namespace Foam
94 
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 
97 #endif
98 
99 // ************************************************************************* //
Namespace for OpenFOAM.
const dimensionSet dimDynamicViscosity
const dimensionSet dimEnergy
const dimensionSet dimCurrent
const dimensionSet dimPressure
const dimensionSet dimKinematicPressure
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
Definition: dimensionSets.C:96
const dimensionSet dimKinematicViscosity
const dimensionSet dimMassFlux
const dimensionSet dimPower
const dimensionSet dimVolumetricFlux
const dimensionSet dimRate
const dimensionSet dimGasConstant
const dimensionSet dimless
const dimensionSet dimLength
const dimensionSet dimTemperature
const dimensionSet dimAcceleration
const dimensionSet dimForce
const dimensionSet dimCompressibility
const dimensionSet dimSpecificHeatCapacity
const dimensionSet dimMomentum
const dimensionSet dimTime
const dimensionSet dimDensity
const dimensionSet dimVolume
const dimensionSet dimMoles
const dimensionSet dimLuminousIntensity
const dimensionSet dimMass
const dimensionSet dimVelocity
const dimensionSet dimArea
const dimensionSet dimThermalConductivity
Useful unit conversions.