*createsimplefold

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

Syntax

*createsimplefold airbagmark=<mark_id> nodesmark=<mark_id> linestart={<value>} lineend={<value>} ?<option1>=<value1>? ?<option2>=<value2>? … ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Creates a simple fold setup for solver run to get the resulting position of airbag. A simple fold is an airbag folding process in which a portion of the airbag is rotated by some degrees around a folding line by creating the envelopes to contain and fix the airbag perfectly. 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.
linestart2={<value>}
The coordinates of the start point of the symmetric line.
lineend2={<value>}
The coordinates of the end point of the symmetric line.
angle=<value>
The angle in degrees with which the moving side should be rotated. Provided value must be in the range 0 to 180.0 (default 180.0).
interfriction=<value>
The friction coefficient between the envelope and airbag fabric used in Type19 contact.
envelopelementsize=<value>
The element size used to create the envelope.
numsideelems=<value>
The number of elements connecting the upper and lower envelopes.
heightratioenvelopelems=<value>
The extension length of the moving envelope (limiter) which prevents buckling of the external side of the airbag between the moving and fixed envelope (see Figure 1). The ratio determines the relation of the limiter lateral height to the envelope lateral height. Valid values are from 0.0 to 1.0 (default 0.0).


createvoidcomp=<value>
Controls the creation of the void component between fixed and moving envelope (see Figure 2).
0 – Void component is not created (default)
1 – Void component is created


heightratiovoidelems=<value>
The height ratio till which depth vertical elements on void component are to be created, Valid values are from 0.0 to 1.0.
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 simple airbag fold:
*createmark comps 1 all
*createmark nodes 1 100
*createsimplefold airbagmark=1 nodesmark=2 linestart={-213.5, -0.01, -298.6}
lineend={732.8, -0.01, -0.3} exportdir=E:/temp angle=180.0 interfriction=0.5
numsideelems=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

2022