Add vapor fraction as option for setting state in YAML files#784
Add vapor fraction as option for setting state in YAML files#784bryanwweber merged 5 commits intoCantera:masterfrom
Conversation
|
Any reason not to cover the error messages and the |
ischoegl
left a comment
There was a problem hiding this comment.
Everything else looks good to me.
04674f9 to
66feab3
Compare
Eliminate the surprising behavior of defaulting to the equation of state for water if no model is specified.
66feab3 to
decf41c
Compare
Codecov Report
@@ Coverage Diff @@
## master #784 +/- ##
==========================================
+ Coverage 71.44% 71.46% +0.02%
==========================================
Files 372 372
Lines 43952 43980 +28
==========================================
+ Hits 31400 31430 +30
+ Misses 12552 12550 -2
Continue to review full report at Codecov.
|
|
@speth I added one more test of the failure condition where the substance is unknown, to make sure that change isn't reverted. Feel free to drop it if you don't think it's necessary. This just seemed like the easiest way to add that change without a bunch of back and forth about what I meant 😄 |
|
The new phase definition you added breaks the test |
Ensure that unknown pure-fluid-name values throw an error.
fd323de to
f7c33c6
Compare
scons build&scons test) and unit tests address code coveragePlease fill in the issue number this pull request is fixing
Addressing a question from @ischoegl in on Cantera/cantera-website#91.
Changes proposed in this pull request
statedefinitions for pure fluid phases. For the last one, requires the three variables to be self-consistent.pure-fluid-nameout of the phase definition gave you awaterobject instead of throwing an exception.