meshing.datamodel.MeshingUtilities#

class ansys.fluent.core.generated.datamodel_242.MeshingUtilities.Root(service, rules, path)#

Bases: PyMenu

Singleton Root.

Methods:

__init__(service, rules, path)

__init__ method of PyMenu class.

Classes:

add_labels_on_cell_zones(service, rules, command)

Command add_labels_on_cell_zones.

add_labels_on_edge_zones(service, rules, command)

Command add_labels_on_edge_zones.

add_labels_on_face_zones(service, rules, command)

Command add_labels_on_face_zones.

boundary_zone_exists(service, rules, query)

Query boundary_zone_exists.

cell_zone_exists(service, rules, query[, path])

Query cell_zone_exists.

clean_face_zone_names(service, rules, command)

Command clean_face_zone_names.

convert_zone_ids_to_name_strings(service, ...)

Query convert_zone_ids_to_name_strings.

convert_zone_name_strings_to_ids(service, ...)

Query convert_zone_name_strings_to_ids.

copy_face_zone_labels(service, rules, query)

Query copy_face_zone_labels.

count_marked_faces(service, rules, query[, path])

Query count_marked_faces.

create_boi_and_size_functions_from_refinement_regions(...)

Query create_boi_and_size_functions_from_refinement_regions.

delete_all_sub_domains(service, rules, command)

Command delete_all_sub_domains.

delete_empty_cell_zones(service, rules, command)

Command delete_empty_cell_zones.

delete_empty_edge_zones(service, rules, command)

Command delete_empty_edge_zones.

delete_empty_face_zones(service, rules, command)

Command delete_empty_face_zones.

delete_empty_zones(service, rules, command)

Command delete_empty_zones.

delete_marked_faces_in_zones(service, rules, ...)

Command delete_marked_faces_in_zones.

dump_face_zone_orientation_in_region(...[, path])

Query dump_face_zone_orientation_in_region.

fill_holes_in_face_zone_list(service, rules, ...)

Query fill_holes_in_face_zone_list.

get_adjacent_cell_zones_for_given_face_zones(...)

Query get_adjacent_cell_zones_for_given_face_zones.

get_adjacent_face_zones_for_given_cell_zones(...)

Query get_adjacent_face_zones_for_given_cell_zones.

get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones(...)

Query get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones.

get_adjacent_zones_by_edge_connectivity(...)

Query get_adjacent_zones_by_edge_connectivity.

get_adjacent_zones_by_node_connectivity(...)

Query get_adjacent_zones_by_node_connectivity.

get_all_objects(service, rules, query[, path])

Query get_all_objects.

get_average_bounding_box_center(service, ...)

Query get_average_bounding_box_center.

get_baffles_for_face_zones(service, rules, query)

Query get_baffles_for_face_zones.

get_bounding_box_of_zone_list(service, ...)

Query get_bounding_box_of_zone_list.

get_cell_mesh_distribution(service, rules, query)

Query get_cell_mesh_distribution.

get_cell_quality_limits(service, rules, query)

Query get_cell_quality_limits.

get_cell_zone_count(service, rules, query[, ...])

Query get_cell_zone_count.

get_cell_zone_id_list_with_labels(service, ...)

Query get_cell_zone_id_list_with_labels.

get_cell_zone_shape(service, rules, query[, ...])

Query get_cell_zone_shape.

get_cell_zone_volume(service, rules, query)

Query get_cell_zone_volume.

get_cell_zones(service, rules, query[, path])

Query get_cell_zones.

get_edge_size_limits(service, rules, query)

Query get_edge_size_limits.

get_edge_zone_id_list_with_labels(service, ...)

Query get_edge_zone_id_list_with_labels.

get_edge_zones(service, rules, query[, path])

Query get_edge_zones.

get_edge_zones_list(service, rules, query[, ...])

Query get_edge_zones_list.

get_edge_zones_of_object(service, rules, query)

Query get_edge_zones_of_object.

get_embedded_baffles(service, rules, query)

Query get_embedded_baffles.

get_face_mesh_distribution(service, rules, query)

Query get_face_mesh_distribution.

get_face_quality_limits(service, rules, query)

Query get_face_quality_limits.

get_face_zone_area(service, rules, query[, path])

Query get_face_zone_area.

get_face_zone_count(service, rules, query[, ...])

Query get_face_zone_count.

get_face_zone_id_list_with_labels(service, ...)

Query get_face_zone_id_list_with_labels.

get_face_zone_node_count(service, rules, query)

Query get_face_zone_node_count.

get_face_zones(service, rules, query[, path])

Query get_face_zones.

get_face_zones_by_zone_area(service, rules, ...)

Query get_face_zones_by_zone_area.

get_face_zones_of_object(service, rules, query)

Query get_face_zones_of_object.

get_free_faces_count(service, rules, query)

Query get_free_faces_count.

get_interior_face_zones_for_given_cell_zones(...)

Query get_interior_face_zones_for_given_cell_zones.

get_labels(service, rules, query[, path])

Query get_labels.

get_labels_on_cell_zones(service, rules, query)

Query get_labels_on_cell_zones.

get_labels_on_edge_zones(service, rules, query)

Query get_labels_on_edge_zones.

get_labels_on_face_zones(service, rules, query)

Query get_labels_on_face_zones.

get_labels_on_face_zones_list(service, ...)

Query get_labels_on_face_zones_list.

get_maxsize_cell_zone_by_count(service, ...)

Query get_maxsize_cell_zone_by_count.

get_maxsize_cell_zone_by_volume(service, ...)

Query get_maxsize_cell_zone_by_volume.

get_minsize_face_zone_by_area(service, ...)

Query get_minsize_face_zone_by_area.

get_minsize_face_zone_by_count(service, ...)

Query get_minsize_face_zone_by_count.

get_multi_faces_count(service, rules, query)

Query get_multi_faces_count.

get_node_zones(service, rules, query[, path])

Query get_node_zones.

get_objects(service, rules, query[, path])

Query get_objects.

get_overlapping_face_zones(service, rules, query)

Query get_overlapping_face_zones.

get_pairs_of_overlapping_face_zones(service, ...)

Query get_pairs_of_overlapping_face_zones.

get_prism_cell_zones(service, rules, query)

Query get_prism_cell_zones.

get_region_volume(service, rules, query[, path])

Query get_region_volume.

get_regions(service, rules, query[, path])

Query get_regions.

get_regions_of_face_zones(service, rules, query)

Query get_regions_of_face_zones.

get_shared_boundary_face_zones_for_given_cell_zones(...)

Query get_shared_boundary_face_zones_for_given_cell_zones.

get_tet_cell_zones(service, rules, query[, path])

Query get_tet_cell_zones.

get_unreferenced_cell_zones(service, rules, ...)

Query get_unreferenced_cell_zones.

get_unreferenced_edge_zones(service, rules, ...)

Query get_unreferenced_edge_zones.

get_unreferenced_face_zones(service, rules, ...)

Query get_unreferenced_face_zones.

get_wrapped_face_zones(service, rules, query)

Query get_wrapped_face_zones.

get_zone_type(service, rules, query[, path])

Query get_zone_type.

get_zones(service, rules, query[, path])

Query get_zones.

get_zones_with_free_faces_for_given_face_zones(...)

Query get_zones_with_free_faces_for_given_face_zones.

get_zones_with_marked_faces_for_given_face_zones(...)

Query get_zones_with_marked_faces_for_given_face_zones.

get_zones_with_multi_faces_for_given_face_zones(...)

Query get_zones_with_multi_faces_for_given_face_zones.

interior_zone_exists(service, rules, query)

Query interior_zone_exists.

mark_bad_quality_faces(service, rules, query)

Query mark_bad_quality_faces.

mark_duplicate_faces(service, rules, query)

Query mark_duplicate_faces.

mark_face_strips_by_height_and_quality(...)

Query mark_face_strips_by_height_and_quality.

mark_faces_by_quality(service, rules, query)

Query mark_faces_by_quality.

mark_faces_deviating_from_size_field(...[, path])

Query mark_faces_deviating_from_size_field.

mark_faces_in_self_proximity(service, rules, ...)

Query mark_faces_in_self_proximity.

mark_faces_using_node_degree(service, rules, ...)

Query mark_faces_using_node_degree.

mark_free_faces(service, rules, query[, path])

Query mark_free_faces.

mark_invalid_normals(service, rules, query)

Query mark_invalid_normals.

mark_island_faces(service, rules, query[, path])

Query mark_island_faces.

mark_multi_faces(service, rules, query[, path])

Query mark_multi_faces.

mark_point_contacts(service, rules, query[, ...])

Query mark_point_contacts.

mark_self_intersecting_faces(service, rules, ...)

Query mark_self_intersecting_faces.

mark_sliver_faces(service, rules, query[, path])

Query mark_sliver_faces.

mark_spikes(service, rules, query[, path])

Query mark_spikes.

mark_steps(service, rules, query[, path])

Query mark_steps.

merge_cell_zones(service, rules, command[, path])

Command merge_cell_zones.

merge_cell_zones_with_same_prefix(service, ...)

Command merge_cell_zones_with_same_prefix.

merge_cell_zones_with_same_suffix(service, ...)

Command merge_cell_zones_with_same_suffix.

merge_face_zones(service, rules, command[, path])

Command merge_face_zones.

merge_face_zones_of_type(service, rules, command)

Command merge_face_zones_of_type.

merge_face_zones_with_same_prefix(service, ...)

Command merge_face_zones_with_same_prefix.

mesh_check(service, rules, query[, path])

Query mesh_check.

mesh_exists(service, rules, query[, path])

Query mesh_exists.

print_worst_quality_cell(service, rules, query)

Query print_worst_quality_cell.

project_zone_on_plane(service, rules, query)

Query project_zone_on_plane.

refine_marked_faces_in_zones(service, rules, ...)

Query refine_marked_faces_in_zones.

remove_id_suffix_from_face_zones(service, ...)

Command remove_id_suffix_from_face_zones.

remove_ids_from_zone_names(service, rules, ...)

Command remove_ids_from_zone_names.

remove_labels_on_cell_zones(service, rules, ...)

Command remove_labels_on_cell_zones.

remove_labels_on_edge_zones(service, rules, ...)

Command remove_labels_on_edge_zones.

remove_labels_on_face_zones(service, rules, ...)

Command remove_labels_on_face_zones.

rename_edge_zone(service, rules, command[, path])

Command rename_edge_zone.

rename_face_zone(service, rules, command[, path])

Command rename_face_zone.

rename_face_zone_label(service, rules, command)

Command rename_face_zone_label.

rename_object(service, rules, command[, path])

Command rename_object.

renumber_zone_ids(service, rules, command[, ...])

Command renumber_zone_ids.

replace_cell_zone_suffix(service, rules, command)

Command replace_cell_zone_suffix.

replace_edge_zone_suffix(service, rules, command)

Command replace_edge_zone_suffix.

replace_face_zone_suffix(service, rules, command)

Command replace_face_zone_suffix.

replace_label_suffix(service, rules, command)

Command replace_label_suffix.

replace_object_suffix(service, rules, command)

Command replace_object_suffix.

scale_cell_zones_around_pivot(service, ...)

Query scale_cell_zones_around_pivot.

scale_face_zones_around_pivot(service, ...)

Query scale_face_zones_around_pivot.

separate_cell_zone_layers_by_face_zone(...)

Query separate_cell_zone_layers_by_face_zone.

separate_face_zones_by_cell_neighbor(...[, path])

Query separate_face_zones_by_cell_neighbor.

set_number_of_parallel_compute_threads(...)

Command set_number_of_parallel_compute_threads.

set_object_cell_zone_type(service, rules, ...)

Command set_object_cell_zone_type.

set_quality_measure(service, rules, command)

Command set_quality_measure.

unpreserve_cell_zones(service, rules, query)

Query unpreserve_cell_zones.

__init__(service, rules, path)#

__init__ method of PyMenu class.

class _cell_zones_labels_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _cell_zones_labels_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._cell_zones_labels_fdl()
class _cell_zones_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _cell_zones_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._cell_zones_str_fdl()
class _edge_zones_labels_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _edge_zones_labels_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._edge_zones_labels_fdl()
class _edge_zones_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _edge_zones_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._edge_zones_str_fdl()
class _face_zones_labels_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _face_zones_labels_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._face_zones_labels_fdl()
class _face_zones_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _face_zones_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._face_zones_str_fdl()
class _node_zones_labels_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _node_zones_labels_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._node_zones_labels_fdl()
class _node_zones_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _node_zones_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._node_zones_str_fdl()
class _object_names_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _object_names_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._object_names_str_fdl()
class _prism_cell_zones_labels_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _prism_cell_zones_labels_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._prism_cell_zones_labels_fdl()
class _prism_cell_zones_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _prism_cell_zones_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._prism_cell_zones_str_fdl()
class _regions_str_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _regions_str_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._regions_str_fdl()
class _zone_types_fdl(service, rules, query, path=None)#

Bases: PyQuery

Query _zone_types_fdl.

Returns:
None

Examples

>>> meshing_session.meshing_utilities._zone_types_fdl()
class add_labels_on_cell_zones(service, rules, command, path=None)#

Bases: PyCommand

Command add_labels_on_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.add_labels_on_cell_zones(cell_zone_name_list=["elbow-fluid"], label_name_list=["elbow-1"])
>>> meshing_session.meshing_utilities.add_labels_on_cell_zones(cell_zone_id_list=[87], label_name_list=["87-1"])
>>> meshing_session.meshing_utilities.add_labels_on_cell_zones(cell_zone_name_pattern="*", label_name_list=["cell-1"])
class add_labels_on_edge_zones(service, rules, command, path=None)#

Bases: PyCommand

Command add_labels_on_edge_zones.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.add_labels_on_edge_zones(edge_zone_name_list=["symmetry:xyplane:hot-inlet:elbow-fluid:feature.20", "hot-inlet:wall-inlet:elbow-fluid:feature.21"], label_name_list=["20-1", "21-1"])
>>> meshing_session.meshing_utilities.add_labels_on_edge_zones(edge_zone_id_list=[22, 23], label_name_list=["22-1", "23-1"])
>>> meshing_session.meshing_utilities.add_labels_on_edge_zones(edge_zone_name_pattern="cold-inlet*", label_name_list=["26-1"])
class add_labels_on_face_zones(service, rules, command, path=None)#

Bases: PyCommand

Command add_labels_on_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.add_labels_on_face_zones(face_zone_name_list=["wall-inlet", "wall-elbow"], label_name_list=["wall-inlet-1", "wall-elbow-1"])
>>> meshing_session.meshing_utilities.add_labels_on_face_zones(face_zone_id_list=[30, 31], label_name_list=["hot-inlet-1", "cold-inlet-1"])
>>> meshing_session.meshing_utilities.add_labels_on_face_zones(face_zone_name_pattern="out*", label_name_list=["outlet-1"])
class boundary_zone_exists(service, rules, query, path=None)#

Bases: PyQuery

Query boundary_zone_exists.

Parameters:
zone_idint
zone_namestr
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.boundary_zone_exists(zone_id=31)
>>> meshing_session.meshing_utilities.boundary_zone_exists(zone_name="wall-inlet")
class cell_zone_exists(service, rules, query, path=None)#

Bases: PyQuery

Query cell_zone_exists.

Parameters:
zone_idint
zone_namestr
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.cell_zone_exists(zone_id=87)
>>> meshing_session.meshing_utilities.cell_zone_exists(zone_name="elbow.87")
class clean_face_zone_names(service, rules, command, path=None)#

Bases: PyCommand

Command clean_face_zone_names.

Returns:
None

Examples

>>> meshing_session.meshing_utilities.clean_face_zone_names()
class convert_zone_ids_to_name_strings(service, rules, query, path=None)#

Bases: PyQuery

Query convert_zone_ids_to_name_strings.

Parameters:
zone_id_listList[int]
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.convert_zone_ids_to_name_strings(zone_id_list=[32, 31])
class convert_zone_name_strings_to_ids(service, rules, query, path=None)#

Bases: PyQuery

Query convert_zone_name_strings_to_ids.

Parameters:
zone_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.convert_zone_name_strings_to_ids(zone_name_list=["outlet", "cold-inlet"])
class copy_face_zone_labels(service, rules, query, path=None)#

Bases: PyQuery

Query copy_face_zone_labels.

Parameters:
from_face_zone_idint
from_face_zone_namestr
to_face_zone_idint
to_face_zone_namestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.copy_face_zone_labels(from_face_zone_id=33, to_face_zone_id=34)
class count_marked_faces(service, rules, query, path=None)#

Bases: PyQuery

Query count_marked_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.count_marked_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.count_marked_faces(face_zone_name_pattern="*")
class create_boi_and_size_functions_from_refinement_regions(service, rules, query, path=None)#

Bases: PyQuery

Query create_boi_and_size_functions_from_refinement_regions.

Parameters:
region_typestr
boi_prefix_stringstr
create_size_functionbool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.create_boi_and_size_functions_from_refinement_regions(region_type="hexcore", boi_prefix_string="wall", create_size_function=True)
class delete_all_sub_domains(service, rules, command, path=None)#

Bases: PyCommand

Command delete_all_sub_domains.

Returns:
None

Examples

>>> meshing_session.meshing_utilities.delete_all_sub_domains()
class delete_empty_cell_zones(service, rules, command, path=None)#

Bases: PyCommand

Command delete_empty_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.delete_empty_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.delete_empty_cell_zones(cell_zone_name_list=["elbow.87"])
>>> meshing_session.meshing_utilities.delete_empty_cell_zones(cell_zone_name_pattern="*")
class delete_empty_edge_zones(service, rules, command, path=None)#

Bases: PyCommand

Command delete_empty_edge_zones.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.delete_empty_edge_zones(edge_zone_id_list=[20, 25, 26])
>>> meshing_session.meshing_utilities.delete_empty_edge_zones("symmetry:xyplane:hot-inlet:elbow-fluid:feature.20", "hot-inlet:wall-inlet:elbow-fluid:feature.21")
>>> meshing_session.meshing_utilities.delete_empty_edge_zones(edge_zone_name_pattern="*")
class delete_empty_face_zones(service, rules, command, path=None)#

Bases: PyCommand

Command delete_empty_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.delete_empty_face_zones(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.delete_empty_face_zones(face_zone_name_list=["wall-inlet", "wallfluid-new"])
>>> meshing_session.meshing_utilities.delete_empty_face_zones(face_zone_name_pattern="*")
class delete_empty_zones(service, rules, command, path=None)#

Bases: PyCommand

Command delete_empty_zones.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.delete_empty_zones(zone_id_list=[20, 32, 87])
>>> meshing_session.meshing_utilities.delete_empty_zones(zone_name_list=["hotfluid-new", "elbow.87"])
>>> meshing_session.meshing_utilities.delete_empty_zones(zone_name_pattern="*")
class delete_marked_faces_in_zones(service, rules, command, path=None)#

Bases: PyCommand

Command delete_marked_faces_in_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.delete_marked_faces_in_zones(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.delete_marked_faces_in_zones(face_zone_name_list=["wall-inlet", "wallfluid-new"])
>>> meshing_session.meshing_utilities.delete_marked_faces_in_zones(face_zone_name_pattern="*")
class dump_face_zone_orientation_in_region(service, rules, query, path=None)#

Bases: PyQuery

Query dump_face_zone_orientation_in_region.

Parameters:
file_namestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.dump_face_zone_orientation_in_region(file_name="facezonetest.txt")
class fill_holes_in_face_zone_list(service, rules, query, path=None)#

Bases: PyQuery

Query fill_holes_in_face_zone_list.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
max_hole_edgesint
Returns:
None

Examples

>>> meshing_session.meshing_utilities.fill_holes_in_face_zone_list(face_zone_id_list=[30, 31, 32], max_hole_edges=2)
>>> meshing_session.meshing_utilities.fill_holes_in_face_zone_list(face_zone_name_list=["wall-inlet", "wallfluid-new"], max_hole_edges=2)
>>> meshing_session.meshing_utilities.fill_holes_in_face_zone_list(face_zone_name_pattern="wall*", max_hole_edges=2)
class get_adjacent_cell_zones_for_given_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_adjacent_cell_zones_for_given_face_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_adjacent_cell_zones_for_given_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_adjacent_cell_zones_for_given_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_adjacent_cell_zones_for_given_face_zones(face_zone_name_pattern="*")
class get_adjacent_face_zones_for_given_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_adjacent_face_zones_for_given_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_adjacent_face_zones_for_given_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_adjacent_face_zones_for_given_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_adjacent_face_zones_for_given_cell_zones(cell_zone_name_pattern="*")
class get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_adjacent_interior_and_boundary_face_zones_for_given_cell_zones(cell_zone_name_pattern="*")
class get_adjacent_zones_by_edge_connectivity(service, rules, query, path=None)#

Bases: PyQuery

Query get_adjacent_zones_by_edge_connectivity.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_adjacent_zones_by_edge_connectivity(zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_adjacent_zones_by_edge_connectivity(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_adjacent_zones_by_edge_connectivity(zone_name_pattern="*")
class get_adjacent_zones_by_node_connectivity(service, rules, query, path=None)#

Bases: PyQuery

Query get_adjacent_zones_by_node_connectivity.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_adjacent_zones_by_node_connectivity(zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_adjacent_zones_by_node_connectivity(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_adjacent_zones_by_node_connectivity(zone_name_pattern="*")
class get_all_objects(service, rules, query, path=None)#

Bases: PyQuery

Query get_all_objects.

Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_all_objects()
class get_average_bounding_box_center(service, rules, query, path=None)#

Bases: PyQuery

Query get_average_bounding_box_center.

Parameters:
face_zone_id_listList[int]
Returns:
List[float]

Examples

>>> meshing_session.meshing_utilities.get_average_bounding_box_center(face_zone_id_list=[30, 31, 32])
class get_baffles_for_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_baffles_for_face_zones.

Parameters:
face_zone_id_listList[int]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_baffles_for_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
class get_bounding_box_of_zone_list(service, rules, query, path=None)#

Bases: PyQuery

Query get_bounding_box_of_zone_list.

Parameters:
zone_id_listList[int]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_bounding_box_of_zone_list(zone_id_list=[26])
class get_cell_mesh_distribution(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_mesh_distribution.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
measurestr
partitionsint
rangeList[float]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_cell_mesh_distribution(cell_zone_id_list=[87], measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
>>> meshing_session.meshing_utilities.get_cell_mesh_distribution(cell_zone_name_list=["elbow-fluid"], measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
>>> meshing_session.meshing_utilities.get_cell_mesh_distribution(cell_zone_name_pattern="*", measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
class get_cell_quality_limits(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_quality_limits.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
measurestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_cell_quality_limits(cell_zone_id_list=[87], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.get_cell_quality_limits(cell_zone_name_list=["elbow-fluid"], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.get_cell_quality_limits(cell_zone_name_pattern="*", measure="Orthogonal Quality")
class get_cell_zone_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_zone_count.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.get_cell_zone_count(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_cell_zone_count(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_cell_zone_count(cell_zone_name_pattern="*")
class get_cell_zone_id_list_with_labels(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_zone_id_list_with_labels.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_cell_zone_id_list_with_labels(cell_zone_id_list=[87], label_name_list=["elbow-1"])
>>> meshing_session.meshing_utilities.get_cell_zone_id_list_with_labels(cell_zone_name_list=["elbow-fluid"], label_name_list=["elbow-1"])
>>> meshing_session.meshing_utilities.get_cell_zone_id_list_with_labels(cell_zone_name_pattern="*", label_name_list=["elbow-1"])
class get_cell_zone_shape(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_zone_shape.

Parameters:
cell_zone_idint
Returns:
str

Examples

>>> meshing_session.meshing_utilities.get_cell_zone_shape(cell_zone_id=87)
class get_cell_zone_volume(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_zone_volume.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_cell_zone_volume(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_cell_zone_volume(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_cell_zone_volume(cell_zone_name_pattern="*")
class get_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_cell_zones.

Parameters:
maximum_entity_countfloat
xyz_coordinatesList[float]
filterstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_cell_zones(filter="*")
>>> meshing_session.meshing_utilities.get_cell_zones(maximum_entity_count=100)
>>> meshing_session.meshing_utilities.get_cell_zones(xyz_coordinates=[-7, -6, 0.4])
class get_edge_size_limits(service, rules, query, path=None)#

Bases: PyQuery

Query get_edge_size_limits.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[float]

Examples

>>> meshing_session.meshing_utilities.get_edge_size_limits(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.get_edge_size_limits(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_edge_size_limits(face_zone_name_pattern="*")
class get_edge_zone_id_list_with_labels(service, rules, query, path=None)#

Bases: PyQuery

Query get_edge_zone_id_list_with_labels.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_edge_zone_id_list_with_labels(edge_zone_id_list=[20, 21], label_name_list=["20-1", "21-1"])
>>> meshing_session.meshing_utilities.get_edge_zone_id_list_with_labels(edge_zone_name_list=["symmetry:xyplane:hot-inlet:elbow-fluid:feature.20", "hot-inlet:wall-inlet:elbow-fluid:feature.21"], label_name_list=["20-1", "21-1"])
>>> meshing_session.meshing_utilities.get_edge_zone_id_list_with_labels(edge_zone_name_pattern="*", label_name_list=["20-1", "21-1"])
class get_edge_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_edge_zones.

Parameters:
maximum_entity_countfloat
only_boundarybool
filterstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_edge_zones(filter="*")
>>> meshing_session.meshing_utilities.get_edge_zones(maximum_entity_count=20, only_boundary=False)
class get_edge_zones_list(service, rules, query, path=None)#

Bases: PyQuery

Query get_edge_zones_list.

Parameters:
filterList[str]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_edge_zones_list(filter="*")
class get_edge_zones_of_object(service, rules, query, path=None)#

Bases: PyQuery

Query get_edge_zones_of_object.

Parameters:
objectsList[str]
object_namestr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_edge_zones_of_object(objects=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_edge_zones_of_object(object_name="elbow-fluid")
class get_embedded_baffles(service, rules, query, path=None)#

Bases: PyQuery

Query get_embedded_baffles.

Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_embedded_baffles()
class get_face_mesh_distribution(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_mesh_distribution.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
measurestr
partitionsint
rangeList[float]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_face_mesh_distribution(face_zone_id_list=[30, 31, 32], measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
>>> meshing_session.meshing_utilities.get_face_mesh_distribution(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
>>> meshing_session.meshing_utilities.get_face_mesh_distribution(face_zone_name_pattern="*", measure="Orthogonal Quality", partitions=2, range=[0.9, 1])
class get_face_quality_limits(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_quality_limits.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
measurestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_face_quality_limits(face_zone_id_list=[30, 31, 32], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.get_face_quality_limits(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.get_face_quality_limits(face_zone_name_pattern="*", measure="Orthogonal Quality")
class get_face_zone_area(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zone_area.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_face_zone_area(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.get_face_zone_area(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_face_zone_area(face_zone_name_pattern="*")
class get_face_zone_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zone_count.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.get_face_zone_count(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.get_face_zone_count(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_face_zone_count(face_zone_name_pattern="*")
class get_face_zone_id_list_with_labels(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zone_id_list_with_labels.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
label_name_listList[str]
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_face_zone_id_list_with_labels(face_zone_id_list=[33, 34], label_name_list=["wall-inlet-1", "wall-elbow-1"])
>>> meshing_session.meshing_utilities.get_face_zone_id_list_with_labels(face_zone_name_list=["wall-inlet", "wall-elbow"], label_name_list=["wall-inlet-1", "wall-elbow-1"])
>>> meshing_session.meshing_utilities.get_face_zone_id_list_with_labels(face_zone_name_pattern="wall*", label_name_list=["wall-inlet-1", "wall-elbow-1"])
class get_face_zone_node_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zone_node_count.

Parameters:
face_zone_idint
face_zone_namestr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.get_face_zone_node_count(face_zone_id=32)
>>> meshing_session.meshing_utilities.get_face_zone_node_count(face_zone_name="outlet")
class get_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zones.

Parameters:
maximum_entity_countfloat
only_boundarybool
prism_control_namestr
xyz_coordinatesList[float]
filterstr
Returns:
None

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)
class get_face_zones_by_zone_area(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zones_by_zone_area.

Parameters:
maximum_zone_areafloat
minimum_zone_areafloat
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_face_zones_by_zone_area(maximum_zone_area=100)
>>> meshing_session.meshing_utilities.get_face_zones_by_zone_area(minimum_zone_area=10)
class get_face_zones_of_object(service, rules, query, path=None)#

Bases: PyQuery

Query get_face_zones_of_object.

Parameters:
regionsList[str]
labelsList[str]
region_typestr
objectsList[str]
object_namestr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_face_zones_of_object(object_name="elbow-fluid", regions=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_face_zones_of_object(object_name="elbow-fluid", labels=["outlet"])
>>> meshing_session.meshing_utilities.get_face_zones_of_object(object_name="elbow-fluid", region_type="elbow-fluid")
>>> meshing_session.meshing_utilities.get_face_zones_of_object(object_name="elbow-fluid")
>>> meshing_session.meshing_utilities.get_face_zones_of_object(objects=["elbow-fluid"])
class get_free_faces_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_free_faces_count.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.get_free_faces_count(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.get_free_faces_count(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_free_faces_count(face_zone_name_pattern="*")
class get_interior_face_zones_for_given_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_interior_face_zones_for_given_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_interior_face_zones_for_given_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_interior_face_zones_for_given_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_interior_face_zones_for_given_cell_zones(cell_zone_name_pattern="*")
class get_labels(service, rules, query, path=None)#

Bases: PyQuery

Query get_labels.

Parameters:
object_namestr
filterstr
label_name_patternstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid")
>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid", filter="*")
>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid", label_name_pattern="*")
class get_labels_on_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_labels_on_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_labels_on_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_labels_on_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_labels_on_cell_zones(cell_zone_name_pattern="*")
class get_labels_on_edge_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_labels_on_edge_zones.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_labels_on_edge_zones(edge_zone_id_list=[22, 23])
>>> meshing_session.meshing_utilities.get_labels_on_edge_zones(edge_zone_name_list=["symmetry:xyplane:hot-inlet:elbow-fluid:feature.20", "hot-inlet:wall-inlet:elbow-fluid:feature.21"])
>>> meshing_session.meshing_utilities.get_labels_on_edge_zones(edge_zone_name_pattern="cold-inlet*")
class get_labels_on_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_labels_on_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_labels_on_face_zones(face_zone_id_list=[30, 31])
>>> meshing_session.meshing_utilities.get_labels_on_face_zones(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_labels_on_face_zones(face_zone_name_pattern="out*")
class get_labels_on_face_zones_list(service, rules, query, path=None)#

Bases: PyQuery

Query get_labels_on_face_zones_list.

Parameters:
face_zone_id_listList[int]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_labels_on_face_zones_list(face_zone_id_list=[30, 31])
class get_maxsize_cell_zone_by_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_maxsize_cell_zone_by_count.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_count(zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_count(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_count(zone_name_pattern="*")
class get_maxsize_cell_zone_by_volume(service, rules, query, path=None)#

Bases: PyQuery

Query get_maxsize_cell_zone_by_volume.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_volume(zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_volume(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_maxsize_cell_zone_by_volume(zone_name_pattern="*")
class get_minsize_face_zone_by_area(service, rules, query, path=None)#

Bases: PyQuery

Query get_minsize_face_zone_by_area.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_area(zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_area(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_area(zone_name_pattern="*")
class get_minsize_face_zone_by_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_minsize_face_zone_by_count.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
float

Examples

>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_count(zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_count(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_minsize_face_zone_by_count(zone_name_pattern="*")
class get_multi_faces_count(service, rules, query, path=None)#

Bases: PyQuery

Query get_multi_faces_count.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.get_multi_faces_count(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.get_multi_faces_count(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.get_multi_faces_count(face_zone_name_pattern="*")
class get_node_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_node_zones.

Parameters:
filterstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_node_zones(filter="*")
class get_objects(service, rules, query, path=None)#

Bases: PyQuery

Query get_objects.

Parameters:
type_namestr
filterstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_objects(type_name="mesh")
>>> meshing_session.meshing_utilities.get_objects(filter="*")
class get_overlapping_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_overlapping_face_zones.

Parameters:
face_zone_name_patternstr
area_tolerancefloat
distance_tolerancefloat
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_overlapping_face_zones(face_zone_name_pattern="*", area_tolerance=0.01, distance_tolerance=0.01)
class get_pairs_of_overlapping_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_pairs_of_overlapping_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
join_tolerancefloat
absolute_tolerancebool
join_anglefloat
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_pairs_of_overlapping_face_zones(face_zone_id_list=[29, 30, 31, 32, 33], join_tolerance=0.001, absolute_tolerance=True, join_angle=45)
>>> meshing_session.meshing_utilities.get_pairs_of_overlapping_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"], join_tolerance=0.001, absolute_tolerance=True, join_angle=45)
>>> meshing_session.meshing_utilities.get_pairs_of_overlapping_face_zones(face_zone_name_pattern="*", join_tolerance=0.001, absolute_tolerance=True, join_angle=45)
class get_prism_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_prism_cell_zones.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_prism_cell_zones(zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_prism_cell_zones(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_prism_cell_zones(zone_name_pattern="*")
class get_region_volume(service, rules, query, path=None)#

Bases: PyQuery

Query get_region_volume.

Parameters:
object_namestr
region_namestr
sorting_orderstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.get_region_volume(object_name="elbow-fluid", sorting_order="ascending")
>>> meshing_session.meshing_utilities.get_region_volume(object_name="elbow-fluid", region_name="elbow-fluid")
class get_regions(service, rules, query, path=None)#

Bases: PyQuery

Query get_regions.

Parameters:
object_namestr
region_name_patternstr
filterstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid", region_name_pattern="*")
>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid", filter="*")
>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid")
class get_regions_of_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_regions_of_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[str]

Examples

>>> meshing_session.meshing_utilities.get_regions_of_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_regions_of_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_regions_of_face_zones(face_zone_name_pattern="*")
class get_shared_boundary_face_zones_for_given_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_shared_boundary_face_zones_for_given_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_shared_boundary_face_zones_for_given_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.get_shared_boundary_face_zones_for_given_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.get_shared_boundary_face_zones_for_given_cell_zones(cell_zone_name_pattern="*")
class get_tet_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_tet_cell_zones.

Parameters:
zone_id_listList[int]
zone_name_listList[str]
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_tet_cell_zones(zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_tet_cell_zones(zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_tet_cell_zones(zone_name_pattern="*")
class get_unreferenced_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_unreferenced_cell_zones.

Parameters:
filterstr
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_unreferenced_cell_zones()
>>> meshing_session.meshing_utilities.get_unreferenced_cell_zones(filter="*")
>>> meshing_session.meshing_utilities.get_unreferenced_cell_zones(zone_name_pattern="*")
class get_unreferenced_edge_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_unreferenced_edge_zones.

Parameters:
filterstr
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_unreferenced_edge_zones()
>>> meshing_session.meshing_utilities.get_unreferenced_edge_zones(filter="*")
>>> meshing_session.meshing_utilities.get_unreferenced_edge_zones(zone_name_pattern="*")
class get_unreferenced_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_unreferenced_face_zones.

Parameters:
filterstr
zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_unreferenced_face_zones()
>>> meshing_session.meshing_utilities.get_unreferenced_face_zones(filter="*")
>>> meshing_session.meshing_utilities.get_unreferenced_face_zones(zone_name_pattern="*")
class get_wrapped_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_wrapped_face_zones.

Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_wrapped_face_zones()
class get_zone_type(service, rules, query, path=None)#

Bases: PyQuery

Query get_zone_type.

Parameters:
zone_idint
zone_namestr
Returns:
str

Examples

>>> meshing_session.meshing_utilities.get_zone_type(zone_id=87)
>>> meshing_session.meshing_utilities.get_zone_type(zone_name="elbow-fluid")
class get_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_zones.

Parameters:
type_namestr
group_namestr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_zones(type_name="velocity-inlet")
>>> meshing_session.meshing_utilities.get_zones(group_name="inlet")
class get_zones_with_free_faces_for_given_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_zones_with_free_faces_for_given_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_zones_with_free_faces_for_given_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_zones_with_free_faces_for_given_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_zones_with_free_faces_for_given_face_zones(face_zone_id_list=[face_zone_name_pattern="*"])
class get_zones_with_marked_faces_for_given_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_zones_with_marked_faces_for_given_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_zones_with_marked_faces_for_given_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_zones_with_marked_faces_for_given_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_zones_with_marked_faces_for_given_face_zones(face_zone_id_list=[face_zone_name_pattern="*"])
class get_zones_with_multi_faces_for_given_face_zones(service, rules, query, path=None)#

Bases: PyQuery

Query get_zones_with_multi_faces_for_given_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
List[int]

Examples

>>> meshing_session.meshing_utilities.get_zones_with_multi_faces_for_given_face_zones(face_zone_id_list=[29, 30, 31, 32, 33])
>>> meshing_session.meshing_utilities.get_zones_with_multi_faces_for_given_face_zones(face_zone_name_list=["outlet", "inlet", "wall", "internal"])
>>> meshing_session.meshing_utilities.get_zones_with_multi_faces_for_given_face_zones(face_zone_id_list=[face_zone_name_pattern="*"])
class interior_zone_exists(service, rules, query, path=None)#

Bases: PyQuery

Query interior_zone_exists.

Parameters:
zone_idint
zone_namestr
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.interior_zone_exists(zone_id=31)
>>> meshing_session.meshing_utilities.interior_zone_exists(zone_name="wall-inlet")
class mark_bad_quality_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_bad_quality_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
quality_limitfloat
number_of_ringsint
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_bad_quality_faces(face_zone_id_list=[30, 31, 32], quality_limit=0.5, number_of_rings=2)
>>> meshing_session.meshing_utilities.mark_bad_quality_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], quality_limit=0.5, number_of_rings=2)
>>> meshing_session.meshing_utilities.mark_bad_quality_faces(face_zone_name_pattern="*", quality_limit=0.5, number_of_rings=2)
class mark_duplicate_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_duplicate_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_duplicate_faces(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.mark_duplicate_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.mark_duplicate_faces(face_zone_name_pattern="*")
class mark_face_strips_by_height_and_quality(service, rules, query, path=None)#

Bases: PyQuery

Query mark_face_strips_by_height_and_quality.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
strip_typeint
strip_heightfloat
quality_measurestr
quality_limitfloat
feature_anglefloat
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_face_strips_by_height_and_quality(face_zone_id_list=[30, 31, 32], strip_type=2, strip_height=2, quality_measure="Size Change", quality_limit=0.5, feature_angle=40)
>>> meshing_session.meshing_utilities.mark_face_strips_by_height_and_quality(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], strip_type=2, strip_height=2, quality_measure="Size Change", quality_limit=0.5, feature_angle=40)
>>> meshing_session.meshing_utilities.mark_face_strips_by_height_and_quality(face_zone_name_pattern="cold*", strip_type=2, strip_height=2, quality_measure="Size Change", quality_limit=0.5, feature_angle=40)
class mark_faces_by_quality(service, rules, query, path=None)#

Bases: PyQuery

Query mark_faces_by_quality.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
quality_measurestr
quality_limitfloat
append_markingbool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mark_faces_by_quality(face_zone_id_list=[30, 31, 32], quality_measure="Skewness", quality_limit=0.9, append_marking=False)
>>> meshing_session.meshing_utilities.mark_faces_by_quality(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], quality_measure="Skewness", quality_limit=0.9, append_marking=False)
>>> meshing_session.meshing_utilities.mark_faces_by_quality(face_zone_name_pattern="*", quality_measure="Skewness", quality_limit=0.9, append_marking=False)
class mark_faces_deviating_from_size_field(service, rules, query, path=None)#

Bases: PyQuery

Query mark_faces_deviating_from_size_field.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
min_size_factorfloat
max_size_factorfloat
size_factor_type_to_comparestr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_faces_deviating_from_size_field(face_zone_id_list=[30, 31, 32], min_size_factor=0.5, max_size_factor=1.1, size_factor_type_to_compare="geodesic")
>>> meshing_session.meshing_utilities.mark_faces_deviating_from_size_field(face_zone_name_list=["cold-inlet", "hot-inlet"] min_size_factor=0.5, max_size_factor=1.1, size_factor_type_to_compare="geodesic")
>>> meshing_session.meshing_utilities.mark_faces_deviating_from_size_field(face_zone_name_pattern="*", min_size_factor=0.5, max_size_factor=1.1, size_factor_type_to_compare="geodesic")
class mark_faces_in_self_proximity(service, rules, query, path=None)#

Bases: PyQuery

Query mark_faces_in_self_proximity.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
relative_tolerancebool
tolerancefloat
proximity_anglefloat
ignore_orientationbool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mark_faces_in_self_proximity(face_zone_id_list=[30, 31, 32], relative_tolerance=True, tolerance=0.05, proximity_angle=40.5, ignore_orientation=False)
>>> meshing_session.meshing_utilities.mark_faces_in_self_proximity(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], relative_tolerance=True, tolerance=0.05, proximity_angle=40.5, ignore_orientation=False)
>>> meshing_session.meshing_utilities.mark_faces_in_self_proximity(face_zone_name_pattern="*", relative_tolerance=True, tolerance=0.05, proximity_angle=40.5, ignore_orientation=False)
class mark_faces_using_node_degree(service, rules, query, path=None)#

Bases: PyQuery

Query mark_faces_using_node_degree.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
node_degree_thresholdint
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mark_faces_using_node_degree(face_zone_id_list=[30, 31, 32], node_degree_threshold=2)
>>> meshing_session.meshing_utilities.mark_faces_using_node_degree(face_zone_name_list=["cold-inlet", "hot-inlet"], node_degree_threshold=2)
>>> meshing_session.meshing_utilities.mark_faces_using_node_degree(face_zone_name_pattern="*", node_degree_threshold=2)
class mark_free_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_free_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_free_faces(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.mark_free_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.mark_free_faces(face_zone_name_pattern="*")
class mark_invalid_normals(service, rules, query, path=None)#

Bases: PyQuery

Query mark_invalid_normals.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_invalid_normals(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.mark_invalid_normals(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.mark_invalid_normals(face_zone_name_pattern="*")
class mark_island_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_island_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
island_face_countint
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mark_island_faces(face_zone_id_list=[30, 31, 32], island_face_count=5)
>>> meshing_session.meshing_utilities.mark_island_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], island_face_count=5)
>>> meshing_session.meshing_utilities.mark_island_faces(face_zone_name_pattern="cold*", island_face_count=5)
class mark_multi_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_multi_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
fringe_lengthint
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_multi_faces(face_zone_id_list=[30, 31, 32], fringe_length=5)
>>> meshing_session.meshing_utilities.mark_multi_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], fringe_length=5)
>>> meshing_session.meshing_utilities.mark_multi_faces(face_zone_name_pattern="cold*", fringe_length=5)
class mark_point_contacts(service, rules, query, path=None)#

Bases: PyQuery

Query mark_point_contacts.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mark_point_contacts(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.mark_point_contacts(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.mark_point_contacts(face_zone_name_pattern="cold*")
class mark_self_intersecting_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_self_intersecting_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
mark_foldedbool
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_self_intersecting_faces(face_zone_id_list=[30, 31, 32], mark_folded=True)
>>> meshing_session.meshing_utilities.mark_self_intersecting_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], mark_folded=True)
>>> meshing_session.meshing_utilities.mark_self_intersecting_faces(face_zone_name_pattern="cold*", mark_folded=True)
class mark_sliver_faces(service, rules, query, path=None)#

Bases: PyQuery

Query mark_sliver_faces.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
max_heightfloat
skew_limitfloat
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_sliver_faces(face_zone_id_list=[30, 31, 32], max_height=2, skew_limit=0.2)
>>> meshing_session.meshing_utilities.mark_sliver_faces(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], max_height=2, skew_limit=0.2)
>>> meshing_session.meshing_utilities.mark_sliver_faces(face_zone_name_pattern="cold*", max_height=2, skew_limit=0.2)
class mark_spikes(service, rules, query, path=None)#

Bases: PyQuery

Query mark_spikes.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
spike_anglefloat
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_spikes(face_zone_id_list=[30, 31, 32], spike_angle=40.5)
>>> meshing_session.meshing_utilities.mark_spikes(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], spike_angle=40.5)
>>> meshing_session.meshing_utilities.mark_spikes(face_zone_name_pattern="cold*", spike_angle=40.5)
class mark_steps(service, rules, query, path=None)#

Bases: PyQuery

Query mark_steps.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
step_anglefloat
step_widthfloat
Returns:
int

Examples

>>> meshing_session.meshing_utilities.mark_steps(face_zone_id_list=[30, 31, 32], step_angle=40.5, step_width=3.3)
>>> meshing_session.meshing_utilities.mark_steps(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], step_angle=40.5, step_width=3.3)
>>> meshing_session.meshing_utilities.mark_steps(face_zone_name_pattern="cold*", step_angle=40.5, step_width=3.3)
class merge_cell_zones(service, rules, command, path=None)#

Bases: PyCommand

Command merge_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.merge_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.merge_cell_zones(cell_zone_name_pattern="*")
class merge_cell_zones_with_same_prefix(service, rules, command, path=None)#

Bases: PyCommand

Command merge_cell_zones_with_same_prefix.

Parameters:
prefixstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_cell_zones_with_same_prefix(prefix="elbow")
class merge_cell_zones_with_same_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command merge_cell_zones_with_same_suffix.

Parameters:
suffixstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_cell_zones_with_same_suffix(suffix="fluid")
class merge_face_zones(service, rules, command, path=None)#

Bases: PyCommand

Command merge_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_face_zones(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.merge_face_zones(face_zone_name_pattern="wall*")
class merge_face_zones_of_type(service, rules, command, path=None)#

Bases: PyCommand

Command merge_face_zones_of_type.

Parameters:
face_zone_typestr
face_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_face_zones_of_type(face_zone_type="velocity-inlet", face_zone_name_pattern="*")
class merge_face_zones_with_same_prefix(service, rules, command, path=None)#

Bases: PyCommand

Command merge_face_zones_with_same_prefix.

Parameters:
prefixstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.merge_face_zones_with_same_prefix(prefix="elbow")
class mesh_check(service, rules, query, path=None)#

Bases: PyQuery

Query mesh_check.

Parameters:
type_namestr
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.mesh_check(type_name="face-children", edge_zone_id_list=[22, 23], face_zone_id_list=[30, 31, 32], cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.mesh_check(type_name="nodes-per-cell", edge_zone_name_pattern="cold-inlet*", face_zone_id_list=[30, 31, 32], cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.mesh_check(type_name="volume-statistics", edge_zone_id_list=[22, 23], face_zone_name_pattern="*", cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.mesh_check(type_name="nodes-per-cell", edge_zone_name_pattern="cold-inlet*", face_zone_name_pattern="*", cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.mesh_check(type_name="face-children", edge_zone_id_list=[22, 23], face_zone_id_list=[30, 31, 32], cell_zone_name_pattern="*")
>>> meshing_session.meshing_utilities.mesh_check(type_name="volume-statistics", edge_zone_name_pattern="cold-inlet*", face_zone_name_pattern="*", cell_zone_name_pattern="*")
class mesh_exists(service, rules, query, path=None)#

Bases: PyQuery

Query mesh_exists.

Returns:
None

Examples

>>> meshing_session.meshing_utilities.mesh_exists()
class print_worst_quality_cell(service, rules, query, path=None)#

Bases: PyQuery

Query print_worst_quality_cell.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
measurestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.print_worst_quality_cell(cell_zone_id_list=[87], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.print_worst_quality_cell(cell_zone_name_list=["elbow-fluid"], measure="Orthogonal Quality")
>>> meshing_session.meshing_utilities.print_worst_quality_cell(cell_zone_name_pattern="*", measure="Orthogonal Quality")
class project_zone_on_plane(service, rules, query, path=None)#

Bases: PyQuery

Query project_zone_on_plane.

Parameters:
zone_idint
planeDict[str, Any]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.project_zone_on_plane(zone_id=87, plane=[[1, 0, 0], [0, 1, 0], [0, 0, 1]])
class refine_marked_faces_in_zones(service, rules, query, path=None)#

Bases: PyQuery

Query refine_marked_faces_in_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.refine_marked_faces_in_zones(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.refine_marked_faces_in_zones(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.refine_marked_faces_in_zones(face_zone_name_pattern="cold*")
class remove_id_suffix_from_face_zones(service, rules, command, path=None)#

Bases: PyCommand

Command remove_id_suffix_from_face_zones.

Returns:
None

Examples

>>> meshing_session.meshing_utilities.remove_id_suffix_from_face_zones()
class remove_ids_from_zone_names(service, rules, command, path=None)#

Bases: PyCommand

Command remove_ids_from_zone_names.

Parameters:
zone_id_listList[int]
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.remove_ids_from_zone_names(zone_id_list=[30, 31, 32])
class remove_labels_on_cell_zones(service, rules, command, path=None)#

Bases: PyCommand

Command remove_labels_on_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
label_name_listList[str]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.remove_labels_on_cell_zones(cell_zone_name_list=["elbow-fluid"], label_name_list=["elbow-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_cell_zones(cell_zone_id_list=[87], label_name_list=["87-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_cell_zones(cell_zone_name_pattern="*", label_name_list=["cell-1"])
class remove_labels_on_edge_zones(service, rules, command, path=None)#

Bases: PyCommand

Command remove_labels_on_edge_zones.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
edge_zone_name_patternstr
label_name_listList[str]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.remove_labels_on_edge_zones(edge_zone_name_list=["symmetry:xyplane:hot-inlet:elbow-fluid:feature.20"], label_name_list=["20-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_edge_zones(edge_zone_id_list=[22], label_name_list=["22-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_edge_zones(edge_zone_name_pattern="*", label_name_list=["26-1"])
class remove_labels_on_face_zones(service, rules, command, path=None)#

Bases: PyCommand

Command remove_labels_on_face_zones.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
label_name_listList[str]
Returns:
None

Examples

>>> meshing_session.meshing_utilities.remove_labels_on_face_zones(face_zone_name_list=["wall-inlet"], label_name_list=["wall-inlet-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_face_zones(face_zone_id_list=[30], label_name_list=["hot-inlet-1"])
>>> meshing_session.meshing_utilities.remove_labels_on_face_zones(face_zone_name_pattern="*", label_name_list=["wall-elbow-1"])
class rename_edge_zone(service, rules, command, path=None)#

Bases: PyCommand

Command rename_edge_zone.

Parameters:
zone_idint
zone_namestr
new_namestr
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.rename_edge_zone(zone_id=20, new_name="symmetry:xyplane:hot-inlet:elbow-fluid:feature.20-new")
class rename_face_zone(service, rules, command, path=None)#

Bases: PyCommand

Command rename_face_zone.

Parameters:
zone_idint
zone_namestr
new_namestr
Returns:
bool

Examples

>>> meshing_session.meshing_utilities.rename_face_zone(zone_name="symmetry:xyplane:hot-inlet:elbow-fluid:feature.20-new", new_name="symmetry:xyplane:hot-inlet:elbow-fluid:feature.20")
>>> meshing_session.meshing_utilities.rename_face_zone(zone_id=32, new_name="outlet-32")
>>> meshing_session.meshing_utilities.rename_face_zone(zone_name="outlet-32", new_name="outlet")
class rename_face_zone_label(service, rules, command, path=None)#

Bases: PyCommand

Command rename_face_zone_label.

Parameters:
object_namestr
old_label_namestr
new_label_namestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.rename_face_zone_label(object_name="elbow-fluid-1", old_label_name="outlet", new_label_name="outlet-new")
class rename_object(service, rules, command, path=None)#

Bases: PyCommand

Command rename_object.

Parameters:
old_object_namestr
new_object_namestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.rename_object(old_object_name="elbow-fluid", new_object_name="elbow-fluid-1")
class renumber_zone_ids(service, rules, command, path=None)#

Bases: PyCommand

Command renumber_zone_ids.

Parameters:
zone_id_listList[int]
start_numberint
Returns:
None

Examples

>>> meshing_session.meshing_utilities.renumber_zone_ids(zone_id_list=[30, 31, 32], start_number=1)
class replace_cell_zone_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command replace_cell_zone_suffix.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
old_suffixstr
new_suffixstr
mergebool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_cell_zone_suffix(cell_zone_id_list=[87], old_suffix="fluid", new_suffix="fluid-new", merge=True)
>>> meshing_session.meshing_utilities.replace_cell_zone_suffix(cell_zone_name_list=["elbow-fluid-new"], old_suffix="fluid", new_suffix="fluid-new", merge=True)
class replace_edge_zone_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command replace_edge_zone_suffix.

Parameters:
edge_zone_id_listList[int]
edge_zone_name_listList[str]
old_suffixstr
new_suffixstr
mergebool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_edge_zone_suffix(edge_zone_id_list=[20], old_suffix="fluid", new_suffix="fluid-new", merge=True)
>>> meshing_session.meshing_utilities.replace_edge_zone_suffix(edge_zone_name_list=["hot-inlet:wall-inlet:elbow-fluid:feature.21"], old_suffix="fluid", new_suffix="fluid-new", merge=True)
class replace_face_zone_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command replace_face_zone_suffix.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
separatorstr
replace_withstr
mergebool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_face_zone_suffix(face_zone_id_list=[30, 31, 32], separator="-suffix-", replace_with="-with-", merge=False)
>>> meshing_session.meshing_utilities.replace_face_zone_suffix(face_zone_name_list=["cold-inlet", "hot-inlet"], separator="-suffix-", replace_with="-with-", merge=False)
class replace_label_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command replace_label_suffix.

Parameters:
object_name_listList[str]
separatorstr
new_suffixstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_label_suffix(object_name_list=["elbow-fluid-1"], separator="-", new_suffix="fluid-new")
class replace_object_suffix(service, rules, command, path=None)#

Bases: PyCommand

Command replace_object_suffix.

Parameters:
object_name_listList[str]
separatorstr
new_suffixstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_object_suffix(object_name_list=["elbow-fluid"], separator="-", new_suffix="fluid-new")
class scale_cell_zones_around_pivot(service, rules, query, path=None)#

Bases: PyQuery

Query scale_cell_zones_around_pivot.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
scaleList[float]
pivotList[float]
use_bbox_centerbool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.scale_cell_zones_around_pivot(cell_zone_id_list=[87], scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
>>> meshing_session.meshing_utilities.scale_cell_zones_around_pivot(cell_zone_name_list=["elbow-fluid"], scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
>>> meshing_session.meshing_utilities.scale_cell_zones_around_pivot(cell_zone_name_pattern="*", scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
class scale_face_zones_around_pivot(service, rules, query, path=None)#

Bases: PyQuery

Query scale_face_zones_around_pivot.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
scaleList[float]
pivotList[float]
use_bbox_centerbool
Returns:
None

Examples

>>> meshing_session.meshing_utilities.scale_face_zones_around_pivot(face_zone_id_list=[30, 31, 32], scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
>>> meshing_session.meshing_utilities.scale_face_zones_around_pivot(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"], scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
>>> meshing_session.meshing_utilities.scale_face_zones_around_pivot(face_zone_name_pattern="*", scale=[1.1, 1.2, 1.3], pivot=[1.1482939720153809, -2.2965879440307617, 0.7345014897547645], use_bbox_center=True)
class separate_cell_zone_layers_by_face_zone(service, rules, query, path=None)#

Bases: PyQuery

Query separate_cell_zone_layers_by_face_zone.

Parameters:
prism_cell_zone_id_listList[int]
prism_cell_zone_namestr
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
nlayersint
Returns:
None
class separate_face_zones_by_cell_neighbor(service, rules, query, path=None)#

Bases: PyQuery

Query separate_face_zones_by_cell_neighbor.

Parameters:
face_zone_id_listList[int]
face_zone_name_listList[str]
face_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.separate_face_zones_by_cell_neighbor(face_zone_id_list=[30, 31, 32])
>>> meshing_session.meshing_utilities.separate_face_zones_by_cell_neighbor(face_zone_name_list=["cold-inlet", "hot-inlet", "outlet"])
>>> meshing_session.meshing_utilities.separate_face_zones_by_cell_neighbor(face_zone_name_pattern="cold*")
class set_number_of_parallel_compute_threads(service, rules, command, path=None)#

Bases: PyCommand

Command set_number_of_parallel_compute_threads.

Parameters:
nthreadsint
Returns:
None

Examples

>>> meshing_session.meshing_utilities.set_number_of_parallel_compute_threads(nthreads=2)
class set_object_cell_zone_type(service, rules, command, path=None)#

Bases: PyCommand

Command set_object_cell_zone_type.

Parameters:
object_namestr
cell_zone_typestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.set_object_cell_zone_type(object_name="elbow-fluid", cell_zone_type="mixed")
class set_quality_measure(service, rules, command, path=None)#

Bases: PyCommand

Command set_quality_measure.

Parameters:
measurestr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.set_quality_measure(measure="Aspect Ratio")
class unpreserve_cell_zones(service, rules, query, path=None)#

Bases: PyQuery

Query unpreserve_cell_zones.

Parameters:
cell_zone_id_listList[int]
cell_zone_name_listList[str]
cell_zone_name_patternstr
Returns:
None

Examples

>>> meshing_session.meshing_utilities.unpreserve_cell_zones(cell_zone_id_list=[87])
>>> meshing_session.meshing_utilities.unpreserve_cell_zones(cell_zone_name_list=["elbow-fluid"])
>>> meshing_session.meshing_utilities.unpreserve_cell_zones(cell_zone_name_pattern="*")