Skip to main content
1-Visitor
February 6, 2015
Solved

how to handle unit less numerical factor in equation

  • February 6, 2015
  • 2 replies
  • 5294 views

Hello all

i am using mathcad 15

while defining a variable, mathcad shows an error for a unit less numerical factor

Error

"This value has units:Unitless,but must have units:Length."

in the same way i have used unit less numerical factor it doesn't shows any error

i am confused , anyone please help me out

regards

Balaji

Best answer by Fred_Kohlhepp

Balaji k wrote:

Thanks for your reply'

i tried this option also

but this is the standard template sheet , in that i have to use the formula what it was given in code book(Design standard)....

is there any other option to solve this issue....(with out mentioning the unit inside the formula)

Regards

Balaji

With respect to your "code book":

This looks like pipe stress calculation, also known as hoop stress. For a given stress (f) you're solving for what pressure you may have.

Hoop stress is simple: stress = (pressure)*(radius)/thickness, and orthogonal to it (pressure)*(radius)/(2*thickness)

d is pipe diameter?

e_rt is wall thickness?

So your d-2 should be d/2 to get the radius.

2 replies

24-Ruby III
February 6, 2015

Hi,

It would be better if you attach Mathcad worksheet, not a picture.

bk_011-VisitorAuthor
1-Visitor
February 6, 2015

here i attached the file

12-Amethyst
February 6, 2015

looks like d.o has units of mm so you need to tell mathcad what the offset units are: m, mm, ft, in ...

Capture.PNG

bk_011-VisitorAuthor
1-Visitor
February 6, 2015

Thanks for your reply'

i tried this option also

but this is the standard template sheet , in that i have to use the formula what it was given in code book(Design standard)....

is there any other option to solve this issue....(with out mentioning the unit inside the formula)

Regards

Balaji

23-Emerald I
February 6, 2015

Balaji k wrote:

Thanks for your reply'

i tried this option also

but this is the standard template sheet , in that i have to use the formula what it was given in code book(Design standard)....

is there any other option to solve this issue....(with out mentioning the unit inside the formula)

Regards

Balaji

With respect to your "code book":

This looks like pipe stress calculation, also known as hoop stress. For a given stress (f) you're solving for what pressure you may have.

Hoop stress is simple: stress = (pressure)*(radius)/thickness, and orthogonal to it (pressure)*(radius)/(2*thickness)

d is pipe diameter?

e_rt is wall thickness?

So your d-2 should be d/2 to get the radius.