idea-statica / iom-examples

Examples of using IDEA StatiCa IOM API
MIT License
8 stars 4 forks source link

Internal forces given in IOM are different in the CON file #82

Closed EricDuongED closed 3 years ago

EricDuongED commented 3 years ago

Hello, I have two questions:

1) The internal forces that are inputted in the IOM seem to generate an incorrect force in the CON file. For example, in the .xmlr file of the results for member "M5 @ position 0" it shows that Qz = 35N and My = -3465 N-m but in the CON file these units are reversed.

image image image

According to the coordinate system convention of internal forces for Member1D's (https://idea-statica.github.io/iom/coord-system.html), the arrow shown in the CON file for My is correct but Vz is incorrect. image

Attached below are the CON file, xml, and xmlr files that are in question. Example.zip

2) Is there any way to set the units through the IOM? I can't find anything in the v21.0 documentation. It seems like whatever the user has previously set for their units in IDEA StatiCa CON is the units that are used when the file is generated through the IOM.

Thanks in advance for any help!

Cheers, Eric

vojtech-chalupa commented 3 years ago

Hello Eric! I apologize for the late response. Let me first answer your 2nd question. The units are simply a matter of presentation, and they can't be set using the IOM. The unit setting is valid for the application as a whole, so it will indeed use the last used settings. In the code, everything works in SI units (Meters, Newtons, ...).

As for the first question, there is one more internal step - a transformation is taking place (the results in .xmlr file are transformed according to the LCS of the connected beam, and whether it is connected by its begin or end point). I'll try to illustrate it on a simple beam fixed on both ends, loaded in compression and by a continuous vertical load. The internal forces are (normal force, shear force, bending moment):

image

Looking then at the load table of the connection at the beginning of the beam (IJD1): image

And at the load table of the connection at the end of the beam (IJD2): image

You can see that the signs have been changed where necessary, in order to respect the actual loading on the beam and connections, as well as the LCS definiton (normal force sign has been transformed, since the local X axis aims away from the connection in IJD1 and towards the connection in IJD2, same with the bending moment). I hope that this makes it clear, please let me know if you have further questions.