Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced mixing rules for colliders #157

Open
rwest opened this issue Jul 26, 2022 · 8 comments
Open

Advanced mixing rules for colliders #157

rwest opened this issue Jul 26, 2022 · 8 comments
Labels
feature-request New feature request work-in-progress An enhancement that someone is currently working on

Comments

@rwest
Copy link
Member

rwest commented Jul 26, 2022

Abstract

A placeholder issue before I forget. I couldn't find an existing enhancement issue for this. A talk at the Combustion Symposium,

2A02: Shock tube/laser absorption measurement of the rate constant of the reaction: H2O2 + CO2  2OH + CO2
J. Shao,
R. Choudhary, D.F. Davidson, R.K. Hanson

just showed a huge impact of changing mixing rules (3x difference in concluded reaction rate?) and pointed out that Mike Burke's improved rules are not available in CHEMKIN or Cantera.

Motivation
From https://burke.me.columbia.edu/research-projects/ab-initio-theoretical-studies-reaction-kinetics-mixtures

The effect of many inert collision partners is essentially always handled via a mixture "rule," which is embedded in reacting flow codes (e.g. CHEMKIN, Cantera) and used to derive collision partner efficiencies from experiments. Our group has found that the most common mixture rule, on which codes and experimental interpretations are based, fails for exactly the mixtures in combustion – with errors up to an order of magnitude. These errors significantly influence predictions of flame speeds, ignition delay times, and other combustion properties as well as experimental interpretations used to derive collision efficiencies. To address these deficiencies, we have been developing new mixture rules that can reliably predict kinetics in mixtures. Once completed, these new mixture rules will enable more accurate treatment of mixture composition effects on kinetics in future reacting flow codes.

  • What problem is it trying to solve?
  • Who is affected by the change?
  • Why is this a good solution?

Possible Solutions

A detailed description of the proposed change, if there is a particular implementation that should be considered. This may include examples of how the new feature would be used, intended use cases, and pseudo-code illustrating its use. If any alternative solutions have been considered, list them them and explain why the proposed approach is preferable.

References

Links to related Pull Requests, GitHub Issues, Users' Group topics, or other relevant material.

@TheBurkeLab @michaelpburke

@rwest rwest added the feature-request New feature request label Jul 26, 2022
@michaelpburke
Copy link

michaelpburke commented Oct 11, 2022 via email

@bryanwweber
Copy link
Member

Hi @michaelpburke! Thanks for the pointer. What's the license of that code? The default without specifying one, at least in the US, is "All rights reserved", meaning we can't include it or use it in Cantera.

The easiest license for us to incorporate is BSD-style, as Cantera is under a similar license. The MIT license is similar and could also work.

@michaelpburke
Copy link

michaelpburke commented Oct 11, 2022 via email

@ischoegl
Copy link
Member

Hi @michaelpburke ... likewise thanks for the pointer. Will your group submit a PR on this work?

@bryanwweber
Copy link
Member

@michaelpburke I think the BSD 3-clause license is the most common one, in that case. The text is here: https://opensource.org/licenses/BSD-3-Clause Copy that into a file called LICENSE in the root of the repository and add your name(s) and the year 😄

The first two clauses of the license state:

must retain the above copyright notice

meaning anyone using the code in their projects must give you credit via the copyright notice.

I'm not sure if there's a general way to enforce people citing the literature (one of the perennial problems with scientific software). Certainly we would do so, but that won't show up in citation counters. More generally, GitHub will process metadata from a file called CITATION.cff if you put that into the root of your repository, see here for the docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files

@michaelpburke
Copy link

michaelpburke commented Oct 20, 2022 via email

@ischoegl
Copy link
Member

@michaelpburke ... it's up to you. Personally, I found that contributing to the main project will ensure that extensions will be supported for the foreseeable future (things don't break as they are continually tested). At the same time, your repo mainly demonstrates an interesting capability, while not being linked to Cantera itself. If you feel that it's important to have the capability integrated with the main code, then a PR with a C++ implementation would be a logical route. Cantera depends on contributions from the community, so this would be very welcome overall.

@speth speth added the work-in-progress An enhancement that someone is currently working on label Mar 19, 2024
@speth
Copy link
Member

speth commented Jun 13, 2024

The Pull Request for this is now open: Cantera/cantera#1710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request work-in-progress An enhancement that someone is currently working on
Projects
None yet
Development

No branches or pull requests

5 participants