mesh#

class ansys.fluent.core.meshing.tui_231.main_menu.mesh(path, service)#

Bases: TUIMenu

Enter the grid menu.

Methods:

activate_lean_datastructures(*args, **kwargs)

Activates Lean data structures to reduce memory.

auto_mesh(*args, **kwargs)

Enables you to generate the volume mesh automatically.

auto_mesh_multiple_objects(*args, **kwargs)

Automatically executes initialization and refinement of mesh for multiple objects.

auto_prefix_cell_zones(*args, **kwargs)

Enables you to specify a prefix for cell zones created during the auto mesh procedure.

check_mesh(*args, **kwargs)

Checks the mesh for topological errors.

check_quality(*args, **kwargs)

Enables you to ensure that the mesh quality is appropriate before transferring the mesh to the solution mode.

check_quality_level(*args, **kwargs)

Enables you to report additional quality metrics when set to 1.

clear_mesh(*args, **kwargs)

Enables you to generate a new mesh by deleting the internal mesh and leaving only the boundary faces and nodes.

clear_undo_stack(*args, **kwargs)

Clears undo stack.

create_frustrum(*args, **kwargs)

Create a cylindrical hex mesh.

create_heat_exchanger(*args, **kwargs)

Creates the heat exchanger mesh.

cutcell(*args, **kwargs)

Enters the cutcell menu.

deactivate_lean_datastructures(*args, **kwargs)

Deactivates Lean data structures.

laplace_smooth_nodes(*args, **kwargs)

Applies a Laplacian smoothing operator to the mesh nodes.

list_mesh_parameter(*args, **kwargs)

Shows all mesh parameters.

prepare_for_solve(*args, **kwargs)

Prepares the mesh for solving in solution mode by performing a cleanup operation after the volume mesh has been generated.

repair_face_handedness(*args, **kwargs)

Reverses face node orientation.

reset_mesh(*args, **kwargs)

Clears the entire mesh.

reset_mesh_parameter(*args, **kwargs)

Resets all parameters to their default value.

selective_mesh_check(*args, **kwargs)

Performs a customized mesh check on specific zones rather than all zones.

zone_names_clean_up(*args, **kwargs)

Classes:

auto_mesh_controls(path, service)

Enters the auto-mesh-controls submenu.

cartesian(path, service)

Enter Cartesian mesh menu.

cavity(path, service)

Enters the cavity menu.

cell_zone_conditions(path, service)

Contains options for copying or clearing cell zone conditions when a case file is read.

domains(path, service)

Enters the domain menu.

hexcore(path, service)

Enters the hexcore menu.

manage(path, service)

Enters the manage cell zones menu.

modify(path, service)

Enters the mesh modify menu.

non_conformals(path, service)

Enters the non-conformals menu.

poly(path, service)

Enters the polyhedral mesh generation menu.

poly_hexcore(path, service)

Enters the menu for poly-hexcore mesh.

prism(path, service)

Enters the prism menu.

pyramid(path, service)

Enters the pyramid menu.

rapid_octree(path, service)

Enters the rapid octree menu, which provides text commands for using the Rapid Octree mesher.

scoped_prisms(path, service)

Contains options for creating scoped prism controls for mesh objects.

separate(path, service)

Separates cells by various user-defined methods.

tet(path, service)

Enters the tetrahedral mesh menu.

thin_volume_mesh(path, service)

Creates a sweep-like mesh for a body occupying a thin gap.

activate_lean_datastructures(*args, **kwargs)#

Activates Lean data structures to reduce memory.

auto_mesh(*args, **kwargs)#

Enables you to generate the volume mesh automatically. Specify a mesh object name for object-based auto mesh; if no name is given, face zone based auto mesh is performed. Specify the mesh elements to be used when prompted. Specify whether to merge the cells into a single zone or keep the cell zones separate. For face zone based meshing, specify whether automatically identify the domain to be meshed based on the topology information.

class auto_mesh_controls(path, service)#

Bases: TUIMenu

Enters the auto-mesh-controls submenu.

Methods:

backup_object(*args, **kwargs)

Enables creation of a backup of the surface mesh before volume meshing starts.

backup_object(*args, **kwargs)#

Enables creation of a backup of the surface mesh before volume meshing starts. This option is enabled by default.

auto_mesh_multiple_objects(*args, **kwargs)#

Automatically executes initialization and refinement of mesh for multiple objects.

auto_prefix_cell_zones(*args, **kwargs)#

Enables you to specify a prefix for cell zones created during the auto mesh procedure. The auto-prefix-cell-zones command is not relevant for object-based meshing, where the cell zone names are generated based on the material points and the objects used to generate the mesh object.

class cartesian(path, service)#

Bases: TUIMenu

Enter Cartesian mesh menu.

Methods:

mesh(*args, **kwargs)

Generate Cartesian mesh.

mesh(*args, **kwargs)#

Generate Cartesian mesh.

class cavity(path, service)#

Bases: TUIMenu

Enters the cavity menu.

Methods:

add_zones(*args, **kwargs)

Enables you to create a cavity for adding new zones to the existing volume mesh.

create_hexcore_cavity_by_region(*args, **kwargs)

Creates the cavity in the hexcore mesh based on the zones and bounding box extents specified.

create_hexcore_cavity_by_scale(*args, **kwargs)

Creates the cavity in the hexcore mesh based on the zones and scale specified.

merge_cavity(*args, **kwargs)

Enables you to merge the specified cavity domain with the parent domain.

region(*args, **kwargs)

Enables you to create a cavity to modify the existing volume mesh in the specified region.

remesh_hexcore_cavity(*args, **kwargs)

Remesh a cavity in hexcore mesh.

remove_zones(*args, **kwargs)

Enables you to create a cavity for removing zones from the existing volume mesh.

replace_zones(*args, **kwargs)

Enables you to create a cavity for removing a set of zones from an existing volume mesh and replacing them with new set of zones.

add_zones(*args, **kwargs)#

Enables you to create a cavity for adding new zones to the existing volume mesh.

create_hexcore_cavity_by_region(*args, **kwargs)#

Creates the cavity in the hexcore mesh based on the zones and bounding box extents specified. The create-hexcore-cavity-by-region option is no longer supported and will be removed at a future release.

create_hexcore_cavity_by_scale(*args, **kwargs)#

Creates the cavity in the hexcore mesh based on the zones and scale specified. The create-hexcore-cavity-by-scale option is no longer supported and will be removed at a future release.

merge_cavity(*args, **kwargs)#

Enables you to merge the specified cavity domain with the parent domain. During the merging operation, the cavity cell zones merges with the zones in the parent domain. The wall boundaries extracted from the interior zones will be converted to interior type and merged with the corresponding zones in the parent domain.

region(*args, **kwargs)#

Enables you to create a cavity to modify the existing volume mesh in the specified region.

remesh_hexcore_cavity(*args, **kwargs)#

Remesh a cavity in hexcore mesh.

remove_zones(*args, **kwargs)#

Enables you to create a cavity for removing zones from the existing volume mesh.

replace_zones(*args, **kwargs)#

Enables you to create a cavity for removing a set of zones from an existing volume mesh and replacing them with new set of zones.

class cell_zone_conditions(path, service)#

Bases: TUIMenu

Contains options for copying or clearing cell zone conditions when a case file is read.

Methods:

clear(*args, **kwargs)

Clears the cell zone conditions assigned to the specified zones.

clear_all(*args, **kwargs)

Clears the cell conditions assigned to all the zones.

copy(*args, **kwargs)

Enables you to copy the cell zone conditions from the zone selected to the zones specified.

clear(*args, **kwargs)#

Clears the cell zone conditions assigned to the specified zones.

clear_all(*args, **kwargs)#

Clears the cell conditions assigned to all the zones.

copy(*args, **kwargs)#

Enables you to copy the cell zone conditions from the zone selected to the zones specified.

check_mesh(*args, **kwargs)#

Checks the mesh for topological errors.

check_quality(*args, **kwargs)#

Enables you to ensure that the mesh quality is appropriate before transferring the mesh to the solution mode.

check_quality_level(*args, **kwargs)#

Enables you to report additional quality metrics when set to 1. In addition to the orthogonal quality and Fluent aspect ratio, additional metrics such as cell squish and skewness will be reported when the check-quality-level is set to 1.

clear_mesh(*args, **kwargs)#

Enables you to generate a new mesh by deleting the internal mesh and leaving only the boundary faces and nodes.

clear_undo_stack(*args, **kwargs)#

Clears undo stack.

create_frustrum(*args, **kwargs)#

Create a cylindrical hex mesh.

create_heat_exchanger(*args, **kwargs)#

Creates the heat exchanger mesh. You need to specify the method for selecting the Location coordinates (by Position or Nodes), the location coordinates, the parameters for setting up mesh density (by Interval or Size), and the number of intervals (sizes) between points (nodes) 1–2, 1–3, 1–4. Also specify the object/zone name prefix and enable creating the mesh object, if required.

cutcell(*args, **kwargs)#

Enters the cutcell menu. This menu is no longer supported, and will be removed in a future release.

deactivate_lean_datastructures(*args, **kwargs)#

Deactivates Lean data structures.

class domains(path, service)#

Bases: TUIMenu

Enters the domain menu.

Methods:

activate(*args, **kwargs)

Activates the specified domain for meshing or reporting operations.

create(*args, **kwargs)

Creates a new domain based on the specified boundary face zones.

create_by_cell_zone(*args, **kwargs)

Creates a new domain based on the specified cell zone.

create_by_point(*args, **kwargs)

Creates a new domain based on the specified The create-by-point option works only for cases with no overlapping face zones.

delete(*args, **kwargs)

Deletes the specified domain.

draw(*args, **kwargs)

Displays the boundary face zones of the specified domain.

print(*args, **kwargs)

Prints the information for the specified domain.

activate(*args, **kwargs)#

Activates the specified domain for meshing or reporting operations.

create(*args, **kwargs)#

Creates a new domain based on the specified boundary face zones. Ensure valid boundary zones are specified; specifying invalid zones will generate an error.

create_by_cell_zone(*args, **kwargs)#

Creates a new domain based on the specified cell zone.

create_by_point(*args, **kwargs)#

Creates a new domain based on the specified The create-by-point option works only for cases with no overlapping face zones.

delete(*args, **kwargs)#

Deletes the specified domain.

draw(*args, **kwargs)#

Displays the boundary face zones of the specified domain.

print(*args, **kwargs)#

Prints the information for the specified domain.

class hexcore(path, service)#

Bases: TUIMenu

Enters the hexcore menu.

Classes:

controls(path, service)

Enters the hexcore controls menu.

local_regions(path, service)

Enters the hexcore local refinement region sub-menu.

Methods:

create(*args, **kwargs)

Enables you to create the hexcore mesh according to the specified parameters.

merge_tets_to_pyramids(*args, **kwargs)

Enables the merge-tets-to-pyramids command to reduce the total cell count.

class controls(path, service)#

Bases: TUIMenu

Enters the hexcore controls menu.

Methods:

avoid_1_by_8_cell_jump_in_hexcore(*args, ...)

Avoid-1:8-cell-jump-in-hexcore.

buffer_layers(*args, **kwargs)

Sets the number of addition cells to mark for subdivision.

compute_max_cell_length(*args, **kwargs)

Computes the maximum cell length for the hexcore mesh.

define_hexcore_extents(*args, **kwargs)

Enables you to extend the hexcore mesh to specified domain extents and/or selected planar boundaries.

delete_dead_zones(*args, **kwargs)

Toggles the automatic deleting of the dead zones.

maximum_cell_length(*args, **kwargs)

Sets the maximum cell length for the hex cells in the domain.

maximum_initial_cells(*args, **kwargs)

