Hi, I want to create a tcl script to automate meshing of a braze component. Below is the default tcl commands to mesh the surfaces of the component. *createmark surfaces 2 210 224 238… is where the surfaces are collected for the meshing. My question is if my surface ids are variable. Is there a way to collect surface ids to integrate into this macro?
The surfaces I desire to mesh is at the edge of the components. Would it be possible to mark them and identify them somehow?
*startnotehistorystate {General 2D mesh surfaces}
*set_flags_for_2dmesh_context interactive=0
*set_flags_for_2dmesh_context interactive=1
*elementorder 1
*setedgedensitylinkbytypeandaspectratio 0 -1
*createmark surfaces 2 350
*defaultremeshsurf 2 0.5 1 1 2 1 1 1 1 0 0 0 0
*endnotehistorystate {General 2D mesh surfaces}
*startnotehistorystate {General 2D mesh surfaces}
*set_flags_for_2dmesh_context interactive=0
*set_flags_for_2dmesh_context interactive=1
*elementorder 1
*setedgedensitylinkbytypeandaspectratio 0 -1
*createmark surfaces 2 210 224 238 252 266 280 294 308 322 336
*defaultremeshsurf 2 0.5 1 1 2 1 1 1 1 0 0 0 0
*endnotehistorystate {General 2D mesh surfaces}