*createfbdsummarytable

Creates an FBD summary table or min/max table.

Syntax

*createfbdsummarytable freebodysection_ids subcase_ids data_strings num_strings

Type

HyperMesh Tcl Modify Command

Description

Creates an FBD summary table or min/max table.

This queries the GPF, Applied, SPC and MPC data from the result entity on a freebodysection.

Inputs

freebodysection_ids
The list of freebodysection entity IDs.
subcase_ids
The subcase info as an array. Values are specified as resultfile_id subcase_id step_id, with each list separated by a comma. For example: 1 1 0, 1 2 0, 2 1 0, 2 1 1.
data_strings
The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
Valid parameters and their syntax are:
appf=<value>
0 - Applied forces are not particupating in the FBD calculation (default)
1 - Applied forces are particupating in the FBD calculation
freenode=<value>
0 - Free nodes. Fild the nodes which are shared by elements other than the elements contained in the freebodysection.
1 - Boundary nodes. Find only the boundary nodes of the elements contained in the freebodysection.
2 - All nodes. Find all nodes of the elements contained in the freebodysection.
gpf=<value>
0 - Grid-point forces are not particupating in the FBD calculation (default)
1 - Grid-point forces are particupating in the FBD calculation
intf=<value>
0 - Internal forces are not particupating in the FBD calculation (default)
1 - Internal forces are particupating in the FBD calculation
minmax=<value>
0 - Create FBD summary table (default)
1 - Create FBD min/max table
mpcf=<value>
0 - MPC forces are not particupating in the FBD calculation (default)
1 - MPC forces are particupating in the FBD calculation
resultid=<value>
The result entity ID.
spcf=<value>
0 - SPC forces are not particupating in the FBD calculation (default)
1 - SPC forces are particupating in the FBD calculation
tolerance=<value>
The tolerance to limite the values for table creation. Defaul is 0.00001.
num_strings
Integer indicating the size (number of strings) in the data_strings array.

Example

To create an FBD summary table:
*createstringarray 9 "tolerance=0.00001" "resultid=1" "gpf=1" "appf=1" "spcf=1" "intf=1" "mpcf=1" "freenode=2" "minmax=0"
set fbdIds {1 2 3}
set scIds {1 1 0, 1 2 0, 2 1 0, 2 1 1}
*createfbdsummarytable $fbdIds $scIds 1 9
To create an FBD min/max table:
*createstringarray 9 "tolerance=0.00001" "resultid=1" "gpf=1" "appf=1" "spcf=1" "intf=1" "mpcf=1" "freenode=2" "minmax=1"
set fbdIds {1 2 3}
set scIds {1 1 0, 1 2 0, 2 1 0, 2 1 1}
*createfbdsummarytable $fbdIds $scIds 1 9

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

2019.1