Specifies the maximum number of cells in the initial Cartesian mesh.

merge_tets_to_pyramids(*args, **kwargs)

Merge tets into pyramids.

non_fluid_type(*args, **kwargs)

Selects the default non-fluid cell zone type.

octree_hexcore(*args, **kwargs)

Speeds up hexahedral core generation by enabling the octree technique for hexcore mesh generation.

peel_layers(*args, **kwargs)

Specifies the distance for the hexcore interface to peel-back from the boundary.

print_region_based_sizing(*args, **kwargs)

Displays local sizing settings (max cell length and growth rate) for specified region(s).

set_region_based_sizing(*args, **kwargs)

Allows you to specify local sizing settings (max cell length and growth rate) for specified region(s).

skip_tet_refinement(*args, **kwargs)

Enables you to omit the tetrahedral refinement phase for reducing total cell count (default is no).

Classes:

outer_domain_params(path, service)

Contains options for defining the outer domain parameters.

avoid_1_by_8_cell_jump_in_hexcore(*args, **kwargs)#

Avoid-1:8-cell-jump-in-hexcore.

buffer_layers(*args, **kwargs)#

Sets the number of addition cells to mark for subdivision.

compute_max_cell_length(*args, **kwargs)#

Computes the maximum cell length for the hexcore mesh.

define_hexcore_extents(*args, **kwargs)#

Enables you to extend the hexcore mesh to specified domain extents and/or selected planar boundaries. When enabled, the outer-domain-params sub-menu will be available.

delete_dead_zones(*args, **kwargs)#

Toggles the automatic deleting of the dead zones.

maximum_cell_length(*args, **kwargs)#

Sets the maximum cell length for the hex cells in the domain.

maximum_initial_cells(*args, **kwargs)#

Specifies the maximum number of cells in the initial Cartesian mesh.

merge_tets_to_pyramids(*args, **kwargs)#

Merge tets into pyramids.

non_fluid_type(*args, **kwargs)#

Selects the default non-fluid cell zone type. After the mesh is initialized, any non-fluid zones will be set to this type. If the mesh includes multiple regions (for example, the problem for which you are creating the mesh includes a fluid zone and one or more solid zones), and you plan to refine all of them using the same refinement parameters, modify the Non-Fluid Type before generating the hexcore mesh. For zone-based meshing, if any cell zone has at least one boundary zone type as inlet, it will automatically be set to fluid type. For object based meshing, volume region type is used to determine the cell zone type.

octree_hexcore(*args, **kwargs)#

Speeds up hexahedral core generation by enabling the octree technique for hexcore mesh generation. This option is disabled by default. Body-of-influence sizing may be used for refinement. This option does not support hexcore generation up to boundaries.

class outer_domain_params(path, service)#

Bases: TUIMenu

Contains options for defining the outer domain parameters. This sub-menu is available only when define-hexcore-extents? is enabled.

Methods:

auto_align(*args, **kwargs)

Enables you to axis-align non-aligned planar boundaries to which hexcore mesh is to be generated.

auto_align_boundaries(*args, **kwargs)

Aligns the boundary zones specified (using the boundaries command) with the tolerance specified (using the auto-align-tolerance command) when auto-align? is enabled.

auto_align_tolerance(*args, **kwargs)

Specifies the tolerance for aligning boundary zones when auto-align? is enabled.

boundaries(*args, **kwargs)

Specifies the boundaries to which the hexcore mesh is to be generated when the specify-boundaries? option is enabled.

coordinates(*args, **kwargs)

Specifies the extents (min and max coordinates) of the hexcore outer box.

delete_old_face_zones(*args, **kwargs)

Enables you to delete the original tri face zones that have been replaced during the hexcore meshing process.

list(*args, **kwargs)

Lists the boundaries to which the hexcore mesh is to be generated.

specify_boundaries(*args, **kwargs)

Enables you to specify selected boundaries to which the hexcore mesh is to be generated using the boundaries command.

specify_coordinates(*args, **kwargs)

Enables you to specify the extents of the hexcore outer box using the coordinates command.

auto_align(*args, **kwargs)#

Enables you to axis-align non-aligned planar boundaries to which hexcore mesh is to be generated. This option is available only when the specify-boundaries? option is enabled and the boundaries are specified.

auto_align_boundaries(*args, **kwargs)#

Aligns the boundary zones specified (using the boundaries command) with the tolerance specified (using the auto-align-tolerance command) when auto-align? is enabled.

auto_align_tolerance(*args, **kwargs)#

Specifies the tolerance for aligning boundary zones when auto-align? is enabled.

boundaries(*args, **kwargs)#

Specifies the boundaries to which the hexcore mesh is to be generated when the specify-boundaries? option is enabled. After specifying the boundaries, the auto-align?, delete-old-face-zones?, and list options will also be available.

coordinates(*args, **kwargs)#

Specifies the extents (min and max coordinates) of the hexcore outer box. This command is available when the specify-coordinates? option is enabled.

delete_old_face_zones(*args, **kwargs)#

Enables you to delete the original tri face zones that have been replaced during the hexcore meshing process. This option is available only when the specify-boundaries? option is enabled and the boundaries are specified.

list(*args, **kwargs)#

Lists the boundaries to which the hexcore mesh is to be generated. This option is available only when the specify-boundaries? option is enabled and the boundaries are specified.

specify_boundaries(*args, **kwargs)#

Enables you to specify selected boundaries to which the hexcore mesh is to be generated using the boundaries command.

specify_coordinates(*args, **kwargs)#

Enables you to specify the extents of the hexcore outer box using the coordinates command.

peel_layers(*args, **kwargs)#

Specifies the distance for the hexcore interface to peel-back from the boundary. The default value is 0. The higher the value of peel layer, the bigger the distance between the hexcore interface and the boundary.

print_region_based_sizing(*args, **kwargs)#

Displays local sizing settings (max cell length and growth rate) for specified region(s).

set_region_based_sizing(*args, **kwargs)#

Allows you to specify local sizing settings (max cell length and growth rate) for specified region(s).

skip_tet_refinement(*args, **kwargs)#

Enables you to omit the tetrahedral refinement phase for reducing total cell count (default is no). Hex cell count is unaffected.

create(*args, **kwargs)#

Enables you to create the hexcore mesh according to the specified parameters.

class local_regions(path, service)#

Bases: TUIMenu

Enters the hexcore local refinement region sub-menu.

Methods:

activate(*args, **kwargs)

Enables you to activate the specified local regions for refinement.

deactivate(*args, **kwargs)

Enables you to deactivate the specified local regions for refinement.

define(*args, **kwargs)

Defines the local region according to the specified parameters.

delete(*args, **kwargs)

Deletes the specified refinement region.

ideal_hex_vol(*args, **kwargs)

Reports the ideal hex volume for the given edge length.

ideal_quad_area(*args, **kwargs)

Ideal quad area for given edge length.

init(*args, **kwargs)

Creates a default region encompassing the entire geometry.

list_all_regions(*args, **kwargs)

Lists the defined and active regions in the console.

activate(*args, **kwargs)#

Enables you to activate the specified local regions for refinement.

deactivate(*args, **kwargs)#

Enables you to deactivate the specified local regions for refinement.

define(*args, **kwargs)#

Defines the local region according to the specified parameters.

delete(*args, **kwargs)#

Deletes the specified refinement region.

ideal_hex_vol(*args, **kwargs)#

Reports the ideal hex volume for the given edge length.

ideal_quad_area(*args, **kwargs)#

Ideal quad area for given edge length.

init(*args, **kwargs)#

Creates a default region encompassing the entire geometry.

list_all_regions(*args, **kwargs)#

Lists the defined and active regions in the console.

merge_tets_to_pyramids(*args, **kwargs)#

Enables the merge-tets-to-pyramids command to reduce the total cell count. If skip-tet-refinement is enabled, pairs of tets will be merged into pyramids. Hexcore count is unaffected.

laplace_smooth_nodes(*args, **kwargs)#

Applies a Laplacian smoothing operator to the mesh nodes. This command can be used for smoothing of all cell types, including prismatic cells.

list_mesh_parameter(*args, **kwargs)#

Shows all mesh parameters.

class manage(path, service)#

Bases: TUIMenu

Enters the manage cell zones menu.

Methods:

active_list(*args, **kwargs)

Lists all active zones.

adjacent_face_zones(*args, **kwargs)

Lists all face zones that refer to the specified cell zone.

auto_set_active(*args, **kwargs)

Sets the active zones based on points that are defined in an external file.

change_prefix(*args, **kwargs)

Enables you to change the prefix for the cell zone.

change_suffix(*args, **kwargs)

Change the suffix for specified face zones.

copy(*args, **kwargs)

Copies all nodes and faces of specified cell zones.

delete(*args, **kwargs)

Deletes a cell zone, along with its associated nodes and faces.

get_material_point(*args, **kwargs)

Prints the coordinates of the material point for the specified cell zone.

id(*args, **kwargs)

Specifies a new cell zone ID.

list(*args, **kwargs)

Prints information on all cell zones.

merge(*args, **kwargs)

Merges two or more cell zones.

merge_dead_zones(*args, **kwargs)

Enables you to merge dead zones having a cell count lower than the specified threshold value, with the adjacent cell zone.

name(*args, **kwargs)

Enables you to rename a cell zone.

origin(*args, **kwargs)

Specifies a new origin for the mesh, to be used for cell zone rotation.

revolve_face_zone(*args, **kwargs)

Generates cells by revolving a face thread.

rotate(*args, **kwargs)

Rotates all nodes of specified cell zones by a specified angle.

rotate_model(*args, **kwargs)

Rotates all nodes of the model by a specified angle.

scale(*args, **kwargs)

Scales all nodes of specified cell zones by a specified factor.

scale_model(*args, **kwargs)

Scales all nodes of the model by a specified factor.

set_active(*args, **kwargs)

Sets the specified cell zones to be active.

translate(*args, **kwargs)

Translates all nodes of specified cell zones by a specified vector.

translate_model(*args, **kwargs)

Translates all nodes of the model by a specified vector.

type(*args, **kwargs)

Changes the type and name of a cell zone.

active_list(*args, **kwargs)#

Lists all active zones.

adjacent_face_zones(*args, **kwargs)#

Lists all face zones that refer to the specified cell zone.

auto_set_active(*args, **kwargs)#

Sets the active zones based on points that are defined in an external file. For each zone you want to activate, you need to specify the coordinates of a point in the zone, the zone type (for example, fluid), and (optionally) a new name. A sample file is shown below:.

change_prefix(*args, **kwargs)#

Enables you to change the prefix for the cell zone.

change_suffix(*args, **kwargs)#

Change the suffix for specified face zones.

copy(*args, **kwargs)#

Copies all nodes and faces of specified cell zones.

delete(*args, **kwargs)#

Deletes a cell zone, along with its associated nodes and faces. When deleting cell zones that contain poly cells, you will be warned that the original mesh needs to be deleted and the original faces restored prior to remeshing the volumetric region.

get_material_point(*args, **kwargs)#

Prints the coordinates of the material point for the specified cell zone. If the cell zone is non-contiguous, the get-material-point command will print a list of material points, one for each contiguous region.

id(*args, **kwargs)#

Specifies a new cell zone ID. If a conflict is detected, the change will be ignored.

list(*args, **kwargs)#

Prints information on all cell zones.

merge(*args, **kwargs)#

Merges two or more cell zones. For object-based merge, the selected zones must be in the same volumetric region. If not, you will have to merge the volumetric regions first using /objects/volumetric-regions/merge. If the volumetric regions cannot be merged because they are not contiguous, you will have to delete the object(s) only before merging the cell zones.

