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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Unit combination

ecosta
1-Newbie

Unit combination

Good morning,

I have a quick question regarding units. I am new using mathcad. This might be a silly questions but i am trying to input the units at the end of a calculation such as wind pressure in psf, but when i do it changes automatically to Pa^1*psf. that's not what i want. how can i change this?

I am attaching the file. first page, last equation. It doesnt have any units at this moments, but as soon as i double click on the unit section and enter psf of lb/ft^2 is also adds Pa^-1.

Thanks.

Ernesto Costa

EN Engineering.

1 ACCEPTED SOLUTION

Accepted Solutions

Fred,

I see that you assumed the 0.00256 factor to be an approximate value for the density of air in slug/ft^3 (perhaps we could call it "heavy air" - maybe to account for air pollution ).  However, looking online,  I found this example (see the reference to ASCE 7-10 Equation 27.3-1 near the bottom of page C-10, and continuing with numerical examples on page C-11).  This appears to confirm my initial thought that the equation is set up expecting certain units (mph) and resulting in certain units (psf).

Convinced, however, that you were correct in assuming the density of air should be used, I noted the following:

Therefore, I assume a more "pure" form of the equation would be:

I doubt Ernesto will find this equation very useful, however, since anyone reviewing the calculations will expect the equation to be in the form presented by ASCE.

View solution in original post

8 REPLIES 8
RichardJ
19-Tanzanite
(To:ecosta)

You can't assign arbitrary units to a result. Allowing this would defeat the purpose of Mathcad's unit handling, which is to give you the correct units for the result given the units of the defined variables. You defined your variables with no units, so the result has no units. If you then type psf into the units placeholder Mathcad puts in the default SI unit that is the inverse of that so the the result remains unitless. You need to add units to the definitions of Kz, Kzt, Kd and V. qz will then be displayed in the default SI units of Pa. If you type psf in the units placeholder the numeric value of the result will change.

MJG
18-Opal
18-Opal
(To:RichardJ)

Due to the format of the equation, I assume the K values are unitless factors, V has a unit and the value 0.00256 is the unit conversion.  Unfortunately, this is often how engineering equations are presented.  In this case, I would recommend you multiply V by its unit (you show mhp in the adjacent text box - I assume you meant mph?) and multiplying 0.00256 by the expected unit over the V unit squared.  See below & attached.

MJG
18-Opal
18-Opal
(To:MJG)

Alternatively, you could divide each variable by the expected input unit and multiply the entire equation by the expected return unit:

ecosta
1-Newbie
(To:MJG)

Excellent way to present how to make the conversion. Thanks for the help.

Fred_Kohlhepp
23-Emerald I
(To:ecosta)

Richard beat me to it, but since I deal with dynamic pressure I added density units to the second expression to get pressure.

Fred,

I see that you assumed the 0.00256 factor to be an approximate value for the density of air in slug/ft^3 (perhaps we could call it "heavy air" - maybe to account for air pollution ).  However, looking online,  I found this example (see the reference to ASCE 7-10 Equation 27.3-1 near the bottom of page C-10, and continuing with numerical examples on page C-11).  This appears to confirm my initial thought that the equation is set up expecting certain units (mph) and resulting in certain units (psf).

Convinced, however, that you were correct in assuming the density of air should be used, I noted the following:

Therefore, I assume a more "pure" form of the equation would be:

I doubt Ernesto will find this equation very useful, however, since anyone reviewing the calculations will expect the equation to be in the form presented by ASCE.

Fred_Kohlhepp
23-Emerald I
(To:MJG)

Mark;

All of what you said is correct.  Without the full ASCE documents and the time to read thru them I can't tell, and the factor of 1/2 is certainly in the definition of dynamic pressure.  Ernesto, you, and I are all caught in the snare of n equation presented without adequate definition.

I like the fact that Mathcad understands and converts units.  But it's difficult for someone not used to that fact to discard the terms in the old engineering books that are simply unit conversion terms that don't need to be in the Mathcad version of the equation.

The debate over whether to use units or not has endured for as long as I've followed Mathcad.  It's still alive and raging.

As for me, I'll use them; and I'll try to understand equations like Ernesto's that confound that use.

ecosta
1-Newbie
(To:MJG)

I do like very much to present to the client using this way. a bit longer, but for someone who isn't an engineering wont understand where the 0.00256 comes from. Thank you.

Top Tags