identify_regions#

class ansys.fluent.core.generated.datamodel_271.meshing_workflow.Root.application.identify_regions(service, rules, command, path=None)#

Bases: PyCommand

Identifies distinct regions within a mesh based on connectivity.

Parameters:
add_childbool

Determine whether or not you want to specify any fluid or void regions using this task.

material_points_namestr

Specify a name for the region that you want to identify or use the default value.

mpt_method_typestr

Choose how you want to identify the region: using a distinct numerical input of X, Y, and Z coordinates, using the centroid of the selected object, or by using an offset distance relative to the centroid of selected object/zone.

new_region_typestr

Specify the type of region as being fluid, solid, or a void.

link_constructionbool

Keep the default value of no for most cases involving a singular fluid region. If you mean to identify an additional fluid region, choose yes to indicate that the current fluid region is either inside or adjacent to a construction surface(s), in order to properly mesh this fluid region accordingly (that is, using a surface mesh).

selection_typestr

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

zone_selection_listlist[str]

Choose one or more face zones from the list below. Use the Filter Text drop-down 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…

zone_locationlist[str]
label_selection_listlist[str]

Choose one or more labels from the list below. Use the Filter Text drop-down 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…

object_selection_listlist[str]

Choose one or more objects (or voids) from the list below. Use the Filter Text drop-down 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…

graphical_selectionbool

Enable this option and select a point in the graphics window to be the center of the region.

show_coordinatesbool

Enable this option when providing numerical inputs for the region location, and you want to view the exact coordinates.

xfloat

The x-coordinate of the center of the region.

yfloat

The y-coordinate of the center of the region.

zfloat

The z-coordinate of the center of the region.

offset_xfloat

The x-coordinate of the offset distance relative to the centroid of the selected object/zone.

offset_yfloat

The y-coordinate of the offset distance relative to the centroid of the selected object/zone.

offset_zfloat

The z-coordinate of the offset distance relative to the centroid of the selected object/zone.

Returns:
bool

Methods:

create_instance()

Create an operation instance.

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

__init__ method of PyCommand class.

create_instance()#

Create an operation instance.