merge_dead_zones(*args, **kwargs)#

Enables you to merge dead zones having a cell count lower than the specified threshold value, with the adjacent cell zone. The result of the merge operation is determined by the type of the adjacent cell zone and the shared face area. The priority for merging with the adjacent cell zone based on type is fluid > solid > dead (that is, merging with an adjacent fluid zone takes priority over merging with an adjacent solid zone, which in turn takes priority over merging with a dead zone). Also, if the adjacent zones are of the same type (for example, fluid), the zone will be merged with the zone having the largest shared face area.

name(*args, **kwargs)#

Enables you to rename a cell zone.

origin(*args, **kwargs)#

Specifies a new origin for the mesh, to be used for cell zone rotation. The default origin is (0,0,0).

revolve_face_zone(*args, **kwargs)#

Generates cells by revolving a face thread.

rotate(*args, **kwargs)#

Rotates all nodes of specified cell zones by a specified angle.

rotate_model(*args, **kwargs)#

Rotates all nodes of the model by a specified angle.

scale(*args, **kwargs)#

Scales all nodes of specified cell zones by a specified factor.

scale_model(*args, **kwargs)#

Scales all nodes of the model by a specified factor.

set_active(*args, **kwargs)#

Sets the specified cell zones to be active.

translate(*args, **kwargs)#

Translates all nodes of specified cell zones by a specified vector.

translate_model(*args, **kwargs)#

Translates all nodes of the model by a specified vector.

type(*args, **kwargs)#

Changes the type and name of a cell zone.

class modify(path, service)#

Bases: TUIMenu

Enters the mesh modify menu.

Methods:

auto_improve_warp(*args, **kwargs)

Enables you to improve face warp by node movement.

auto_node_move(*args, **kwargs)

Enables you to improve the mesh quality by node movement.

clear_selections(*args, **kwargs)

Clears all items from the selection list.

delete_isolated_cells(*args, **kwargs)

Delete isolated cells.

deselect_last(*args, **kwargs)

Deselects the last item you selected using the select-entity command.

extract_unused_nodes(*args, **kwargs)

Places all unused nodes in a separate interior node zone.

list_selections(*args, **kwargs)

Lists all items in the selection list.

list_skewed_cells(*args, **kwargs)

Lists cells with skewness in a specified range.

mesh_node(*args, **kwargs)

Attempts to introduce a new node into the existing mesh.

mesh_nodes_on_zone(*args, **kwargs)

Inserts nodes associated with node or face zone into the volume mesh.

neighborhood_skew(*args, **kwargs)

Reports the maximum skewness of cells using the specified node.

refine_cell(*args, **kwargs)

Attempts to refine the cells in the probe list by introducing a node nears its centroid.

repair_negative_volume_cells(*args, **kwargs)

Repairs negative volume cells by moving nodes.

select_entity(*args, **kwargs)

Adds an entity (face, node, cell, etc.) to the selection list.

smooth_node(*args, **kwargs)

Applies Laplace smoothing to the nodes in the selection list.

auto_improve_warp(*args, **kwargs)#

Enables you to improve face warp by node movement. Specify the appropriate cell zones and boundary zones, the maximum warp, the number of iterations per face to be improved, and the number of iterations of the automatic node movement procedure (default, 4).

auto_node_move(*args, **kwargs)#

Enables you to improve the mesh quality by node movement. Specify the appropriate cell zones and boundary zones, the quality limit based on the quality measure selected, dihedral angle, the number of iterations per node to be moved and the number of iterations of the automatic node movement procedure (default, 1). You can also choose to restrict the movement of boundary nodes along the surface.

clear_selections(*args, **kwargs)#

Clears all items from the selection list.

delete_isolated_cells(*args, **kwargs)#

Delete isolated cells.

deselect_last(*args, **kwargs)#

Deselects the last item you selected using the select-entity command.

extract_unused_nodes(*args, **kwargs)#

Places all unused nodes in a separate interior node zone.

list_selections(*args, **kwargs)#

Lists all items in the selection list.

list_skewed_cells(*args, **kwargs)#

Lists cells with skewness in a specified range.

mesh_node(*args, **kwargs)#

Attempts to introduce a new node into the existing mesh.

mesh_nodes_on_zone(*args, **kwargs)#

Inserts nodes associated with node or face zone into the volume mesh.

neighborhood_skew(*args, **kwargs)#

Reports the maximum skewness of cells using the specified node.

refine_cell(*args, **kwargs)#

Attempts to refine the cells in the probe list by introducing a node nears its centroid. This technique is useful for removing very flat cells near the boundary when boundary sliver removal is not possible. After refining the cell, you should smooth the mesh.

repair_negative_volume_cells(*args, **kwargs)#

Repairs negative volume cells by moving nodes. Specify the appropriate boundary zones, the number of iterations per node to be moved, dihedral angle, whether to restrict the movement of boundary nodes along the surface, and the number of iterations of the automatic node movement procedure (default, 1).

select_entity(*args, **kwargs)#

Adds an entity (face, node, cell, etc.) to the selection list.

smooth_node(*args, **kwargs)#

Applies Laplace smoothing to the nodes in the selection list.

class non_conformals(path, service)#

Bases: TUIMenu

Enters the non-conformals menu.

Classes:

controls(path, service)

Enters the non-conformals controls menu.

Methods:

create(*args, **kwargs)

Creates the non-conformal interface on the specified face zones using the specified retriangulation method.

separate(*args, **kwargs)

Enables you to separate the face zones comprising the non-conformal interface between the cell zones specified.

class controls(path, service)#

Bases: TUIMenu

Enters the non-conformals controls menu.

Methods:

enable(*args, **kwargs)

Toggles the creation of a non-conformal interface.

retri_method(*args, **kwargs)

Specifies the method to be used for retriangulating the quad faces on the non-conformal zones.

enable(*args, **kwargs)#

Toggles the creation of a non-conformal interface.

retri_method(*args, **kwargs)#

Specifies the method to be used for retriangulating the quad faces on the non-conformal zones.

create(*args, **kwargs)#

Creates the non-conformal interface on the specified face zones using the specified retriangulation method.

separate(*args, **kwargs)#

Enables you to separate the face zones comprising the non-conformal interface between the cell zones specified. Specify the cell zones where the interface is non-conformal, an appropriate gap distance, and the critical angle to be used for separating the face zones. You can also choose to orient the boundary face zones after separation and additionally write a journal file for the separation operation. If you choose to write a journal file when using the /mesh/non-conformals/separate command to separate the mesh interface zones, you can read the journal file to create the mesh interface automatically in solution mode.

class poly(path, service)#

Bases: TUIMenu

Enters the polyhedral mesh generation menu.

Methods:

collapse(*args, **kwargs)

Merge nodes to remove short edges and small faces.

improve(*args, **kwargs)

Allows you to improve the polyhedral mesh quality based on the quality-method.

quality_method(*args, **kwargs)

Asks you to choose from internal-default, orthoskew or squish quality measure for mesh improvement.

remesh(*args, **kwargs)

Improves the quality in a local region based on the minimum skewness threshold.

Classes:

controls(path, service)

Enters the controls menu for setting poly parameters.

local_regions(path, service)

Enters the local refinement menu.

collapse(*args, **kwargs)#

Merge nodes to remove short edges and small faces. The decision threshold uses edge size ratio, face size ratio, and (face) area fraction.

class controls(path, service)#

Bases: TUIMenu

Enters the controls menu for setting poly parameters.

Methods:

cell_sizing(*args, **kwargs)

Sets cell volume distribution function as geometric, linear, or size-field.

edge_size_ratio(*args, **kwargs)

Sets the threshold for the size ratio of two connected edges.

face_size_ratio(*args, **kwargs)

Sets the threshold for the size ratio of two faces on one cell.

feature_angle(*args, **kwargs)

Sets the minimum threshold that should be preserved as a feature.

improve(*args, **kwargs)

Enables poly mesh improvement by smoothing based on the smooth-controls.

merge_skew(*args, **kwargs)

Sets the minimum skewness threshold for cell merge.

non_fluid_type(*args, **kwargs)

Selects the default type for non-fluid zones.

remesh_skew(*args, **kwargs)

Sets the target skewness when remeshing.

sliver_cell_area_fraction(*args, **kwargs)

Sets the threshold for the area of a single face to the cell surface area.

Classes:

prism(path, service)

Poly prism transition controls.

smooth_controls(path, service)

Enters the menu for setting smoothing parameters for poly mesh.

cell_sizing(*args, **kwargs)#

Sets cell volume distribution function as geometric, linear, or size-field.

edge_size_ratio(*args, **kwargs)#

Sets the threshold for the size ratio of two connected edges. Recommended range is 20 to 200.

face_size_ratio(*args, **kwargs)#

Sets the threshold for the size ratio of two faces on one cell. Recommended range is 100 to 300.

feature_angle(*args, **kwargs)#

Sets the minimum threshold that should be preserved as a feature.

improve(*args, **kwargs)#

Enables poly mesh improvement by smoothing based on the smooth-controls.

merge_skew(*args, **kwargs)#

Sets the minimum skewness threshold for cell merge.

non_fluid_type(*args, **kwargs)#

Selects the default type for non-fluid zones.

class prism(path, service)#

Bases: TUIMenu

Poly prism transition controls.

Methods:

apply_growth(*args, **kwargs)

Apply growth settings.

clear_growth(*args, **kwargs)

Clear growth settings.

list_growth(*args, **kwargs)

List growth settings.

apply_growth(*args, **kwargs)#

Apply growth settings.

clear_growth(*args, **kwargs)#

Clear growth settings.

list_growth(*args, **kwargs)#

List growth settings.

remesh_skew(*args, **kwargs)#

Sets the target skewness when remeshing.

sliver_cell_area_fraction(*args, **kwargs)#

Sets the threshold for the area of a single face to the cell surface area. Recommended range is 0.00001 to 0.001.

class smooth_controls(path, service)#

Bases: TUIMenu

Enters the menu for setting smoothing parameters for poly mesh.

Methods:

centroid_smooth_iterations(*args, **kwargs)

Sets the number of passes for tet-cell centroid smoothing during the poly mesh generation phase.

edge_smooth_iterations(*args, **kwargs)

Sets the number of passes for tet-cell edge smoothing during the poly mesh generation phase.

laplace_smooth_iterations(*args, **kwargs)

Sets the number of passes for tet-cell Laplace smoothing during the poly mesh generation phase.

smooth_attempts(*args, **kwargs)

Sets the maximum number of movements for a single node during poly mesh smoothing.

smooth_boundary(*args, **kwargs)

Enables boundary smoothing as part of poly cell smoothing.

smooth_iterations(*args, **kwargs)

Sets the number of improvement passes over the full poly mesh.

smooth_on_layer(*args, **kwargs)

Constrains movement of nodes to maintain layering during poly mesh smoothing.

smooth_skew(*args, **kwargs)

Sets the minimum skewness threshold for poly mesh smoothing.

centroid_smooth_iterations(*args, **kwargs)#

Sets the number of passes for tet-cell centroid smoothing during the poly mesh generation phase.

edge_smooth_iterations(*args, **kwargs)#

Sets the number of passes for tet-cell edge smoothing during the poly mesh generation phase.

laplace_smooth_iterations(*args, **kwargs)#

Sets the number of passes for tet-cell Laplace smoothing during the poly mesh generation phase.

smooth_attempts(*args, **kwargs)#

Sets the maximum number of movements for a single node during poly mesh smoothing.

smooth_boundary(*args, **kwargs)#

Enables boundary smoothing as part of poly cell smoothing. Default is no.

smooth_iterations(*args, **kwargs)#

Sets the number of improvement passes over the full poly mesh.

