ContactPreventionParams#

class ansys.meshing.prime.ContactPreventionParams(model=None, source_scope=None, target_scope=None, size=None, json_data=None, **kwargs)#

ContactPreventionParams defines contact prevention control parameters for wrapper.

Parameters:
model: Model

Model to create a ContactPreventionParams object with default parameters.

source_scope: ScopeDefinition, optional

Source scope used for contact prevention control.

target_scope: ScopeDefinition, optional

Target scope used for contact prevention control.

size: float, optional

Minimum gap size (gap/4) to resolve contact between source and target.

json_data: dict, optional

JSON dictionary to create a ContactPreventionParams object with provided parameters.

Examples

>>> contact_prevention_params = prime.ContactPreventionParams(model = model)

Methods

ContactPreventionParams.print_default()

Print the default values of ContactPreventionParams object.

ContactPreventionParams.set_default([...])

Set the default values of the ContactPreventionParams object.

Attributes

ContactPreventionParams.size

Minimum gap size (gap/4) to resolve contact between source and target.

ContactPreventionParams.source_scope

Source scope used for contact prevention control.

ContactPreventionParams.target_scope

Target scope used for contact prevention control.