3D elements size

Harjit Singh
Harjit Singh New Altair Community Member
edited October 2020 in Community Q&A

I've calculated the average elements size using the following code:

 

*createmark elems 1 displayed

hm_getaverageelemsize 1

 

However, the value I've got is 0. How can I fix it?

 

Thanks

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited May 2020

    Hi

    hm_getaverageelementsize works with 2d elements only.

    But with a bit thinking you can utilize it with 3d elems (by creating faces of 3d elems, from v2017 hm supports to create interior faces. I think avg size of 2d faces can represent avg size of 3d elems)