Working with Units

Working with Units - 消息

#1 已发布: 2010/8/23 19:00:11
Chin

Chin

0个赞,共1个帖子。

组: User

Could I ask if there is a way to choose a preferred unit after the program has calculated it?

For eg. the default unit for force is in Newtons ('N). If we wish for this to be displayed as kiloNewton (ie., kN) - how should I do this?

Thanks.
#2 已发布: 2010/8/23 19:28:23
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Hello Chin!

From the Units implementation topic:


Best regards, Andrey Ivashov.
#3 已发布: 2010/9/7 13:38:59
matteob8

matteob8

0个赞,共3个帖子。

组: User

"Unit" it's a great feature: they are everywhere in my job

But I've a little issue: how can SMath understand when I want to express a Moment instead of an Energy?
e.i. I need N*m instead Joule J.


Thanks again for this cool software!
#4 已发布: 2010/9/7 15:01:09
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello,
Wrote

But I've a little issue: how can SMath understand when I want to express a Moment instead of an Energy?
e.i. I need N*m instead Joule J.


I did not quite understand, sorry. Do you actually want insted of J every result to give you N*m ?. What's wrong with the explanation Andrey gave in the previous post - with the picture included - how to change the unit of the result?. Just change J into N*m.

You might even define a new, say, Nm unit like
'Nm:='N*'m or 'Nm:='J
and every J unit replace with Nm unit.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 已发布: 2010/9/7 16:09:22
matteob8

matteob8

0个赞,共3个帖子。

组: User

Thanks Radovan for the prompt reply!

I know: it's a subtle question.

J and N*m seem equals but they are quite different: the first referes to energy, the second to an applied load.

Maybe the following link could clarify the concept: http://en.wikipedia.org/wiki/Newton_metre

In the above link they suggest to use J/rad as an alternate unit for torque but it seems that doesen't work on SMath.

How can I solve this issue?

Thanks for the patience.

Regards,
Matteo.
#6 已发布: 2010/9/7 16:40:39
maweilian

maweilian

5个赞,共103个帖子。

组: User

A picture is worth a thousand words:



click on the placeholder on the right and press the apostrophe " ' " to insert a unit:


type in "N * m" (use the dynamic help to make sure you are using the predefined units):


that should give you the units you desire:
Will Massie Mechanical Engineer Oregon, USA
1位用户喜欢此帖子
Radovan Omorjan 2010/9/9 10:05:00
#7 已发布: 2010/9/7 18:07:50
matteob8

matteob8

0个赞,共3个帖子。

组: User

Yes! It's what I was looking for!
Thank you Will!

Sorry if bothered you guys, I'd never thought that the solution would be so simple.

Br,
Matteo.
#8 已发布: 2019/9/28 19:17:24
Juan Manuel

Juan Manuel

0个赞,共14个帖子。

组: User

Hello, I would like to consult you

                                                I define a temperature in degrees Centigrade, when I call it it looks like Kelvin degrees and then I can't make a sum because it tells me they are two different units. How can I do so that the defined temperature is maintained in every calculation in the unit that defined it?

Attached image capture of the problem.

Thank you




Captura.PNG
#9 已发布: 2019/9/29 04:22:37
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Hello,

There are many posts on the Forum about handling tempereture units. See for example this one.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1位用户喜欢此帖子
frapuano 2019/9/29 08:28:00
#10 已发布: 2019/9/29 07:46:27
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Smath Unit System is ISO, °C is not ISO.
Define your user unit.
If user unit is not '1', don't multiply input by user.

Unit.PNG
1位用户喜欢此帖子
frapuano 2019/9/29 08:28:00
#11 已发布: 2019/9/29 09:37:54
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Visit Colebrook, suggestive how to carry Engineering projects.
And recover units in the results. Each project is specific.
Please, feel free to attach your project for more doctoring.

Unit Pest.PNG

Inst_Colebrook Pipe Data.sm (61.76 KiB)已下载 1242 次。
#12 已发布: 2019/9/29 11:30:41
Juan Manuel

Juan Manuel

0个赞,共14个帖子。

组: User

thanks to everyone!

Captura.PNG
#13 已发布: 2019/9/29 17:11:19
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

thanks to everyone!


... too much stuff is missing
#14 已发布: 2019/9/29 19:03:50
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

ry practice ignoring unit system.
Only OK for baby stuff: 2*2=4m²



Unit again.PNG
#15 已发布: 2019/9/29 22:06:13
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

The difference operator is often useful.

DifferenceOperator.PNG
  • 有新帖
  • 无新帖