1 страниц (9 вхождений)
Disable specific unit - How to disable not used unit - Сообщения
#1 Опубликовано: 23.04.2018 10:18:16
Hi, in my calculations I often use kJ/kg (and derivative) units (enthalpy, specific heat).
SMath always presents result in Gy and I have always manually to redefine it.
Is there any possibility to disable Gy unit which is useless for my tasks?
I tried to assign 'Gy := 0 to disable this unit but it does not work.
SMath always presents result in Gy and I have always manually to redefine it.
Is there any possibility to disable Gy unit which is useless for my tasks?
I tried to assign 'Gy := 0 to disable this unit but it does not work.
#2 Опубликовано: 23.04.2018 10:42:17
WroteIs there any possibility to disable Gy unit which is useless for my tasks?
Work sheet would help.
Unitless solves all problems.
Knowing in advance the unit of result, define it user style
kJ/kg ... Smath style kJ_kg:=1
copy "kJ_kg", paste in the empty place holder of result.
#3 Опубликовано: 23.04.2018 13:09:38
WroteHi, in my calculations I often use kJ/kg (and derivative) units (enthalpy, specific heat).
SMath always presents result in Gy and I have always manually to redefine it.
Is there any possibility to disable Gy unit which is useless for my tasks?
I tried to assign 'Gy := 0 to disable this unit but it does not work.
When you re-defined Gy, did you use the ' infront of Gy (e.g. 'Gy? This makes it the same font/etc.
I work in IP units and need to re-define everything in the results. Part of the quirks of working in SMath

#4 Опубликовано: 23.04.2018 14:40:46
#5 Опубликовано: 27.04.2018 07:38:08
#6 Опубликовано: 27.04.2018 08:45:21
btw, the default unit depends on optimization setting.
symbolic evaluation gives bare SI base units.
numeric evaluation gives some derived unit, which might or might not be appropriate for the given case.
symbolic evaluation gives bare SI base units.
numeric evaluation gives some derived unit, which might or might not be appropriate for the given case.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#7 Опубликовано: 08.11.2018 03:44:26
I have to agree with m227. Can we request this as a feature as Gy is hardly applicable in most cases.
#8 Опубликовано: 08.11.2018 20:02:36
WroteI have to agree with m227. Can we request this as a feature as Gy is hardly applicable in most cases.
Hi. This is a workaround. Edit the file Units.xml under the SMath/entries/ folder, disabling the entries for the unit Gy:
Then you can get, for example, the enthalpy from Coolprops plugin in J/kg by default:
Best regards.
Alvaro.
1 пользователям понравился этот пост
frapuano 09.11.2018 06:54:00
1 страниц (9 вхождений)
-
Новые сообщения
-
Нет новых сообщений