cantera/Cantera/python/Cantera/constants.py
2005-06-18 16:58:39 +00:00

32 lines
559 B
Python
Executable file

"""
Physical Constants
"""
# One atmosphere in Pascals
OneAtm = 101325.0
# The ideal gas constant in J/kmo-K
GasConstant = 8314.47215
# Avogadro's Number, /kmol
Avogadro = 6.022136736e26
# The ideal gas constant in cal/mol-K
GasConst_cal_mol_K = 1.987
# Boltzmann-s constant
Boltzmann = GasConstant / Avogadro
# The Stefan-Boltzmann constant, W/m^2K^4
StefanBoltz = 5.67e-8
# The charge on an electron
ElectronCharge = 1.602e-19
Pi = 3.1415926
# Faraday's constant, C/kmol
Faraday = ElectronCharge * Avogadro
# Planck's constant
Planck = 6.6262e-34