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

Fix erroneous temperature ranges in nasa_condensed.yaml #1248

Merged
merged 4 commits into from
Apr 24, 2022

Conversation

speth
Copy link
Member

@speth speth commented Apr 23, 2022

Changes proposed in this pull request

  • Add an option to ck2yaml for handling thermo data that has only a single intermediate temperature (where the field that would normally contain holds the molecular weight instead)
  • Fix species in nasa_condensed.yaml that had incorrect temperature ranges specified
  • Preserve spaces in the thermo 'note' field
  • Update nasa_condensed.yaml and nasa_gas.yaml to contain the 'note' field and add an explanation that the abbreviations used in this note are described in the McBride et al. report. Also remove the reference to the Gordon and McBride report, which is the reference for the equilibrium code, not this dataset.

If applicable, fill in the issue number this pull request is fixing

Closes #1245

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

@speth speth added Input Input parsing and conversion (for example, ck2yaml) Species Issues related to species definitions labels Apr 23, 2022
This format, used in the original NASA thermo database by McBride et al
stores the molecular weight in the last section of the first line of
each thermo entry.

Also, correct handling of cases where the inferred intermediate temperature
is outside the range (Tmin, Tmax) and the species only has a single set
of non-zero coefficients.
@ischoegl
Copy link
Member

Thanks, @speth! Am I correct in my assumption that this also addresses - and may fix - #1139?

@speth
Copy link
Member Author

speth commented Apr 24, 2022

No, but I did discover #1245 while trying to investigate #1139 and come up with a simpler test problem.

Copy link
Member

@ischoegl ischoegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@ischoegl ischoegl merged commit af3ed88 into Cantera:main Apr 24, 2022
@speth speth deleted the fix-1245-nasa-condensed branch July 23, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Input Input parsing and conversion (for example, ck2yaml) Species Issues related to species definitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect temperature ranges in nasa_condensed data
2 participants