*createsolidsfromshells

Creates solid elements from shell elements.

Syntax

*createsolidsfromshells entity_type input_mark_id output_mark_id comp_create_option solid_layers fill_gaps delete_shells property_create reserved1 reserved2 reserved3

Type

HyperMesh Tcl Modify Command

Description

Creates solid elements from shell elements. This API currently works only on composite ply-based models for OptiStruct/Nastran and Abaqus. Zone-based models are not supported, nor are metallic models.

Inputs

entity_type
The type of entity that holds the shell elements. Valid values are plies and laminates.
Plies need to be part of the laminate, each ply needs to have thickness and an associated set (with relevant elements assigned to it).
input_mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
output_mark_id
The ID of the mark containing the newly created solid elements. Valid values are 1 and 2.
comp_create_option
Organization method for newly created solid elements:
0 - Current component.
1 - Create a new component for each ply (valid only if entity_type is set to plies and solid_layers is set to 0).
2 - Create a new component for all solid elements created.
solid_layers
Valid if entity_type is set to plies only:
0 - Create solids for each layer.
1 - Create single solids for all layers.
fill_gaps
0 - Gaps between layers will not be filled.
1 - Gaps between layers filled with solids.
delete_shells
0 - Keep input shell elements.
1 - Delete input shell elements.
property_create
0 - No properties created/assigned for created solids.
1 - An appropriate property will be created and assigned to the solid elements.
reserved1
Reserved for future use. Must be set to 0.
reserved2
Reserved for future use. Must be set to 0.
reserved3
Reserved for future use. Must be set to 0.

Examples

To convert all shell elements in a ply named "Ply3" to solids, creating solids for each layer, without filling the gaps between layers. A new component and appropriate property should be created and assigned to the solids, deleting the existing shells:
*createmark plies 1 "Ply3"
*createsolidsfromshells plies 1 2 0 0 1 1 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
}

Version History

12.0.110