Skip to content

consistent units check #33

Open
Open
@franaudo

Description

@franaudo

most FEA software are unit-independent, but you still need to be consistent with the unit chosen. For example, if you use mm, s, ton then you need to specify stresses in MPa. This can be a huge source of errors, especially when the target user is not an engineer.

I am thinking of adding an (optional) parameter to the Model class to specify the units to be used for consistency checks.
These checks can be done for example by comparing the order of magnitude of certain elements (for example, the width and height of a section, or the density of a material) and pop up warnings in the log files.

I have also found this very interesting library: https://pint.readthedocs.io/en/0.10.1/tutorial.html
with this library, it is very easy to convert units and even use not-consistent units at the same time (the conversion happens in the background)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions