Cantera
2.4.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(), IonGasTransport::fitDiffCoeffs(), GasTransport::fitDiffCoeffs(), GasTransport::fitProperties(), Cantera::Frot(), GasTransport::makePolarCorrections(), GasTransport::setupCollisionParameters(), IonGasTransport::setupN64(), 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::fitProperties(), IonFlow::ND(), GasTransport::setupCollisionParameters(), and Unit::Unit().
const doublereal GasConstant = 8314.4621 |
Universal Gas Constant. [J/kmol/K].
Definition at line 64 of file ct_defs.h.
Referenced by SurfPhase::_updateThermo(), vcs_VolPhase::_updateVolPM(), Reactor::addSensitivitySpeciesEnthalpy(), InterfaceKinetics::buildSurfaceArrhenius(), MixtureFugacityTP::calculatePsat(), MultiPhaseEquil::computeReactionSteps(), ConstCpPoly::ConstCpPoly(), ConstDensityThermo::cp_mole(), RedlichKwongMFTP::cp_mole(), IdealSolnGasVPSS::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(), PDSS_IdealGas::cv_mole(), RedlichKwongMFTP::cv_mole(), IdealSolnGasVPSS::cv_mole(), RedlichKisterVPSSTP::cv_mole(), MixedSolventElectrolyte::cv_mole(), MargulesVPSSTP::cv_mole(), PhaseCombo_Interaction::cv_mole(), IdealGasPhase::cv_mole(), PDSS_IonsFromNeutral::density(), MixtureFugacityTP::densityCalc(), RedlichKwongMFTP::dpdVCalc(), PDSS_Nondimensional::enthalpy_mole(), PDSS_Molar::enthalpy_RT(), PDSS::enthalpyDelp_mole(), ConstDensityThermo::entropy_mole(), RedlichKwongMFTP::entropy_mole(), IdealSolnGasVPSS::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(), ChemEquil::estimateElementPotentials(), StFlow::evalResidual(), GasTransport::fitProperties(), IdealSolidSolnPhase::getChemPotentials_RT(), WaterSSTP::getCp_R(), SurfPhase::getCp_R(), BulkKinetics::getDeltaSSEntropy(), InterfaceKinetics::getDeltaSSEntropy(), PureFluidPhase::getEntropy_R(), WaterSSTP::getEntropy_R(), SurfPhase::getEntropy_R(), AqueousKinetics::getEquilibriumConstants(), SimpleTransport::getFluidMobilities(), LiquidTransport::getFluidMobilities(), WaterSSTP::getGibbs_RT(), WaterSSTP::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(), IonsFromNeutralVPSSTP::getPartialMolarEntropies(), SurfPhase::getPartialMolarEntropies(), IdealMolalSoln::getPartialMolarEntropies(), IdealSolidSolnPhase::getPartialMolarEntropies(), LatticePhase::getPartialMolarEntropies(), IdealGasPhase::getPartialMolarEntropies(), DebyeHuckel::getPartialMolarEntropies(), HMWSoln::getPartialMolarEntropies(), MultiTransport::getThermalDiffCoeffs(), PDSS_Nondimensional::gibbs_mole(), PDSS_Molar::gibbs_RT(), PDSS::gibbsDelp_mole(), 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(), RedlichKwongMFTP::NicholsSolve(), 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(), MultiTransport::updateThermal_T(), VCS_SOLVE::vcs_evalSS_TP(), VCS_SOLVE::vcs_prob_specifyFully(), VCS_SOLVE::vcs_report(), and VCS_SOLVE::vcs_TP().
const doublereal OneAtm = 1.01325e5 |
One atmosphere [Pa].
Definition at line 69 of file ct_defs.h.
Referenced by StFlow::evalResidual(), FixedChemPotSSTP::FixedChemPotSSTP(), PDSS_HKFT::initThermo(), Cantera::newAdsorbateThermoFromXML(), Cantera::newConstCpThermoFromXML(), Cantera::newNasa9ThermoFromXML(), Cantera::newNasaThermoFromXML(), Cantera::newShomateThermoFromXML(), PDSS_HKFT::PDSS_HKFT(), PDSS_Water::pref_safe(), and PDSS_HKFT::setParametersFromXML().
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 IonGasTransport::fitDiffCoeffs(), GasTransport::fitDiffCoeffs(), GasTransport::fitProperties(), GasTransport::getBinDiffCorrection(), SolidTransport::getMobilities(), MixTransport::getMobilities(), SimpleTransport::getMobilities(), LiquidTransport::getMobilities(), SimpleTransport::getSpeciesFluxesExt(), MultiTransport::init(), GasTransportData::setCustomaryUnits(), and GasTransport::setupCollisionIntegral().
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::evalResidual(), 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 IonFlow::evalResidual(), GasTransport::makePolarCorrections(), GasTransport::setupCollisionParameters(), and IonGasTransport::setupN64().