smooth_on_layer(*args, **kwargs)#

Constrains movement of nodes to maintain layering during poly mesh smoothing.

smooth_skew(*args, **kwargs)#

Sets the minimum skewness threshold for poly mesh smoothing.

improve(*args, **kwargs)#

Allows you to improve the polyhedral mesh quality based on the quality-method.

class local_regions(path, service)#

Bases: TUIMenu

Enters the local refinement menu. Poly meshing follows tet meshing. These commands behave like the equivalent commands under /mesh/tet/local-regions/.

Methods:

activate(*args, **kwargs)

Activates the specified regions for refinement.

deactivate(*args, **kwargs)

Deactivates the specified regions for refinement.

define(*args, **kwargs)

Defines the refinement region according to the specified parameters.

delete(*args, **kwargs)

Deletes the specified refinement region.

ideal_area(*args, **kwargs)

Ideal triangle area for given edge length.

ideal_vol(*args, **kwargs)

Reports the volume of an ideal tetrahedron for the edge length specified.

init(*args, **kwargs)

Defines the default refinement region encompassing the entire geometry.

list_all_regions(*args, **kwargs)

Lists all refinement region parameters and the activated regions in the console.

refine(*args, **kwargs)

Refines the active cells inside the selected region based on the specified refinement parameters.

activate(*args, **kwargs)#

Activates the specified regions for refinement.

deactivate(*args, **kwargs)#

Deactivates the specified regions for refinement.

define(*args, **kwargs)#

Defines the refinement region according to the specified parameters.

delete(*args, **kwargs)#

Deletes the specified refinement region.

ideal_area(*args, **kwargs)#

Ideal triangle area for given edge length.

ideal_vol(*args, **kwargs)#

Reports the volume of an ideal tetrahedron for the edge length specified.

init(*args, **kwargs)#

Defines the default refinement region encompassing the entire geometry.

list_all_regions(*args, **kwargs)#

Lists all refinement region parameters and the activated regions in the console.

refine(*args, **kwargs)#

Refines the active cells inside the selected region based on the specified refinement parameters.

quality_method(*args, **kwargs)#

Asks you to choose from internal-default, orthoskew or squish quality measure for mesh improvement.

remesh(*args, **kwargs)#

Improves the quality in a local region based on the minimum skewness threshold.

class poly_hexcore(path, service)#

Bases: TUIMenu

Enters the menu for poly-hexcore mesh.

Classes:

controls(path, service)

Enters the menu for setting parameters for poly-hexcore mesh.

class controls(path, service)#

Bases: TUIMenu

Enters the menu for setting parameters for poly-hexcore mesh.

Methods:

avoid_1_by_8_cell_jump_in_hexcore(*args, ...)

Avoid-1:8-cell-jump-in-hexcore.

mark_core_region_cell_type_as_hex(*args, ...)

Determines whether or not to apply hexahedra cells in the core region of the mesh.

only_polyhedra_for_selected_regions(*args, ...)

Determines if polyhedra cells are to be applied to the selected regions.

avoid_1_by_8_cell_jump_in_hexcore(*args, **kwargs)#

Avoid-1:8-cell-jump-in-hexcore.

mark_core_region_cell_type_as_hex(*args, **kwargs)#

Determines whether or not to apply hexahedra cells in the core region of the mesh. The default value is yes.

only_polyhedra_for_selected_regions(*args, **kwargs)#

Determines if polyhedra cells are to be applied to the selected regions.

prepare_for_solve(*args, **kwargs)#

Prepares the mesh for solving in solution mode by performing a cleanup operation after the volume mesh has been generated. Operations such as deleting dead zones, deleting geometry objects, deleting edge zones, deleting unused faces and nodes are performed during this operation.

class prism(path, service)#

Bases: TUIMenu

Enters the prism menu.

Classes:

controls(path, service)

Enters the prism controls menu.

improve(path, service)

Enters the prism improve menu.

post_ignore(path, service)

Contains the following options for ignoring prism cells:.

split(path, service)

Contains options for splitting the prism layers after the initial prism layers are generated, to generate the total number of layers required.

Methods:

create(*args, **kwargs)

Creates prism layers on one or more boundary face zones based on the offset method, growth method, number of layers, and rate specified.

list_parameters(*args, **kwargs)

Shows all prism mesh parameters.

mark_ignore_faces(*args, **kwargs)

Enables you to mark the faces to be ignored during prism meshing.

mark_nonmanifold_nodes(*args, **kwargs)

Enables you to mark the non-manifold prism base nodes.

mark_proximity_faces(*args, **kwargs)

Mark prism base faces with certain gap.

quality_method(*args, **kwargs)

Specifies the quality method used during prism generation.

reset_parameters(*args, **kwargs)

Resets all prism parameters.

class controls(path, service)#

Bases: TUIMenu

Enters the prism controls menu.

Classes:

adjacent_zone(path, service)

Enters the prism adjacent zone controls menu.

improve(path, service)

Enters the prism smoothing controls menu.

morph(path, service)

Enters the prism morphing controls menu.

normal(path, service)

Enters the prism normal controls menu.

offset(path, service)

Enters the prism offset controls menu.

post_ignore(path, service)

Contains options for setting the parameters for removing poor quality prism cells after the required prism layers are created.

proximity(path, service)

Enters the prism proximity controls menu.

zone_specific_growth(path, service)

Enters the prism growth controls menu.

Methods:

check_quality(*args, **kwargs)

Enables/disables the checking of volume, skewness, and handedness of each new cell and face.

merge_ignored_threads(*args, **kwargs)

Enables you to automatically merge all ignored zones related to a base thread into a single thread.

remove_invalid_layer(*args, **kwargs)

Removes the last prism layer if it fails in the quality check.

set_overset_prism_controls(*args, **kwargs)

Set boundary layer controls for overset mesh generation.

set_post_mesh_controls(*args, **kwargs)

Sets controls specific to growing prisms post volume mesh generation.

split(*args, **kwargs)

Enables you to set parameters for splitting the prism layers after the initial prism layers are generated, to generate the total number of layers required.

class adjacent_zone(path, service)#

Bases: TUIMenu

Enters the prism adjacent zone controls menu.

Methods:

project_adjacent_angle(*args, **kwargs)

Determines whether or not to project to an adjacent zone.

side_feature_angle(*args, **kwargs)

Specifies the angle used for computing the feature normals.

project_adjacent_angle(*args, **kwargs)#

Determines whether or not to project to an adjacent zone. If a zone shares outer nodes with any of the zones from which the layers are being grown (the “base zones”), its angle with respect to the growth direction is compared with this value. If the angle is less than or equal to this value, then the zone will be projected to. The default value is 75 degrees. See for details.

side_feature_angle(*args, **kwargs)#

Specifies the angle used for computing the feature normals.

check_quality(*args, **kwargs)#

Enables/disables the checking of volume, skewness, and handedness of each new cell and face.

class improve(path, service)#

Bases: TUIMenu

Enters the prism smoothing controls menu.

Methods:

check_allowable_skew(*args, **kwargs)

Enables you to check the skewness of the prism cap for every layer.

corner_height_weight(*args, **kwargs)

When enabled, the offset height at corners with large angles (for example, 270º) is reduced to give a smoother prism cap.

edge_swap_base_angle(*args, **kwargs)

Specifies the maximum allowable angle between the normals of the base faces for skewness-driven edge swapping.

edge_swap_cap_angle(*args, **kwargs)

Specifies the maximum allowable angle between the normals of the cap faces for skewness-driven edge swapping.

face_smooth_skew(*args, **kwargs)

Min.

improve_warp(*args, **kwargs)

Enables or disables improving of face warp during prism generation.

left_hand_check(*args, **kwargs)

Controls checking for left-handedness of faces.

max_allowable_cap_skew(*args, **kwargs)

Specifies the maximum skewness allowed for a prism cap face.

max_allowable_cell_skew(*args, **kwargs)

Specifies the cell quality criteria for smoothing and quality checking.

smooth_improve_prism_cells(*args, **kwargs)

Enables you to set the parameters for improving the prism cells after the required prism layers are created.

check_allowable_skew(*args, **kwargs)#

Enables you to check the skewness of the prism cap for every layer.

corner_height_weight(*args, **kwargs)#

When enabled, the offset height at corners with large angles (for example, 270º) is reduced to give a smoother prism cap.

edge_swap_base_angle(*args, **kwargs)#

Specifies the maximum allowable angle between the normals of the base faces for skewness-driven edge swapping.

edge_swap_cap_angle(*args, **kwargs)#

Specifies the maximum allowable angle between the normals of the cap faces for skewness-driven edge swapping.

face_smooth_skew(*args, **kwargs)#

Min. skewness to smooth cap faces.

improve_warp(*args, **kwargs)#

Enables or disables improving of face warp during prism generation. This option is disabled by default.

left_hand_check(*args, **kwargs)#

Controls checking for left-handedness of faces. The default setting of 0 implies face handedness will not be checked. A value of 1 implies only cap faces will be checked, while 2 implies faces of all cells in current layer will be checked.

max_allowable_cap_skew(*args, **kwargs)#

Specifies the maximum skewness allowed for a prism cap face. If the skewness of a cap face exceeds this value, the meshing process will stop and a warning indicates that the skewness for that layer is too high.

max_allowable_cell_skew(*args, **kwargs)#

Specifies the cell quality criteria for smoothing and quality checking.

smooth_improve_prism_cells(*args, **kwargs)#

Enables you to set the parameters for improving the prism cells after the required prism layers are created. You can select optimized smoothing (smooth), node movement (improve), or a combination of both to improve the quality. Specify the quality measure to be used, the cell quality threshold, the number of improvement iterations, and the minimum improvement required.

merge_ignored_threads(*args, **kwargs)#

Enables you to automatically merge all ignored zones related to a base thread into a single thread. This option is enabled by default. When this option is disabled, more than one ignored thread will be generated per base thread. However, various zones can be created by ignoring this option. They are:.

class morph(path, service)#

Bases: TUIMenu

Enters the prism morphing controls menu.

Methods:

improve_threshold(*args, **kwargs)

Specifies the quality threshold used for improving the quality during the morphing operation.

morphing_convergence_limit(*args, **kwargs)

Specifies the convergence limit for the morphing operation.

morphing_frequency(*args, **kwargs)

Specifies the frequency of the morphing operation.

improve_threshold(*args, **kwargs)#

Specifies the quality threshold used for improving the quality during the morphing operation.

morphing_convergence_limit(*args, **kwargs)#

Specifies the convergence limit for the morphing operation. The morpher uses an iterative solver. It is assumed to have converged when the relative residual is less than this number.

morphing_frequency(*args, **kwargs)#

Specifies the frequency of the morphing operation. The number specified denotes the number of prism layers after which the morpher is applied to the remainder of the mesh (for example, a value of 5 indicates that the morpher is applied to the mesh after every 5 prism layers grown).

class normal(path, service)#

Bases: TUIMenu

Enters the prism normal controls menu.

Methods:

bisect_angle(*args, **kwargs)

Is required for growing prisms out of sharp interior corners.

compute_normal(*args, **kwargs)

Computes the normal for the specified face zone.

direction_method(*args, **kwargs)

Specifies whether the prism layers should be grown normal to surfaces or along a specified direction vector.

direction_vector(*args, **kwargs)

Specifies the direction vector for prism extrusion when the uniform method is selected for direction-method.

ignore_invalid_normals(*args, **kwargs)

Enables you to ignore nodes that have poor normals.

max_angle_change(*args, **kwargs)

Specifies the maximum angle by which the normal direction at a node can change during smoothing.

orient_mesh_object_face_normals(*args, **kwargs)

Enables you to orient the face normals for mesh object boundary zones.

