1 Pages (8 items)
Add a Force Density, or Unit Weight, Dimension - Messages
#1 Posted: 4/25/2014 2:50:23 PM
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.
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 Posted: 4/29/2014 4:02:53 PM
Hello. Next version of SMath Studio will allow to set your own dimension XML file. Currently it is not possible.
Best regards.
Best regards.
1 users liked this post
Davide Carpi 4/29/2014 5:14:00 PM
#3 Posted: 5/7/2014 9:40:43 AM
WroteHello. 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 Posted: 9/25/2014 8:09:09 AM
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 Posted: 9/25/2014 11:43:53 AM
WroteAndrey, 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 Posted: 9/25/2014 12:03:23 PM
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?
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 Posted: 9/25/2014 1:09:05 PM
WroteThanks! 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
1 Pages (8 items)
-
New Posts
-
No New Posts