*shelloffset
Offsets shells along their element normal direction.
Syntax
*shelloffset mark_id corner_type distance_type distance offset_type
Type
HyperMesh Tcl Modify Command
Description
Offsets shells along their element normal direction.
Inputs
- mark_id
- The ID of the mark containing the shell elements to be offset. Valid values are 1 and 2.
- corner_type
- 0 - Offset the elements using square corners.
- distance_type
- 0 - Offset elements using distance parameter.
- distance
- The distance to move the elements. Only valid when distance_type=0.
- offset_type
- 0 - Offset the elements in the positive normal direction.
Example
To offset the displayed shell elements along their positive normal by a value of 0.2, using
square corners:
*createmark elements 1 displayed
*shelloffset 1 0 0 0.2 0
To offset the displayed shell elements along their positive normal by a value of 0.2, using
CFD corners, with surfaces 1 and 2 as along
geometry:
*createmark elements 1 displayed
*createmark surfaces 2 1 2
*shelloffset 1 8 0 0.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
}