Cantera  2.2.1
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...

## Variations of the Gas Constant

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

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

## 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

Definition at line 61 of file ct_defs.h.

 const doublereal GasConst_cal_mol_K = GasConstant / 4184.0

Universal gas constant in cal/mol/K.

Definition at line 73 of file ct_defs.h.

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

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

Planck's constant. [J-s].

Definition at line 79 of file ct_defs.h.

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

log(k/h)

Definition at line 83 of file ct_defs.h.

 const doublereal StefanBoltz = 5.670373e-8

Stefan-Boltzmann constant.

Definition at line 85 of file ct_defs.h.

Referenced by StFlow::eval(), and Wall::Q().

 const doublereal lightSpeed = 299792458.0

Speed of Light (m/s).

Definition at line 100 of file ct_defs.h.

Referenced by GasTransportData::setCustomaryUnits().

 const doublereal permeability_0 = 4.0e-7*Pi

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

Definition at line 103 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 106 of file ct_defs.h.

Referenced by WaterProps::ADebye(), GasTransport::makePolarCorrections(), and GasTransport::setupMM().