Cantera  2.1.2
Physical Constants
Collaboration diagram for Physical Constants:


This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.

## Variables

const doublereal Pi = 3.14159265358979323846
Pi. More...

const doublereal SqrtPi = std::sqrt(Pi)
sqrt(Pi) More...

## Variations of the Gas Constant

Cantera uses the MKS system of units. The unit for moles is defined to be the kmol.

const doublereal Avogadro = 6.02214129e26
Avogadro's Number [number/kmol]. More...

const doublereal GasConstant = 8314.4621
Universal Gas Constant. [J/kmol/K]. More...

const doublereal logGasConstant = std::log(GasConstant)

const doublereal OneAtm = 1.01325e5
One atmosphere [Pa]. More...

const doublereal OneBar = 1.0E5

const doublereal GasConst_cal_mol_K = GasConstant / 4184.0
Universal gas constant in cal/mol/K. More...

const doublereal Boltzmann = GasConstant / Avogadro
Boltzmann's constant [J/K]. More...

const doublereal Planck = 6.62607009e-34
Planck's constant. [J-s]. More...

const doublereal Planck_bar = Planck / (2 * Pi)

const doublereal logBoltz_Planck = std::log(Boltzmann / Planck)
log(k/h) More...

const doublereal StefanBoltz = 5.670373e-8
Stefan-Boltzmann constant. More...

## Electron Properties

const doublereal ElectronCharge = 1.602176565e-19

const doublereal ElectronMass = 9.10938291e-31

const doublereal Faraday = ElectronCharge * Avogadro

## Electromagnetism

Cantera uses the MKS unit system.

const doublereal lightSpeed = 299792458.0
Speed of Light (m/s). More...

const doublereal permeability_0 = 4.0e-7*Pi
Permeability of free space $$\mu_0$$ in N/A^2. More...

const doublereal epsilon_0 = 1.0 / (lightSpeed*lightSpeed*permeability_0)
Permittivity of free space $$\epsilon_0$$ in F/m. More...

## Detailed Description

All physical constants are stored here.

Cantera uses the MKS system of units. The unit for moles is defined to be the kmol. All values of physical constants are consistent with the 2010 CODATA recommendations.

## Variable Documentation

 const doublereal Pi = 3.14159265358979323846

Pi.

Definition at line 51 of file ct_defs.h.

 const doublereal SqrtPi = std::sqrt(Pi)

sqrt(Pi)

Definition at line 53 of file ct_defs.h.

Referenced by Voigt::F(), Cantera::Frot(), GaussianProfile::profile(), and Voigt::profile().

 const doublereal Avogadro = 6.02214129e26

Definition at line 63 of file ct_defs.h.

 const doublereal GasConst_cal_mol_K = GasConstant / 4184.0

Universal gas constant in cal/mol/K.

Definition at line 75 of file ct_defs.h.

Referenced by VCS_SOLVE::vcs_nondimMult_TP(), and VCSnonideal::vcsUtil_gasConstant().

 const doublereal Boltzmann = GasConstant / Avogadro
 const doublereal Planck = 6.62607009e-34

Planck's constant. [J-s].

Definition at line 81 of file ct_defs.h.

Referenced by Cantera::wnum_to_J().

 const doublereal logBoltz_Planck = std::log(Boltzmann / Planck)

log(k/h)

Definition at line 85 of file ct_defs.h.

 const doublereal StefanBoltz = 5.670373e-8

Stefan-Boltzmann constant.

Definition at line 87 of file ct_defs.h.

Referenced by Wall::Q().

 const doublereal lightSpeed = 299792458.0

Speed of Light (m/s).

Definition at line 102 of file ct_defs.h.

Referenced by Cantera::hz_to_wnum(), and Cantera::wnum_to_J().

 const doublereal permeability_0 = 4.0e-7*Pi

Permeability of free space $$\mu_0$$ in N/A^2.

Definition at line 105 of file ct_defs.h.

 const doublereal epsilon_0 = 1.0 / (lightSpeed*lightSpeed*permeability_0)

Permittivity of free space $$\epsilon_0$$ in F/m.

Definition at line 108 of file ct_defs.h.