Model.CE_FE_Absorb#
- Model.CE_FE_Absorb(create_flag, curr_solver, num_body_cfgs, body_cfgs, num_head_cfgs, head_cfgs, elem_filter, collection=s_defaultCollection, check_for_material=0, combine=0, conn_at_centernode=0, force_proj=0, link_by_card=0, link_by_interface=0, mcf='', org=0, rul='None', shell_connect='none', t_connect='none', thickness_type=0, tol=0.0, type2_interface=0, weld_cfg_name='', weld_type_num=0, weld_type_name='', area_absorption=0, area_headonly=0, area_in_middle=0, cluster_identify=0, group_links=0, seam_absorption=0, seam_headonly=0, select_special=0, tie_contact=0)#
Absorbs certain FE information into connectors.
- Parameters:
create_flag (int) –
0 - Spot connectors
1 - Seam/area connectors
curr_solver (hwString) – The current solver name.
num_body_cfgs (int) – The size of the connector body configuration list.
body_cfgs (hwString) – The connector body configuration list. Must be enclosed in quotes.
num_head_cfgs (int) – The size of the connector head configuration list.
head_cfgs (hwString) – The connector head configuration list. Must be enclosed in quotes.
elem_filter (hwIntList) – If provided it is indicating to check for specific elements IDs. If it is not provided are used the the displayed elements.
collection (Collection) – The collection containing the constraint entities. Should be an empty collection or not be used.
check_for_material (int) –
0 - Do not check for material for mat100 (hexa).
1 - Check for material for mat100 (hexa).
combine (int) –
0 - Do not combine in case of equivalent body nodes.
1 - Combine in case of equivalent body nodes.
conn_at_centernode (int) –
0 - Do not enable Connector at Centernode for rbe3 (load transfer).
1 - Enable Connector at Centernode for rbe3 (load transfer).
force_proj (int) –
0 - Do not enable ACM pattern recognition.
1 - Enable ACM pattern recognition.
link_by_card (int) –
0 - Do not find link entities by card.
1 - Find link entities by card.
link_by_interface (int) –
0 - Do not find link entities by interface.
1 - Find link entities by interface.
mcf (hwString) – The file name for the main connection file.
org (int) –
0 - Use current component
1 - Move connectors to FE component
rul (hwString) – The re-connect rule. Valid values are None, User id or User name.
shell_connect (hwString) – Valid values are body, head, projs, or none.
t_connect (hwString) – Valid values are body, head, projs, or none.
thickness_type (int) –
The spot connector thickness type:
1 - equival (T1+T2)/2.
3 - shell gap.
5 - const thickness.
tol (double) – The maximum distance allowed between the connector and each of its links.
type2_interface (int) –
0 - Do not find link entities by interface for type2 (spring).
1 - Find link entities by interface for type2 (spring).
weld_cfg_name (hwString) – The type of FE realization that needs to be converted to connectors.
weld_type_num (int) – The selected weld type ID.
weld_type_name (hwString) – The selected weld type name.
area_absorption (int) –
0 - Do not absorb as area.
1 - Absorb as area if possible.
area_headonly (int) –
0 - Do not only absorb FE with heads as area.
1 - Only absorb FE with heads as area.
area_in_middle (int) –
0 - Do not move area to the middle position.
1 - Move area to the middle position.
cluster_identify (int) –
0 - Do not absorb single element cluster as area.
1 - Absorb single element cluster as area.
group_links (int) –
0 - Do not organize the links into two groups.
1 - Organize the links into two groups.
seam_absorption (int) –
0 - Do not absorb as seam.
1 - Absorb as seam if possible.
seam_headonly (int) –
0 - Do not only absorb FE with heads as seam.
1 - Only absorb FE with heads as seam.
select_special (int) –
0 - Do not enable enhanced approach.
1 - Enable enhanced approach.
tie_contact (int) –
0 - Do not enable With tie contact.
1 - Enable With tie contact.
Examples#
Absorb spot connectors in specific elements in LS-DYNA profile#import hm import hm.entities as ent model = hm.Model() collection = hm.Collection(model, ent.Constraint, populate=False) elem_filter = [ 345, 346, 347, 348, 353, 354, 355, 356, 365, 366, 367, 368,\ 11572211, 11572251, 11572253, 11572256, 11572257, 11572258,\ 11572259, 11572260, 11572261, 11572262, 11572263, 11572264,\ 11572512, 11572555, 11572573, 11572719, 11572780, 11572881,\ 11572905, 11573361, 11573362, 18018894, 18018895, 18019681,\ 18019756, 18021150, 18021590, 18021605, 18021606, 18021703,\ 18021705, 18022153, 18022154, 18022155, 18022278, 18022285,\ 18022315, 18022649, 18024271, 18024272, 18024273, 18024311,\ 18024312, 18024320, 18024343, 18024344, 18024347, 18024348,\ 18024351, 18024352, 18024356, 18024380, 18024831, 18026501,\ ] model.CE_FE_Absorb( create_flag=0, curr_solver="lsdyna", num_body_cfgs=2, body_cfgs="208 206", num_head_cfgs=0, head_cfgs="contact", elem_filter=elem_filter, combine=0, link_by_interface=0, org=0, rul="User id", weld_cfg_name="custom", weld_type_num=152, weld_type_name="Hexa (Contact)", group_links=0, collection=collection, )
Absorb seam connectors in Nastran profile#import hm import hm.entities as ent model = hm.Model() model.CE_FE_Absorb( create_flag=1, curr_solver="nastran", num_body_cfgs=2, body_cfgs="208 206", num_head_cfgs=0, head_cfgs="contact", org=0, rul="None", seam_absorption=1, seam_headonly=1, area_absorption=0, area_headonly=0, area_in_middle=1, cluster_identify=0, tol=20.0, group_links=0, )