Skip to content

Replace gri30.yaml in examples that use H2-O2 chemistry #932

@ischoegl

Description

@ischoegl

Problem description

Several examples use GRI3.0 despite only using H2 as fuel (e.g. Python custom.py and the proposed C++ custom example). As discussed in #922, h2o2.yaml would be a more appropriate choice under those circumstances. While run time and storage size may not be a major concern, I believe it sends the wrong message (always automatically default to gri30.yaml, despite this having been long superseded by better choices). Forcing users to replace the mechanism file is an opportunity to make them stop and think about alternatives (which may help clarify that GRI3.0 mainly serves illustration purposes).

The ‘fix’ is obviously not difficult.

PS: As a minor ‘complication’, N2 could be added as an alternative diluent to h2o2.yaml (I am not advocating for inclusion of any nitrogen reactions).

System information

  • Cantera version: 2.5.0b1
  • OS: all
  • Python/MATLAB/other software versions: all

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions