get_face_zones#
- class ansys.fluent.core.generated.datamodel_252.meshing_utilities.Root.get_face_zones(service, rules, name, path=None)#
Bases:
PyQueryGet face zones using 1 - maximum_entity_count and only_boundary or 2 - prism_control_name or 3 - xyz_coordinates or 4 - filter.
Return a list of face zones at or closest to a specified location (xyz_coordinates - not applicable to polyhedra mesh).
Return a list of face zones with a count below the maximum entity count (maximum_entity_count) specified.
You can choose to restrict the report to only boundary face zones, if required (only_boundary set to True or False).
Return a list of face zones to which the specified prism controls apply.
Return a list of zones whose names contain the specified filter string.
Parameters#
- maximum_entity_countfloat
Maximum entity count.
- only_boundarybool
Specify whether to restrict the report to only boundary face zones.
- prism_control_namestr
Prism control name.
- xyz_coordinateslist[float]
X-Y-Z coordinates.
- filterstr
Face zone name filter.
Examples
>>> meshing_session.meshing_utilities.get_face_zones(filter="*") >>> meshing_session.meshing_utilities.get_face_zones(prism_control_name="*") >>> meshing_session.meshing_utilities.get_face_zones(xyz_coordinates=[1.4, 1.4, 1.4]) >>> meshing_session.meshing_utilities.get_face_zones(maximum_entity_count=20, only_boundary=True)
Methods:
Create an operation instance.
- __init__(service, rules, name, path=None)#
__init__ method of PyAction class.
- create_instance()#
Create an operation instance.