Model.CE_FE_RealizeWithDetails#
- Model.CE_FE_RealizeWithDetails(ce_collection, ce_style, solvername, config, fe_type, collectorflag, tolerance, ce_propertyid=0, ce_systems=0, ce_connectivity=0, ce_forcecollinear=0, ce_nonnormal=0, ce_diameter=0.0, ce_areathicknesstype=0, ce_areaconstthickness=0.0, ce_areastacksize=0, ce_boltmindiameter=0.0, ce_boltmaxdiameter=10.0, ce_appliedmass=0.0, ce_appliedmassdis=0, ce_configfile='', ce_dvstfile='', ce_propertyscript='', ce_fevectorreverse=0)#
Realizes existing connectors, using specified details.
- Parameters:
ce_collection (Collection) – The collection containing the desired connector entities.
ce_style (hwString) –
Connector style:
spot
bolt
apply mass
seam
area
solvername (hwString) – The solver for which the connectors must be realized.
config (int) –
The element realization type:
2 - plot
3 - weld
5 - rigid
21 - spring
55 - rigidlink
60 - bar2
61 - rod
70 - gap
104 - quads
1001 - custom
fe_type (int) – The type ID for the current solver specified in the FE configuration file (for custom config 1001 only).
collectorflag (int) –
The collector that should contain the results of realization:
0 - currently selected collector
1 - connector’s collector
tolerance (double) – The maximum distance allowed between the connector and each of its links during realization.
ce_propertyid (int) – Property ID value.
ce_systems (int) –
Build system flag:
0 - do not build systems
1 - build systems
ce_connectivity (int) –
Connectivity type: 0 - mesh independent
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_forcecollinear (int) –
Collinear flag:
0 - non-collinear
1 - collinear
ce_nonnormal (int) –
Nonnormal projection:
0 - normal
1 - nonnormal
ce_diameter (double) – Diameter value for some custom types (acm, cweld, mat100 etc.).
ce_areathicknesstype (int) –
Area connector thickness type:
0 - (T1+T2)/2
1 - shell gap
2 - mid thickness
3 - const thickness
ce_areaconstthickness (double) – Const thickness value for area connectors.
ce_areastacksize (int) – Density for area connectors.
ce_boltmindiameter (double) – Minimum diameter for a hole to be accepted as a bolt hole.
ce_boltmaxdiameter (double) – Maximum diameter for a hole to be accepted as a bolt hole.
ce_appliedmass (double) – Mass value assigned to applied masses.
ce_appliedmassdis (int) –
Mass distribution type for apply mass:
0 - all nodes
1 - divide by nodes
2 - divide by area
3 - unit area
ce_configfile (hwString) – FE configuration file.
ce_dvstfile (hwString) – Diameter versus thickness file.
ce_propertyscript (hwString) – Property script file.
ce_fevectorreverse (int) –
Reverse direction flag for seam connectors:
0 - no reverse
1 - reverse
Example#
Realize connectors with IDs 1, 2 using a LS-DYNA mat100 config type#import hm import hm.entities as ent model = hm.Model() ce = hm.Collection(model, ent.Connector, [1, 2]) model.CE_FE_RealizeWithDetails( ce_collection=ce, ce_style="spot", solvername="dyna", config=1001, fe_type=100, collectorflag=0, tolerance=1.0, ce_propertyid=0, ce_systems=0, ce_connectivity=0, ce_forcecollinear=0, ce_nonnormal=0, ce_diameter=0.0, ce_areathicknesstype=0, ce_areaconstthickness=0.0, ce_areastacksize=0, ce_boltmindiameter=0.0, ce_boltmaxdiameter=10.0, ce_appliedmass=0.0, ce_appliedmassdis=0, ce_configfile="C:/Altair/hw8.0/hm/bin/feconfig.cfg", ce_dvstfile="", ce_propertyscript="C:/Altair/hw8.0/hm/scripts/connectors/prop_mat100.tcl", ce_fevectorreverse=0, )