poly#

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