Cantera
2.3.0
|
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 | 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 | |
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... | |
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.
const doublereal Pi = 3.14159265358979323846 |
Pi.
Definition at line 51 of file ct_defs.h.
Referenced by InterfaceKinetics::buildSurfaceArrhenius(), Cantera::Frot(), GasTransport::makePolarCorrections(), SimpleTransport::updateDiff_T(), and DustyGasTransport::updateKnudsenDiffCoeffs().
const doublereal Avogadro = 6.02214129e26 |
Avogadro's Number [number/kmol].
Definition at line 61 of file ct_defs.h.
Referenced by GasTransport::setupMM(), Unit::Unit(), and VCS_SOLVE::vcs_nondim_TP().
const doublereal GasConstant = 8314.4621 |
Universal Gas Constant. [J/kmol/K].
Definition at line 64 of file ct_defs.h.
Referenced by ThermoPhase::_RT(), VPSSMgr_Water_ConstVol::_updateRefStateThermo(), VPSSMgr_Water_HKFT::_updateRefStateThermo(), VPSSMgr_Water_ConstVol::_updateStandardStateThermo(), VPSSMgr_ConstVol::_updateStandardStateThermo(), VPSSMgr_IdealGas::_updateStandardStateThermo(), VPSSMgr_Water_HKFT::_updateStandardStateThermo(), SurfPhase::_updateThermo(), Reactor::addSensitivitySpeciesEnthalpy(), InterfaceKinetics::buildSurfaceArrhenius(), MixtureFugacityTP::calculatePsat(), MultiPhaseEquil::computeReactionSteps(), ConstCpPoly::ConstCpPoly(), ConstDensityThermo::cp_mole(), IdealSolnGasVPSS::cp_mole(), RedlichKwongMFTP::cp_mole(), SingleSpeciesTP::cp_mole(), IdealSolidSolnPhase::cp_mole(), LatticePhase::cp_mole(), IdealGasPhase::cp_mole(), PDSS_Nondimensional::cp_mole(), PDSS_Molar::cp_R(), PDSS::cpDelp_mole(), RedlichKwongMFTP::critCompressibility(), IdealSolnGasVPSS::cv_mole(), RedlichKwongMFTP::cv_mole(), PDSS_IdealGas::cv_mole(), MixedSolventElectrolyte::cv_mole(), RedlichKisterVPSSTP::cv_mole(), MargulesVPSSTP::cv_mole(), PhaseCombo_Interaction::cv_mole(), IdealGasPhase::cv_mole(), PDSS_IdealGas::density(), PDSS_IonsFromNeutral::density(), MixtureFugacityTP::densityCalc(), RedlichKwongMFTP::dpdVCalc(), PDSS_Nondimensional::enthalpy_mole(), PDSS_Molar::enthalpy_RT(), PDSS::enthalpyDelp_mole(), ConstDensityThermo::entropy_mole(), IdealSolnGasVPSS::entropy_mole(), RedlichKwongMFTP::entropy_mole(), IdealSolidSolnPhase::entropy_mole(), SurfPhase::entropy_mole(), LatticePhase::entropy_mole(), IdealGasPhase::entropy_mole(), PDSS_Nondimensional::entropy_mole(), PDSS_Molar::entropy_R(), PDSS::entropyDelp_mole(), StFlow::eval(), IdealSolidSolnPhase::getChemPotentials_RT(), WaterSSTP::getCp_R(), SurfPhase::getCp_R(), VPSSMgr_Water_ConstVol::getCp_R_ref(), BulkKinetics::getDeltaSSEntropy(), InterfaceKinetics::getDeltaSSEntropy(), VPSSMgr_Water_ConstVol::getEnthalpy_RT_ref(), PureFluidPhase::getEntropy_R(), WaterSSTP::getEntropy_R(), SurfPhase::getEntropy_R(), VPSSMgr_Water_ConstVol::getEntropy_R_ref(), AqueousKinetics::getEquilibriumConstants(), SimpleTransport::getFluidMobilities(), LiquidTransport::getFluidMobilities(), VPSSMgr_Water_HKFT::getGibbs_ref(), VPSSMgr_Water_ConstVol::getGibbs_ref(), VPSSMgr_General::getGibbs_ref(), VPSSMgr::getGibbs_ref(), WaterSSTP::getGibbs_RT(), VPSSMgr_Water_ConstVol::getGibbs_RT_ref(), WaterSSTP::getIntEnergy_RT(), VPSSMgr::getIntEnergy_RT(), LTI_StefanMaxwell_PPN::getMatrixTransProp(), DustyGasTransport::getMolarFluxes(), IdealSolnGasVPSS::getPartialMolarCp(), RedlichKwongMFTP::getPartialMolarCp(), SingleSpeciesTP::getPartialMolarCp(), SurfPhase::getPartialMolarCp(), IdealMolalSoln::getPartialMolarCp(), IdealSolidSolnPhase::getPartialMolarCp(), LatticePhase::getPartialMolarCp(), IdealGasPhase::getPartialMolarCp(), DebyeHuckel::getPartialMolarCp(), HMWSoln::getPartialMolarCp(), IdealSolnGasVPSS::getPartialMolarEntropies(), RedlichKwongMFTP::getPartialMolarEntropies(), SingleSpeciesTP::getPartialMolarEntropies(), SurfPhase::getPartialMolarEntropies(), IonsFromNeutralVPSSTP::getPartialMolarEntropies(), IdealMolalSoln::getPartialMolarEntropies(), IdealSolidSolnPhase::getPartialMolarEntropies(), LatticePhase::getPartialMolarEntropies(), IdealGasPhase::getPartialMolarEntropies(), DebyeHuckel::getPartialMolarEntropies(), HMWSoln::getPartialMolarEntropies(), VPSSMgr::getStandardChemPotentials(), PDSS_Nondimensional::gibbs_mole(), PDSS_Molar::gibbs_RT(), PDSS::gibbsDelp_mole(), VCS_SPECIES_THERMO::GStar_R_calc(), GasKinetics::init(), LiquidTranInteraction::init(), PDSS_ConstVol::intEnergy_mole(), PDSS_IdealGas::intEnergy_mole(), PDSS_IonsFromNeutral::intEnergy_mole(), PDSS_SSVol::intEnergy_mole(), ConstCpPoly::modifyOneHf298(), NasaPoly1::modifyOneHf298(), ShomatePoly::modifyOneHf298(), ConstCpPoly::modifyParameters(), ShomatePoly::modifyParameters(), PDSS_IdealGas::molarVolume(), PDSS_IdealGas::molarVolume_ref(), IdealGasPhase::pressure(), MixTransport::pressure_ig(), RedlichKwongMFTP::pressureCalc(), RedlichKwongMFTP::pressureDerivatives(), Mu0Poly::processCoeffs(), ConstCpPoly::reportHf298(), NasaPoly1::reportHf298(), ShomatePoly::reportHf298(), ThermoPhase::RT(), MargulesVPSSTP::s_update_dlnActCoeff_dT(), PDSS_ConstVol::setPressure(), PDSS_IdealGas::setPressure(), IdealGasPhase::setState_RP(), PDSS_IdealGas::setState_TR(), PDSS_ConstVol::setTemperature(), PDSS_IdealGas::setTemperature(), ShomatePoly::ShomatePoly(), HighPressureGasTransport::thermalConductivity(), Unit::Unit(), SimpleTransport::updateDiff_T(), AqueousKinetics::updateKc(), DustyGasTransport::updateKnudsenDiffCoeffs(), VCS_SOLVE::vcs_nondim_TP(), VCS_SOLVE::vcs_redim_TP(), and VCS_SOLVE::vcs_report().
const doublereal OneAtm = 1.01325e5 |
One atmosphere [Pa].
Definition at line 69 of file ct_defs.h.
Referenced by VPSSMgr_Water_ConstVol::_updateStandardStateThermo(), PDSS_HKFT::constructPDSSXML(), StFlow::eval(), PDSS_HKFT::initThermo(), VPSSMgr_Water_ConstVol::initThermoXML(), VPSSMgr_Water_HKFT::initThermoXML(), Cantera::newAdsorbateThermoFromXML(), Cantera::newNasa9ThermoFromXML(), Cantera::newNasaThermoFromXML(), Cantera::newShomateThermoFromXML(), PDSS_HKFT::PDSS_HKFT(), and PDSS_Water::pref_safe().
const doublereal GasConst_cal_mol_K = GasConstant / 4184.0 |
const doublereal Boltzmann = GasConstant / Avogadro |
Boltzmann's constant [J/K].
Definition at line 76 of file ct_defs.h.
Referenced by GasTransport::getBinDiffCorrection(), SolidTransport::getMobilities(), MixTransport::getMobilities(), SimpleTransport::getMobilities(), LiquidTransport::getMobilities(), SimpleTransport::getSpeciesFluxesExt(), MultiTransport::init(), GasTransportData::setCustomaryUnits(), and GasTransport::setupMM().
const doublereal Planck = 6.62607009e-34 |
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 |
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 GasTransport::makePolarCorrections().