*specialelements

Creates special elements like gasket elements between a source and target, or updates penta/hexa elements to special elements like gasket elements.

Syntax

*specialelements source_entity_type target_entity_type ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

reates special elements like gasket elements between a source and target, or updates penta/hexa elements to special elements like gasket elements.

Inputs

source_entity_type
The source entity type. Valid values are surfs, elems and faces.
target_entity_type
The target entity type. Valid values are surfs, elems and faces.
option=<value>
The following options are available and can be provided in any order:
SourceMark=<mark_id>
The ID of the mark containing the source entities. Valid values are 1 and 2.
TargetMark=<mark_id>
The ID of the mark containing the target entities. Valid values are 1 and 2.
ElemSize=<size>
The element size to use when source_entity_type is surfs.
NumLayers=<value>
The number of layers to create.
DestinationComp=<value>
The component to which the special elements will be organized. This is a mandatory option. Valid values are:
0 - New component
1 - Current component
2 - Surface component
CreatePropMat=<value>
Properties and materials will be assigned to the created elements. This is a mandatory option. Valid values are:
0 - New property
1 - Existing property

Example

Create special elements between surfaces 4 and 2, with size 10 and 3 layers:

*createmark surfs 1 4
*createmark surfs 2 2
*specialelements surfs surfs SourceMark=1 TargetMark=2 ElemSize=10 NumLayers=3 DestinationComp=1 CreatePropMat=1

Update penta/hexa elements 101-110 to special elements:

*createmark elems 1 101-110
*specialelements elems elems SourceMark=1 TargetMark=2

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

2017.1