Variables | |
const doublereal | Pi = 3.1415926 |
Pi. | |
const doublereal | SqrtPi = std::sqrt(Pi) |
sqrt(Pi) | |
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.02214179e26 |
Avogadro's Number. | |
const doublereal | GasConstant = 8314.47215 |
Universal Gas Constant. 2006 CODATA value. | |
const doublereal | logGasConstant = 9.025752908 |
const doublereal | OneAtm = 1.01325e5 |
One atmosphere. | |
const doublereal | GasConst_cal_mol_K = 1.987 |
Universal gas constant in cal/mol/K. | |
const doublereal | Boltzmann = GasConstant / Avogadro |
Boltzmann's constant. | |
const doublereal | Planck = 6.62606896e-34 |
Planck's constant. Units of J-s. | |
const doublereal | Planck_bar = 1.05457162853e-34 |
const doublereal | logBoltz_Planck = 23.7599032 |
log(k/h) | |
const doublereal | StefanBoltz = 5.6704004e-8 |
Stefan-Boltzmann constant. | |
Electron Properties | |
| |
const doublereal | ElectronCharge = 1.60217648740e-19 |
const doublereal | ElectronMass = 9.1093821545e-31 |
const doublereal | Faraday = ElectronCharge * Avogadro |
Electromagnetism | |
Cantera uses the MKS unit system. | |
const doublereal | epsilon_0 = 8.85417817e-12 |
Permittivity of free space in F/m. | |
const doublereal | permeability_0 = 4.0e-7*Pi |
Permeability of free space in N/A^2. | |
const doublereal | lightSpeed = 1.0/std::sqrt(epsilon_0 * permeability_0) |
Speed of Light (m/s). |
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 2006 CODATA recommendations.
const doublereal Avogadro = 6.02214179e26 |
const doublereal Boltzmann = GasConstant / Avogadro |
const doublereal epsilon_0 = 8.85417817e-12 |
const doublereal GasConst_cal_mol_K = 1.987 |
const doublereal GasConstant = 8314.47215 |
Universal Gas Constant. 2006 CODATA value.
Definition at line 83 of file ct_defs.h.
Referenced by ThermoPhase::_RT(), VPSSMgr_Water_HKFT::_updateRefStateThermo(), VPSSMgr_Water_ConstVol::_updateRefStateThermo(), VPSSMgr_Water_HKFT::_updateStandardStateThermo(), VPSSMgr_Water_ConstVol::_updateStandardStateThermo(), VPSSMgr_IdealGas::_updateStandardStateThermo(), VPSSMgr_ConstVol::_updateStandardStateThermo(), SurfPhase::_updateThermo(), IdealSolidSolnPhase::_updateThermo(), IdealGasPhase::_updateThermo(), HMWSoln::ADebye_J(), HMWSoln::ADebye_L(), HMWSoln::ADebye_V(), IdealSolnGasVPSS::calcDensity(), SingleSpeciesTP::cp_mole(), PDSS_SSVol::cp_mole(), PDSS_IdealGas::cp_mole(), PDSS_ConstVol::cp_mole(), IdealSolnGasVPSS::cp_mole(), IdealSolidSolnPhase::cp_mole(), IdealGasPhase::cp_mole(), PDSS::cp_R(), PDSS::cpDelp_mole(), PDSS_IdealGas::cv_mole(), LatticePhase::cv_mole(), IdealSolnGasVPSS::cv_mole(), IdealGasPhase::cv_mole(), ConstDensityThermo::cv_mole(), PDSS_IdealGas::density(), WaterProps::density_T(), PDSS_SSVol::enthalpy_mole(), PDSS_IdealGas::enthalpy_mole(), PDSS_ConstVol::enthalpy_mole(), IdealSolnGasVPSS::enthalpy_mole(), IdealSolidSolnPhase::enthalpy_mole(), IdealGasPhase::enthalpy_mole(), PDSS_HKFT::enthalpy_RT(), PDSS::enthalpy_RT(), PDSS::enthalpyDelp_mole(), PDSS_SSVol::entropy_mole(), PDSS_IdealGas::entropy_mole(), PDSS_ConstVol::entropy_mole(), IdealSolnGasVPSS::entropy_mole(), IdealSolidSolnPhase::entropy_mole(), IdealGasPhase::entropy_mole(), PDSS::entropy_R(), PDSS::entropyDelp_mole(), SurfPhase::getChemPotentials(), IdealSolnGasVPSS::getChemPotentials(), IdealSolidSolnPhase::getChemPotentials(), IdealMolalSoln::getChemPotentials(), IdealGasPhase::getChemPotentials(), HMWSoln::getChemPotentials(), DebyeHuckel::getChemPotentials(), SingleSpeciesTP::getChemPotentials_RT(), IdealSolidSolnPhase::getChemPotentials_RT(), WaterSSTP::getCp_R(), SurfPhase::getCp_R(), WaterSSTP::getCp_R_ref(), VPSSMgr_Water_ConstVol::getCp_R_ref(), ThermoPhase::getElementPotentials(), WaterSSTP::getEnthalpy_RT(), SurfPhase::getEnthalpy_RT(), StoichSubstanceSSTP::getEnthalpy_RT(), MineralEQ3::getEnthalpy_RT(), IdealSolidSolnPhase::getEnthalpy_RT(), WaterSSTP::getEnthalpy_RT_ref(), VPSSMgr_Water_ConstVol::getEnthalpy_RT_ref(), WaterSSTP::getEntropy_R(), SurfPhase::getEntropy_R(), WaterSSTP::getEntropy_R_ref(), VPSSMgr_Water_ConstVol::getEntropy_R_ref(), VPSSMgr_Water_HKFT::getGibbs_ref(), VPSSMgr_Water_ConstVol::getGibbs_ref(), VPSSMgr_General::getGibbs_ref(), VPSSMgr::getGibbs_ref(), SingleSpeciesTP::getGibbs_ref(), IdealSolidSolnPhase::getGibbs_ref(), WaterSSTP::getGibbs_RT(), SurfPhase::getGibbs_RT(), WaterSSTP::getGibbs_RT_ref(), VPSSMgr_Water_ConstVol::getGibbs_RT_ref(), VPSSMgr_ConstVol::getGibbs_RT_ref(), WaterSSTP::getIntEnergy_RT(), VPSSMgr::getIntEnergy_RT(), StoichSubstanceSSTP::getIntEnergy_RT(), MineralEQ3::getIntEnergy_RT(), IdealSolidSolnPhase::getIntEnergy_RT(), StoichSubstanceSSTP::getIntEnergy_RT_ref(), MineralEQ3::getIntEnergy_RT_ref(), MetalSHEelectrons::getIntEnergy_RT_ref(), IdealSolidSolnPhase::getIntEnergy_RT_ref(), SurfPhase::getPartialMolarCp(), SingleSpeciesTP::getPartialMolarCp(), IdealSolnGasVPSS::getPartialMolarCp(), IdealSolidSolnPhase::getPartialMolarCp(), IdealMolalSoln::getPartialMolarCp(), IdealGasPhase::getPartialMolarCp(), HMWSoln::getPartialMolarCp(), DebyeHuckel::getPartialMolarCp(), SurfPhase::getPartialMolarEnthalpies(), SingleSpeciesTP::getPartialMolarEnthalpies(), IdealSolnGasVPSS::getPartialMolarEnthalpies(), IdealSolidSolnPhase::getPartialMolarEnthalpies(), IdealGasPhase::getPartialMolarEnthalpies(), HMWSoln::getPartialMolarEnthalpies(), DebyeHuckel::getPartialMolarEnthalpies(), SurfPhase::getPartialMolarEntropies(), SingleSpeciesTP::getPartialMolarEntropies(), IdealSolnGasVPSS::getPartialMolarEntropies(), IdealSolidSolnPhase::getPartialMolarEntropies(), IdealMolalSoln::getPartialMolarEntropies(), IdealGasPhase::getPartialMolarEntropies(), HMWSoln::getPartialMolarEntropies(), DebyeHuckel::getPartialMolarEntropies(), SingleSpeciesTP::getPartialMolarIntEnergies(), IdealSolnGasVPSS::getPartialMolarIntEnergies(), IdealGasPhase::getPartialMolarIntEnergies(), HMWSoln::getPartialMolarVolumes(), DebyeHuckel::getPartialMolarVolumes(), SingleSpeciesTP::getPureGibbs(), VPSSMgr::getStandardChemPotentials(), StoichSubstanceSSTP::getStandardChemPotentials(), MineralEQ3::getStandardChemPotentials(), MetalSHEelectrons::getStandardChemPotentials(), IdealGasPhase::getStandardChemPotentials(), PDSS_SSVol::gibbs_mole(), PDSS_IdealGas::gibbs_mole(), PDSS_ConstVol::gibbs_mole(), IdealSolidSolnPhase::gibbs_mole(), PDSS::gibbs_RT(), PDSS::gibbsDelp_mole(), WaterSSTP::initThermoXML(), SimpleThermo::install(), PDSS_SSVol::intEnergy_mole(), PDSS_IdealGas::intEnergy_mole(), PDSS_ConstVol::intEnergy_mole(), IdealSolidSolnPhase::intEnergy_mole(), IdealGasPhase::intEnergy_mole(), IdealGasPhase::logStandardConc(), SimpleThermo::modifyParams(), PDSS_IdealGas::molarVolume(), PDSS_IdealGas::molarVolume_ref(), IdealGasPhase::pressure(), Mu0Poly::processCoeffs(), ThermoPhase::report(), PureFluidPhase::report(), Mu0Poly::reportParameters(), SimpleThermo::reportParams(), ThermoPhase::setElementPotentials(), PDSS_SSVol::setPressure(), PDSS_IdealGas::setPressure(), PDSS_ConstVol::setPressure(), IdealGasPhase::setPressure(), PDSS_IdealGas::setState_TR(), PDSS_SSVol::setTemperature(), PDSS_IdealGas::setTemperature(), PDSS_ConstVol::setTemperature(), IdealSolnGasVPSS::standardConcentration(), IdealGasPhase::standardConcentration(), WaterProps::thermalConductivityWater(), Unit::Unit(), ShomateThermo::update(), ShomateThermo::update_one(), and ShomatePoly::updatePropertiesTemp().
const doublereal lightSpeed = 1.0/std::sqrt(epsilon_0 * permeability_0) |
const doublereal OneAtm = 1.01325e5 |
One atmosphere.
Definition at line 88 of file ct_defs.h.
Referenced by VPSSMgr_Water_ConstVol::_updateStandardStateThermo(), PDSS_HKFT::constructPDSSXML(), WaterSSTP::getCp_R_ref(), WaterSSTP::getEnthalpy_RT_ref(), WaterSSTP::getEntropy_R_ref(), WaterSSTP::getGibbs_RT_ref(), WaterSSTP::getStandardVolumes_ref(), PDSS_HKFT::initThermo(), WaterSSTP::initThermoXML(), VPSSMgr_Water_HKFT::initThermoXML(), VPSSMgr_Water_ConstVol::initThermoXML(), HMWSoln::initThermoXML(), DebyeHuckel::initThermoXML(), and PDSS_HKFT::PDSS_HKFT().
const doublereal permeability_0 = 4.0e-7*Pi |
const doublereal Pi = 3.1415926 |
const doublereal Planck = 6.62606896e-34 |