cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Translate the entire conversation x

Problem with some pressure units in Mathcad Prime 11.

KS_1427135
2-Explorer

Problem with some pressure units in Mathcad Prime 11.

Mathcad Prime 11 is ok with the units of atm and psi but has issues when trying to use bar and kpa in all but the SI unit system.   Why does these pressure units only are valid in SI unit system? For example, I get the following error messages when in CGS unit system:

 

"This variable is undefined.  Check that the label is set correctly."

 

When I switch back to the SI unit system it works and removes the error message.

2 REPLIES 2
Werner_E
25-Diamond I
(To:KS_1427135)

All seems to work OK in sytems SI and also USCS. The problem only occurs when you switch to CGS. In this system  Pa and also MPa is known, but kPa and bar are not. On the other hand SI and USCS don't know unit barye.

I would call it a bug and you may consider reporting it to official PTC support.

 

As a workaround you could define the necessary units yourself at the top of the sheet, maybe in a collapsed region or at the right not printable area.

Werner_E_0-1763775884612.png

For consistency sake you should label the left hand sides as "Unit" so the are also displayed in bold and blue.

Switching the unit system to SI or USCS will give errors, though, because barye is not know in these systems.

So, because all systems are aware of unit Pa it may be better to define

Werner_E_1-1763776069059.png

This should work OK in all unit systems.

 

P.S.: Its really looks like a bug. I just experimented with a user defined units system based on CGS. For pressure I am explicitly offered kPa but when I chose it the default unit still seems to be barye and kPa is unknown.

Thanks for confirming the pressure unit problem and the work around.
Announcements

Top Tags