adtzlr / trusspy

Nonlinear Truss Solver for Python
http://trusspy.readthedocs.io/
GNU General Public License v3.0
53 stars 11 forks source link

[Question] Which units should be used? #57

Closed Martin15135215 closed 11 months ago

Martin15135215 commented 11 months ago

Which units should be used for:

So what units should the numbers I write in the functions have?

adtzlr commented 11 months ago

Hi @Martin15135215 and thanks for asking! You are free to use any consistent unit system you like, e.g. one of https://www.dynasupport.com/howtos/general/consistent-units. TrussPy has no units or unit-converters "built-in". SI-Units are always fine. In TrussPy, there are no rotations involved, just (translational) displacements.

P.S.: Your suggestion is also fine. Just be consistent with length and force units over geometric (length, area), kinematic (displacements), constitutive (elastic modulus) and kinetic (force) quantities. The unit system restriction is somewhat relaxed because we have no dynamics and no gravity/mass (sometimes also called body) loads involved in TrussPy.