Thermodynamics - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Thermodynamics (/thread-1197.html) |
Thermodynamics - Ale777 - 04-28-2014 07:05 PM 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? RE: Thermodynamics - MNH - 05-02-2014 03:18 AM 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. RE: Thermodynamics - Software49g - 05-16-2014 03:00 PM Hello, here are some pictures showing the HP 50g port of THERMO-PRO that I did. Regards, Andreas RE: Thermodynamics - Vagn Anderssen - 05-17-2014 08:27 PM Excellent thread! I was going to post a similar q. Vagn Anderssen Helsinki |