cantera
Agent skill fromK-Dense-AI/scientific-agent-skills
Runs Cantera homogeneous chemical reactors and evaluates ignition delay with mechanism provenance, conservation checks, and numerical refinement. Use for combustion kinetics, closed adiabatic ideal-gas constant-volume or constant-pressure ignition, temperature histories, or mechanism-specific ignition-delay comparisons.
How to install cantera
install cantera
# install the scientific-agent-skills pack with the skills CLI
npx skills add K-Dense-AI/scientific-agent-skills# or add only this skill to Claude Code: copy the folder
skills/cantera/
# into
~/.claude/skills/cantera/ (all projects)
.claude/skills/cantera/ (one project)
1# Cantera: homogeneous ignition calculations23## When to use45Use for a closed, adiabatic, homogeneous ideal-gas reactor with a known kinetic mechanism,6initial temperature, pressure, and mole composition. The bundled helper runs both constant7volume and constant pressure cases and reports a precisely defined temperature-based delay.8It is not a flame solver or a general reactor-network builder.910A calculation completing successfully establishes numerical execution, not mechanism11validity for the fuel, pressure, temperature, diluent, or measured ignition observable.12Read [references/interpretation.md](references/interpretation.md) when choosing a mechanism,13comparing experiments, or interpreting unresolved/two-stage ignition.1415## Workflow16171. Identify the mechanism and its validated condition range. Preserve its source, version,18 citation, and any modifications. Check that its phase is `ideal-gas` and that every19 reactant, diluent, and tracked species exists. For custom YAML with imports, retain the20 original dependency files as well as the generated phase snapshot. Custom Python rate21 extensions additionally need their original code and environment for replay.222. Choose constant volume or constant pressure from the physical experiment. Supply K,23 Pa, seconds, and mole amounts explicitly. `mole_amounts` is normalized to mole fractions;24 it is not a mass-fraction mapping. The report includes the normalized initial composition.25…
Excerpt shown under the repository's MIT license.