orthogonal_layers(*args, **kwargs)

Specifies the number of layers to preserve orthogonality.

bisect_angle(*args, **kwargs)#

Is required for growing prisms out of sharp interior corners. When the value of this angle is set, the normals are automatically projected onto the plane bisecting the angle between faces having an interior angle less than this angle.

compute_normal(*args, **kwargs)#

Computes the normal for the specified face zone.

direction_method(*args, **kwargs)#

Specifies whether the prism layers should be grown normal to surfaces or along a specified direction vector.

direction_vector(*args, **kwargs)#

Specifies the direction vector for prism extrusion when the uniform method is selected for direction-method.

ignore_invalid_normals(*args, **kwargs)#

Enables you to ignore nodes that have poor normals.

max_angle_change(*args, **kwargs)#

Specifies the maximum angle by which the normal direction at a node can change during smoothing.

orient_mesh_object_face_normals(*args, **kwargs)#

Enables you to orient the face normals for mesh object boundary zones. Specify the mesh object, region or material point as appropriate, and specify whether walls, baffles or both comprising the prism base zones are to be separated and oriented.

orthogonal_layers(*args, **kwargs)#

Specifies the number of layers to preserve orthogonality. All smoothing is deferred until after these layers.

class offset(path, service)#

Bases: TUIMenu

Enters the prism offset controls menu.

Methods:

first_aspect_ratio_min(*args, **kwargs)

Specifies the minimum first aspect ratio (ratio of prism base length to prism layer height) for the prism cells.

min_aspect_ratio(*args, **kwargs)

Specifies the minimum aspect ratio (ratio of prism base length to prism layer height) for the prism cells.

first_aspect_ratio_min(*args, **kwargs)#

Specifies the minimum first aspect ratio (ratio of prism base length to prism layer height) for the prism cells.

min_aspect_ratio(*args, **kwargs)#

Specifies the minimum aspect ratio (ratio of prism base length to prism layer height) for the prism cells.

class post_ignore(path, service)#

Bases: TUIMenu

Contains options for setting the parameters for removing poor quality prism cells after the required prism layers are created.

Methods:

post_remove_cells(*args, **kwargs)

Enables you to set the parameters for removing poor quality prism cells after the required prism layers are created.

post_remove_cells(*args, **kwargs)#

Enables you to set the parameters for removing poor quality prism cells after the required prism layers are created. You can remove cells based on quality, intersection, interior warp, and feature edges. Specify options for removing additional cells in regions of high aspect ratio and feature angle, the number of cell rings to be removed around the marked cells, and options for smoothing the prism boundary and prism side height.

class proximity(path, service)#

Bases: TUIMenu

Enters the prism proximity controls menu.

Methods:

allow_ignore(*args, **kwargs)

Enables you to ignore nodes where the specified maximum shrink factor cannot be maintained.

allow_shrinkage(*args, **kwargs)

Enables shrinkage while growing prism layers.

gap_factor(*args, **kwargs)

Controls the gap between the intersecting prisms layers in the proximity region with respect to the cell size of the prisms.

keep_first_layer_offsets(*args, **kwargs)

Enables you to retain first layer offsets while performing proximity detection.

max_aspect_ratio(*args, **kwargs)

Specifies the maximum allowable cell aspect ratio to determine the limit for the shrinkage of prism layers.

max_shrink_factor(*args, **kwargs)

Specifies the shrink factor determining the maximum shrinkage of the prism layers.

allow_ignore(*args, **kwargs)#

Enables you to ignore nodes where the specified maximum shrink factor cannot be maintained.

allow_shrinkage(*args, **kwargs)#

Enables shrinkage while growing prism layers.

gap_factor(*args, **kwargs)#

Controls the gap between the intersecting prisms layers in the proximity region with respect to the cell size of the prisms.

keep_first_layer_offsets(*args, **kwargs)#

Enables you to retain first layer offsets while performing proximity detection.

max_aspect_ratio(*args, **kwargs)#

Specifies the maximum allowable cell aspect ratio to determine the limit for the shrinkage of prism layers. This option is available only when the allow-ignore? option is disabled.

max_shrink_factor(*args, **kwargs)#

Specifies the shrink factor determining the maximum shrinkage of the prism layers. This option is available only when the allow-ignore? option is enabled.

remove_invalid_layer(*args, **kwargs)#

Removes the last prism layer if it fails in the quality check.

set_overset_prism_controls(*args, **kwargs)#

Set boundary layer controls for overset mesh generation.

set_post_mesh_controls(*args, **kwargs)#

Sets controls specific to growing prisms post volume mesh generation.

split(*args, **kwargs)#

Enables you to set parameters for splitting the prism layers after the initial prism layers are generated, to generate the total number of layers required. Specify the number of divisions per layer.

class zone_specific_growth(path, service)#

Bases: TUIMenu

Enters the prism growth controls menu.

Methods:

apply_growth(*args, **kwargs)

Applies the zone-specific growth parameters specified.

clear_growth(*args, **kwargs)

Clears the zone-specific growth specified.

list_growth(*args, **kwargs)

Lists the zone-specific growth parameters specified for individual zones in the console.

apply_growth(*args, **kwargs)#

Applies the zone-specific growth parameters specified.

clear_growth(*args, **kwargs)#

Clears the zone-specific growth specified.

list_growth(*args, **kwargs)#

Lists the zone-specific growth parameters specified for individual zones in the console.

create(*args, **kwargs)#

Creates prism layers on one or more boundary face zones based on the offset method, growth method, number of layers, and rate specified.

class improve(path, service)#

Bases: TUIMenu

Enters the prism improve menu.

Methods:

improve_prism_cells(*args, **kwargs)

Collects and smooths cells in layers around poor quality cells.

smooth_brute_force(*args, **kwargs)

Forcibly smooths cells if cell skewness is still high after regular smoothing.

smooth_cell_rings(*args, **kwargs)

Specifies the number of cell rings around the skewed cell used by improve-prism-cells.

smooth_improve_prism_cells(*args, **kwargs)

Uses a combination of node movement and optimized smoothing to improve the quality.

smooth_prism_cells(*args, **kwargs)

Enables optimization based smoothing of prism cells.

smooth_sliver_skew(*args, **kwargs)

Specifies the skewness above which prism cells will be smoothed.

improve_prism_cells(*args, **kwargs)#

Collects and smooths cells in layers around poor quality cells. Cells with quality worse than the specified threshold value will be identified, and the nodes of the cells surrounding the poor quality cells will be moved to improve quality.

smooth_brute_force(*args, **kwargs)#

Forcibly smooths cells if cell skewness is still high after regular smoothing.

smooth_cell_rings(*args, **kwargs)#

Specifies the number of cell rings around the skewed cell used by improve-prism-cells.

smooth_improve_prism_cells(*args, **kwargs)#

Uses a combination of node movement and optimized smoothing to improve the quality. This command is a combination of the smooth-prism-cells and improve-prism-cells commands. The cell aspect ratio will also be maintained based on the value specified for max-aspect-ratio.

smooth_prism_cells(*args, **kwargs)#

Enables optimization based smoothing of prism cells. The nodes of cells with quality worse than the specified threshold value will be moved to improve quality. The cell aspect ratio will also be maintained based on the value specified for max-aspect-ratio.

smooth_sliver_skew(*args, **kwargs)#

Specifies the skewness above which prism cells will be smoothed.

list_parameters(*args, **kwargs)#

Shows all prism mesh parameters.

mark_ignore_faces(*args, **kwargs)#

Enables you to mark the faces to be ignored during prism meshing.

mark_nonmanifold_nodes(*args, **kwargs)#

Enables you to mark the non-manifold prism base nodes. A list of the non-manifold nodes will be printed in the console. The faces connected to the non-manifold nodes will also be marked. You can use this command after specifying zone-specific prism settings, prior to generating the prisms to verify that non-manifold configurations do not exist.

mark_proximity_faces(*args, **kwargs)#

Mark prism base faces with certain gap.

class post_ignore(path, service)#

Bases: TUIMenu

Contains the following options for ignoring prism cells:.

Methods:

create_cavity(*args, **kwargs)

Creates a cavity in regions where prism quality is adequate, but the quality of adjacent tetrahedra is poor.

mark_cavity_prism_cap(*args, **kwargs)

Marks the prism cap faces and tetrahedral cell faces bounding the cavity to be created in regions where prism quality is adequate, but the quality of adjacent tetrahedra is poor.

mark_prism_cap(*args, **kwargs)

Marks the prism cap faces for ignoring prism cells in regions of poor quality cells and sharp corners.

post_remove_cells(*args, **kwargs)

Enables you to remove prism cells in layers around poor quality cells and sharp corners.

create_cavity(*args, **kwargs)#

Creates a cavity in regions where prism quality is adequate, but the quality of adjacent tetrahedra is poor. The cavity is created based on the tetrahedral cell zone, the quality measure and the corresponding threshold value, and the additional number of cell rings specified. You can create a cavity comprising only tetrahedral cells or optionally include prism cells in the cavity created. When prism cells are also included in the cavity, you can specify whether the non-conformal interface is to be created.

mark_cavity_prism_cap(*args, **kwargs)#

Marks the prism cap faces and tetrahedral cell faces bounding the cavity to be created in regions where prism quality is adequate, but the quality of adjacent tetrahedra is poor. Specify the tetrahedral cell zone, the quality measure and the corresponding threshold value to be used, and the additional number of cell rings based on which the cavity will be created.

mark_prism_cap(*args, **kwargs)#

Marks the prism cap faces for ignoring prism cells in regions of poor quality cells and sharp corners. Specify the prism cell zone and the basis for ignoring prism cells and the relevant parameters. The prism cells can be ignored based on quality, intersection, (both enabled by default), warp, and features (both disabled by default). Specify the quality measure and threshold value to be used for ignoring cells based on quality and (if applicable) the feature edges for ignoring cells based on features. Additionally, specify whether cells are to be marked in regions of high aspect ratio and based on feature angle, and the additional number of cell rings based on which prism cells will be removed.

post_remove_cells(*args, **kwargs)#

Enables you to remove prism cells in layers around poor quality cells and sharp corners. Specify the prism cell zone, the basis for ignoring prism cells (quality, intersection, warp, features) and the relevant parameters. Specify the number of cell rings to be removed around the marked cells. Cells will be marked for removal in regions of sharp corners based on quality, intersection, warp, and features (as applicable) and then extended based on the number of cell rings specified. Additional cells will be marked for removal in regions of high aspect ratio and based on feature angle (if applicable) around the exposed prism side. The boundary will be smoothed at feature corners after the prism cells have been removed. The prism-side faces exposed by the removal of the prism cells will be collected in a zone named prism-side-#, while for a zone wall-n, the faces corresponding to the ignored prism cells will be collected in a zone named wall-n:ignore. You can also optionally smooth the prism side nodes from the base node to the cap node to create better triangles for the non-conformal interface.

quality_method(*args, **kwargs)#

Specifies the quality method used during prism generation.

reset_parameters(*args, **kwargs)#

Resets all prism parameters.

class split(path, service)#

Bases: TUIMenu

Contains options for splitting the prism layers after the initial prism layers are generated, to generate the total number of layers required.

Methods:

split(*args, **kwargs)

Enables you to split the prism layers after the initial prism layers are generated, to generate the total number of layers required.

split(*args, **kwargs)#

Enables you to split the prism layers after the initial prism layers are generated, to generate the total number of layers required. Specify the prism cell zones to be split and the number of divisions per layer. You can also choose to use the existing growth rate (default) or specify the growth rate to be used while splitting the prism layers.

class pyramid(path, service)#

Bases: TUIMenu

Enters the pyramid menu.

Classes:

