CreateContactPatch#

class ansys.fluent.core.generated.datamodel_252.meshing.Root.CreateContactPatch(service, rules, command, path=None)#

Bases: PyCommand

This task will create patches in and around any problematic, sharp-angle contact areas (such as between a tire and the road surface) in order to avoid such areas during the meshing process. More… Parameters ———- ContactPatchName : str

Specify a name for the contact patch object, or retain the default name.

SelectionTypestr

Choose how you want to make your selection (for instance, by object, zone, or label).

ZoneSelectionListlist[str]

Choose one or more face zones from the list below that represent the contact source. Use the Filter Text field to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

ZoneLocation : list[str] ObjectSelectionList : list[str]

Choose an object from the list below that represent the contact source. Use the Filter Text field to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

LabelSelectionListlist[str]

Select one or more labels that represent the contact source. Use the Filter Text field to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

GroundZoneSelectionListlist[str]

Choose one or more face zones from the list below that represent the contact target (for instance, the ground face zone in an enclosing bounding box for a tire-ground contact scenario).

Distancefloat

Specify the distance of the contact patch geometry from the ground zone, or the thickness of the contact patch.

ContactPatchDefeaturingSizefloat

Allows you to control the smoothness of the contact patch. With the default value of 0, no smoothing takes place. With a value greater than 0, the patch is defeatured to create a smooth patch. This will lead to better quality volume mesh at the contact, for instance, between the tire and the ground.

FeatureAnglefloat

Specify a value for the angle used to extract feature edges on the contact patch object.

PatchHolebool

Indicate whether you want the contact patch object to be filled or not.

FlipDirectionbool

Use this option to switch the direction/orientation of the contact patch.

Returns:
bool

Methods:

create_instance()

Create a command instance.

__init__(service, rules, command, path=None)#

__init__ method of PyCommand class.

create_instance()#

Create a command instance.