*CE_PreviewBoltCylinder

Set cylinder bolt parameters for bolt connectors and display the graphical preview.

Syntax

*CE_PreviewBoltCylinder mark_id solver_name config fe_config tolerance options options_size

Type

HyperMesh Tcl Modify Command

Description

This command sets cylinder bolt parameters for bolt connectors and displays the graphical preview.

Inputs

mark_id
The ID of the mark containing the connectors to update. Valid values are 1 and 2.
solver_name
The name of the solver to query. Examples include: Nastran, Abaqus, LS-DYNA, etc.
config
The connector config. Must always be set to 1001 at the present time.
fe_config
The FE element config.
tolerance
The realization tolerance.
string_array
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.
Possible keywords and the corresponding values can be separated by blanks and/or by "=":
ce_bodylen <value>
The length of the bolt when it is a spring.
ce_dia_factor <value>
The factor for the bolt diameter.
ce_diameter <value>
The diameter of the bolt.
ce_ijk "<i> <j> <k>"
The bolt vector.
ce_l1 <value>
The length of the bolt upper half.
ce_l1d1 <value>
The diameter of the bolt upper half, overriding ce_diameter.
ce_l2 <value>
The length of the bolt lower half.
ce_l2d2 <value>
The diameter of the bolt lower half, overriding ce_diameter.
ce_notuseijk <value>
0 - Do not use the bolt vector.
1 - Use the bolt vector.
ce_passthroughce <value>
0 - Do not enforce passing through connector position.
1 - Enforce passing through connector position.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Examples

To assign values of parameters for "bolt (cylinder rigid)" for Nastran to connectors 1-3 using a tolerance of 10.0:
*createmark connectors 1 1 2 3
*createstringarray 9 "ce_notuseijk=1" "ce_diameter=2.000000" "ce_l1d1=1.000000" "ce_l2d2=1.000000" "ce_l1=5.000000" "ce_l2=5.000000" "ce_bodylen=-1.000000" "ce_passthroughce=0" "ce_dia_factor=1.000000"
*CE_PreviewBoltCylinder 1 "nastran" 1001 60 10.0 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

13.0