*linestoelementsaddelemsfixed
Marks the specified lines as feature edges before using the command for remeshing elements.
Syntax
*linestoelementsaddelemsfixed mark_id elem_size
Type
HyperMesh Tcl Modify
Description
This command generates plot elements along selected lines with a given density. These plot elements are then used as feature edges for element remeshing. Use of this command implies that it will be followed by a command that performs meshing/remeshing of elements.
Inputs
- mark_id
- The ID of the mark containing lines that should be considered to form feature edges in subsequent element remesh operations. Valid values are 1 and 2.
- elem_size
- The default element edge size used to calculate element densities along the constructed feature edges.
Example
To remesh the displayed elements and create feature edges with element size 10.0 along lines with IDs 1600 and 1601:
*createmark elems 1 displayed
*setusefeatures 1
*createmark lines 2 1600 1601
*linestoelementsaddelemsfixed 2 10
*defaultremeshelems 1 3.0 2 2 0 1 1 1 0 0 0 0 0 30
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
10.0