hm_getaverageelemsize
Returns the average element size for shell elements.
Syntax
hm_getaverageelemsize mark_id ?panel_sensitive? ?round?
Type
HyperMesh Tcl Query Command
Description
- quad elements: average size of one element = sqrt(1/2 * (longest diagonal) * (sum of the parallel altitudes))
- tria elements: average size of one element = sqrt(area)
The total average size is then calculated by summing each average size and dividing by the number of elements considered.
Inputs
- mark_id
- The ID of the mark containing the shell elements.
- panel_sensitive
- Deprecated. Always set to 0.
- round_to
- 0 - Round up to 3 significant digits (default).
Example
To get the average element size for elements 1-100:
*createmark elems 1 1-100
hm_getaverageelemsize 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2023 - Deprecated argument panel_sensitive.