Add a Force Density, or Unit Weight, Dimension

Add a Force Density, or Unit Weight, Dimension - Сообщения

#1 Опубликовано: 25.04.2014 14:50:23
Ricyteach

Ricyteach

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

Группа: User

I am attempting to add my own custom unit of pound force per cubic foot (pcf) to the Units.xml file; however, there does not appear to be a dimension available for Force Density (sometimes referred to as "Unit Weight" ) .

Adding this line to Units.xml results in an error:







Is there a way I can accomplish this on my own or does the source code need to be modified...?

Thanks.
#2 Опубликовано: 29.04.2014 16:02:53
Andrey Ivashov

Andrey Ivashov

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

Группа: Super Administrator

Hello. Next version of SMath Studio will allow to set your own dimension XML file. Currently it is not possible.

Best regards.
1 пользователям понравился этот пост
Davide Carpi 29.04.2014 17:14:00
#3 Опубликовано: 07.05.2014 09:40:43
Ricyteach

Ricyteach

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

Группа: User

Wrote

Hello. Next version of SMath Studio will allow to set your own dimension XML file. Currently it is not possible.

Best regards.



This is great news! Thank you for the update!
#4 Опубликовано: 25.09.2014 08:09:09
Ricyteach

Ricyteach

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

Группа: User

Andrey, did this feature make it into the latest version as planned? If so, what does a user-defined xml dimension file look like? What are the rules for creating one so I can add units for force-density, for example?
#5 Опубликовано: 25.09.2014 11:43:53
Martin Kraska

Martin Kraska

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

Группа: Moderator

Wrote

Andrey, did this feature make it into the latest version as planned? If so, what does a user-defined xml dimension file look like? What are the rules for creating one so I can add units for force-density, for example?


Have a look at the file ufhb.xml in the entries directory of the portable distribution. The added dimensions are documented in the interactive handbook [?]> Units of measurement> New units in the inofficial SMath distribution.
Some of these units are language-sensitive.

As the required force density just would add units to the pressure dimension, this should be straightforward.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Опубликовано: 25.09.2014 12:03:23
Ricyteach

Ricyteach

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

Группа: User

Thanks! I'll have a look at both of those.

Maybe I misunderstand, but force density isn't just adding units to the pressure dimension, is it? Since pressure is FORCE/LENGTH^2 and force density is FORCE/LENGTH^3. Smath didn't have the ability to add user defined units for FORCE/LENGTH^3 before. You are saying that after looking at the above references I should be able to add them now?
#7 Опубликовано: 25.09.2014 13:09:05
Martin Kraska

Martin Kraska

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

Группа: Moderator

Wrote

Thanks! I'll have a look at both of those.
Maybe I misunderstand, but force density isn't just adding units to the pressure dimension, is it? Since pressure is FORCE/LENGTH^2 and force density is FORCE/LENGTH^3. Smath didn't have the ability to add user defined units for FORCE/LENGTH^3 before. You are saying that after looking at the above references I should be able to add them now?


Sorry, I just didn't read the previous posts carefully and assumed you were asking for force/area. I added "quantity" units, but to be honest, I forgot, why I used dimension="613". Mostly just try and error. Thus, for force/volume I am not that confident.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#8 Опубликовано: 25.09.2014 13:27:00
Ricyteach

Ricyteach

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

Группа: User

When I get time I'll give it a try using 613. Hopefully Andrey will be able to let us know if he ended up including this capability in the latest release (it isn't listed in the update log at the forum download thread).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений