*linemesh_savedata_bar1
Creates 1D elements, with options for bar2 elements, and cleans up memory.
Syntax
*linemesh_savedata_bar1 entity_type create_flag config property_id vector_id offset_x_a offset_y_a offset_z_a offset_x_b offset_y_b offset_z_b auto_flag organize
Type
HyperMesh Tcl Modify
Description
Creates 1D elements, with options for bar2 elements, and cleans up memory.
Each call to this command must be paired with a previous call to *linemesh_preparedata1 or *linemesh_preparenodeslist1.
Inputs
- entity_type
- The type of entity to 1D mesh. Valid values are lines and nodes.
- create_flag
- 0 - Do not generate elements.
- config
- The 1D element config ID of the elements to create. For bar2 elements, this should be set to 60.
- property_id
- The ID of the property to assign to the 1D elements.
- vector_id
- The ID of the y-axis vector to use, defined using the *createvector command. If used, this must be set to 1. This argument is only used if auto_flag is 0 and config is 60.
- offset_x_a
- The offset in the x-direction at end a. This argument is only used if config is 60.
- offset_y_a
- The offset in the y-direction at end a. This argument is only used if config is 60.
- offset_z_a
- The offset in the z-direction at end a. This argument is only used if config is 60.
- offset_x_b
- The offset in the x-direction at end b. This argument is only used if config is 60.
- offset_y_b
- The offset in the y-direction at end b. This argument is only used if config is 60.
- offset_z_b
- The offset in the z-direction at end b. This argument is only used if config is 60.
- auto_flag
- If set to 0, vector_id is used. Otherwise, vector type is set to auto. This argument is only used if config is 60.
- organize
- 0 - Organize new 1D elements to current component.
Examples
To mesh lines 15 and 18 with a 30 degree break angle, creating bar2 elements with no property or offset and using the auto vector:
*createmark lines 1 15 18
*linemesh_preparedata1 lines 1 30 60
*linemesh_saveparameters 0 3 0 0
*linemesh_saveparameters 1 2 0 0
*linemesh_savedata_bar1 lines 1 60 0 1 0 0 0 0 0 0 1 0
To mesh between nodes 16, 17, and 2 with 3 rigid elements between nodes 16 and 17 and with 2 rigid elements between nodes 17 and 2, with no property assignment, organizing to the input line component(s):
*createlist nodes 1 16 17 2
*linemesh_preparenodeslist1 1 5
*linemesh_saveparameters 0 3 0 0
*linemesh_saveparameters 1 2 0 0
*linemesh_savedata_bar1 nodes 1 5 0 1 0 0 0 0 0 0 1 1
Errors
None.
Version History
14.0