prism#

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