Density of water at a given temperature and pressure

In Wolfram|Alpha if I write:

density water at 500°C and 100 atm


30.92 kg/m^3 (kilograms per cubic meter)

and the same is true for many other pairs of values.

Is there any way to do the same in offline Mathematica?

I would love to know the formulation to which it refers, I have been looking in Google for a day and reading papers but so far I have not found any article that has such high values!

Thanks.

• I thought only gas density depends on temp. and pressure, but water is not a gas? But you can ask in the Physics form. if you are using Mathematic offline, then Mathematica can't call Wolfram Alpha. need to have internet access. Aug 23, 2021 at 13:58
• researchgate.net/publication/… ... and when can do all this for water, you will be able to get the answer offline. More info: jstage.jst.go.jp/article/jccjie/4/0/4_2017-0042/_html/-char/en cc: @Nasser
– Syed
Aug 24, 2021 at 19:25

Using Free-form input (i.e. Ctrl + =) of your query returns:

ThermodynamicData["Water", "Density", {"Temperature" ->
Quantity[500, "DegreesCelsius"],
"Pressure" -> Quantity[100, "Atmospheres"]}]


Some digging around for the source for ThermodynamicData yields: https://reference.wolfram.com/language/note/ThermodynamicDataSourceInformation.html, so I would start by looking at the NIST Reference Fluid Thermodynamic and Transport Properties Database (REFPROP).

• This does not work when one is "offline" which is what OP said they wanted. This makes a call to Wolfram server. It is basically like calling Wolfram alpha from inside Mathematica as alternative method to obtain the answer. Aug 23, 2021 at 14:41
• Yes, of-course. Was trying to give the OP a reference in answer to their question: I would love to know the formulation to which it refers Aug 23, 2021 at 14:49
• I see. I thought this was the answer to Is there any way to do the same in offline Mathematica?. no problem. Aug 23, 2021 at 14:52
• I have not tested this and have no proof that the following is entirely correct, but I think all the Data-functions work like this: when first called, they download the dataset that is needed. After that (even in the next mathematica session) the downloaded data is used locally so the ThermodynamicData function will work locally. It still will try to connect to WRI servers to look for updates, but if that doesn't work it will use the downloaded dataset. Maybe that is good enough for your definition of "local"? Aug 25, 2021 at 9:26