*linemesh_savedata1

Creates 1D elements and cleans up memory.

Syntax

*linemesh_savedata1 create_flag config property_id organize

Type

HyperMesh Tcl Modify

Description

Creates 1D elements and cleans up memory.

Each call to this command must be paired with a previous call to *linemesh_preparedata1 or *linemesh_preparenodeslist1.

Inputs

create_flag
0 - Do not generate elements.
1 - Generate elements.
config
The 1D element config ID of the elements to create. If creating bar2 elements (config 60) the command *linemesh_savedata_bar should be used.
property_id
The ID of the property to assign to the 1D elements.
organize
0 - Organize new 1D elements to current component.
1 - Organize new 1D elements to input lines component(s).

Examples

To mesh lines 15 and 18 with a 30 degree break angle, creating rigid elements with no property:

*createmark lines 1 15 18
*linemesh_preparedata1 lines 1 30 5
*linemesh_saveparameters 0 3 0 0
*linemesh_saveparameters 1 2 0 0
*linemesh_savedata1 1 5 0 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_savedata1 1 5 0 1

To mesh between nodes 16, 17, and 2 without creating elements:

*createlist nodes 1 16 17 2
*linemesh_preparenodeslist1 1 5
*linemesh_savedata1 0 5 0 0

Errors

None.

Version History

14.0