Foam::constant Namespace Reference

Different types of constants. More...

Namespaces

namespace  atomic
 Atomic constants.
 
namespace  electromagnetic
 Electromagnetic constants.
 
namespace  mathematical
 Mathematical constants.
 
namespace  physicoChemical
 Physico-chemical constants.
 
namespace  standard
 Standard values.
 
namespace  thermodynamic
 Thermodynamic scalar constants.
 
namespace  universal
 Universal constants.
 

Functions

 defineDimensionedConstantWithDefault (atomic::group, atomic::alpha, dimensionedScalar("alpha", sqr(electromagnetic::e)/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *electromagnetic::epsilon0 *universal::h *universal::c)), constantatomicalpha, "alpha")
 
 defineDimensionedConstantWithDefault (atomic::group, atomic::Rinf, dimensionedScalar("Rinf", sqr(atomic::alpha) *atomic::me *universal::c/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *universal::h)), constantatomicRinf, "Rinf")
 
 defineDimensionedConstantWithDefault (atomic::group, atomic::a0, dimensionedScalar("a0", atomic::alpha/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.0 *mathematical::pi) *atomic::Rinf)), constantatomica0, "a0")
 
 defineDimensionedConstantWithDefault (atomic::group, atomic::re, dimensionedScalar("re", Foam::sqr(electromagnetic::e)/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.0 *mathematical::pi) *electromagnetic::epsilon0 *atomic::me *Foam::sqr(universal::c))), constantatomicre, "re")
 
 defineDimensionedConstantWithDefault (atomic::group, atomic::Eh, dimensionedScalar("Eh", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *atomic::Rinf *universal::h *universal::c), constantatomicEh, "Eh")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::mu0, dimensionedScalar("mu0", dimensionSet(1, 1, -2, 0, 0, -2, 0), 4.0 *mathematical::pi *1e-07), constantelectromagneticmu0, "mu0")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::epsilon0, dimensionedScalar("epsilon0", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 1.0)/(electromagnetic::mu0 *sqr(universal::c))), constantelectromagneticepsilon0, "epsilon0")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::Z0, dimensionedScalar("Z0", electromagnetic::mu0 *universal::c), constantelectromagneticZ0, "Z0")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::kappa, dimensionedScalar("kappa", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 1.0/(4.0 *mathematical::pi))/electromagnetic::epsilon0), constantelectromagnetickappa, "kappa")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::G0, dimensionedScalar("G0", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *sqr(electromagnetic::e)/universal::h), constantelectromagneticG0, "G0")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::KJ, dimensionedScalar("KJ", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *electromagnetic::e/universal::h), constantelectromagneticKJ, "KJ")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::phi0, dimensionedScalar("phi0", universal::h/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *electromagnetic::e)), constantelectromagneticphi0, "phi0")
 
 defineDimensionedConstantWithDefault (electromagnetic::group, electromagnetic::RK, dimensionedScalar("RK", universal::h/Foam::sqr(electromagnetic::e)), constantelectromagneticRK, "RK")
 
 defineDimensionedConstant (universal::group, universal::c, constantuniversalc, "c")
 
 defineDimensionedConstant (universal::group, universal::G, constantuniversalG, "G")
 
 defineDimensionedConstant (universal::group, universal::h, constantuniversalh, "h")
 
 defineDimensionedConstant (electromagnetic::group, electromagnetic::e, constantelectromagnetice, "e")
 
 defineDimensionedConstant (atomic::group, atomic::me, constantatomicme, "me")
 
 defineDimensionedConstant (atomic::group, atomic::mp, constantatomicmp, "mp")
 
 defineDimensionedConstant (physicoChemical::group, physicoChemical::mu, constantphysicoChemicalmu, "mu")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::NA, Foam::dimensionedScalar("NA", dimensionSet(0, 0, 0, 0, -1), 6.0221417930e+23), constantphysicoChemicalNA, "NA")
 
 defineDimensionedConstant (physicoChemical::group, physicoChemical::k, constantphysicoChemicalk, "k")
 
 defineDimensionedConstant ("standard", standard::Pstd, constantstandardPstd, "Pstd")
 
 defineDimensionedConstant ("standard", standard::Tstd, constantstandardTstd, "Tstd")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::R, dimensionedScalar("R", physicoChemical::NA *physicoChemical::k), constantphysicoChemicalR, "R")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::F, dimensionedScalar("F", physicoChemical::NA *electromagnetic::e), constantphysicoChemicalF, "F")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::sigma, dimensionedScalar("sigma", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), Foam::sqr(mathematical::pi)/60.0) *Foam::pow4(physicoChemical::k)/(pow3(universal::hr) *sqr(universal::c))), constantphysicoChemicalsigma, "sigma")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::b, dimensionedScalar("b",(universal::h *universal::c/physicoChemical::k)/Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.965114231)), constantphysicoChemicalb, "b")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::c1, dimensionedScalar("c1", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), mathematical::twoPi) *universal::h *Foam::sqr(universal::c)), constantphysicoChemicalc1, "c1")
 
 defineDimensionedConstantWithDefault (physicoChemical::group, physicoChemical::c2, dimensionedScalar("c2", universal::h *universal::c/physicoChemical::k), constantphysicoChemicalc2, "c2")
 
 defineDimensionedConstantWithDefault ("universal", universal::hr, dimensionedScalar("hr", universal::h/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), mathematical::twoPi))), constantuniversalhr, "hr")
 