controls(path, service)

Enters the pyramid controls menu.

Methods:

create(*args, **kwargs)

Creates a layer of pyramids on the quad face zone.

class controls(path, service)#

Bases: TUIMenu

Enters the pyramid controls menu.

Methods:

neighbor_angle(*args, **kwargs)

Sets the threshold dihedral angle used to limit the neighboring faces considered for pyramid creation.

offset_factor(*args, **kwargs)

Specifies the fraction of the computed pyramid height (offset) by which the pyramid heights will be randomly adjusted.

offset_scaling(*args, **kwargs)

Specifies the scaling, to be used to determine the height of the pyramid.

vertex_method(*args, **kwargs)

Specifies the method by which the location of the new vertex of the pyramid will be determined.

neighbor_angle(*args, **kwargs)#

Sets the threshold dihedral angle used to limit the neighboring faces considered for pyramid creation. For example, if the value is set to 110° and the angle between a given quadrilateral face and a neighboring triangular face is greater than 110°, the resulting pyramid will not include the triangular face.

offset_factor(*args, **kwargs)#

Specifies the fraction of the computed pyramid height (offset) by which the pyramid heights will be randomly adjusted. The default value is 0, indicating that all pyramids will have the exact height computed. A value of 0.1, for example, will limit each adjustment to ±10percentage of the computed height.

offset_scaling(*args, **kwargs)#

Specifies the scaling, to be used to determine the height of the pyramid.

vertex_method(*args, **kwargs)#

Specifies the method by which the location of the new vertex of the pyramid will be determined. The skewness method is used by default.

create(*args, **kwargs)#

Creates a layer of pyramids on the quad face zone.

class rapid_octree(path, service)#

Bases: TUIMenu

Enters the rapid octree menu, which provides text commands for using the Rapid Octree mesher.

Classes:

advanced_meshing_options(path, service)

Advanced and experimental options for octree mesh generation.

boundary_layer_mesh_configuration(path, service)

Define anisotropic refinements of the projection layer (prismatic layers).

mesh_sizing(path, service)

Enters the mesh sizing menu, which allows you to define the cell sizes.

refinement_regions(path, service)

Enters the rapid octree refinement region menu, which allows you to manage the refinement regions.

Methods:

boundary_mesh_optimization(*args, **kwargs)

Enable optimization to improve orthogonality at the boundary mesh.

boundary_treatment(*args, **kwargs)

Selects the boundary treatment option.

bounding_box(*args, **kwargs)

Defines/modifies the bounding box around the geometry.

create(*args, **kwargs)

Creates a mesh using the Rapid Octree mesher.

create_stair_step_mesh(*args, **kwargs)

Create rapid octree mesh with a cartesian boundary approximation.

delete_poor_quality_cells(*args, **kwargs)

Delete all cells with orthogonal-quality less than 0.01.

distribute_geometry(*args, **kwargs)

Enables/disables the distribution of the input geometry across partitions / compute nodes, so that it is not copied to each process.

dry_run(*args, **kwargs)

If yes: Just print diagnostic information, do not create a mesh.

estimate_cell_count(*args, **kwargs)

Give a quick estimate about the expected number of cells.

flow_volume(*args, **kwargs)

Specifies the volume to be filled by the mesh.

geometry(*args, **kwargs)

Allows you to apply the Rapid Octree mesher to a defined mesh object or geometry object rather than all available surface zones.

improve_geometry_resolution(*args, **kwargs)

Enables improved geometry resolution.

is_manifold_geo(*args, **kwargs)

Set to yes if the geomety is manifold (speed up mesh generation).

reset_bounding_box(*args, **kwargs)

Redefines the bounding box extents to encompass all of the surfaces of the currently selected geometry, and updates the base length scale used in the mesh generation process.

undo_last_meshing_operation(*args, **kwargs)

Attempts to restore the object state (including its surfaces) as it was prior to the meshing operation performed by the Rapid Octree mesher.

verbosity(*args, **kwargs)

Sets the verbosity of the messages printed by the Rapid Octree mesher.

class advanced_meshing_options(path, service)#

Bases: TUIMenu

Advanced and experimental options for octree mesh generation.

Methods:

aspect_ratio_skewness_limit(*args, **kwargs)

Ignore cells with higher skew in aspect ratio improvement.

distance_erosion_factor(*args, **kwargs)

Set distance erosion factor as a factor of prism edge length.

mesh_optimization_scheme(*args, **kwargs)

Set optimization scheme for boundary mesh optimization in projection meshing.

projection_priority_zones(*args, **kwargs)

Prioritize zone association of faces crossing multiple boundary zones.

pseudo_normal_mode(*args, **kwargs)

Sets the mode for cumputing projection front sudo normals.

rename_bounding_box_zones(*args, **kwargs)

Set flag to change naming scheme of bounding box surface zones.

target_bnd_face_warp(*args, **kwargs)

Set target face warpage for boundary faces in mesh (-1.0 - 1.0).

target_cell_orthoskew(*args, **kwargs)

Set target orthoskew in mesh (0.0-1.0).

target_int_face_warp(*args, **kwargs)

Set target face warpage for interior faces in mesh (-1.0 - 1.0).

aspect_ratio_skewness_limit(*args, **kwargs)#

Ignore cells with higher skew in aspect ratio improvement.

distance_erosion_factor(*args, **kwargs)#

Set distance erosion factor as a factor of prism edge length.

mesh_optimization_scheme(*args, **kwargs)#

Set optimization scheme for boundary mesh optimization in projection meshing.

projection_priority_zones(*args, **kwargs)#

Prioritize zone association of faces crossing multiple boundary zones.

pseudo_normal_mode(*args, **kwargs)#

Sets the mode for cumputing projection front sudo normals.

rename_bounding_box_zones(*args, **kwargs)#

Set flag to change naming scheme of bounding box surface zones.

target_bnd_face_warp(*args, **kwargs)#

Set target face warpage for boundary faces in mesh (-1.0 - 1.0). Higher values are likely to increase pullback.

target_cell_orthoskew(*args, **kwargs)#

Set target orthoskew in mesh (0.0-1.0). Smaller values are likely to increase pullback.

target_int_face_warp(*args, **kwargs)#

Set target face warpage for interior faces in mesh (-1.0 - 1.0). Higher values are likely to increase pullback.

class boundary_layer_mesh_configuration(path, service)#

Bases: TUIMenu

Define anisotropic refinements of the projection layer (prismatic layers).

Methods:

add(*args, **kwargs)

Add a boudnary layer definition.

delete(*args, **kwargs)

Specify the number of prismatic layers for surface zones.

delete_all(*args, **kwargs)

Specify the number of prismatic layers for surface zones.

edit(*args, **kwargs)

Specify the number of prismatic layers for surface zones.

list(*args, **kwargs)

Specify the number of prismatic layers for surface zones.

add(*args, **kwargs)#

Add a boudnary layer definition.

delete(*args, **kwargs)#

Specify the number of prismatic layers for surface zones.

delete_all(*args, **kwargs)#

Specify the number of prismatic layers for surface zones.

edit(*args, **kwargs)#

Specify the number of prismatic layers for surface zones.

list(*args, **kwargs)#

Specify the number of prismatic layers for surface zones.

boundary_mesh_optimization(*args, **kwargs)#

Enable optimization to improve orthogonality at the boundary mesh.

boundary_treatment(*args, **kwargs)#

Selects the boundary treatment option. Enter 0 for the Boundary Projection treatment or 1 for the Cartesian Snapping treatment.

bounding_box(*args, **kwargs)#

Defines/modifies the bounding box around the geometry.

create(*args, **kwargs)#

Creates a mesh using the Rapid Octree mesher.

create_stair_step_mesh(*args, **kwargs)#

Create rapid octree mesh with a cartesian boundary approximation.

delete_poor_quality_cells(*args, **kwargs)#

Delete all cells with orthogonal-quality less than 0.01.

distribute_geometry(*args, **kwargs)#

Enables/disables the distribution of the input geometry across partitions / compute nodes, so that it is not copied to each process. This reduces the memory requirements of the mesh generation significantly, especially for geometries with a high number of triangles. Note that this geometric distribution is enabled by default and is automatically deactivated if the geometry is not fully enclosed by the defined bounding box.

dry_run(*args, **kwargs)#

If yes: Just print diagnostic information, do not create a mesh.

estimate_cell_count(*args, **kwargs)#

Give a quick estimate about the expected number of cells.

flow_volume(*args, **kwargs)#

Specifies the volume to be filled by the mesh.

geometry(*args, **kwargs)#

Allows you to apply the Rapid Octree mesher to a defined mesh object or geometry object rather than all available surface zones. Note that using a mesh object with multiple volumetric regions allows you to generate multiple disconnected cell zones that can be coupled by a non-conformal mesh interface in the solution mode; all other input objects result in the creation of a single volume / cell zone.

improve_geometry_resolution(*args, **kwargs)#

Enables improved geometry resolution.

is_manifold_geo(*args, **kwargs)#

Set to yes if the geomety is manifold (speed up mesh generation).

class mesh_sizing(path, service)#

Bases: TUIMenu

Enters the mesh sizing menu, which allows you to define the cell sizes.

Methods:

add_surface_sizing(*args, **kwargs)

Add a size function definition.

boundary_cell_size(*args, **kwargs)

Sets the default cell size for the geometry.

boundary_layers(*args, **kwargs)

Set the minimum number of constant-size cells adjacent to the geometry.

buffer_layers(*args, **kwargs)

Set the number of buffer layers.

change_surface_sizing(*args, **kwargs)

Change a size function definition.

clear_all_surface_sizings(*args, **kwargs)

Delete all size function definitions.

delete_surface_sizing(*args, **kwargs)

Delete a size function definition.

feature_angle_refinement(*args, **kwargs)

Defines the angular threshold and number of refinement levels for features.

list_surface_sizings(*args, **kwargs)

List all size function definitions.

max_cell_size(*args, **kwargs)

Sets the maximum cell size in the octree mesh.

mesh_coarsening_exponent(*args, **kwargs)

Set the exponent for mesh coarsening.

surface_coarsening_layers(*args, **kwargs)

Set the minimum number of constant-size cells adjacent to the geometry.

add_surface_sizing(*args, **kwargs)#

Add a size function definition.

boundary_cell_size(*args, **kwargs)#

Sets the default cell size for the geometry.

boundary_layers(*args, **kwargs)#

Set the minimum number of constant-size cells adjacent to the geometry.

buffer_layers(*args, **kwargs)#

Set the number of buffer layers.

change_surface_sizing(*args, **kwargs)#

Change a size function definition.

clear_all_surface_sizings(*args, **kwargs)#

Delete all size function definitions.

delete_surface_sizing(*args, **kwargs)#

Delete a size function definition.

feature_angle_refinement(*args, **kwargs)#

Defines the angular threshold and number of refinement levels for features. This text command is only available when the Boundary Projection treatment is selected through the /mesh/rapid-octree/boundary-treatment text command.

list_surface_sizings(*args, **kwargs)#

List all size function definitions.

max_cell_size(*args, **kwargs)#

Sets the maximum cell size in the octree mesh.

mesh_coarsening_exponent(*args, **kwargs)#

Set the exponent for mesh coarsening.

surface_coarsening_layers(*args, **kwargs)#

Set the minimum number of constant-size cells adjacent to the geometry.

class refinement_regions(path, service)#

Bases: TUIMenu

Enters the rapid octree refinement region menu, which allows you to manage the refinement regions.

Methods:

add(*args, **kwargs)

Adds a refinement region to the domain.

delete(*args, **kwargs)

Deletes a refinement region.

list(*args, **kwargs)

Lists all of the refinement regions.

