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

Update diamond.cti and diamond_cvd.py #630

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

agarwalrounak
Copy link
Contributor

Fixes #313

Changes proposed in this pull request:

  • Replaced the diamond.cti in data/inputs with the one in test_problems/diamondSurf
  • Updated the diamond_cvd.py example to include the plots:

g1

g2

@agarwalrounak
Copy link
Contributor Author

@bryanwweber I would like your review on this.

@speth
Copy link
Member

speth commented May 9, 2019

If we do this, you can delete test_problems/diamondSurf/diamond.cti, right?

@bryanwweber bryanwweber force-pushed the diamond#313 branch 2 times, most recently from 2a686d0 to 17a27be Compare August 5, 2019 01:46
@bryanwweber
Copy link
Member

@speth I believe this PR is complete now

Replace data/inputs/diamond.cti with test_problems version that has
more information. This results in a change in the default pressure and
mole fractions of the gas phase, which in turn changes the result of
one of the regression tests. This is fixed by setting the composition
and pressure of the gas phase in the test to their original values. The
default state from the CTI file matches from the paper.

In addition, there was a difference in the reversibility of reaction u
between the files. Since the thermo for C(d) specifies that the
reaction is irreversible, this is the sense of the reaction that is
chosen.

Include plotting in the diamond_cvd.py and use open properly.
@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #630 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
- Coverage   70.66%   70.66%   -0.01%     
==========================================
  Files         372      372              
  Lines       43507    43507              
==========================================
- Hits        30745    30744       -1     
- Misses      12762    12763       +1
Impacted Files Coverage Δ
src/transport/GasTransport.cpp 90.37% <0%> (-0.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bfa5a66...3e423bb. Read the comment docs.

@speth speth merged commit 7523022 into Cantera:master Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add examples from "Defining Phases" to the documentation
3 participants