another unit problem

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

#1 Pubblicato: 01/01/2018 15:40:40
Nils

Nils

0 apprezzamenti in 2 post.

Gruppo: 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,1 KiB) scaricato 1248 volta(e).
#2 Pubblicato: 01/01/2018 16:36:55
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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,28 KiB) scaricato 1257 volta(e).
#3 Pubblicato: 01/01/2018 18:32:28
Nils

Nils

0 apprezzamenti in 2 post.

Gruppo: 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 Pubblicato: 01/01/2018 20:31:40
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Unitless.PNG
#5 Pubblicato: 26/01/2018 12:37:49
fbramires

fbramires

0 apprezzamenti in 1 post.

Gruppo: 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,77 KiB) scaricato 675 volta(e).


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,28 KiB) scaricato 1257 volta(e).



#6 Pubblicato: 26/01/2018 13:07:45
Arie

Arie

94 apprezzamenti in 285 post.

Gruppo: 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,43 KiB) scaricato 1279 volta(e).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
  • Nuovi post
  • Nessun nuovo post