another unit problem

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

#1 Publicado: 1/1/2018 15:40:40
Nils

Nils

0 me gusta en 2 mensajes.

Grupo: 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) descargado 1245 vez(es).
#2 Publicado: 1/1/2018 16:36:55
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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) descargado 1252 vez(es).
#3 Publicado: 1/1/2018 18:32:28
Nils

Nils

0 me gusta en 2 mensajes.

Grupo: 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 Publicado: 1/1/2018 20:31:40
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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

fbramires

0 me gusta en 1 mensajes.

Grupo: 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) descargado 673 vez(es).


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) descargado 1252 vez(es).



#6 Publicado: 26/1/2018 13:07:45
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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) descargado 1273 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
  • Nuevos mensajes
  • Sin mensajes nuevos