*CE_ConnectorCreateByListAndRealizeWithDetails

Creates a certain style of connector at locations specified by a list, with certain rules and details, and realize the connectors using specified realization details.

Syntax

*CE_ConnectorCreateByListAndRealizeWithDetails entity_type list_id ce_style num_links link_entity_type link_mark_id solver_name fe_type tolerance string_array number_of_strings

Type

HyperMesh Tcl Modify Command

Description

Creates a certain style of connector at locations specified by a list, with certain rules and details, and realize the connectors using specified realization details.

Inputs

entity_type
The entity type that specifies the location to create connectors. Valid values are:
Lines (for seam and area).
Nodes (for spot, bolt, seam and area).
list_id
The ID of the list containing the entities. Valid values are 1 and 2.
ce_style
The style of connectors to create. Valid values are area, bolt, seam and spot.
num_links
The number of links to use.
link_entity_type
The type of entity to create links for. Valid values are comps and surfs.
link_mark_id
The ID of the mark containing the link entities. Valid values are 1 and 2.
solver_name
The target solver for realization.
config
The element type used for realization. Valid values are:
  • 2 - plot
  • 3 - weld
  • 5 - rigid
  • 21 - spring
  • 55 - rigidlink
  • 60 - bar2
  • 61 - rod
  • 70 - gap
  • 104 - quads
  • 1001 - custom
fe_type
The type ID for the current solver specified in the feconfig.cfg file. Only used for custom config 1001.
tolerance
The maximum distance allowed between the connector and each of its links during realization.
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.
Valid creation parameters include:
area_offset=<value>
Offset area connectors created from node or line lists from the selected location by this value. Default 0.0.
area_width=<value>
Width of area connectors created from node or line lists. Default 1.0.
line_density=<value>
The density for spot or seam connectors on lines. Default 0.0.
line_offset=<value>
Offset value from the ends of the line for spot or seam connectors on lines. Default 0.0.
line_offset_flag=<value>
0 - Do not offset connectors (default).
1 - Offset connectors.
line_spacing=<value>
The spacing for spot or seam connectors on lines. Default 1.0.
link_elems_geom=<value>
Specifies whether to connect elements (elems) or geometry (geom). Default elems.
link_rule=<value>
The link rule. Valid values are now, at_fe_realize or none. Default none.
relink_rule=<value>
The relink rule. Valid values are id, name or none. Default none.
seam_area_group=<value>
Group flag for seam or area connector.
0 - No (default).
1 - Yes.
tol=<value>
Add entities as links only within this distance of the specified location. Default 0.0.
tol_flag=<value>
0 - Do not offset tol (default).
1 - Use tol.

Valid realization parameters include:

ce_appliedmass=<value>
The value of the applied mass. Default 0.0.
ce_appliedmassdis=<value>
The mass distribution type for apply mass:
0 - Apply to all nodes (default).
1 - Divide by nodes.
2 - Divide by area.
3 - Unit area.
ce_areaconstantthickness=<value>
The constant thickness when ce_areathicknesstype is 3. Default 0.0.
ce_areathicknesstype=<value>
0 - (T1+T2)/2 (default).
1 - Shell gap.
2 - Mid-thickness.
3 - Constant thickness.
ce_areastacksize=<value>
The density for area connectors. Default 0.
ce_boltmaxdiameter=<value>
The maximum diameter for a hole to be accepted as a bolt hole. Default 10.0.
ce_boltmindiameter=<value>
The minimum diameter for a hole to be accepted as a bolt hole. Default 0.0.
ce_configfile=<value>
The path and name of the FE configuration file. Default "".
ce_connectivity=<value>
0 - Mesh independent (default)
1 - Mesh dependent + remesh
2 - Mesh dependent + ensure projection
3 - Mesh dependent + quad transition
4 - Mesh dependent + projection and find nodes
5 - Mesh dependent + find nearest nodes
ce_diameter=<value>
The diameter value for custom types (acm, cweld, mat100, and so on). Default 0.0.
ce_dvstfile=<value>
The path and name of the diameter vs thickness file. Default "".
ce_fevectorreverse=<value>
0 - Do not reverse the direction for seam connectors (default).
1 - Reverse the direction for seam connectors.
ce_forcecollinear=<value>
0 - Do not force collinear (default).
1 - Force collinear.
ce_nonnormal=<value>
0 - Normal projection (default).
1 - Non-normal projection.
ce_propertyid=<value>
The ID of the property to assign. Default 0.
ce_propertyscript=<value>
The path and name of the property script file. Default "".
ce_systems=<value>
0 - Do not build systems (default).
1 - Build systems.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Examples

To create a seam connector at the location of node list 66 55 65 to connect components 1 and 2 using a tolerance of 6.0 for Nastran:
*createlist nodes 1 66 55 65
*createmark comps 2 1 2
*createstringarray 5 "link_elems_geom=elems" "link_rule=now" "relink_rule=none" "tol_flag=1" "tol=6.000000"
*CE_ConnectorCreateByListAndRealizeWithDetails nodes 1 seam 2 comps 2 Nastran 2 0 10.0 1 5

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}