Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting this and for comparing the binary and Python results so carefully.

I took a closer look, and I do not think this is a solver divergence. The difference comes from the enthalpy units used in the Python API. Right now, the Python Reactant API interprets enthalpy using J/kg, while the .inp file used kJ/mol.
Changing the values in your Python input to match these default units should make the Python and binary results consistent today.

I am also working on improving this in the Python API so the units are more explicit. The plan is to add an enthalpy_units argument going forward. Initially this will be optional, but recommended, so existing code keeps working. After that …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by markleader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants