The NASA / Cantera Species Builder fits NASA-7 polynomials (the standard form for heat capacity, enthalpy, and entropy against temperature in combustion and kinetics codes) and writes them as Cantera species definitions. Use it to add species that a mechanism is missing, or to give a fitted or generated mechanism real thermodynamics. It runs on CPU.
How it works
For each species it fits the seven NASA coefficients by least squares over one temperature range (t_min_k to t_max_k, within 200 to 6,000 K), anchored to the formation enthalpy and Gibbs energy you give. The fit's residuals are reported so you can judge its quality.
Inputs
One of two sources:
cp_table: your heat-capacity data, one row per species and temperature:name,t_k,cp_j_mol_k, plus formation enthalpy (hf_j_mol) and Gibbs energy (gf_j_mol), and the elemental composition (element columns such asC,H,O, or a SMILES the composition can be derived from).joback_properties: theproperties.csvfrom Group-Contribution Properties, so you can go from SMILES to Cantera species without measured data.
Up to 1,000 species and 50,000 heat-capacity rows.
Outputs
mechanism/primary.yaml: Cantera species with their NASA-7 thermodynamics, ready to use in Cantera.fit_residuals.csv: the fitted against the input heat capacities, per species.
Not covered
Two-range NASA-7 and NASA-9 polynomials aren't available yet. For real-fluid reference states, use CoolProp.
Related tools
Group-Contribution Properties for estimates from SMILES, Kinetic Parameter Fitter for rate constants, and Cantera to simulate.