*plyupdate
Updates one or more ply entities.
Syntax
*plyupdate ply_mark_id entity_flag entity_type entity_mark_id material_flag material_name thickness_flag thickness orientation_flag orientation integration_points_flag integration_points result_request_flag result_request thickness2 thickness3 thickness4 table_flag table_id system_flag system_id
Type
HyperMesh Tcl Modify
Description
Creates a ply entity.
Inputs
- ply_mark_id
- The ID of the mark containing the plies to update. Valid values are 1 and 2.
- entity_flag
-
- 0 - Do not update the ply entities.
- 1 - Update the ply entities.
- entity_type
- The type of entity to use to define the ply. Currently only sets are supported.
- entity_mark_id
- The ID of the mark containing the entities that define the ply. Valid values are 1 and 2.
- material_flag
-
- 0 - Do not update the ply material.
- 1 - Update the ply material.
- material_name
- The name of the material to assign to the ply. The material must already exist.
- thickness_flag
-
- 0 - Do not update any ply thickness values.
- 1 - Update thickness only.
- 2 - Update thickness2 only.
- 3 - Update thickness3 only.
- 4 - Update thickness4 only.
- 5 - Update thickness, thickness2, thickness3 and thickness4.
- thickness
- The thickness of the ply.
- orientation_flag
-
- 0 - Do not update the ply orientation.
- 1 - Update the ply orientation.
- orientation
- The ply orientation angle, in degrees, relative to the element material coordinate system (-360 > orientation ≤ 360).
- integration_points_flag
-
- 0 - Do not update the ply integration points.
- 1 - Update the ply integration points.
- integration_points
- The number of integration points through the ply thickness. The default value is 3 and input is not required.
- result_request_flag
-
- 0 - Do not update the ply result request.
- 1 - Update the ply result request.
- result_request
- Flag indicating whether to request output results for the ply. The default value is 0
and input is not required.
- 0 - No
- 1 - Yes
- thickness2
- Ply thickness 2, valid only for ANSYS. The default value is 0 and input is not required.
- thickness3
- Ply thickness 3, valid only for ANSYS. The default value is 0 and input is not required.
- thickness4
- Ply thickness 4, valid only for ANSYS. The default value is 0 and input is not required.
- table_flag
-
- 0 - Do not update the ply drape table ID.
- 1 - Update the ply drape table ID.
- table_id
- The ID of the table containing the drape information, valid only for OptiStruct.
- system_flag
- 0 - Do not update the ply system ID.
- system_id
- The ID of the local coordinate system for the ply.
Example
To update all plies with an orientation of +90 and result request = no:
*createmark plies 1 all
*clearmark sets 1
*plyupdate 1 0 sets 1 0 material 0 0.01 1 90 0 3 1 0 0 0 0 0 0
*clearmark plys 1
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
11.0