This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Description
🐞 Problem
I just noticed that the universal gas constant defined in both coesa62.py and coesa76.py hold wrong units: they make use of u.J / u.kg / u.K while proper units should be u.J / u.kmol / u.K. Though defined with wrong units, no errors were raised since code does not make use of those variables.
|
R = 8314.32 * u.J / u.kg / u.K |
|
R = 8314.32 * u.J / u.kg / u.K |
When the universal gas constant is divided by the mean molecular weight of the gas (with u.kg / u.kmol), the specific gas constant is obtained with units u.J / u.kg / u.K.
💡 Possible solutions
Either delete de variables or correct their units will solve for this problem.