ansys.dyna.core.pre.dynabase.Contact#

class ansys.dyna.core.pre.dynabase.Contact(type=ContactType.NULL, category=ContactCategory.SINGLE_SURFACE_CONTACT, offset=OffsetType.NULL)#

Provide a way of treating interaction between disjoint parts.

stub#
rigidwall_penalties_scale_factor = 1#
max_penetration_check_multiplier = 4#
initial_penetrations = 0#
rigidwall_gap_stiffness = 0#
category#
type#
mortar = False#
ignore = 0#
offset = ''#
static_friction_coeff = 0#
dynamic_friction_coeff = 0#
birth_time = 0#
death_time = 1e+20#
option_tiebreak = False#
optionres = 0#
contact_formulation = 0#
segment_based_contact_option = 2#
set_mortar()#

Set the mortar contact.

A mort contact is a segment-to-segment, penalty-based contact.

set_tiebreak()#

Set the contact allow for failure.

A tieback is a special case of this. After failure, the contact usually becomes a normal one-way, two-way, or single surface version.

set_friction_coefficient(static=0, dynamic=0)#

Set the coefficient of friction.

Parameters:
staticfloat, optional

Static coefficient of friction. The default is 0.

dynamicfloat, optional

Dynamic coefficient of friction. The default is 0.

set_active_time(birth_time=0, death_time=1e+20)#

Set the birth and death time to active and deactivate the contact.

Parameters:
birth_timeint, optional

Time to activate the contact. The default is 0.

death_timefloat, optional

Time to deactivate the contact. The default is 1e20.

set_initial_penetration()#

Ignore initial penetrations.

set_slave_surface(surface)#

Set the slave contact interface.

set_master_surface(surface)#

Set the master contact interface.

set_penalty_algorithm(formulation=ContactFormulation.STANDARD_PENALTY, segment_based_contact_option=SBOPT.ASSUME_PLANER_SEGMENTS)#

Set the contact formulation.

create()#

Create a contact.