another unit problem

another unit problem - changing the unit smath adds redundant fractions - Messages

#1 Posted: 1/1/2018 3:40:40 PM
Nils

Nils

0 likes in 2 posts.

Group: User

Hello,

as you can see in the example below here is another problem with units in smath.
As a civil engineer I need to have pressure-values to be printed in [kN/m²] and smath
prints results of calculations in [J/m³] by default. When I try to change the unit manually, a redundant expression
in the form of [m³/m³] appears and cannot be deleted. Not only that this does not look nice - this
"new unit" cannot be combined with other values having been define in [kN/m²] by me.

I suspect that there is a logic behind this I don't understand. So please help me if you have a clue.


Thank you, Nilsminimum example.sm (7 KiB) downloaded 34 time(s).
#2 Posted: 1/1/2018 4:36:55 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

nothing is wrong with unit handling in this example except your misinterpretation.
my guess is you copy-paste the meter cube and meter square from somewhere else.
you should recheck how you handle with power for your formulas.

regards

minimum_1.sm (7 KiB) downloaded 48 time(s).
#3 Posted: 1/1/2018 6:32:28 PM
Nils

Nils

0 likes in 2 posts.

Group: User

Hello overlord,

you were totally right. I was handling the power wrong... just found out that I have to press the key twice to have it correctly.
Thank you for spending your precious evening time with helping a newbie out.

May the power be with you,

Nils
#4 Posted: 1/1/2018 8:31:40 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Unitless.PNG
#5 Posted: 1/26/2018 12:37:49 PM
fbramires

fbramires

0 likes in 1 posts.

Group: User

Hello,


Dear,
in my file is experiencing a similar event, I would like, if possible, any tips on the error that I am commenting and a possible solution.
Thank you!

Error_unit.tif (93 KiB) downloaded 30 time(s).


Wrote

nothing is wrong with unit handling in this example except your misinterpretation.
my guess is you copy-paste the meter cube and meter square from somewhere else.
you should recheck how you handle with power for your formulas.

regards

minimum_1.sm (7 KiB) downloaded 48 time(s).



#6 Posted: 1/26/2018 1:07:45 PM
Arie

Arie

93 likes in 285 posts.

Group: User

FBRamires,

You need to set your units in I.2 to (kPa)^2 and units of I.3 to (kPa)^3.


Edit: See this example

example.sm (7 KiB) downloaded 37 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
  • New Posts New Posts
  • No New Posts No New Posts