Add a Force Density, or Unit Weight, Dimension

Add a Force Density, or Unit Weight, Dimension - Messaggi

#1 Pubblicato: 25/04/2014 14:50:23
Ricyteach

Ricyteach

2 apprezzamenti in 14 post.

Gruppo: 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 Pubblicato: 29/04/2014 16:02:53
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 29/04/2014 17:14:00
#3 Pubblicato: 07/05/2014 09:40:43
Ricyteach

Ricyteach

2 apprezzamenti in 14 post.

Gruppo: 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 Pubblicato: 25/09/2014 08:09:09
Ricyteach

Ricyteach

2 apprezzamenti in 14 post.

Gruppo: 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 Pubblicato: 25/09/2014 11:43:53
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#6 Pubblicato: 25/09/2014 12:03:23
Ricyteach

Ricyteach

2 apprezzamenti in 14 post.

Gruppo: 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 Pubblicato: 25/09/2014 13:09:05
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: 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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#8 Pubblicato: 25/09/2014 13:27:00
Ricyteach

Ricyteach

2 apprezzamenti in 14 post.

Gruppo: 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).
  • Nuovi post
  • Nessun nuovo post