32 lines
555 B
Python
Executable file
32 lines
555 B
Python
Executable file
"""
|
|
Physical Constants
|
|
"""
|
|
|
|
# One atmosphere in Pascals
|
|
OneAtm = 101325.0
|
|
|
|
# The ideal gas constant in J/kmo-K
|
|
GasConstant = 8314.0
|
|
|
|
# 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
|