*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.
- 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:
- solid_layers
- Valid if entity_type is set to plies only:
- fill_gaps
- 0 - Gaps between layers will not be filled.
- delete_shells
- 0 - Keep input shell elements.
- property_create
- 0 - No properties created/assigned for created solids.
- 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