Open jowr opened 9 years ago
I do like this idea more and more. We might be able to borrow ideas and code from http://www.teos-10.org/software.htm#1 , which can also be found at https://github.com/TEOS-10/GSW-C . I might be able to generalise the part on seawater salinity to cover other fluids. Some sort of switch could then be used to cover simplified cases.
Consider introducing a new Gibbs-energy-based incompressible class. It seems like some of the most accurate brine formulations use very similar Gibbs-energy functions to describe the deviation from the pure water properties. This affects #775, #85, #369, #457 and #533. This would also solve the problem described in #45 .