Program Listing for File Constants.h¶
↰ Return to documentation for file (include/namespaces/Constants.h)
// _______. ______ __ ___ .__ __. .___________. __ ___ ___ //
// / | / || | / \ | \ | | | || | \ \ / / //
// | (----`| ,----'| | / ^ \ | \| | `---| |----`| | \ V / //
// \ \ | | | | / /_\ \ | . ` | | | | | > < //
// .----) | | `----.| | / _____ \ | |\ | | | | | / . \ //
// |_______/ \______||__| /__/ \__\ |__| \__| |__| |__| /__/ \__\ //
// //
// Originally developed by D. Pizzocri & T. Barani //
// //
// Version: 2.2.1 //
// Year: 2026 //
// Authors: D. Pizzocri, G. Zullo. //
// //
#ifndef CONSTANTS_H
#define CONSTANTS_H
const double boltzmann_constant = 1.380651e-23; // (J/K)
const double boltzmann_constant_eV = 8.62e-5; // (eV/K)
const double avogadro_number = 6.02214076e23; // (at/mol)
const double molar_mass_Oxygen = 15.999; // g/mol
const double molar_mass_Chromium = 51.9961; // g/mol
const double calorie = 4.186; // J
const double gas_constant = 8.3143; // J/(mol K)
// Blackburn (1973) correlation for the equilibrium constant of UO2 oxidation,
// ln(K) = 2 ln(x(x+2)/(1-x)) + 108 x^2 - blackburn_enthalpy/T + blackburn_entropy.
// Used in Solver::NewtonBlackburn and StoichiometryDeviation.
const double blackburn_enthalpy = 32700.0; // (K)
const double blackburn_entropy = 9.92; // (/)
#endif