You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the right way to refine a mesh inside a given region (polygon)?
Is it necessary to create an additional area-file that is used with the "r"-switch or is it possible to refine a mesh e.g. with the "regions" key ?
Activity
steve725 commentedon May 29, 2024
I already found a solution:
First triangulate without refinement
Create a list with the area of each triangle; e.g
tri_max_area = [10, 10, 10, 30, 30 ...]where tri_max_area[i] is the max area of triangle i
Add the following key-value-pair to the input dictionary:
"triangle_max_area": tri_max_areaPerform a second triangulation with the additional arguments "ra" while there is no following maximum triangle area after the "a" switch