Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline maweilian  
#1 Posted : 30 April 2010 04:25:35(UTC)
maweilian


Rank: Advanced Member

Groups: Registered
Joined: 09/01/2010(UTC)
Posts: 102
Man
United States
Location: Oregon, USA

Was thanked: 5 time(s) in 5 post(s)
Since Smath with units is out of the beta stage, I thought I would post these two problems/suggestions here:

First, please see the simple calculation in the screenshot below:



The results are in ksi*m^3. It would be great if there was some way to specify default units in Smath since I almost never use metric units, which would be the case for most engineers in the USA.

Second, when I attempt to change the units to lb*in (which is the desired unit in this case) I get the following result:



This result is unusable. Smath should allow the user to input the desired units (as long as it is consistent with the operations performed) and then recalculate the result based on the desired units.

Anyway, these improvements would be very welcome. The second improvement is far and away the most important because, as it stands now, I cannot use units in Smath because of this limitation.

Edited by user 30 April 2010 04:32:46(UTC)  | Reason: Not specified

Will Massie
Mechanical Engineer
Oregon, USA

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Andrey Ivashov  
#2 Posted : 30 April 2010 05:17:52(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
You have not specified ksi unit. You should change the line "1*ksi:=1000*psi" to "ksi:=1000*psi".
Offline maweilian  
#3 Posted : 30 April 2010 05:30:22(UTC)
maweilian


Rank: Advanced Member

Groups: Registered
Joined: 09/01/2010(UTC)
Posts: 102
Man
United States
Location: Oregon, USA

Was thanked: 5 time(s) in 5 post(s)
smath wrote:
You have not specified ksi unit. You should change the line "1*ksi:=1000*psi" to "ksi:=1000*psi".


Andrey,

Thank you for pointing that out. Confusion Please see updated screen shots below. The screen shots still show the need for the improvements mentioned above. The default unit is joules (a metric unit) and attempting to change that unit to lb*in still produces an unusable result.



and results after attempting to change unit to lb*in :

Edited by user 30 April 2010 05:37:04(UTC)  | Reason: Not specified

Will Massie
Mechanical Engineer
Oregon, USA
Offline Andrey Ivashov  
#4 Posted : 30 April 2010 06:05:56(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Offline callmeishmael  
#5 Posted : 30 April 2010 14:41:22(UTC)
callmeishmael


Rank: Member

Groups: Registered
Joined: 29/04/2010(UTC)
Posts: 15
Man
Location: Italy

Was thanked: 4 time(s) in 2 post(s)
Will,
you are confusing mass units with force units.
Mass is a scalar, Force is a vector, and express completely different things

N is a force and in US units converts to lbf (pound force)
kg is a mass and in US units converts to lb (pound mass)

SMath is perfectly consistent with the units, fortunately, and by the way Mathcad behaves the same way.
Since you are dealing with a torque or bending moment, which in SI units is N m, (dimensionally equivalent to J, but physically different meaning), in your case you have to convert N m to lbf in, and not to lb in.
I tried in SMath and it works.
Of course I agree it would be nice to add an option to force default units in the results, but so far you'll need an additional manual work to express results in your archaic units Biggrin .

(just kidding, don't want to start a US&UK vs Europe Flame)

Edited by user 30 April 2010 14:51:11(UTC)  | Reason: Not specified

Offline maweilian  
#6 Posted : 30 April 2010 22:12:25(UTC)
maweilian


Rank: Advanced Member

Groups: Registered
Joined: 09/01/2010(UTC)
Posts: 102
Man
United States
Location: Oregon, USA

Was thanked: 5 time(s) in 5 post(s)
callmeishmael wrote:
you are confusing mass units with force units.


Ah, you are right! Confusion I did confuse them! In actual practice, "lb" is usually used to refer to force, but this is ambiguous, which is a fact I should have remembered. Thanks for setting me straight. Please see corrected screenshot below:



callmeishmael wrote:

Of course I agree it would be nice to add an option to force default units in the results,


Yeah, it still would be great if the user could choose his own default units.

Edited by user 30 April 2010 22:18:26(UTC)  | Reason: Not specified

Will Massie
Mechanical Engineer
Oregon, USA
Offline sublim21  
#7 Posted : 18 May 2011 18:06:34(UTC)
sublim21


Rank: Advanced Member

Groups: Registered
Joined: 18/05/2011(UTC)
Posts: 36

Was thanked: 3 time(s) in 3 post(s)
First time user to SMATH and i don't mean to be digging up old posts, but there is not currently a way to set default units in smath?

Thanks for developing this program.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.