*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.
- thickness_type
- 0 - Elements are offset by the value of thickness.
- 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.
- offset_type
- 0 - Create elements in the positive normal element direction.
- component_flag
- 0 - Newly created elements should be organized into the current component.
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
}