*section_plane_mesh
Generates a shell mesh from a selection of planar boundary elements.
Syntax
*section_plane_mesh entity_type mark_id mesh_type elem_size connectivity elem_mark_id tol
Type
HyperMesh Tcl Modify Command
Description
Generates a shell mesh from a selection of planar boundary elements.
Inputs
- entity_type
- The type of entity to use as input for the boundary. Valid values are comps and elems.
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
- mesh_type
- Flag indicating the type of mesh to generate. Valid values are:
- 0 - trias
- 1 - quads
- 2 - mixed
- 3 - right trias
- 4 - quads only
- elem_size
- The target element size.
- connectivity
- Manage the connection with input boundary/overlay elements. Valid values are:
- 0 - Generate mesh using given element size. Ignore elem_mark_id.
- 1 - Manage connection with the user given boundary elements. Ignore elem_mark_id.
- 2 - Manage connection with elements specified with elem_mark_id. Elements on elem_mark_id should be part of mark_id as well.
- 3 - Manage connection with boundary elements which are not on elem_mark_id.
- 4 - Manage connection with overlapped elements on elem_mark_id. Overlapped elements should not be tagged as boundary elements on mark_id.
- 5 - Manage connection with boundary elements which do not overlap elem_mark_id elements. Overlapped elements should not be tagged as boundary elements on mark_id.
- elem_mark_id
- The ID of the mark containing the boundary/overlay elements used to manage the connectivity. Valid values are 1 and 2.
- tol
- The tolerance to use for overlay check. If set as 0, the tolerance will attempt to be automatically detected.
Example
To create a section plane quad mesh of size 2.0, using elements 10-30 as boundary input,
and elements 1-5 as overlapped:
*createmark elems 1 10-30
*createmark elems 2 1-5
*section_plane_mesh elems 1 1 2.0 4 2 0
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.130