COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Consts.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_Physics_Consts_hpp
8 #define cf3_Physics_Consts_hpp
9 
10 #include <limits> // for std::numeric_limits
11 
12 #include "common/CF.hpp"
13 
14 #include "physics/LibPhysics.hpp"
15 
16 namespace cf3 {
17 namespace physics {
18 
20 
25 namespace Consts
26 {
28  inline Real kB() { return 1.3806503e-23; }
30  inline Real e() { return 1.60217646e-19; }
32  inline Real NA() { return 6.02214199e23; }
34  inline Real F() { return e() * NA(); }
36  inline Real R() { return kB() * NA(); }
38  inline Real gamma() { return 0.57721566; }
39 }
40 
42 
43 } // Physics
44 } // cf3
45 
46 #endif // cf3_Physics_Consts_hpp
Real R()
Definition of the ideal gas constant [J/mol K].
Definition: Consts.hpp:36
Real e()
Definition of the Unit charge [C].
Definition: Consts.hpp:30
Top-level namespace for coolfluid.
Definition: Action.cpp:18
Real kB()
Definition of the Boltzmann's constant [J/K].
Definition: Consts.hpp:28
Real gamma()
Definition of the Euler gamma.
Definition: Consts.hpp:38
coolfluid3 header, included almost everywhere
Real NA()
Definition of Avogadro's constant [1/mol].
Definition: Consts.hpp:32
Real F()
Definition of the Faraday's constant [C/mol].
Definition: Consts.hpp:34
Send comments to:
COOLFluiD Web Admin