-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Thermo inconsistencies in LatticeSolidPhase #1310
Comments
The docstring of the
However, while the phase attempts to override I do not think it makes sense to have a phase where the sum of the mole fractions does not equal 1, and I think this needs to be changed to use a definition for mass and mole fractions that satisfies normal expectations. |
Problem description
The phase does not satisfy basic thermodynamic identities. Some of these are due to #1309, but I think the discrepancies here may be a separate bug.
I am also suspicious of the implementation of activities and activity coefficients for this phase, which has some unusual behavior that is not documented in any way.
Steps to reproduce
Thermo identities:
The discrepancy between h and u + Pv seems to grow with pressure.
Activities:
System information
main
at 1ab81acAdditional context
This was discovered as part of #1299, which implements Cantera/enhancements#114.
The text was updated successfully, but these errors were encountered: