*nodetoelementgapscreate
Creates node-to-element gap elements (CGAPG) for use with the OS solver
Syntax
*nodetoelementgapscreate gaps_location target_elems face_nodes break_angle property_name vectorid nodeid orient_x orient_y orient_z comps_flag systemid
Type
HyperMesh Tcl Modify
Description
Inputs
- gaps_location
- The ID of the mark containing the location of the gaps.
- target_elems
- The ID of the mark containing the elements to which the nodes are projected.
- face_nodes
- The ID of the mark containing nodes which lie on the face of one or more elements (solids only).
- break_angle
- The break angle of a solid face.
- property_name
- The name of the property to which the gap elements should point.
- tolerance
- The maximum distance allowed between the nodes (on gaps location mark) and the elements (on target elems mark).
- vectorid
- The ID of the orientation vector associated with the gap elements.
- nodeid
- The ID of the orientation node associated with the gap elements.
- orient_x
- X component of the orientation vector.
- orient_Y
- Y component of the orientation vector.
- orient_Z
- Z component of the orientation vector.
- comps_flag
- Flag to indicate if individual components are used in defining the orientation of the elements ( 1if components are used, 0 if they are not).
- systemid
- The ID of the coordinate system used for orienting the gap elements
Example
In the example below, nodes 1 to 100 are projected to shell elements 30 to 75 within a tolerance of 1.0. The gap elements point to the property gapprop and use components (70,120,80) for their orientation:
*createmark(nodes,1) 1-100
*createmark(elements,2) 30-75
*createmark(nodes,2)
*nodetoelementgapscreate(1,2,2,0,"gapprop",1,0,0,70,120,80,1,0)
Orientation of the gap elements may be specified using either a vector, node, coordinate system or individual components
Errors
None.