add(*args, **kwargs)#

Adds a refinement region to the domain.

delete(*args, **kwargs)#

Deletes a refinement region.

list(*args, **kwargs)#

Lists all of the refinement regions.

reset_bounding_box(*args, **kwargs)#

Redefines the bounding box extents to encompass all of the surfaces of the currently selected geometry, and updates the base length scale used in the mesh generation process.

undo_last_meshing_operation(*args, **kwargs)#

Attempts to restore the object state (including its surfaces) as it was prior to the meshing operation performed by the Rapid Octree mesher.

verbosity(*args, **kwargs)#

Sets the verbosity of the messages printed by the Rapid Octree mesher.

repair_face_handedness(*args, **kwargs)#

Reverses face node orientation.

reset_mesh(*args, **kwargs)#

Clears the entire mesh.

reset_mesh_parameter(*args, **kwargs)#

Resets all parameters to their default value.

class scoped_prisms(path, service)#

Bases: TUIMenu

Contains options for creating scoped prism controls for mesh objects.

Methods:

create(*args, **kwargs)

Creates a new scoped prism control based on the parameters and scope specified.

delete(*args, **kwargs)

Deletes the specified scoped prism control.

growth_options(*args, **kwargs)

Enables you to specify scoped prism growth options.

list(*args, **kwargs)

Lists all the defined scoped prism controls.

modify(*args, **kwargs)

Modifies the specified control based on the parameters specified.

poly_keep_nlayer_prism_characteristics(...)

Number of layers to maintain poly-prism characteristics.

read(*args, **kwargs)

Reads in the specified scoped prism control file (*.pzmcontrol).

set_advanced_controls(*args, **kwargs)

Used to specify various controls for scoped prisms.

set_no_imprint_zones(*args, **kwargs)

Used to specify face zones that should not be imprinted during prism generation.

set_overset_prism_controls(*args, **kwargs)

Set boundary layer controls for overset mesh generation.

write(*args, **kwargs)

Writes the scoped prism controls to a prism control file (*.pzmcontrol).

create(*args, **kwargs)#

Creates a new scoped prism control based on the parameters and scope specified. Specify the name, offset method, first height or aspect ratio, number of layers, and rate or last percent. Select the mesh object and set the scope (fluid-regions, named-regions, or solid-regions). Specify the zones to grow prisms (all-zones, only-walls, selected-face-zones, or selected-labels, or solid-fluid-interface). When named-regions and/or selected-face-zones or selected-labels are selected, specify the volume and/or boundary scope. If interior baffle zones are selected, retain the option to grow prisms on both sides of the baffles or disable it to grow prisms on one side.

delete(*args, **kwargs)#

Deletes the specified scoped prism control.

growth_options(*args, **kwargs)#

Enables you to specify scoped prism growth options. Select Fix First Height if required, and specify the gap factor, maximum aspect ratio, prism quality method, and the threshold quality value for stair stepping.

list(*args, **kwargs)#

Lists all the defined scoped prism controls.

modify(*args, **kwargs)#

Modifies the specified control based on the parameters specified.

poly_keep_nlayer_prism_characteristics(*args, **kwargs)#

Number of layers to maintain poly-prism characteristics.

read(*args, **kwargs)#

Reads in the specified scoped prism control file (*.pzmcontrol).

set_advanced_controls(*args, **kwargs)#

Used to specify various controls for scoped prisms. Prompts include setting iterations for normal based prisms, smoothing, prism improvement, automatic node movement, and warp improvement. Prompts also include checks for stair-step interactions, as well as proximity, quality, and the exposure of quad quality. Automatic stair-stepping occurs during prism generation based on the proximity and quality limits. You can intentionally avoid stair-stepping by setting the last three prompts (proximity, quality, and the exposure of quad quality) to no, although you may also retain some poor quality cells.

set_no_imprint_zones(*args, **kwargs)#

Used to specify face zones that should not be imprinted during prism generation.

set_overset_prism_controls(*args, **kwargs)#

Set boundary layer controls for overset mesh generation.

write(*args, **kwargs)#

Writes the scoped prism controls to a prism control file (*.pzmcontrol). Specify the scoped prism file name.

selective_mesh_check(*args, **kwargs)#

Performs a customized mesh check on specific zones rather than all zones.

class separate(path, service)#

Bases: TUIMenu

Separates cells by various user-defined methods.

Classes:

local_regions(path, service)

Enters the local refinement menu.

Methods:

separate_cell_by_face(*args, **kwargs)

Separates cells that are connected to a specified face zone into another cell zone.

separate_cell_by_mark(*args, **kwargs)

Separates cells within a specified local region into another cell zone.

separate_cell_by_region(*args, **kwargs)

Separates contiguous regions within a cell zone into separate cell zones.

separate_cell_by_shape(*args, **kwargs)

Separates cells with different shapes (pyramids, tetrahedra, etc.) into separate cell zones.

separate_cell_by_size(*args, **kwargs)

Separates cells based on the specified minimum and maximum cell sizes.

separate_cell_by_skew(*args, **kwargs)

Separates cells based on the specified cell skewness.

separate_prisms_from_hex(*args, **kwargs)

Separate prism cells from hex.

separate_prisms_from_poly(*args, **kwargs)

Separates the poly-prism cells from the poly cells within your mesh.

separate_wedge_prisms(*args, **kwargs)

Separate wedge-prism cells from bulk.

class local_regions(path, service)#

Bases: TUIMenu

Enters the local refinement menu.

Methods:

define(*args, **kwargs)

Enables you to define the parameters for the refinement region.

delete(*args, **kwargs)

Enables you to delete a refinement region.

init(*args, **kwargs)

Deletes all current regions and adds the default refinement region.

list_all_regions(*args, **kwargs)

Lists all the refinement regions.

define(*args, **kwargs)#

Enables you to define the parameters for the refinement region.

delete(*args, **kwargs)#

Enables you to delete a refinement region.

init(*args, **kwargs)#

Deletes all current regions and adds the default refinement region.

list_all_regions(*args, **kwargs)#

Lists all the refinement regions.

separate_cell_by_face(*args, **kwargs)#

Separates cells that are connected to a specified face zone into another cell zone. This separation method applies only to prism cells.

separate_cell_by_mark(*args, **kwargs)#

Separates cells within a specified local region into another cell zone.

separate_cell_by_region(*args, **kwargs)#

Separates contiguous regions within a cell zone into separate cell zones.

separate_cell_by_shape(*args, **kwargs)#

Separates cells with different shapes (pyramids, tetrahedra, etc.) into separate cell zones.

separate_cell_by_size(*args, **kwargs)#

Separates cells based on the specified minimum and maximum cell sizes.

separate_cell_by_skew(*args, **kwargs)#

Separates cells based on the specified cell skewness.

separate_prisms_from_hex(*args, **kwargs)#

Separate prism cells from hex.

separate_prisms_from_poly(*args, **kwargs)#

Separates the poly-prism cells from the poly cells within your mesh. Available only when the report/enhanced-orthogonal-quality? flag is set to yes, and is only supported for the .h5 format.

separate_wedge_prisms(*args, **kwargs)#

Separate wedge-prism cells from bulk.

class tet(path, service)#

Bases: TUIMenu

Enters the tetrahedral mesh menu.

Classes:

controls(path, service)

Enters the tet controls menu.

improve(path, service)

Enters the tet improve menu.

local_regions(path, service)

Enters the local refinement menu.

Methods:

delete_virtual_cells(*args, **kwargs)

Deletes virtual cells created due to the use of the keep-virtual-entities? option.

init(*args, **kwargs)

Generates the initial Delaunay mesh by meshing the boundary nodes.

init_refine(*args, **kwargs)

Generates the tetrahedral mesh.

mesh_object(*args, **kwargs)

Tet mesh object of type mesh.

preserve_cell_zone(*args, **kwargs)

Allows you to specify the cell zones to be preserved during the meshing process.

refine(*args, **kwargs)

Refines the initialized mesh.

trace_path_between_cells(*args, **kwargs)

Detects holes in the geometry by tracing the path between the two specified cells.

un_preserve_cell_zone(*args, **kwargs)

Un-preserve cell zone.

class controls(path, service)#

Bases: TUIMenu

Enters the tet controls menu.

Classes:

adv_front_method(path, service)

Enters the advancing front refinement controls menu.

improve_mesh(path, service)

Enters the improve mesh controls menu.

remove_slivers(path, service)

Enters the sliver remove controls menu.

tet_improve(path, service)

Improve cells controls.

Methods:

cell_sizing(*args, **kwargs)

Specifies the cell sizing function for refinement.

clear_zone_growth_rate(*args, **kwargs)

Clear zone specific geometric growth rates.

compute_max_cell_volume(*args, **kwargs)

Computes the maximum cell volume for the current mesh.

delete_dead_zones(*args, **kwargs)

Specifies the maximum allowable cell volume.

max_cell_length(*args, **kwargs)

Specifies the maximum allowable cell length.

max_cell_volume(*args, **kwargs)

Specifies the maximum allowable cell volume.

non_fluid_type(*args, **kwargs)

Selects the non-fluid cell zone type.

print_region_based_sizing(*args, **kwargs)

Displays local sizing settings (max cell length) for specified region(s).

refine_method(*args, **kwargs)

Enables you to select the refinement method.

set_region_based_sizing(*args, **kwargs)

Allows you to specify local sizing settings (max cell length) for specified region(s).

set_zone_growth_rate(*args, **kwargs)

Set zone specific geometric growth rates.

skewness_method(*args, **kwargs)

Enters the skewness refinement controls menu.

use_max_cell_size(*args, **kwargs)

Enables you to use the maximum cell size specified instead of recomputing the value based on the objects, when the volume mesh is generated.

class adv_front_method(path, service)#

Bases: TUIMenu

Enters the advancing front refinement controls menu.

Methods:

first_improve_params(*args, **kwargs)

Defines the refining front improvement parameters for the advancing front method.

refine_parameters(*args, **kwargs)

Defines the cell zone improvement parameters for the advancing front method.

second_improve_params(*args, **kwargs)

Defines the cell zone improvement parameters for the advancing front method.

Classes:

skew_improve(path, service)

Enters the refine improve controls menu.

first_improve_params(*args, **kwargs)#

Defines the refining front improvement parameters for the advancing front method.

refine_parameters(*args, **kwargs)#

Defines the cell zone improvement parameters for the advancing front method.

second_improve_params(*args, **kwargs)#

Defines the cell zone improvement parameters for the advancing front method.

class skew_improve(path, service)#

Bases: TUIMenu

Enters the refine improve controls menu.

Methods:

attempts(*args, **kwargs)

Specifies the number of overall improvement attempts for the advancing front method.

boundary_sliver_skew(*args, **kwargs)

Specifies the boundary sliver skewness for the advancing front method.

iterations(*args, **kwargs)

Specifies the number of improvement iterations in each attempt for the advancing front method.

sliver_skew(*args, **kwargs)

Specifies the sliver skewness for the advancing front method.

target(*args, **kwargs)

Enables you to enable targeted skewness-based refinement for the advancing front method.

target_low_skew(*args, **kwargs)

Specifies the targeted skewness threshold above which cells will be improved.

target_skew(*args, **kwargs)

Specifies the targeted skewness during improvement for the advancing front method.

attempts(*args, **kwargs)#

Specifies the number of overall improvement attempts for the advancing front method.

boundary_sliver_skew(*args, **kwargs)#

Specifies the boundary sliver skewness for the advancing front method. This parameter is used for removing sliver cells along the boundary.

iterations(*args, **kwargs)#

Specifies the number of improvement iterations in each attempt for the advancing front method.

sliver_skew(*args, **kwargs)#

