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
Molecular Formulas as Trivial Property #564
Comments
That's a great idea. Can you put it together? |
Looks like it should be pretty easy actually: http://chemspipy.readthedocs.org/en/latest/guide/gettingstarted.html |
That's a great solution! I meant to reply earlier, but I wanted to compile the formulas first. I'll look into your solution soon! |
There's also this - http://cactus.nci.nih.gov/chemical/structure . I've heard its a lot more reliable. Looks like you can get back the chemical formula, and it can all be scripted. Do you use python? |
Ian, Thanks for the additional details! I actually code in Objective-C and I've been working on bringing in CoolProp to my app, Chemical Engineering Appsuite. I should have an update to the app finalized by the end of the month. https://itunes.apple.com/us/app/chemical-engineering-appsuite/id526158171?mt=8 Best, |
Since properties such as molar mass, critical temp, critical pressure, etc. can be retrieved based on the fluid name, why not add a feature to retrieve the formula?
std::string formula = CoolProp::get_fluid_param_string("Nitrogen", "Formula");
to return "N2"
Obviously, there would be some exceptions like air which doesn't have a molecular formula, but this feature would still be helpful.
The text was updated successfully, but these errors were encountered: