tet#

class ansys.fluent.core.meshing.tui_231.main_menu.mesh.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.