*createtuckfold
Creates a tuck fold setup for solver run to get the resulting position of airbag.
Syntax
*createtuckfold airbagmark=<mark_id> nodesmark=<mark_id> linestart={<value>} lineend=={<value>} ?zdist=<value>? ?exportdir=<value>?
Type
HyperMesh Tcl Modify Command
Description
Creates a tuck fold setup and exports the deck for solver run to get the resulting
folded position of airbag. 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 nodes on which the imposed displacement will be applied. 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.
- zdist=<value>
- The displacement from the node defined in the set named "AirbagReferenceNodeId" in vertical direction where the two tuck tools/segments should be created. Positive value denotes away from the folding table and negative value denotes towards the folding table.
- 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 tuck airbag fold:
*createmark comps 1 all
*createmark nodes 2 1000-2000
*createtuckfold airbagmark=1 nodesmark=2 linestart={-221.666851, -0.004989, -292.523267}
lineend={729.712949, -0.004989, -10.711723} exportdir=E:/data zdist=2.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