hexagon logo

About fem_u_get_free_faces ?

I would like to determine free faces of solid elements.
I used the function fem_u_get_free_faces, but it seems to me that it returns all the face of outer elements and not the actual free faces
Would you mind giving me advice of the solution?
 
Thank you very much.
 
Tuan
 
Parents
  • Hi Arthur. This is what I mean.
    I tried what you advice and the way of looping whole elements of the model is quite expensive.
    So far, the way I do by recognizing hex free surface is fast enough but only for hex elem connectivity. For tetra, I cant find any optimal algorithm.
    Or may be, it is better not to loop through whole elements of the model but to limit to connected elements or local elements .
     
    Thank you for your code, it helps me understand how to use lp_eval().
     
    Regards,
    Tuan
Reply
  • Hi Arthur. This is what I mean.
    I tried what you advice and the way of looping whole elements of the model is quite expensive.
    So far, the way I do by recognizing hex free surface is fast enough but only for hex elem connectivity. For tetra, I cant find any optimal algorithm.
    Or may be, it is better not to loop through whole elements of the model but to limit to connected elements or local elements .
     
    Thank you for your code, it helps me understand how to use lp_eval().
     
    Regards,
    Tuan
Children
No Data