Detailed Description

Different types of constants.

Function Documentation

◆ defineDimensionedConstantWithDefault() [1/21]

defineDimensionedConstantWithDefault ( atomic::group  ,
atomic::alpha  ,
dimensionedScalar("alpha", sqr(electromagnetic::e)/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *electromagnetic::epsilon0 *universal::h *universal::c))  ,
constantatomicalpha  ,
"alpha"   
)

◆ defineDimensionedConstantWithDefault() [2/21]

defineDimensionedConstantWithDefault ( atomic::group  ,
atomic::Rinf  ,
dimensionedScalar("Rinf", sqr(atomic::alpha) *atomic::me *universal::c/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *universal::h))  ,
constantatomicRinf  ,
"Rinf"   
)

◆ defineDimensionedConstantWithDefault() [3/21]

defineDimensionedConstantWithDefault ( atomic::group  ,
atomic::a0  ,
dimensionedScalar("a0", atomic::alpha/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.0 *mathematical::pi) *atomic::Rinf))  ,
constantatomica0  ,
"a0"   
)

◆ defineDimensionedConstantWithDefault() [4/21]

defineDimensionedConstantWithDefault ( atomic::group  ,
atomic::re  ,
dimensionedScalar("re", Foam::sqr(electromagnetic::e)/(Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.0 *mathematical::pi) *electromagnetic::epsilon0 *atomic::me *Foam::sqr(universal::c)))  ,
constantatomicre  ,
"re"   
)

◆ defineDimensionedConstantWithDefault() [5/21]

defineDimensionedConstantWithDefault ( atomic::group  ,
atomic::Eh  ,
dimensionedScalar("Eh", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2.0) *atomic::Rinf *universal::h *universal::c ,
constantatomicEh  ,
"Eh"   
)

◆ defineDimensionedConstantWithDefault() [6/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::mu0  ,
dimensionedScalar("mu0", dimensionSet(1, 1, -2, 0, 0, -2, 0), 4.0 *mathematical::pi *1e-07)  ,
constantelectromagneticmu0  ,
"mu0"   
)

◆ defineDimensionedConstantWithDefault() [7/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::epsilon0  ,
dimensionedScalar("epsilon0", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 1.0)/(electromagnetic::mu0 *sqr(universal::c)))  ,
constantelectromagneticepsilon0  ,
"epsilon0"   
)