Specifies the sliver skewness for the advancing front method. This parameter is used for removing sliver cells in the interior.

target(*args, **kwargs)#

Enables you to enable targeted skewness-based refinement for the advancing front method. This option enables you to improve the mesh until the targeted skewness value is achieved.

target_low_skew(*args, **kwargs)#

Specifies the targeted skewness threshold above which cells will be improved. The improve operation will attempt to improve cells with skewness above the target-low-skew value specified, but there will be no attempt to reduce the skewness below the specified value. A limited set of improve operations will be used as compared to the operations required for the target-skew value-based improvement. The value specified could be approximately 0.1 lower than the target-skew value.

target_skew(*args, **kwargs)#

Specifies the targeted skewness during improvement for the advancing front method.

cell_sizing(*args, **kwargs)#

Specifies the cell sizing function for refinement. You can select geometric, linear, none, or size-field as appropriate.

clear_zone_growth_rate(*args, **kwargs)#

Clear zone specific geometric growth rates.

compute_max_cell_volume(*args, **kwargs)#

Computes the maximum cell volume for the current mesh.

delete_dead_zones(*args, **kwargs)#

Specifies the maximum allowable cell volume.

class improve_mesh(path, service)#

Bases: TUIMenu

Enters the improve mesh controls menu.

Methods:

improve(*args, **kwargs)

Automatically improves the mesh.

laplace_smooth(*args, **kwargs)

Enables you to specify the Laplace smoothing parameters.

skewness_smooth(*args, **kwargs)

Enables you to specify the skewness smooth parameters.

swap(*args, **kwargs)

Enables you to specify the face swap parameters.

improve(*args, **kwargs)#

Automatically improves the mesh.

laplace_smooth(*args, **kwargs)#

Enables you to specify the Laplace smoothing parameters.

skewness_smooth(*args, **kwargs)#

Enables you to specify the skewness smooth parameters.

swap(*args, **kwargs)#

Enables you to specify the face swap parameters.

max_cell_length(*args, **kwargs)#

Specifies the maximum allowable cell length.

max_cell_volume(*args, **kwargs)#

Specifies the maximum allowable cell volume.

non_fluid_type(*args, **kwargs)#

Selects the non-fluid cell zone type. After the mesh is initialized, any non-fluid zones will be set to this type. If the mesh includes multiple regions (for example, the problem for which you are creating the mesh includes a fluid zone and one or more solid zones), and you plan to refine all of them using the same refinement parameters, modify the non-fluid type before generating the mesh. For zone-based meshing, if any cell zone has at least one boundary zone type as inlet, it will automatically be set to fluid type. For object based meshing, volume region type is used to determine the cell zone type.

print_region_based_sizing(*args, **kwargs)#

Displays local sizing settings (max cell length) for specified region(s).

refine_method(*args, **kwargs)#

Enables you to select the refinement method. You can select either skewness-based refinement or the advancing front method. The skewness-based refinement option is no longer supported and will be removed at a future release.

class remove_slivers(path, service)#

Bases: TUIMenu

Enters the sliver remove controls menu.

Methods:

angle(*args, **kwargs)

Specifies the maximum dihedral angle for considering the cell to be a sliver.

attempts(*args, **kwargs)

Specifies the number of attempts overall to remove slivers.

iterations(*args, **kwargs)

Specifies the number of iterations to be performed for the specific sliver removal operation.

low_skew(*args, **kwargs)

Specifies the targeted skewness threshold above which cells will be improved.

method(*args, **kwargs)

Enables you to select the method for sliver removal.

remove(*args, **kwargs)

Enables/disables the automatic removal of slivers.

skew(*args, **kwargs)

Specifies the skewness threshold for sliver removal.

angle(*args, **kwargs)#

Specifies the maximum dihedral angle for considering the cell to be a sliver.

attempts(*args, **kwargs)#

Specifies the number of attempts overall to remove slivers.

iterations(*args, **kwargs)#

Specifies the number of iterations to be performed for the specific sliver removal operation.

low_skew(*args, **kwargs)#

Specifies the targeted skewness threshold above which cells will be improved. The improve operation will attempt to improve cells with skewness above the low-skew value specified, but there will be no attempt to reduce the skewness below the specified value. A limited set of improve operations will be used as compared to the operations required for the skew value-based improvement.

method(*args, **kwargs)#

Enables you to select the method for sliver removal. The default method used is the fast method. The fast and the aggressive methods use the same controls and give similar results for good quality surface meshes. In case of poor surface meshes, the aggressive method will typically succeed in improving the mesh to a greater extent, but it may be slower than the fast method.

remove(*args, **kwargs)#

Enables/disables the automatic removal of slivers.

skew(*args, **kwargs)#

Specifies the skewness threshold for sliver removal.

set_region_based_sizing(*args, **kwargs)#

Allows you to specify local sizing settings (max cell length) for specified region(s).

set_zone_growth_rate(*args, **kwargs)#

Set zone specific geometric growth rates.

skewness_method(*args, **kwargs)#

Enters the skewness refinement controls menu.

class tet_improve(path, service)#

Bases: TUIMenu

Improve cells controls.

Methods:

angle(*args, **kwargs)

Max dihedral angle defining a valid boundary cell.

attempts(*args, **kwargs)

Improve attempts.

iterations(*args, **kwargs)

Improve iterations.

skew(*args, **kwargs)

Remove skew.

angle(*args, **kwargs)#

Max dihedral angle defining a valid boundary cell.

attempts(*args, **kwargs)#

Improve attempts.

iterations(*args, **kwargs)#

Improve iterations.

skew(*args, **kwargs)#

Remove skew.

use_max_cell_size(*args, **kwargs)#

Enables you to use the maximum cell size specified instead of recomputing the value based on the objects, when the volume mesh is generated. This option is disabled by default.

delete_virtual_cells(*args, **kwargs)#

Deletes virtual cells created due to the use of the keep-virtual-entities? option.

class improve(path, service)#

Bases: TUIMenu

Enters the tet improve menu.

Methods:

collapse_slivers(*args, **kwargs)

Attempts to collapse the nodes of a skewed sliver cell on any one of its neighbors.

improve_cells(*args, **kwargs)

Improves skewed tetrahedral cells.

refine_boundary_slivers(*args, **kwargs)

Attempts to increase the volume of boundary slivers to create a valid tet cell.

refine_slivers(*args, **kwargs)

Attempts to remove the sliver by placing a node at or near the centroid of the sliver cell.

skew_smooth_nodes(*args, **kwargs)

Applies skewness-based smoothing to nodes on the tetrahedral cell zones to improve the mesh quality.

sliver_boundary_swap(*args, **kwargs)

Removes boundary slivers by moving the boundary to exclude the cells from the zone.

smooth_boundary_sliver(*args, **kwargs)

Smooths nodes on sliver cells having all four nodes on the boundary until the skewness value is less than the specified value.

smooth_interior_sliver(*args, **kwargs)

Smooths non-boundary nodes on sliver cells having skewness greater than the specified threshold value.

smooth_nodes(*args, **kwargs)

Enables you to apply either Laplacian or variational smoothing to nodes on the tetrahedral cell zones to improve the mesh quality.

swap_faces(*args, **kwargs)

Performs interior face swapping to improve cell skewness.

collapse_slivers(*args, **kwargs)#

Attempts to collapse the nodes of a skewed sliver cell on any one of its neighbors.

improve_cells(*args, **kwargs)#

Improves skewed tetrahedral cells.

refine_boundary_slivers(*args, **kwargs)#

Attempts to increase the volume of boundary slivers to create a valid tet cell. Tetrahedra having one or two faces on the boundary are identified and then the appropriate edge split. The split node is then smoothed such that the volume of the tetrahedron increases, thereby creating a valid tet cell.

refine_slivers(*args, **kwargs)#

Attempts to remove the sliver by placing a node at or near the centroid of the sliver cell. Swapping and smoothing are performed to improve the skewness. You can also specify whether boundary cells are to be refined. Refining the boundary cells may enable you to carry out further improvement options such as smoothing, swapping, and collapsing slivers.

skew_smooth_nodes(*args, **kwargs)#

Applies skewness-based smoothing to nodes on the tetrahedral cell zones to improve the mesh quality.

sliver_boundary_swap(*args, **kwargs)#

Removes boundary slivers by moving the boundary to exclude the cells from the zone.

smooth_boundary_sliver(*args, **kwargs)#

Smooths nodes on sliver cells having all four nodes on the boundary until the skewness value is less than the specified value. The default values for the skewness threshold, minimum dihedral angle between boundary faces, and feature angle are 0.985, 10, and 30, respectively.

smooth_interior_sliver(*args, **kwargs)#

Smooths non-boundary nodes on sliver cells having skewness greater than the specified threshold value. The default value for the skewness threshold is 0.985.

smooth_nodes(*args, **kwargs)#

Enables you to apply either Laplacian or variational smoothing to nodes on the tetrahedral cell zones to improve the mesh quality.

swap_faces(*args, **kwargs)#

Performs interior face swapping to improve cell skewness.

init(*args, **kwargs)#

Generates the initial Delaunay mesh by meshing the boundary nodes.

init_refine(*args, **kwargs)#

Generates the tetrahedral mesh.

class local_regions(path, service)#

Bases: TUIMenu

Enters the local refinement menu.

Methods:

activate(*args, **kwargs)

Activates the specified regions for refinement.

deactivate(*args, **kwargs)

Deactivates the specified regions for refinement.

define(*args, **kwargs)

Defines the refinement region according to the specified parameters.

delete(*args, **kwargs)

Deletes the specified refinement region.

ideal_area(*args, **kwargs)

Ideal triangle area for given edge length.

ideal_vol(*args, **kwargs)

Reports the volume of an ideal tetrahedron for the edge length specified.

init(*args, **kwargs)

Defines the default refinement region encompassing the entire geometry.

list_all_regions(*args, **kwargs)

Lists all refinement region parameters and the activated regions in the console.

refine(*args, **kwargs)

Refines the active cells inside the selected region based on the specified refinement parameters.

activate(*args, **kwargs)#

Activates the specified regions for refinement.

deactivate(*args, **kwargs)#

Deactivates the specified regions for refinement.

define(*args, **kwargs)#

Defines the refinement region according to the specified parameters.

delete(*args, **kwargs)#

Deletes the specified refinement region.

ideal_area(*args, **kwargs)#

Ideal triangle area for given edge length.

ideal_vol(*args, **kwargs)#

Reports the volume of an ideal tetrahedron for the edge length specified.

init(*args, **kwargs)#

Defines the default refinement region encompassing the entire geometry.

list_all_regions(*args, **kwargs)#

Lists all refinement region parameters and the activated regions in the console.

refine(*args, **kwargs)#

Refines the active cells inside the selected region based on the specified refinement parameters.

mesh_object(*args, **kwargs)#

Tet mesh object of type mesh.

preserve_cell_zone(*args, **kwargs)#

Allows you to specify the cell zones to be preserved during the meshing process.

refine(*args, **kwargs)#

Refines the initialized mesh.

trace_path_between_cells(*args, **kwargs)#

Detects holes in the geometry by tracing the path between the two specified cells.

un_preserve_cell_zone(*args, **kwargs)#

Un-preserve cell zone.

class thin_volume_mesh(path, service)#

Bases: TUIMenu

Creates a sweep-like mesh for a body occupying a thin gap. You define source and target boundary faces zones (the source face normal should point to the target). The source face mesh may be triangles or quads.

Methods:

create(*args, **kwargs)

Initiates the dialog box to specify source and target faces and specify the following parameters.

create(*args, **kwargs)#

Initiates the dialog box to specify source and target faces and specify the following parameters.

zone_names_clean_up(*args, **kwargs)#