another unit problem

another unit problem - changing the unit smath adds redundant fractions - Сообщения

#1 Опубликовано: 01.01.2018 15:40:40
Nils

Nils

0 сообщений из 2 понравились пользователям.

Группа: 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 КиБ) скачан 34 раз(а).
#2 Опубликовано: 01.01.2018 16:36:55
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: 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 КиБ) скачан 47 раз(а).
#3 Опубликовано: 01.01.2018 18:32:28
Nils

Nils

0 сообщений из 2 понравились пользователям.

Группа: 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 Опубликовано: 01.01.2018 20:31:40
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Unitless.PNG
#5 Опубликовано: 26.01.2018 12:37:49
fbramires

fbramires

0 сообщений из 1 понравились пользователям.

Группа: 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 КиБ) скачан 29 раз(а).


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 КиБ) скачан 47 раз(а).



#6 Опубликовано: 26.01.2018 13:07:45
Arie

Arie

93 сообщений из 285 понравились пользователям.

Группа: 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 КиБ) скачан 36 раз(а).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений