*createzigzagfold

Creates a zigzag fold setup for solver run to get the resulting position of airbag.

Syntax

*createzigzagfold airbagmark=<mark_id> nodesmark=<mark_id> linestart={<value>} lineend={<value>} ?method=<value>? ?nplies=<value>? ?distplates=<value>? ?fixedsidewidth=<value>? ?exportdir=<value>?

Type

HyperMesh Tcl Modify Command

Description

Creates a zigzag fold setup and exports the deck for solver run to get the resulting folded position of the airbag. A zigzag fold is defined as the folding of the side using vertical plates to get the zigzag type of structure as shown in Figure 1. The folding table must be created using *createfoldingtable before running the command.


Inputs

airbagmark=<mark_id>
The ID of the mark containing the airbag components. Valid values are 1 and 2.
nodesmark=<mark_id>
The ID of the mark containing the node defining which side of the airbag from the folding line will be folded. Valid values are 1 and 2.
linestart={<value>}
The coordinates of the start point of the folding line.
lineend={<value>}
The coordinates of the end point of the folding line.
method=<value>
Defines the motion of the zigzag plates:
1 – Both lower and upper plates move towards the center. (default)
2 – Only the lower plates move upwards.
nplies=<value>
The number of plates to be created on each side of the airbag. It must be a positive integer value (default 10).
distplates=<value>
The lateral distance between 2 consecutive plates (default 50.0 mm). This distance is also equal to the height of the zigzag plates, also minimum resulting distance from both the criterion nplies and distplates will be considered.
fixedsidewidth=<value>
The width of the rigid plates in mm to hold the fixed side of airbag between upper and lower fixed rigid plates (default 50.0 mm).
exportdir=<value>
The directory path where the resulting solver deck is exported. User should have the write permission in this directory. Default is set to the location defined by the environment variable ALTAIR_HOME.


Examples

To define a zigzag airbag fold:
set sidenodeid 225855
*createmark comps 1 all
*createmark nodes 2 $sidenodeid
*createzigzagfold airbagmark=1 nodesmark=2 linestart={-232.193279, -0.004989,-291.824185}
lineend={719.186521, -0.004989, -10.012642}
exportdir=E:/data method=1 nplies=10 distplates=50 fixedsidewidth=100

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

2022