◆ defineDimensionedConstantWithDefault() [8/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::Z0  ,
dimensionedScalar("Z0", electromagnetic::mu0 *universal::c ,
constantelectromagneticZ0  ,
"Z0"   
)

◆ defineDimensionedConstantWithDefault() [9/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::kappa  ,
dimensionedScalar("kappa", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 1.0/(4.0 *mathematical::pi))/electromagnetic::epsilon0 ,
constantelectromagnetickappa  ,
"kappa"   
)

◆ defineDimensionedConstantWithDefault() [10/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::G0  ,
dimensionedScalar("G0", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *sqr(electromagnetic::e)/universal::h ,
constantelectromagneticG0  ,
"G0"   
)

◆ defineDimensionedConstantWithDefault() [11/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::KJ  ,
dimensionedScalar("KJ", dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *electromagnetic::e/universal::h ,
constantelectromagneticKJ  ,
"KJ"   
)

◆ defineDimensionedConstantWithDefault() [12/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::phi0  ,
dimensionedScalar("phi0", universal::h/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 2) *electromagnetic::e))  ,
constantelectromagneticphi0  ,
"phi0"   
)

◆ defineDimensionedConstantWithDefault() [13/21]

defineDimensionedConstantWithDefault ( electromagnetic::group  ,
electromagnetic::RK  ,
dimensionedScalar("RK", universal::h/Foam::sqr(electromagnetic::e))  ,
constantelectromagneticRK  ,
"RK"   
)

◆ defineDimensionedConstant() [1/10]

defineDimensionedConstant ( universal::group  ,
universal::c  ,
constantuniversalc  ,
"c"   
)

◆ defineDimensionedConstant() [2/10]

defineDimensionedConstant ( universal::group  ,
universal::G  ,
constantuniversalG  ,
"G"   
)

◆ defineDimensionedConstant() [3/10]

defineDimensionedConstant ( universal::group  ,
universal::h  ,
constantuniversalh  ,
"h"   
)

◆ defineDimensionedConstant() [4/10]

defineDimensionedConstant ( electromagnetic::group  ,
electromagnetic::e  ,
constantelectromagnetice  ,
"e"   
)

◆ defineDimensionedConstant() [5/10]

defineDimensionedConstant ( atomic::group  ,
atomic::me  ,
constantatomicme  ,
"me"   
)

◆ defineDimensionedConstant() [6/10]

defineDimensionedConstant ( atomic::group  ,
atomic::mp  ,
constantatomicmp  ,
"mp"   
)

◆ defineDimensionedConstant() [7/10]

defineDimensionedConstant ( physicoChemical::group  ,
physicoChemical::mu  ,
constantphysicoChemicalmu  ,
"mu"   
)

◆ defineDimensionedConstantWithDefault() [14/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::NA  ,
Foam::dimensionedScalar("NA", dimensionSet(0, 0, 0, 0, -1), 6.0221417930e+23)  ,
constantphysicoChemicalNA  ,
"NA"   
)

◆ defineDimensionedConstant() [8/10]

defineDimensionedConstant ( physicoChemical::group  ,
physicoChemical::k  ,
constantphysicoChemicalk  ,
"k"   
)

◆ defineDimensionedConstant() [9/10]

defineDimensionedConstant ( "standard"  ,
standard::Pstd  ,
constantstandardPstd  ,
"Pstd"   
)

◆ defineDimensionedConstant() [10/10]

defineDimensionedConstant ( "standard"  ,
standard::Tstd  ,
constantstandardTstd  ,
"Tstd"   
)

◆ defineDimensionedConstantWithDefault() [15/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::R  ,
dimensionedScalar("R", physicoChemical::NA *physicoChemical::k ,
constantphysicoChemicalR  ,
"R"   
)

◆ defineDimensionedConstantWithDefault() [16/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::F  ,
dimensionedScalar("F", physicoChemical::NA *electromagnetic::e ,
constantphysicoChemicalF  ,
"F"   
)

◆ defineDimensionedConstantWithDefault() [17/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::sigma  ,
dimensionedScalar("sigma", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), Foam::sqr(mathematical::pi)/60.0) *Foam::pow4(physicoChemical::k)/(pow3(universal::hr) *sqr(universal::c)))  ,
constantphysicoChemicalsigma  ,
"sigma"   
)

◆ defineDimensionedConstantWithDefault() [18/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::b  ,
dimensionedScalar("b",(universal::h *universal::c/physicoChemical::k)/Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), 4.965114231))  ,
constantphysicoChemicalb  ,
"b"   
)

◆ defineDimensionedConstantWithDefault() [19/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::c1  ,
dimensionedScalar("c1", Foam::dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), mathematical::twoPi) *universal::h *Foam::sqr(universal::c))  ,
constantphysicoChemicalc1  ,
"c1"   
)

◆ defineDimensionedConstantWithDefault() [20/21]

defineDimensionedConstantWithDefault ( physicoChemical::group  ,
physicoChemical::c2  ,
dimensionedScalar("c2", universal::h *universal::c/physicoChemical::k ,
constantphysicoChemicalc2  ,
"c2"   
)

◆ defineDimensionedConstantWithDefault() [21/21]

defineDimensionedConstantWithDefault ( "universal"  ,
universal::hr  ,
dimensionedScalar("hr", universal::h/(dimensionedScalar("C", dimensionSet(0, 0, 0, 0, 0), mathematical::twoPi)))  ,
constantuniversalhr  ,
"hr"   
)