*linearsurfacebetweennodes
Creates a ruled surface between two node lists.
Syntax
*linearsurfacebetweennodes list1 list2 reverse
Type
HyperMesh Tcl Modify
Description
Creates a ruled surface between two node lists. Optionally it can immediately be use within the auto mesher. It can also identify a region in the shape of a ruled surface for the auto mesher to use under the mesh without surface option.
Inputs
- list1
- The ID of the first list of nodes forming one side of the surface.
- list2
- The ID of the second list of nodes forming one side of the surface.
- reverse
- Indicates whether the nodes should be tested for a "bow tie" condition and reversed if necessary (1 for yes, 0 for no).
Example
Identifies a region in the shape of a ruled surface and sends it into the automesher to create quad elements:
*surfacemode 3
*createlist nodes 1 1581 77 83 88 95
*createlist nodes 2 225 228 232 235 262
*linearsurfacebetweennodes 1 2 1
*set_meshedgeparams 0 8 1 0 0 0 0 0 0
*set_meshedgeparams 1 4 1 0 0 0 0 0 0
*set_meshedgeparams 2 8 1 0 0 0 0 0 0
*set_meshedgeparams 3 4 1 0 0 0 0 0 0
*linearmesh 1
*storemeshtodatabase 0
*ameshclearsurface
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}