Hey guys hi!
My name is Alessio, I'm looking for some thermodynamics programs useful for my exercises.
I already visited the famous website hpcalc.org but I did not find anything about for example the refrigeration fluid R134a ( i mean simple tables)
Could someone help me?
Do you know anything about programming the HP 50g? It would be relatively easy to create a table of R134a properties program. You could start with the CASE ... END structure. The test-clause would use temperature as an argument.
<<
CASE -40 ==
THEN {-40 51.2 0.0007054 0.3611 -0.04 207.37 0.00 225.86 225.86
0.0000 0.9687 0.9687} END
.
.
.
END
>>
So now you have, for example, {-40 51.2 0.0007054 0.3611 -0.04 207.37 0.00 225.86 225.86 0.0000 0.9687 0.9687} in stack level one. The program will
return
{"deg C=" "kPa=" "vf=" "vg=" "uf=" "ug=" "hf=" "hfg=" "hg=" "sf=" "sfg="
"sg="} to stack level one, which will push the previous argument to stack level two. So now you have
2: {-40 51.2 0.0007054 0.3611 -0.04 207.37 0.00 225.86 225.86 0.0000 0.9687 0.9687}
1: {"deg C=" "kPa=" "vf=" "vg=" "uf=" "ug=" "hf=" "hfg=" "hg=" "sf=" "sfg="
"sg="}
Use the ADD command to concatenate the two lists. You could then have the program break open the list onto the stack. With a little work you could figure out a more aesthetically pleasing way of displaying your data. Check out the DISP and FREEZE commands.
Hello,
here are some pictures showing the HP 50g port of THERMO-PRO that I did.
Regards,
Andreas
Excellent thread! I was going to post a similar q.
Vagn Anderssen
Helsinki