Repository navigation
Adding Cantera fluid model for incompressible reacting flows - #2713
Open
Cristopher-Morales wants to merge 323 commits into
Open
Cristopher-Morales wants to merge 323 commits into
Cristopher-Morales wants to merge 323 commits into
Conversation
…nto feature_CANTERA_PR
The Cantera unit tests read their config and mechanism files from the working directory. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nto feature_CANTERA_PR
…antera tests Other unit tests open files relative to the workspace root; the Cantera tests now do the same. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
joshkellyjak
requested changes
Oct 15, 2026
…review fixes - CANTERA_SPECIES_NAMES is optional; if omitted all mechanism species are transported. - Warn about mechanism species that are not transported. - Rename GetCombustion to GetCanteraCombustion. - Drop unneeded mass fractions in SetEnthalpyFormation. - Remove commented-out options from the test cases. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
6 tasks done
joshkellyjak
added this pull request to stack #2982
October 15, 2026 15:23
joshkellyjak
removed this pull request from stack #2982
October 15, 2026 15:57
joshkellyjak
added this pull request to stack #2984
October 15, 2026 16:25
6 tasks done
bigfooted
approved these changes
Oct 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
This pull request aims to add a fluid model called FLUID_CANTERA for coupling Cantera library with SU2. Cantera library is an open-source library for problems involving chemical kinetics, thermodynamics, and transport processes. This is needed for combustion problems using the incompressible solver.
[UPDATE] adding the cantera option to meson is now sufficient to get cantera coupled to su2.
SU2 can be built with Cantera as follows (for example):
• -Denable-tests=true can be used for testing if Cantera is correctly compiled with SU2, running one of the Cantera fluid unit test cases.
Work in progress:
• Improve cantera coupling, only compile the functionalities needed for SU2. Currently, when cantera is compiled, whole functionalities are compiled. Most of the cantera implementations are not needed for incompressible reacting flows.
• Compile cantera with the AD options. For this purpose, a different repository must be cloned and compiled, where the AD implementation of cantera is located.
• Add regression and unit test cases in the SU2 workflow.
Regarding the coupling between SU2 and Cantera, any advice/suggestion how to improve it would be really appreciated.
Thanks in advance!!
Related Work
Related to pull request #2426
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.
pre-commit run --allto format old commits.