*elemoffset

Offsets shell elements normally to create solid elements.

Syntax

*elemoffset mark_id density bias_style bias initial_offset corner_type thickness_type thickness shells_only offset_type component_flag

Type

HyperMesh Tcl Modify Command

Description

Offsets shell elements normally to create solid elements.

Inputs

mark_id
The mark ID containing the elements to offset. Valid values are 1 and 2.
density
The density (number of layers) of solid elements to create in the normal direction.
bias_style
The bias style.
bias
The bias intensity value.
initial_offset
The initial offset value.
corner_type
0 - Create elements with square corners.
1 - Create elements with rounded corners.
8 - Offset the elements using CFD corners. When this option is specified, an additional mark of surfaces and elements can be specified to specify the geometry to follow.
thickness_type
0 - Elements are offset by the value of thickness.
1 - Elements are by the thickness of the selected elements.
2 - Elements are offset by the thickness from the element size.
4 - Elements are offset by a distribution with different thickness ratios per node.
thickness
The total thickness of the layers of elements to create.
shells_only
0 - Create hexas and pentas from quads and trias, and create quads from plot elements.
1 - Create offset quads, trias, and plot elements.
3 - Thicken shell elements into solids.
offset_type
0 - Create elements in the positive normal element direction.
1 - Create elements in the negative normal element direction.
component_flag
0 - Newly created elements should be organized into the current component.
1 - Newly created elements should be organized into the component of the input elements.

Example

To build layers of solid elements by offsetting shells 22 and 109:
*createmark elems 1 22 109
*elemoffset 1 3 0 0 0.5 1 0 1 0 0 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}