Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

RefProp by NIST is a program that calculates the thermodynamic properties of fluids. I need to call certain RefProp functions from inside Mathematica.

Can any one here, who has experience calling RefProp functions from Mathematica, tell me how to do this??

share|improve this question

I faced the same problem but I was told here that it was impossible.

So, looking for other alternatives I've found it! It's called CoolProp.

Given the source files and a Mathematica link file, you need to build a Mathematica-compatible CoolProp.dll yourself. Get them from GitHub

Now, I can use it with ease.

share|improve this answer
Doesn't RefProp package come already with .dll file? I am working with another dll thermodynamic properties tables and I guess that if You know the structure of functions in Your dll file You can implement them in Mathematica simply using DefineDLLFunction. – Wojciech Jan 23 '14 at 11:03
You also need to first load .NET/Link using Needs["NETLink"]` to use dll files in Mathematica. – Wojciech Jan 23 '14 at 11:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.