*collisionimportresults

Imports collision results from solver output message files and populates them into the Penetrations Browser.

Syntax

*collisionimportresults solveroutputpath=<value> entitytype=<value> ?entityids=<value >? ?collisiontype=<value>? ?minpendepth=<value>? ?createsets=<value>?

Type

HyperMesh Tcl Modify Command

Description

Imports collision (intersections and penetrations) results from solver output message files and populates them into the Penetrations Browser.

Inputs

solveroutputpath=<value>
The absolute path of the directory holding the solver output message files. Based on the current user profile, an appropriate output message file will be imported.
entitytype=<value>
The type of entity. The only valid value is groups.
entityids=<value>
The optional list of group IDs. If specified, collision results will be imported only for specified groups. If not specified, collision results are reported for all groups in the output message file.
collisiontype=<value>
0 - Import both Intersections and Penetrations. (default)
1 - Import Penetrations only.
2 - Import Intersections only.
minpendepth=<value>
Specifies the minimum depth of penetrations to report. Any penetrations less than the specified value will not be reported. If not specified, all penetrations in the output message file are reported.
createsets=<value>
0 - No new set entities are created. (default)
1 - New set entities containing colliding nodes elements will be created per group.

Examples

To import the output message file from D:/RunFolder and populate the penetrations into the Penetration Browser for groups ID 1001 and 1003, for penetrations greater than 0.001 and to create new set entities for penetration nodes and elements:
collisionimportresults entitytype=groups entityids="1001 1003" collisiontype=0 solveroutputpath="D:/RunFolder" minpendepth=0.001 createsets=1

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

2023