meshing.tui#
Bases:
TUIMenu
Fluent meshing main menu.
Methods:
beta_feature_access
(*args, **kwargs)Enable access to beta features in the interface.
close_fluent
(*args, **kwargs)(ANSYS Fluent in Workbench only) Exits program.
exit
(*args, **kwargs)Exits the program.
print_license_usage
(*args, **kwargs)Print license usage information.
switch_to_solution_mode
(*args, **kwargs)Enables you to transfer the mesh data from meshing mode to solution mode in ANSYS Fluent.
Classes:
boundary
(path, service)Enter the boundary menu.
cad_assemblies
(path, service)Menu for cad assemblies.
diagnostics
(path, service)Diagnostic tools.
display
(path, service)Enter the display menu.
file
(path, service)Enter the file menu.
material_point
(path, service)Manage material points.
mesh
(path, service)Enter the grid menu.
objects
(path, service)Manage objects.
openmp_controls
(path, service)Enter the openmp menu.
parallel
(path, service)Enter the parallel menu.
preferences
(path, service)Set preferences.
reference_frames
(path, service)Manage reference frames.
report
(path, service)Enter the report menu.
scoped_sizing
(path, service)Manage scoped sizing.
size_functions
(path, service)Manage advanced size functions.
Enable access to beta features in the interface.
Bases:
TUIMenu
Enter the boundary menu.
Methods:
auto_slit_faces
(*args, **kwargs)Slits all boundary faces with cells on both sides (these cells must be in the same cell zone).
check_boundary_mesh
(*args, **kwargs)Reports the number of Delaunay violations on the triangular surface mesh and the number of isolated nodes.
check_duplicate_geom
(*args, **kwargs)Displays the names of the duplicate surfaces and prints maximum and average distance between them.
clear_marked_faces
(*args, **kwargs)Clears marked faces.
clear_marked_nodes
(*args, **kwargs)Clears nodes that were marked using the mark-duplicate-nodes command.
coarsen_boundary_faces
(*args, **kwargs)Coarsen boundary face zones.
compute_bounding_box
(*args, **kwargs)Computes the bounding box for the zones specified.
count_free_nodes
(*args, **kwargs)Reports the number of boundary nodes associated with edges having only one attached face.
count_marked_faces
(*args, **kwargs)Reports the number of marked faces.
count_unused_bound_node
(*args, **kwargs)Counts the unused boundary nodes in the domain.
count_unused_faces
(*args, **kwargs)Lists the number of boundary faces that are not used by any cell.
count_unused_nodes
(*args, **kwargs)Lists the number of boundary nodes that are not used by any cell.
create_bounding_box
(*args, **kwargs)Creates the bounding box for the specified zones.
create_cylinder
(*args, **kwargs)Creates a cylinder by specifying the axis, radius, and edge length or three arc nodes, the axial delta, the radial gap, and the edge length.
create_plane_surface
(*args, **kwargs)Creates a plane surface by specifying either the axis direction, axial location, and the extents of the surface or three points defining the plane.
create_revolved_surface
(*args, **kwargs)Creates a revolved surface by rotating the specified edge through the angle specified.
create_swept_surface
(*args, **kwargs)Creates a surface by sweeping the specified edge in the direction specified.
delete_all_dup_faces
(*args, **kwargs)Searches for faces on all boundary zones that have the same nodes and deletes the duplicates.
delete_duplicate_faces
(*args, **kwargs)Searches for faces on a specified zone that have the same nodes and deletes the duplicates.
delete_free_edge_faces
(*args, **kwargs)Enables you to remove faces with the specified number of free edges from the specified boundary zones.
delete_island_faces
(*args, **kwargs)Enables you to delete faces in a non-contiguous region of a face zone.
delete_unconnected_faces
(*args, **kwargs)Enables you to delete the unconnected face-zones.
delete_unused_faces
(*args, **kwargs)Deletes all the boundary faces that are not used by any cell.
delete_unused_nodes
(*args, **kwargs)Deletes the boundary nodes that are not used by any boundary faces.
edge_limits
(*args, **kwargs)Prints the length of the shortest and longest edges on the boundary.
expand_marked_faces_by_rings
(*args, **kwargs)Mark rings of faces around marked faces.
face_distribution
(*args, **kwargs)Reports the distribution of face quality in the text window.
face_skewness
(*args, **kwargs)Lists the worst face skewness.
fix_mconnected_edges
(*args, **kwargs)Resolves multi-connected edges/non-manifold configurations in the boundary mesh by deleting fringes and overlaps based on threshold values specified.
improve_surface_mesh
(*args, **kwargs)Improve surface mesh by swapping face edges where Delaunay violations occur.
jiggle_boundary_nodes
(*args, **kwargs)Randomly perturbs all boundary nodes based on an input tolerance.
make_periodic
(*args, **kwargs)Enables you to make the specified boundaries periodic.
mark_bad_quality_faces
(*args, **kwargs)Mark Bad Quality Faces.
mark_duplicate_nodes
(*args, **kwargs)Marks duplicate nodes.
mark_face_intersection
(*args, **kwargs)Marks intersecting faces.
mark_face_proximity
(*args, **kwargs)Marks faces that are in proximity to each other.
mark_faces_in_region
(*args, **kwargs)Marks the faces that are contained in a specified local refinement region.
merge_nodes
(*args, **kwargs)Merges duplicate nodes.
merge_small_face_zones
(*args, **kwargs)Merges the face zones having area less than the minimum area.
orient_faces_by_point
(*args, **kwargs)Orients the normals based on the specified material point.
print_info
(*args, **kwargs)Prints information about the grid in the text window.
project_face_zone
(*args, **kwargs)Projects nodes on a selected face zone onto a target face zone.
recover_periodic_surfaces
(*args, **kwargs)Restores the periodic relationship between face zones.
reset_element_type
(*args, **kwargs)Resets the element type (mixed, tri, or quad) of a boundary zone.
resolve_face_intersection
(*args, **kwargs)Resolves self intersection on manifold surface meshes.
scale_nodes
(*args, **kwargs)Applies a scaling factor to all node coordinates.
set_periodicity
(*args, **kwargs)Defines the periodicity parameters.
slit_boundary_face
(*args, **kwargs)Slits a boundary face zone by duplicating all faces and nodes, except those nodes that are located at the edges of the boundary zone.
smooth_marked_faces
(*args, **kwargs)Smooths the marked faces.
unmark_faces_in_zones
(*args, **kwargs)Unmark faces in zones.
unmark_selected_faces
(*args, **kwargs)Unmarks the marked selected faces.
wrapper
(*args, **kwargs)Enters the surface wrapper menu.
Classes:
boundary_conditions
(path, service)Contains options for copying or clearing boundary conditions when a case file is read.
feature
(path, service)Enables you to create and modify features.
improve
(path, service)Enables you to improve boundary surfaces.
manage
(path, service)Contains options for manipulating the boundary zones.
modify
(path, service)Contains commands used to modify the boundary mesh.
refine
(path, service)Discusses the commands used to refine the boundary mesh.
remesh
(path, service)Has a set of commands for remeshing the face zones.
separate
(path, service)Contains options for separating face zones.
shell_boundary_layer
(path, service)Enter the shell boundary layer menu.
Slits all boundary faces with cells on both sides (these cells must be in the same cell zone). A displacement can be specified to provide thickness to the boundary.
Bases:
TUIMenu
Contains options for copying or clearing boundary conditions when a case file is read.
Methods:
clear
(*args, **kwargs)Clears the boundary conditions assigned to the specified face zones.
clear_all
(*args, **kwargs)Clears the boundary conditions assigned to all the face zones.
copy
(*args, **kwargs)Enables you to copy the boundary conditions from the face zone selected to the face zones specified.
Clears the boundary conditions assigned to the specified face zones.
Clears the boundary conditions assigned to all the face zones.
Enables you to copy the boundary conditions from the face zone selected to the face zones specified.
Reports the number of Delaunay violations on the triangular surface mesh and the number of isolated nodes.
Displays the names of the duplicate surfaces and prints maximum and average distance between them.
Clears marked faces.
Clears nodes that were marked using the mark-duplicate-nodes command.
Coarsen boundary face zones.
Computes the bounding box for the zones specified.
Reports the number of boundary nodes associated with edges having only one attached face.
Reports the number of marked faces.
Counts the unused boundary nodes in the domain.
Lists the number of boundary faces that are not used by any cell.
Lists the number of boundary nodes that are not used by any cell.
Creates the bounding box for the specified zones. You can specify the zone type, name, edge length, and the extents of the box, as required. You can also optionally create a geometry object from the bounding box created.
Creates a cylinder by specifying the axis, radius, and edge length or three arc nodes, the axial delta, the radial gap, and the edge length. You can also specify the prefix for the zone being created, as required. You can also optionally create a geometry object from the cylinder created.
Creates a plane surface by specifying either the axis direction, axial location, and the extents of the surface or three points defining the plane. You can also optionally create a geometry object from the plane surface created.
Creates a revolved surface by rotating the specified edge through the angle specified. Specify the number of segments, scale factor, and the pivot point and axis of rotation. You can also optionally create a geometry object from the revolved surface created.
Creates a surface by sweeping the specified edge in the direction specified. You need to specify the distance to sweep through and the number of offsets, as required. You can also optionally create a geometry object from the swept surface created.
Searches for faces on all boundary zones that have the same nodes and deletes the duplicates.
Searches for faces on a specified zone that have the same nodes and deletes the duplicates. Duplicate faces may be present if you generated the boundary mesh using a third-party grid generator, or if you have used the slit-boundary-face command to modify the boundary mesh and then merged the nodes.
Enables you to remove faces with the specified number of free edges from the specified boundary zones.
Enables you to delete faces in a non-contiguous region of a face zone.
Enables you to delete the unconnected face-zones.
Deletes all the boundary faces that are not used by any cell.
Deletes the boundary nodes that are not used by any boundary faces.
Prints the length of the shortest and longest edges on the boundary. This information is useful for setting initial mesh parameters and refinement controls.
Mark rings of faces around marked faces.
Reports the distribution of face quality in the text window.
Lists the worst face skewness.
Bases:
TUIMenu
Enables you to create and modify features.
Methods:
copy_edge_zones
(*args, **kwargs)Copies the specified edge zone(s) to new edge zone(s).
create_edge_zones
(*args, **kwargs)Extracts edge loops for the specified face zone(s) based on the feature method specified.
delete_degenerated_edges
(*args, **kwargs)Deletes degenerated edges (edges where the two end nodes are the same) for the edge zone(s) specified.
delete_edge_zones
(*args, **kwargs)Deletes the specified edge zone(s).
edge_size_limits
(*args, **kwargs)Reports the minimum, maximum, and average edge length for the specified edge zone(s) in the console.
group
(*args, **kwargs)Associates the specified edge zone(s) with the specified face zone.
intersect_edge_zones
(*args, **kwargs)Intersects the specified edge loops to create a new edge loop comprising the common edges.
list_edge_zones
(*args, **kwargs)Lists the name, ID, type, and count for the specified edge zone(s).
merge_edge_zones
(*args, **kwargs)Merges multiple edge loops of the same type into a single loop.
orient_edge_direction
(*args, **kwargs)Orients the edges on the loop to point in the same direction.
project_edge_zones
(*args, **kwargs)Projects the edges of the specified loop onto the specified face zone using the specified projection method.
remesh_edge_zones
(*args, **kwargs)Remeshes the specified edge loop(s), modifying the node distribution according to the specified remeshing method, spacing values, and feature angle.
reverse_edge_direction
(*args, **kwargs)Reverses the direction of the edge loop.
separate_delete_small_edges
(*args, **kwargs)Separates the edge zones based on the feature angle specified, and then deletes the edges having a count smaller than the minimum count specified.
separate_edge_zones
(*args, **kwargs)Separates the specified edge loop based on connectivity and the specified feature angle.
separate_edge_zones_by_seed
(*args, **kwargs)Separates the edge loop based on the seed edge specified.
toggle_edge_type
(*args, **kwargs)Toggles the edge type between boundary and interior.
ungroup
(*args, **kwargs)Ungroups previously grouped edge zones.
Copies the specified edge zone(s) to new edge zone(s).
Extracts edge loops for the specified face zone(s) based on the feature method specified. You also need to specify an appropriate value for feature angle when using the fixed-angle method. The Face Seed approach cannot be used when creating edge loops using text commands.
Deletes degenerated edges (edges where the two end nodes are the same) for the edge zone(s) specified.
Deletes the specified edge zone(s).
Reports the minimum, maximum, and average edge length for the specified edge zone(s) in the console.
Associates the specified edge zone(s) with the specified face zone.
Intersects the specified edge loops to create a new edge loop comprising the common edges. You can enable automatic deleting of overlapped edges and specify an appropriate intersection tolerance.
Lists the name, ID, type, and count for the specified edge zone(s).
Merges multiple edge loops of the same type into a single loop.
Orients the edges on the loop to point in the same direction.
Projects the edges of the specified loop onto the specified face zone using the specified projection method.
Remeshes the specified edge loop(s), modifying the node distribution according to the specified remeshing method, spacing values, and feature angle. You can also enable quadratic reconstruction, if required.
Reverses the direction of the edge loop.
Separates the edge zones based on the feature angle specified, and then deletes the edges having a count smaller than the minimum count specified.
Separates the specified edge loop based on connectivity and the specified feature angle.
Separates the edge loop based on the seed edge specified. The edge zone separation angle is used to separate the edge zone (default 40).
Toggles the edge type between boundary and interior.
Ungroups previously grouped edge zones.
Resolves multi-connected edges/non-manifold configurations in the boundary mesh by deleting fringes and overlaps based on threshold values specified.
Bases:
TUIMenu
Enables you to improve boundary surfaces.
Methods:
collapse_bad_faces
(*args, **kwargs)Enables you to collapse the short edge of faces having a high aspect ratio or skewness in the specified face zone(s).
degree_swap
(*args, **kwargs)Enables you to improve the boundary mesh by swapping edges based on a node degree value other than 6.
improve
(*args, **kwargs)Enables you to improve the boundary surface quality using skewness, size change, aspect ratio, or area as the quality measure.
smooth
(*args, **kwargs)Enables you to improve the boundary surface using smoothing.
swap
(*args, **kwargs)Enables you to improve the boundary surface using edge swapping.
Enables you to collapse the short edge of faces having a high aspect ratio or skewness in the specified face zone(s).
Enables you to improve the boundary mesh by swapping edges based on a node degree value other than 6. The node degree is defined as the number of edges connected to the node.
Enables you to improve the boundary surface quality using skewness, size change, aspect ratio, or area as the quality measure.
Enables you to improve the boundary surface using smoothing.
Enables you to improve the boundary surface using edge swapping.
Improve surface mesh by swapping face edges where Delaunay violations occur.
Randomly perturbs all boundary nodes based on an input tolerance. Some nodes will be perturbed less than the tolerance value, while others will be perturbed by half of the tolerance value in all three coordinate directions.
Enables you to make the specified boundaries periodic. You can specify the type of periodicity (rotational or translational), the angle, pivot, and axis of rotation, for rotational periodicity or the translational shift for translational periodicity. For each of the zones specified, a corresponding periodic shadow boundary zone will be created.
Bases:
TUIMenu
Contains options for manipulating the boundary zones.
Methods:
auto_delete_nodes
(*args, **kwargs)Specifies whether or not unused nodes should be deleted when their face zone is deleted.
change_prefix
(*args, **kwargs)Enables you to change the prefix for the specified face zones.
change_suffix
(*args, **kwargs)Change the suffix for specified face zones.
copy
(*args, **kwargs)Copies all nodes and faces of the specified face zone(s).
create
(*args, **kwargs)Creates a new face zone.
delete
(*args, **kwargs)Deletes the face zone.
flip
(*args, **kwargs)Reverses the normal direction of the specified boundary zone(s).
id
(*args, **kwargs)Specifies a new boundary zone ID.
list
(*args, **kwargs)Prints information about all boundary zones.
merge
(*args, **kwargs)Merges face zones.
name
(*args, **kwargs)Gives a face zone a new name.
orient
(*args, **kwargs)Consistently orients the faces in the specified zones.
origin
(*args, **kwargs)Specifies a new origin for the mesh, to be used for face zone rotation and for periodic zone creation.
remove_suffix
(*args, **kwargs)Removes the suffix (characters including and after the leftmost ":") in the face zone names.
rotate
(*args, **kwargs)Rotates all nodes of the specified face zone(s).
rotate_model
(*args, **kwargs)Rotates all nodes of the model through the specified angle, based on the specified point and axis of rotation.
scale
(*args, **kwargs)Scales all nodes of the specified face zone(s).
scale_model
(*args, **kwargs)Scales all nodes of the model by multiplying the node coordinates by the specified scale factors (x, y, z).
translate
(*args, **kwargs)Translates all nodes of the specified face zone(s).
translate_model
(*args, **kwargs)Translates all nodes of the model by the specified translation offsets (x, y, z).
type
(*args, **kwargs)Changes the boundary type of the face zone.
Classes:
user_defined_groups
(path, service)Enables you to manipulate user-defined groups.
Specifies whether or not unused nodes should be deleted when their face zone is deleted.
Enables you to change the prefix for the specified face zones.
Change the suffix for specified face zones.
Copies all nodes and faces of the specified face zone(s).
Creates a new face zone.
Deletes the face zone.
Reverses the normal direction of the specified boundary zone(s).
Specifies a new boundary zone ID. If there is a conflict, the change will be ignored.
Prints information about all boundary zones.
Merges face zones.
Gives a face zone a new name.
Consistently orients the faces in the specified zones.
Specifies a new origin for the mesh, to be used for face zone rotation and for periodic zone creation. The default origin is (0,0,0).
Removes the suffix (characters including and after the leftmost “:”) in the face zone names.
Rotates all nodes of the specified face zone(s).
Rotates all nodes of the model through the specified angle, based on the specified point and axis of rotation.
Scales all nodes of the specified face zone(s).
Scales all nodes of the model by multiplying the node coordinates by the specified scale factors (x, y, z).
Translates all nodes of the specified face zone(s).
Translates all nodes of the model by the specified translation offsets (x, y, z). The translation offsets are interpreted as absolute numbers in meshing mode. In solution mode, however, the translation offsets are assumed to be distances in the length unit set. This may lead to differences in domain extents reported after translating the mesh in the respective modes.
Changes the boundary type of the face zone. When changing the boundary type of any zone to type interior, ensure that there is a single cell zone across the interior boundary. Retaining multiple cell zones across an interior boundary can cause undesirable results with further tet meshing or smoothing operations. Also, face zones having no/one neighboring cell zone should not be changed to type interior. The mesh check will issue a warning if multiple cell zones are maintained across an interior boundary. The boundary type in such cases should be set to internal instead.
Bases:
TUIMenu
Enables you to manipulate user-defined groups.
Methods:
activate
(*args, **kwargs)Activates the specified user-defined groups.
create
(*args, **kwargs)Creates the user-defined group comprising the specified zones.
delete
(*args, **kwargs)Deletes the specified user-defined group.
list
(*args, **kwargs)Lists the groups in the console.
update
(*args, **kwargs)Enables you to modify an existing group.
Activates the specified user-defined groups.
Creates the user-defined group comprising the specified zones.
Deletes the specified user-defined group.
Lists the groups in the console.
Enables you to modify an existing group.
Mark Bad Quality Faces.
Marks duplicate nodes. The marked nodes will appear in the grid display when nodes are displayed. For a list of duplicate nodes, set the /report/verbosity level to 2 before using the mark-duplicate-nodes command.
Marks intersecting faces. Intersection is detected if the line defined by any two consecutive nodes on a face intersects any face in the current domain. The marked faces will appear in the grid display when faces are displayed. For a list of intersecting faces, set the /report/verbosity level to 2 before using the mark-face-intersection command.
Marks faces that are in proximity to each other. Face A is considered to be in proximity to face B if any of the nodes on face A are within the calculated proximity distance from face B. The proximity distance is calculated based on the specified relative distance and the sphere radius. The sphere radius is determined by the maximum distance from the centroid of the face to its nodes. The marked faces will appear in the grid display when faces are displayed. For a list of faces in proximity to each other, set the /report/verbosity level to 2 before using the mark-face-proximity command.
Marks the faces that are contained in a specified local refinement region.
Merges duplicate nodes.
Merges the face zones having area less than the minimum area.
Bases:
TUIMenu
Contains commands used to modify the boundary mesh.
Methods:
analyze_bnd_connectvty
(*args, **kwargs)Finds and marks free edges and nodes and multiply-connected edges and nodes.
auto_patch_holes
(*args, **kwargs)Patch zone(s) by filling holes.
clear_selections
(*args, **kwargs)Clears all selections.
clear_skew_faces
(*args, **kwargs)Clears faces that were marked using the mark-skew-face command.
collapse
(*args, **kwargs)Collapses pairs of nodes, edge(s), or face(s).
create
(*args, **kwargs)Creates a boundary face if the selection list contains 3 nodes and an optional zone.
create_mid_node
(*args, **kwargs)Creates a node at the midpoint between two selected nodes.
delete
(*args, **kwargs)Deletes all selected faces and nodes.
delta_move
(*args, **kwargs)Moves the selected node by specified magnitude.
deselect_last
(*args, **kwargs)Removes the last selection from the selection list.
hole_feature_angle
(*args, **kwargs)Specifies the feature angle for consideration of holes in the geometry.
list_selections
(*args, **kwargs)Lists all of the selected objects.
local_remesh
(*args, **kwargs)Remeshes marked faces or faces based on selections in the graphics window.
mark_skew_face
(*args, **kwargs)Marks faces that should be skipped when the worst skewed face is reported using the Modify Boundary dialog box.
merge
(*args, **kwargs)Merges pairs of nodes.
move
(*args, **kwargs)Moves the selected node to the selected position if the selection list contains a node and a position.
next_skew
(*args, **kwargs)Finds the triangular face of nearest lower skewness value than that of the worst skewed face.
patch_options
(*args, **kwargs)Settings for Patching zone(s) by filling holes.
rezone
(*args, **kwargs)Moves the selected faces from their current zone into the selected zone, if the selection list contains a zone and one or more faces.
select_entity
(*args, **kwargs)Adds a cell, face, or node to the selection list by entering the name of the entity.
select_filter
(*args, **kwargs)Selects a filter.
select_position
(*args, **kwargs)Adds a position to the selection list by entering the coordinates of the position.
select_probe
(*args, **kwargs)Selects the probe function.
select_visible_entities
(*args, **kwargs)Enables you to select only visible entities (nodes, edges, faces, zones, objects) when the box select or polygon select options are used.
select_zone
(*args, **kwargs)Adds a zone to the selection list by entering the zone name or ID.
show_filter
(*args, **kwargs)Shows the current filter.
show_probe
(*args, **kwargs)Shows the current probe function.
skew
(*args, **kwargs)Finds the face with the highest (worst) skewness, selects it in the graphics window, and reports its skewness and zone ID in the console window.
skew_report_zone
(*args, **kwargs)Enables you to select the zone for which you want to report the skewness.
smooth
(*args, **kwargs)Uses Laplace smoothing to modify the position of the nodes in the selection list.
split_face
(*args, **kwargs)Splits two selected faces into four faces.
swap
(*args, **kwargs)Swaps boundary edges (of triangular faces) if the selection list contains edges.
undo
(*args, **kwargs)Undoes the previous operation.
Finds and marks free edges and nodes and multiply-connected edges and nodes. This process is necessary if the boundary mesh has been changed with Scheme functions.
Patch zone(s) by filling holes.
Clears all selections.
Clears faces that were marked using the mark-skew-face command.
Collapses pairs of nodes, edge(s), or face(s). If a pair of nodes is selected, both the nodes are deleted and a new node is created at the midpoint of the two nodes. If a triangular face is selected, the complete face is collapsed into a single node at the centroid of the face.
Creates a boundary face if the selection list contains 3 nodes and an optional zone. If the selection list contains positions, then nodes are created.
Creates a node at the midpoint between two selected nodes.
Deletes all selected faces and nodes.
Moves the selected node by specified magnitude.
Removes the last selection from the selection list.
Specifies the feature angle for consideration of holes in the geometry.
Lists all of the selected objects.
Remeshes marked faces or faces based on selections in the graphics window. Select the faces to be remeshed and specify the sizing source (constant-size, geometry, or size-field), the number of radial layers of faces to be remeshed (rings), the feature angle to be preserved while remeshing the selected faces, and the size for constant size remeshing (if applicable).
Marks faces that should be skipped when the worst skewed face is reported using the Modify Boundary dialog box. This enables you to search for the next skewed face.
Merges pairs of nodes. The first node selected is retained, and the second is the duplicate that is merged.
Moves the selected node to the selected position if the selection list contains a node and a position.
Finds the triangular face of nearest lower skewness value than that of the worst skewed face. The face ID, its skewness, the longest edge ID, and the node ID opposite to the longest edge are displayed in the console.
Settings for Patching zone(s) by filling holes.
Moves the selected faces from their current zone into the selected zone, if the selection list contains a zone and one or more faces.
Adds a cell, face, or node to the selection list by entering the name of the entity.
Selects a filter. The possible filters are off, cell, face, edge, node, zone, position, object, and size. If off is chosen, then when a selection is made, it is first checked to see if it is a cell, then a face, an edge, and so on. When the node filter is used, and if a cell or face is selected, the node closest to the selection point is picked. Thus, the nodes do not have to be displayed, to be picked.
Adds a position to the selection list by entering the coordinates of the position.
Selects the probe function. The possible functions are:.
Enables you to select only visible entities (nodes, edges, faces, zones, objects) when the box select or polygon select options are used. Ensure that the model is zoomed to an appropriate level for correct selection.
Adds a zone to the selection list by entering the zone name or ID.
Shows the current filter.
Shows the current probe function.
Finds the face with the highest (worst) skewness, selects it in the graphics window, and reports its skewness and zone ID in the console window.
Enables you to select the zone for which you want to report the skewness. You can either specify zone name or zone ID.
Uses Laplace smoothing to modify the position of the nodes in the selection list. It moves the selected node to a position computed from an average of its node neighbors. The new position is an average of the neighboring node coordinates and is not reprojected to the discrete surface.
Splits two selected faces into four faces.
Swaps boundary edges (of triangular faces) if the selection list contains edges.
Undoes the previous operation. When an operation is performed, the reverse operation is stored on the undo stack. For example, a create operation places a delete on the stack, and a delete adds a create operation. The undo operation requires that the name of the object exist when the action is undone. If the name does not exist, then the undo will fail. You can undo the last few operations, but if many operations are being performed it is recommended that you also save the mesh periodically.
Orients the normals based on the specified material point.
Prints information about the grid in the text window.
Projects nodes on a selected face zone onto a target face zone. Projection can be performed based on normal direction, closest point, or specified direction.
Restores the periodic relationship between face zones. You will be prompted for the type (rotational or translational), method (semi-automatic, automatic, or manual, depending on the periodicity type) and for face zones. Periodicity information (angle, pivot point, axis of rotation, or translational shift) are read in with the mesh file.
Bases:
TUIMenu
Discusses the commands used to refine the boundary mesh.
Methods:
auto_refine
(*args, **kwargs)Automatically refines a face zone based on proximity.
clear
(*args, **kwargs)Clears all refinement marks from all boundary faces.
count
(*args, **kwargs)Counts the number of faces marked on each boundary zone.
limits
(*args, **kwargs)Prints a report of the minimum and maximum size of each specified zone.
mark
(*args, **kwargs)Marks the faces for refinement.
refine
(*args, **kwargs)Refines the marked faces.
Classes:
local_regions
(path, service)Enters the local refinement menu.
Automatically refines a face zone based on proximity. The original face zone is treated as a background mesh. Faces are refined by multiple face splitting passes, so that no face is in close proximity to any face in the current domain.
Clears all refinement marks from all boundary faces.
Counts the number of faces marked on each boundary zone.
Prints a report of the minimum and maximum size of each specified zone. This report will also tell you how many faces on each zone have been marked for refinement.
Bases:
TUIMenu
Enters the local refinement menu.
Methods:
define
(*args, **kwargs)Defines the refinement region according to the specified parameters.
delete
(*args, **kwargs)Deletes the specified region.
init
(*args, **kwargs)Creates a region encompassing the entire geometry.
list_all_regions
(*args, **kwargs)Lists all the refinement regions in the console.
Defines the refinement region according to the specified parameters.
Deletes the specified region.
Creates a region encompassing the entire geometry.
Lists all the refinement regions in the console.
Marks the faces for refinement.
Refines the marked faces.
Bases:
TUIMenu
Has a set of commands for remeshing the face zones.
Methods:
clear_marked_faces
(*args, **kwargs)Clears the highlighting of the triangles that are marked.
coarsen_and_refine
(*args, **kwargs)Remeshes (coarsens/refines) the boundary face zones based on the computed size field.
create_all_intrst_loops
(*args, **kwargs)Creates edge loop of intersection for all boundary zones in current domain.
create_edge_loops
(*args, **kwargs)Creates edge loops for a specified face zone, based on feature angle.
create_intersect_loop
(*args, **kwargs)Creates an interior edge loop at the intersection between two adjacent face zones.
create_join_loop
(*args, **kwargs)Creates edge loop on boundary of the region of overlap of two surfaces.
create_stitch_loop
(*args, **kwargs)Creates edge loops for connecting two surfaces along their free edges.
delete_overlapped_edges
(*args, **kwargs)Deletes edges that overlap selected edge loops.
faceted_stitch_zones
(*args, **kwargs)Performs the faceted stitching of zones.
insert_edge_zone
(*args, **kwargs)Inserts an edge zone into a triangulated boundary face zone.
intersect_all_face_zones
(*args, **kwargs)Remeshes all the intersecting face zones.
intersect_face_zones
(*args, **kwargs)Remeshes two intersecting face zones so that they become conformal.
join_all_face_zones
(*args, **kwargs)Connects all overlapping face zones using the join operation.
join_face_zones
(*args, **kwargs)Connects two overlapping faces.
mark_intersecting_faces
(*args, **kwargs)Highlights the triangles in the neighborhood of the line of intersection.
mark_join_faces
(*args, **kwargs)Highlights the triangles in the neighborhood of the join edge loop.
mark_stitch_faces
(*args, **kwargs)Highlights the triangles in the neighborhood of the stitch edge loop.
remesh_constant_size
(*args, **kwargs)Remeshes the specified face zones to a constant triangle size while maintaining conformity with adjacent zones.
remesh_face_zone
(*args, **kwargs)Remeshes a specified face zone by automatically extracting edge loops.
remesh_face_zones_conformally
(*args, **kwargs)Remeshes face zones using the current size function and keeping a conformal interface between them.
remesh_marked_faces
(*args, **kwargs)Locally remesh marked faces.
remesh_overlapping_zones
(*args, **kwargs)Remeshes overlapping face zones.
stitch_all_face_zones
(*args, **kwargs)Connects (stitches) all the face zones along the free edges.
stitch_face_zones
(*args, **kwargs)Connects two surfaces along their free edges.
stitch_with_preserve_boundary
(*args, **kwargs)Connects (stitches) a zone to another which is connected to an existing volume mesh, while preserving the boundary of the zones connected to the volume mesh.
triangulate
(*args, **kwargs)Triangulates quad zones.
Classes:
controls
(path, service)Enters the edge loop tools text menu.
size_functions
(path, service)Enters the size functions menu where you can define size functions for controlling mesh size distribution.
Clears the highlighting of the triangles that are marked.
Remeshes (coarsens/refines) the boundary face zones based on the computed size field. Specify the boundary face zones to be remeshed, the boundary edge zones, feature angle, and corner angle. Additionally, specify whether the current boundary face zones should be replaced by the remeshed face zones after the operation is complete.
Bases:
TUIMenu
Enters the edge loop tools text menu.
Methods:
delete_overlapped
(*args, **kwargs)Toggles the deletion of region of overlap of the two surfaces.
direction
(*args, **kwargs)Specifies the direction of the edge loop projection.
project_method
(*args, **kwargs)Specifies the method for projecting edge loops.
proximity_local_search
(*args, **kwargs)Includes the selected face for proximity calculation.
quadratic_recon
(*args, **kwargs)Enables/disables quadratic reconstruction of edge loops.
remesh_method
(*args, **kwargs)Specifies the method to be used for the node distribution on the edge loop.
spacing
(*args, **kwargs)Sets the node spacing for the edge loop.
tolerance
(*args, **kwargs)Sets the tolerance for determining if two edges intersect.
Classes:
intersect
(path, service)Enters the intersect control menu.
Toggles the deletion of region of overlap of the two surfaces.
Specifies the direction of the edge loop projection.
Bases:
TUIMenu
Enters the intersect control menu.
Methods:
absolute_tolerance
(*args, **kwargs)Enables you to switch between the use of absolute and relative tolerance.
delete_overlap
(*args, **kwargs)Enables/disables the deletion of overlapped edges.
feature_angle
(*args, **kwargs)Specifies the minimum feature angle that should be considered while retriangulating the boundary zones.
ignore_parallel_faces
(*args, **kwargs)Default is yes.
join_match_angle
(*args, **kwargs)Specifies the allowed maximum angle between the normals of the two overlapping surfaces to be joined.
join_project_angle
(*args, **kwargs)Specifies the allowed maximum angle between the face normal and the project direction for the overlapping surfaces to be joined.
refine_region
(*args, **kwargs)Enables you to refine the regions that are modified during the intersect operations.
remesh_post_intersection
(*args, **kwargs)Used to enable or disable automatic post-remesh operation after any connect operation (join, intersect, or stitch).
retri_improve
(*args, **kwargs)Enables you to improve the mesh.
separate
(*args, **kwargs)Enables the automatic separation of intersected zones.
stitch_preserve
(*args, **kwargs)Indicates that shape of the first zone specified is to be preserved.
tolerance
(*args, **kwargs)Specifies the tolerance value for the intersect operations.
within_tolerance
(*args, **kwargs)Performs the intersection operation only within the specified tolerance value.
Enables you to switch between the use of absolute and relative tolerance. By default, the relative tolerance value is used.
Enables/disables the deletion of overlapped edges. It toggles the automatic deletion of region of overlap of the two surfaces. This option is used by while remeshing overlapping zones and retriangulating prisms. By default, this option is enabled.
Specifies the minimum feature angle that should be considered while retriangulating the boundary zones. All the edges in the zone having feature angle greater than the specified feature angle are retained. This option is useful for preserving the shape of the intersecting boundary zones. The default value of feature angle is 40, however, a value in the range of 10–50 degrees is recommended. A large value may distort the shape of the intersecting boundary zones.
Default is yes. If there are close-to-parallel faces, set to no to separate the zones and avoid creating an intersection loop.
Specifies the allowed maximum angle between the normals of the two overlapping surfaces to be joined. This parameter is used to control the size of the join region.
Specifies the allowed maximum angle between the face normal and the project direction for the overlapping surfaces to be joined. This parameter is used to control the size of the join region.
Enables you to refine the regions that are modified during the intersect operations. It toggles the refinement of the intersecting regions after performing any of the intersection operation. This operation improves the quality of the resulting mesh, however, this option is disabled by default.
Used to enable or disable automatic post-remesh operation after any connect operation (join, intersect, or stitch).
Enables you to improve the mesh. After performing any intersection operation, the slivers are removed along the curve of intersection, Laplace smoothing is performed, and followed by the edge swapping. Laplace smoothing is also performed for insert-edge-zone, remesh-overlapped-zones, and prism-retriangulation options. Smoothing is performed again. The smooth-swap operations can be controlled by changing the various defaults such as swapping iterations, smoothing iterations, etc.
Enables the automatic separation of intersected zones.
Indicates that shape of the first zone specified is to be preserved. This option is enabled by default.
Specifies the tolerance value for the intersect operations.
Performs the intersection operation only within the specified tolerance value. It is useful only for the Intersect option.
Specifies the method for projecting edge loops.
Includes the selected face for proximity calculation.
Enables/disables quadratic reconstruction of edge loops.
Specifies the method to be used for the node distribution on the edge loop.
Sets the node spacing for the edge loop.
Sets the tolerance for determining if two edges intersect.
Creates edge loop of intersection for all boundary zones in current domain.
Creates edge loops for a specified face zone, based on feature angle.
Creates an interior edge loop at the intersection between two adjacent face zones. Edges created in this way will not be remeshed by default.
Creates edge loop on boundary of the region of overlap of two surfaces.
Creates edge loops for connecting two surfaces along their free edges.
Deletes edges that overlap selected edge loops.
Performs the faceted stitching of zones.
Inserts an edge zone into a triangulated boundary face zone.
Remeshes all the intersecting face zones. After the intersect operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Remeshes two intersecting face zones so that they become conformal. After the intersect operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Connects all overlapping face zones using the join operation. After the join operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Connects two overlapping faces. After the join operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Highlights the triangles in the neighborhood of the line of intersection.
Highlights the triangles in the neighborhood of the join edge loop.
Highlights the triangles in the neighborhood of the stitch edge loop.
Remeshes the specified face zones to a constant triangle size while maintaining conformity with adjacent zones. Specify the boundary face zones to be remeshed, the boundary edge zones, feature angle, corner angle, and the constant size. Additionally, specify whether the current boundary face zones should be replaced by the remeshed face zones after the operation is complete.
Remeshes a specified face zone by automatically extracting edge loops. If edge loops are present in the current domain (for example, if they were created using the create-edge-loops command), they are used to remesh the specified face zone.
Remeshes face zones using the current size function and keeping a conformal interface between them. If no size function is defined, an error message will be generated. This command will prompt for: Boundary Face Zones Boundary Edge Zones feature angle – used to determine the minimum angle between features that will be preserved during remeshing corner angle – used to specify the minimum angle between feature edges that will be preserved Replace Face Zone? – (default is Yes) the remeshed face zone(s) will take the name and -id of the original zones, and the original face zone(s) will have “orig” appended to their name. If No, the remeshed face zone(s) will have “retri” added postfix. Periodic face zones cannot be remeshed using this command.
Locally remesh marked faces.
Remeshes overlapping face zones. The non-overlapping region is remeshed using the edge loops created from the overlapping face zones.
Bases:
TUIMenu
Enters the size functions menu where you can define size functions for controlling mesh size distribution.
Methods:
compute
(*args, **kwargs)Computes the size field based on the defined parameters.
create
(*args, **kwargs)Defines the size function based on the specified parameters.
create_defaults
(*args, **kwargs)Creates default size functions based on face and edge curvature and proximity.
delete
(*args, **kwargs)Deletes the specified size function or the current size field.
delete_all
(*args, **kwargs)Deletes all the defined size functions.
disable_periodicity_filter
(*args, **kwargs)Removes periodicity from the size field.
enable_periodicity_filter
(*args, **kwargs)Enable size field periodicity.
list
(*args, **kwargs)Lists all the defined size functions and the parameter values defined.
list_periodicity_filter
(*args, **kwargs)List periodic in size field.
reset_global_controls
(*args, **kwargs)Resets the global controls to their default values.
set_global_controls
(*args, **kwargs)Sets the values for the global minimum and maximum size, and the growth rate.
set_prox_gap_tolerance
(*args, **kwargs)Sets the tolerance relative to minimum size to take gaps into account.
set_scaling_filter
(*args, **kwargs)Specifies the scale factor, and minimum and maximum size values to filter the size output from the size field.
triangulate_quad_faces
(*args, **kwargs)Identifies the zones comprising non-triangular elements and uses a triangulated copy of these zones for computing the size functions.
use_cad_imported_curvature
(*args, **kwargs)Enables/disables curvature data from the nodes of the CAD facets.
Classes:
contours
(path, service)Contains options for displaying contours of size functions.
controls
(path, service)Menu to control different behavior of sf.
Computes the size field based on the defined parameters.
Bases:
TUIMenu
Contains options for displaying contours of size functions.
Methods:
draw
(*args, **kwargs)Displays contours in the graphics window.
Classes:
set
(path, service)Set contour options.
Displays contours in the graphics window. Compute the size field using /size-functions/compute or read in a size field file prior to displaying the contours of size.
Bases:
TUIMenu
Set contour options.
Methods:
refine_facets
(*args, **kwargs)Enables you to specify smaller facets if the original are too large.
Enables you to specify smaller facets if the original are too large. Default is no.
Bases:
TUIMenu
Menu to control different behavior of sf.
Methods:
curvature_method
(*args, **kwargs)Option to get facet curvature.
meshed_sf_behavior
(*args, **kwargs)Set meshed size function processing to hard.
Option to get facet curvature.
Set meshed size function processing to hard.
Defines the size function based on the specified parameters.
Creates default size functions based on face and edge curvature and proximity.
Deletes the specified size function or the current size field.
Deletes all the defined size functions.
Removes periodicity from the size field.
Enable size field periodicity.
Lists all the defined size functions and the parameter values defined.
List periodic in size field.
Resets the global controls to their default values.
Sets the values for the global minimum and maximum size, and the growth rate.
Sets the tolerance relative to minimum size to take gaps into account. Gaps whose thickness is less than the global minimum size multiplied by this factor will not be regarded as a proximity gap.
Specifies the scale factor, and minimum and maximum size values to filter the size output from the size field.
Identifies the zones comprising non-triangular elements and uses a triangulated copy of these zones for computing the size functions.
Enables/disables curvature data from the nodes of the CAD facets.
Connects (stitches) all the face zones along the free edges. After the stitch operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Connects two surfaces along their free edges. After the stitch operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no.
Connects (stitches) a zone to another which is connected to an existing volume mesh, while preserving the boundary of the zones connected to the volume mesh. Specify a list of boundary zones to be preserved, a list of the boundary zones to be connected to each of these zones, and the tolerance value. After the stitch operation, remesh is called automatically. To disable the post-remesh operation, use the text command: /boundary/remesh/controls/intersect/remesh-post-intersection? no This command will not work for overlapping or partially overlapping face zones.
Triangulates quad zones.
Resets the element type (mixed, tri, or quad) of a boundary zone. If you have separated a mixed (tri and quad) face zone into one tri face zone and one quad face zone, for example, each of these will be identified as a “mixed” zone. Resetting the element type for each of these new zones will identify them as, respectively, a triangular zone and a quadrilateral zone.
Resolves self intersection on manifold surface meshes.
Applies a scaling factor to all node coordinates. You can use this command to change the units of the grid.
Bases:
TUIMenu
Contains options for separating face zones.
Classes:
local_regions
(path, service)Enters the local refinement menu.
Methods:
mark_faces_in_region
(*args, **kwargs)Marks the faces that are contained in a specified local refinement region.
sep_face_zone_by_angle
(*args, **kwargs)Separates a boundary face zone based on significant angle.
sep_face_zone_by_cnbor
(*args, **kwargs)Separates a boundary/interior face zone based on its cell neighbors.
sep_face_zone_by_mark
(*args, **kwargs)Separates a boundary face zone by moving marked faces to a new zone.
sep_face_zone_by_region
(*args, **kwargs)Separates a boundary face zone based on contiguous regions.
sep_face_zone_by_seed
(*args, **kwargs)Separates a boundary face zone by defining a seed face on the surface.
sep_face_zone_by_seed_angle
(*args, **kwargs)Separates faces connected to the seed face, whose normal fall within the specified cone.
sep_face_zone_by_shape
(*args, **kwargs)Separates a boundary face zone based on the shape of the faces (triangular or quadrilateral).
Bases:
TUIMenu
Enters the local refinement menu.
Methods:
define
(*args, **kwargs)Enables you to define the local region.
delete
(*args, **kwargs)Deletes the specified local region.
init
(*args, **kwargs)Creates a region encompassing the entire geometry.
list_all_regions
(*args, **kwargs)Lists all the local regions defined.
Enables you to define the local region.
Deletes the specified local region.
Creates a region encompassing the entire geometry.
Lists all the local regions defined.
Marks the faces that are contained in a specified local refinement region.
Separates a boundary face zone based on significant angle.
Separates a boundary/interior face zone based on its cell neighbors.
Separates a boundary face zone by moving marked faces to a new zone.
Separates a boundary face zone based on contiguous regions.
Separates a boundary face zone by defining a seed face on the surface.
Separates faces connected to the seed face, whose normal fall within the specified cone.
Separates a boundary face zone based on the shape of the faces (triangular or quadrilateral).
Defines the periodicity parameters. You will be prompted for the type of periodicity (rotational or translational). For rotational periodicity, you will be prompted for the angle and axis of rotation parameters. For translational periodicity, you will be prompted for the shift vector components.
Bases:
TUIMenu
Enter the shell boundary layer menu.
Classes:
controls
(path, service)Shell Boundary Layer Controls.
Methods:
create
(*args, **kwargs)Create shell boundary layers from one or more face zones.
Bases:
TUIMenu
Shell Boundary Layer Controls.
Classes:
zone_specific_growth
(path, service)Shell boundary Layer Growth Controls.
Bases:
TUIMenu
Shell boundary Layer Growth Controls.
Methods:
apply_growth
(*args, **kwargs)Apply shell boundary la growth on individual edge zones.
clear_growth
(*args, **kwargs)Clear shell boundary layer specific growth on individual edge zones.
Apply shell boundary la growth on individual edge zones.
Clear shell boundary layer specific growth on individual edge zones.
Create shell boundary layers from one or more face zones.
Slits a boundary face zone by duplicating all faces and nodes, except those nodes that are located at the edges of the boundary zone. A displacement can be specified to provide thickness to the boundary. The slit command only works when it is possible to move from face to face using the connectivity provided by the cells. You should slit the boundary face after you generate the volume mesh so that cells will not be placed inside the gap. There may be some inaccuracies when you graphically display solution data for a mesh with a slit boundary in ANSYS Fluent.
Smooths the marked faces.
Unmark faces in zones.
Unmarks the marked selected faces.
Enters the surface wrapper menu. This menu is no longer supported, and will be removed in a future release.
Bases:
TUIMenu
Menu for cad assemblies.
Methods:
add_prefix
(*args, **kwargs)Enables you to add a prefix to the selected entities.
add_to_object
(*args, **kwargs)Enables you to add the selected CAD entities to an existing object.
create_objects
(*args, **kwargs)Enables you to create new geometry/mesh objects for the selected entities.
delete_cad_assemblies
(*args, **kwargs)Deletes all the CAD assemblies data.
draw
(*args, **kwargs)Displays the selected CAD entities.
extract_edges_zones
(*args, **kwargs)Extract feature edges for CAD assemblies.
rename
(*args, **kwargs)Enables you to rename the selected entities.
replace_object
(*args, **kwargs)Enables you to replace an object with the selected CAD entities.
update_cad_assemblies
(*args, **kwargs)Reimports the selected CAD entities using new parameters specified in the update-options/ menu.
Classes:
draw_options
(path, service)Contains additional options for displaying CAD entities.
labels
(path, service)Contains options for displaying and managing labels.
manage_state
(path, service)Contains options for setting the CAD entity state.
update_options
(path, service)Contains options for updating the CAD entities on reimport.
Enables you to add a prefix to the selected entities. Specify the path for the entities and the prefix to be added.
Enables you to add the selected CAD entities to an existing object. Specify the path for the entities to be added and select the object to be modified.
Enables you to create new geometry/mesh objects for the selected entities. Specify the path for the entities and if required, choose to create one object per CAD entity selected and/or retain the CAD zone granularity for object creation. By default, a single object will be created for all entities selected and the CAD zone granularity will not be retained. Specify the object name (if applicable), object type (geom or mesh), and cell zone type (dead, fluid, or solid).
Deletes all the CAD assemblies data.
Displays the selected CAD entities.
Bases:
TUIMenu
Contains additional options for displaying CAD entities.
Methods:
add_to_graphics
(*args, **kwargs)Adds the selected entities to the display in the graphics window.
draw_unlabelled_zones
(*args, **kwargs)Displays the unlabeled zones for the selected entities in the graphics window.
remove_from_graphics
(*args, **kwargs)Removes the selected entities from the display in the graphics window.
Adds the selected entities to the display in the graphics window.
Displays the unlabeled zones for the selected entities in the graphics window.
Removes the selected entities from the display in the graphics window.
Extract feature edges for CAD assemblies.
Bases:
TUIMenu
Contains options for displaying and managing labels.
Methods:
add_to_graphics
(*args, **kwargs)Adds the selected labels to the display in the graphics window.
delete
(*args, **kwargs)Deletes the selected labels.
draw
(*args, **kwargs)Displays the selected labels.
remove_from_graphics
(*args, **kwargs)Removes the selected labels from the display in the graphics window.
rename
(*args, **kwargs)Enables you to rename the selected labels.
Adds the selected labels to the display in the graphics window.
Deletes the selected labels.
Displays the selected labels.
Removes the selected labels from the display in the graphics window.
Enables you to rename the selected labels. Specify the path for the labels and the new name. For multiple selections, the specified name will be used, with a suitable index as suffix. For example, specifying a new label name wall will result in entities wall.1, wall.2, etc.
Bases:
TUIMenu
Contains options for setting the CAD entity state.
Methods:
suppress
(*args, **kwargs)Suppresses the selected CAD entities.
unlock
(*args, **kwargs)Unlocks the selected CAD entities.
unsuppress
(*args, **kwargs)Unsuppresses the selected CAD entities.
Suppresses the selected CAD entities.
Unlocks the selected CAD entities.
Unsuppresses the selected CAD entities.
Enables you to rename the selected entities. Specify the path for the entities and the new name. For multiple entities, the specified name will be used, with a suitable index as suffix. For example, specifying a new name wall will result in entities wall.1, wall.2, etc.
Enables you to replace an object with the selected CAD entities. Specify the path for the entities to be added and select the object to be modified.
Reimports the selected CAD entities using new parameters specified in the update-options/ menu.
Bases:
TUIMenu
Contains options for updating the CAD entities on reimport.
Methods:
import_edge_zones
(*args, **kwargs)Enables you to import edge zones from the CAD entities on reimport.
one_object_per
(*args, **kwargs)Enables you to change the CAD object granularity on reimport.
one_zone_per
(*args, **kwargs)Enables you to change the CAD zone granularity on reimport.
tessellation
(*args, **kwargs)Enables you to control the tessellation (faceting) during reimport.
Enables you to import edge zones from the CAD entities on reimport. Specify an appropriate value for feature angle.
Enables you to change the CAD object granularity on reimport.
Enables you to change the CAD zone granularity on reimport.
Enables you to control the tessellation (faceting) during reimport. You can select either cad-faceting or cfd-surface-mesh. CAD faceting enables you to control the tessellation based on the CAD faceting tolerance and maximum facet size specified. CFD Surface Mesh enables you to use a size field file during reimport. If you enter yes, specify the size field file to be read. If you do not want to use a size field file, you can obtain conformal faceting based on the underlying curve and surface curvature (using the minimum and maximum facet sizes, and the facet curvature normal angle specified) and edge proximity (using the cells per gap specified). You can also save the size field in a file (size field is computed based on the specified parameters; that is, Min Size, Max Size, Curvature Normal Angle, Cells Per Gap).
(ANSYS Fluent in Workbench only) Exits program.
Bases:
TUIMenu
Diagnostic tools.
Classes:
face_connectivity
(path, service)Contains options for fixing problems with face connectivity on the specified object face zones or boundary face zones.
quality
(path, service)Contains options for fixing problems related to surface mesh quality on the specified object face zones or boundary face zones.
Methods:
manage_summary
(*args, **kwargs)Manage diagnostics summary checks.
modify_defaults
(*args, **kwargs)Modify diagnostics defaults.
perform_summary
(*args, **kwargs)Performs diagnostics check and report in console.
set_scope
(*args, **kwargs)Set Diagnostics scope.
Bases:
TUIMenu
Contains options for fixing problems with face connectivity on the specified object face zones or boundary face zones.
Methods:
add_label_to_small_neighbors
(*args, **kwargs)Separates island object face zones from all connected neighbors and merges them to the connected neighboring face zone label based on minimum face count specified.
fix_deviations
(*args, **kwargs)Fixes deviations in the wrapped surface mesh by imprinting edges on the wrapped face zones.
fix_duplicate_faces
(*args, **kwargs)Removes duplicate faces.
fix_free_faces
(*args, **kwargs)Removes free faces by the method selected.
fix_invalid_normals
(*args, **kwargs)Fixes invalid normals by smoothing.
fix_islands
(*args, **kwargs)Deletes groups of island faces based on the absolute face count specified.
fix_multi_faces
(*args, **kwargs)Fixes multiply connected faces by a combination of deleting face fringes, overlapping faces, and disconnected faces.
fix_point_contacts
(*args, **kwargs)Fixes non-manifold configurations by removing point contacts.
fix_self_intersections
(*args, **kwargs)Fixes self intersecting or folded faces.
fix_slivers
(*args, **kwargs)Fixes faces based on skewness and height criteria.
fix_spikes
(*args, **kwargs)Fixes spiked faces based on the spike angle specified.
fix_steps
(*args, **kwargs)Fixes step configurations by smoothing or collapsing faces based on the angle and step width specified.
remove_label_from_small_islands
(*args, **kwargs)Change small disconnected island labels to their connected neighbors.
Separates island object face zones from all connected neighbors and merges them to the connected neighboring face zone label based on minimum face count specified.
Fixes deviations in the wrapped surface mesh by imprinting edges on the wrapped face zones. Specify the number of imprint iterations and aggressive imprint iterations to be performed.
Removes duplicate faces.
Removes free faces by the method selected. The methods available are:.
Fixes invalid normals by smoothing. Zone-specific or scoped prism settings should be applied prior to using this command.
Deletes groups of island faces based on the absolute face count specified.
Fixes multiply connected faces by a combination of deleting face fringes, overlapping faces, and disconnected faces. Specify the maximum number of fringe faces, overlapping faces, and multiply connected edges, respectively.
Fixes non-manifold configurations by removing point contacts.
Fixes self intersecting or folded faces. For fixing folded faces by smoothing, specify whether features should be imprinted.
Fixes faces based on skewness and height criteria. Height is the perpendicular distance between the longest edge of the triangle and the opposite node.
Fixes spiked faces based on the spike angle specified.
Fixes step configurations by smoothing or collapsing faces based on the angle and step width specified.
Change small disconnected island labels to their connected neighbors.
Manage diagnostics summary checks.
Modify diagnostics defaults.
Performs diagnostics check and report in console.
Bases:
TUIMenu
Contains options for fixing problems related to surface mesh quality on the specified object face zones or boundary face zones.
Methods:
collapse
(*args, **kwargs)Collapses bad quality faces based on area or skewness.
delaunay_swap
(*args, **kwargs)Improves the surface mesh by swapping based on the minimum skewness value and feature angle specified.
general_improve
(*args, **kwargs)Improves the surface mesh based on aspect ratio, size change, or skewness.
smooth
(*args, **kwargs)Improves the surface mesh by smoothing.
Collapses bad quality faces based on area or skewness. For collapsing based on face area, specify the maximum face area and relative maximum area. For collapsing based on face skewness, specify the minimum skewness and feature angle. Additionally, specify the number of iterations and whether the boundary should be preserved.
Improves the surface mesh by swapping based on the minimum skewness value and feature angle specified. Additionally, specify the number of iterations and whether the boundary should be preserved.
Improves the surface mesh based on aspect ratio, size change, or skewness. Specify the minimum quality value, feature angle, number of iterations, and whether the boundary should be preserved.
Improves the surface mesh by smoothing. Specify the number of smoothing iterations and whether the boundary should be preserved.
Set Diagnostics scope.
Bases:
TUIMenu
Enter the display menu.
Classes:
advanced_rendering
(path, service)Enter the advanced rendering menu.
display_states
(path, service)Enter the display states menu.
objects
(path, service)Contains commands for displaying objects.
set
(path, service)Enables you to enter the set menu to set the display parameters.
set_grid
(path, service)Contains options controlling the display of the grid.
update_scene
(path, service)Contains commands that enable you to update the scene description.
xy_plot
(path, service)Enters the XY plot menu.
zones
(path, service)Contains commands for displaying zones.
Methods:
all_grid
(*args, **kwargs)Displays the grid according to the currently set parameters.
annotate
(*args, **kwargs)Adds annotation text to a graphics window.
boundary_cells
(*args, **kwargs)Displays boundary cells attached to the specified face zones.
boundary_grid
(*args, **kwargs)Displays only boundary zones according to the currently set parameters.
center_view_on
(*args, **kwargs)Sets the camera target to be the center (centroid) of an entity.
clear
(*args, **kwargs)Clears the active graphics window.
clear_annotation
(*args, **kwargs)Removes all annotations and attachment lines from the active graphics window.
draw_cells_using_faces
(*args, **kwargs)Draws cells that are neighbors for the selected faces.
draw_cells_using_nodes
(*args, **kwargs)Draws cells that are connected to the selected nodes.
draw_face_zones_using_entities
(*args, **kwargs)Draws cells that are connected to the selected entities.
draw_zones
(*args, **kwargs)Draws the boundary/cell zones using the zone ID specified as input.
redisplay
(*args, **kwargs)Redraws the grid in the graphics window.
save_picture
(*args, **kwargs)Saves a picture file of the active graphics window.
set_list_tree_separator
(*args, **kwargs)Sets the separator character to be used to determine the common prefix for items listed in the selection lists, when the tree view is used.
show_hide_clipping_plane_triad
(*args, **kwargs)update_layout
(*args, **kwargs)Update the fluent layout.
views
(*args, **kwargs)Enters the view window options menu.
Bases:
TUIMenu
Enter the advanced rendering menu.
Methods:
edge_color
(*args, **kwargs)Choose between black and body colored edges.
fast_silhouette_edges
(*args, **kwargs)Enhances viewability by adding fast silhouette edges.
max_extent_culling
(*args, **kwargs)Truncates zones smaller that the maximum extent culling pixel value.
simple_shadow
(*args, **kwargs)Enhances viewability by adding a simple shadow.
static_model
(*args, **kwargs)Static model driver setting.
Choose between black and body colored edges.
Enhances viewability by adding fast silhouette edges.
Truncates zones smaller that the maximum extent culling pixel value.
Enhances viewability by adding a simple shadow.
Static model driver setting.
Displays the grid according to the currently set parameters.
Adds annotation text to a graphics window. It will prompt you for a string to use as the annotation text, and then a dialog box will prompt you to select a screen location using the mouse-probe button on your mouse.
Displays boundary cells attached to the specified face zones.
Displays only boundary zones according to the currently set parameters.
Sets the camera target to be the center (centroid) of an entity.
Clears the active graphics window. This option is useful when you redo an overlay.
Removes all annotations and attachment lines from the active graphics window.
Bases:
TUIMenu
Enter the display states menu.
Methods:
apply
(*args, **kwargs)Apply a display state to the active graphics window.
copy
(*args, **kwargs)Copy the settings of an existing display state to another existing display state.
create
(*args, **kwargs)Create a new display state.
delete
(*args, **kwargs)Delete a display state.
edit
(*args, **kwargs)Edit a display state.
list
(*args, **kwargs)Print the names of the existing display states to the console.
read
(*args, **kwargs)Read in display states from a file.
use_active
(*args, **kwargs)Save the display state settings of the active graphics window to an existing display state.
write
(*args, **kwargs)Write one or more of the saved display states to a file.
Apply a display state to the active graphics window.
Copy the settings of an existing display state to another existing display state.
Create a new display state.
Delete a display state.
Edit a display state. Enter quit (or a substring, such as q or qui) to exit the editing loop.
Print the names of the existing display states to the console.
Read in display states from a file.
Save the display state settings of the active graphics window to an existing display state. This command is not available when the active window is displaying a 2D plot.
Write one or more of the saved display states to a file.
Draws cells that are neighbors for the selected faces.
Draws cells that are connected to the selected nodes.
Draws cells that are connected to the selected entities.
Draws the boundary/cell zones using the zone ID specified as input.
Bases:
TUIMenu
Contains commands for displaying objects.
Methods:
display_neighborhood
(*args, **kwargs)Displays the objects that are in the neighborhood of the selected object.
display_similar_area
(*args, **kwargs)Displays the objects with similar area to the selected object area.
explode
(*args, **kwargs)Explodes the objects in the geometry.
hide_objects
(*args, **kwargs)Hides the selected objects in the display.
implode
(*args, **kwargs)Implodes or assembles the objects in the geometry.
isolate_objects
(*args, **kwargs)Displays only the selected objects.
make_transparent
(*args, **kwargs)Makes the geometry transparent so that internal objects are visible.
select_all_visible
(*args, **kwargs)Selects all the visible objects in the graphics window.
show_all
(*args, **kwargs)Unhides all the objects in the geometry and displays them.
toggle_color_mode
(*args, **kwargs)Toggles the colors of the geometry.
toggle_color_palette
(*args, **kwargs)Toggles the color palette of the geometry.
Displays the objects that are in the neighborhood of the selected object. The neighboring objects have to be in contact, or intersecting the selected object.
Displays the objects with similar area to the selected object area.
Explodes the objects in the geometry. (This command is valid only when the geometry is an assembled mode.).
Hides the selected objects in the display.
Implodes or assembles the objects in the geometry. (This command is available only when the geometry is an exploded mode.).
Displays only the selected objects.
Makes the geometry transparent so that internal objects are visible. This command works as a toggle undoing the transparency of the previously selected objects.
Selects all the visible objects in the graphics window.
Unhides all the objects in the geometry and displays them.
Toggles the colors of the geometry. In one mode geometry is colored object-wise while in the other mode it is colored zone-wise.
Toggles the color palette of the geometry.
Redraws the grid in the graphics window.
Saves a picture file of the active graphics window.
Bases:
TUIMenu
Enables you to enter the set menu to set the display parameters.
Classes:
colors
(path, service)Enables you to enter the colors options menu.
lights
(path, service)Enters the lights menu.
picture
(path, service)Saves a hardcopy file of the active graphics window.
rendering_options
(path, service)Contains the commands that enable you to set options that determine how the scene is rendered.
styles
(path, service)Contains commands for setting the display style for the different types of nodes and faces that can be displayed.
Methods:
edges
(*args, **kwargs)Enables/disables the display of face/cell edges.
filled_grid
(*args, **kwargs)Enables/disables the filled grid option.
highlight_tree_selection
(*args, **kwargs)Turn on/off outline display of tree selection in graphics window.
line_weight
(*args, **kwargs)Sets the line width factor for the window.
native_display_defaults
(*args, **kwargs)Resets graphics window parameters to optimal settings for a local display.
overlays
(*args, **kwargs)Turns overlays on and off.
quick_moves_algorithm
(*args, **kwargs)Select quick moves algorithm for icons and helptext overlay.
re_render
(*args, **kwargs)Re-renders the current window after modifying the variables in the set menu.
remote_display_defaults
(*args, **kwargs)Adjusts graphics window parameters to optimal settings for a remote display.
reset_graphics
(*args, **kwargs)Resets the graphics system.
shrink_factor
(*args, **kwargs)Sets shrinkage of both faces and cells.
title
(*args, **kwargs)Sets the problem title.
windows
(*args, **kwargs)Enters the windows options menu, which contains commands that enable you to customize the relative positions of sub-windows inside the active graphics window.
Bases:
TUIMenu
Enables you to enter the colors options menu.
Methods:
automatic_skip
(*args, **kwargs)Specify whether the number of colormap labels is determined automatically.
axis_faces
(*args, **kwargs)Sets the color of axisymmetric faces.
background
(*args, **kwargs)Sets the background (window) color.
color_by_type
(*args, **kwargs)Enables you to specify that the entities should be colored by their type or ID.
far_field_faces
(*args, **kwargs)Sets the color of far field faces.
foreground
(*args, **kwargs)Sets the foreground (text and window frame) color.
free_surface_faces
(*args, **kwargs)Sets the color of free surface faces.
graphics_color_theme
(*args, **kwargs)Sets the color theme for the graphics window.
inlet_faces
(*args, **kwargs)Sets the color of the inlet faces.
interface_faces
(*args, **kwargs)Sets the color of grid interface faces.
interior_faces
(*args, **kwargs)Sets the color of the interior faces.
internal_faces
(*args, **kwargs)Sets the color of the internal interface faces.
list
(*args, **kwargs)Lists the colors available for the selected zone type.
outlet_faces
(*args, **kwargs)Sets the color of the outlet faces.
overset_faces
(*args, **kwargs)Sets the color of the overset faces.
periodic_faces
(*args, **kwargs)Sets the color of periodic faces.
rans_les_interface_faces
(*args, **kwargs)Sets the color of RANS/LES interface faces.
reset_colors
(*args, **kwargs)Resets the individual grid surface colors to the defaults.
reset_user_colors
(*args, **kwargs)Resets individual grid surface colors to the defaults.
show_user_colors
(*args, **kwargs)Lists the current defined user colors.
skip_label
(*args, **kwargs)Sets the number of labels to be skipped in the colormap scale.
surface
(*args, **kwargs)Sets the color of surfaces.
symmetry_faces
(*args, **kwargs)Sets the color of symmetric faces.
traction_faces
(*args, **kwargs)Sets the color for traction faces.
user_color
(*args, **kwargs)Enables you to change the color for the specified zone.
wall_faces
(*args, **kwargs)Sets color for wall faces.
Classes:
by_surface
(path, service)Enter the surface(s) color and material assignment menu.
by_type
(path, service)Enter the zone type color and material assignment menu.
Specify whether the number of colormap labels is determined automatically. The default is yes.
Sets the color of axisymmetric faces.
Sets the background (window) color.
Bases:
TUIMenu
Enter the surface(s) color and material assignment menu.
Methods:
list_surfaces_by_color
(*args, **kwargs)To list the surfaces by its color.
list_surfaces_by_material
(*args, **kwargs)To list the surfaces by its material.
reset
(*args, **kwargs)To reset colors and/or materials to the defaults.
surfaces
(*args, **kwargs)Select the surface(s) to specify colors and/or materials.
To list the surfaces by its color.
To list the surfaces by its material.
To reset colors and/or materials to the defaults.
Select the surface(s) to specify colors and/or materials.
Bases:
TUIMenu
Enter the zone type color and material assignment menu.
Methods:
only_list_case_boundaries
(*args, **kwargs)Only list the boundary types that are assigned in this case.
reset
(*args, **kwargs)To reset colors and/or materials to the defaults.
Classes:
type_name
(path, service)Select the boundary type to specify colors and/or materials.
Only list the boundary types that are assigned in this case.
To reset colors and/or materials to the defaults.
Bases:
TUIMenu
Select the boundary type to specify colors and/or materials.
Methods:
axis
(*args, **kwargs)Set the material and/or color for the selected boundary type.
far_field
(*args, **kwargs)Set the material and/or color for the selected boundary type.
free_surface
(*args, **kwargs)Set the material and/or color for the selected boundary type.
inlet
(*args, **kwargs)Set the material and/or color for the selected boundary type.
interface
(*args, **kwargs)Set the material and/or color for the selected boundary type.
interior
(*args, **kwargs)Set the material and/or color for the selected boundary type.
internal
(*args, **kwargs)Set the material and/or color for the selected boundary type.
outlet
(*args, **kwargs)Set the material and/or color for the selected boundary type.
overset
(*args, **kwargs)Set the material and/or color for the selected boundary type.
periodic
(*args, **kwargs)Set the material and/or color for the selected boundary type.
rans_les_interface
(*args, **kwargs)Set the material and/or color for the selected boundary type.
surface
(*args, **kwargs)Set the material and/or color for the selected boundary type.
symmetry
(*args, **kwargs)Set the material and/or color for the selected boundary type.
traction
(*args, **kwargs)Set the material and/or color for the selected boundary type.
wall
(*args, **kwargs)Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Set the material and/or color for the selected boundary type.
Enables you to specify that the entities should be colored by their type or ID.
Sets the color of far field faces.
Sets the foreground (text and window frame) color.
Sets the color of free surface faces.
Sets the color theme for the graphics window. The color options (black, white, gray-gradient, or workbench) are for the background display, but changing the theme also changes the default colors for items that display in the graphics windows, like faces and edges.
Sets the color of the inlet faces.
Sets the color of grid interface faces.
Sets the color of the interior faces.
Sets the color of the internal interface faces.
Lists the colors available for the selected zone type.
Sets the color of the outlet faces.
Sets the color of the overset faces.
Sets the color of periodic faces.
Sets the color of RANS/LES interface faces.
Resets the individual grid surface colors to the defaults.
Resets individual grid surface colors to the defaults.
Lists the current defined user colors.
Sets the number of labels to be skipped in the colormap scale.
Sets the color of surfaces.
Sets the color of symmetric faces.
Sets the color for traction faces.
Enables you to change the color for the specified zone.
Sets color for wall faces.
Enables/disables the display of face/cell edges.
Enables/disables the filled grid option. When a grid is not filled, only its outline is drawn.
Turn on/off outline display of tree selection in graphics window.
Bases:
TUIMenu
Enters the lights menu.
Methods:
headlight_on
(*args, **kwargs)Turns the light that moves with the camera on or off.
lighting_interpolation
(*args, **kwargs)Sets the lighting interpolation method to be used.
lights_on
(*args, **kwargs)Enables/disables the display of all lights.
set_ambient_color
(*args, **kwargs)Sets the ambient color for the scene.
set_light
(*args, **kwargs)Adds or modifies a directional, colored light.
Turns the light that moves with the camera on or off. This is controlled automatically by default.
Sets the lighting interpolation method to be used. You can choose automatic, flat, gouraud, or phong. “Automatic” automatically picks the best lighting method for the display in the graphics window. Flat is the most basic method, and the others are more sophisticated and provide smoother gradations of color.
Enables/disables the display of all lights.
Sets the ambient color for the scene. The ambient color is the background light color in scene.
Adds or modifies a directional, colored light.
Sets the line width factor for the window.
Resets graphics window parameters to optimal settings for a local display. Used after setting parameters for a remote display with remote-display-defaults.
Turns overlays on and off.
Bases:
TUIMenu
Saves a hardcopy file of the active graphics window.
Classes:
color_mode
(path, service)Contains the available color modes.
driver
(path, service)Contains the available hardcopy formats.
Methods:
dpi
(*args, **kwargs)Specifies the resolution in dots per inch for EPS and PostScript files.
invert_background
(*args, **kwargs)Enables/disables the exchange of foreground/background colors for hardcopy files.
jpeg_hardcopy_quality
(*args, **kwargs)Controls the size and quality of how JPEG files are saved based on a scale of 0-100, with zero being low quality small files and 100 being high quality larger files.
landscape
(*args, **kwargs)Toggles between landscape or portrait orientation.
preview
(*args, **kwargs)Applies the settings of the color-mode, invert-background, and landscape options to the currently active graphics window to preview the appearance of printed hardcopies.
set_standard_resolution
(*args, **kwargs)Select from pre-defined resolution list.
use_window_resolution
(*args, **kwargs)Disables/enables the use of the current graphics window resolution when saving an image of the graphics window.
x_resolution
(*args, **kwargs)Sets the width of the raster format images in pixels (0 implies that the hardcopy should use the same resolution as the active graphics window).
y_resolution
(*args, **kwargs)Sets the height of the raster format images in pixels (0 implies that the hardcopy should use the same resolution as the active graphics window).
Bases:
TUIMenu
Contains the available color modes.
Methods:
color
(*args, **kwargs)Selects full color and plots the hardcopy in color.
gray_scale
(*args, **kwargs)Selects gray scale (that is, various shades of gray) and converts color to gray-scale for hardcopy.
list
(*args, **kwargs)Displays the current hardcopy color mode.
mono_chrome
(*args, **kwargs)Selects color to monochrome (black and white) for hardcopy.
Selects full color and plots the hardcopy in color.
Selects gray scale (that is, various shades of gray) and converts color to gray-scale for hardcopy.
Displays the current hardcopy color mode.
Selects color to monochrome (black and white) for hardcopy.
Specifies the resolution in dots per inch for EPS and PostScript files.
Bases:
TUIMenu
Contains the available hardcopy formats.
Methods:
avz
(*args, **kwargs)Use AVZ output for hardcopies.
dump_window
(*args, **kwargs)Sets the command to dump a graphics window to a file.
eps
(*args, **kwargs)Sets the Encapsulated PostScript format.
glb
(*args, **kwargs)Produces GLB output for hardcopies.
hsf
(*args, **kwargs)Produces HOOPS Visualize Stream Format (HSF) output for hardcopies.
jpeg
(*args, **kwargs)Sets the JPEG image format.
list
(*args, **kwargs)Displays the current hardcopy format.
options
(*args, **kwargs)Enables you to set hardcopy options, such as landscape orientation, pen speed, and physical size.
png
(*args, **kwargs)Sets the PNG image format.
post_script
(*args, **kwargs)Sets the PostScript format.
ppm
(*args, **kwargs)Sets the PPM format.
tiff
(*args, **kwargs)Sets the TIFF format.
vrml
(*args, **kwargs)Sets the VRML format.
Classes:
post_format
(path, service)Contains commands for setting the PostScript driver format and save files in PS files that can be printed quickly.
Use AVZ output for hardcopies.
Sets the command to dump a graphics window to a file.
Sets the Encapsulated PostScript format.
Produces GLB output for hardcopies.
Produces HOOPS Visualize Stream Format (HSF) output for hardcopies.
Sets the JPEG image format.
Displays the current hardcopy format.
Enables you to set hardcopy options, such as landscape orientation, pen speed, and physical size. The options may be entered on one line if you separate them with commas.
Sets the PNG image format.
Bases:
TUIMenu
Contains commands for setting the PostScript driver format and save files in PS files that can be printed quickly.
Methods:
fast_raster
(*args, **kwargs)Enables a raster file that may be larger than the standard raster file, but will print much more quickly.
raster
(*args, **kwargs)Enables the standard raster file.
rle_raster
(*args, **kwargs)Enables a run-length encoded raster file that will be about the same size as the standard raster file, but will print slightly more quickly.
vector
(*args, **kwargs)Enables the standard vector file.
Enables a raster file that may be larger than the standard raster file, but will print much more quickly.
Enables the standard raster file.
Enables a run-length encoded raster file that will be about the same size as the standard raster file, but will print slightly more quickly. This is the default file type.
Enables the standard vector file.
Sets the PostScript format.
Sets the PPM format.
Sets the TIFF format.
Sets the VRML format.
Enables/disables the exchange of foreground/background colors for hardcopy files.
Controls the size and quality of how JPEG files are saved based on a scale of 0-100, with zero being low quality small files and 100 being high quality larger files.
Toggles between landscape or portrait orientation.
Applies the settings of the color-mode, invert-background, and landscape options to the currently active graphics window to preview the appearance of printed hardcopies.
Select from pre-defined resolution list.
Disables/enables the use of the current graphics window resolution when saving an image of the graphics window. If disabled, the resolution will be as specified for x-resolution and y-resolution.
Sets the width of the raster format images in pixels (0 implies that the hardcopy should use the same resolution as the active graphics window).
Sets the height of the raster format images in pixels (0 implies that the hardcopy should use the same resolution as the active graphics window).
Select quick moves algorithm for icons and helptext overlay.
Re-renders the current window after modifying the variables in the set menu.
Adjusts graphics window parameters to optimal settings for a remote display. Restore parameters for local display using native-display-defaults.
Bases:
TUIMenu
Contains the commands that enable you to set options that determine how the scene is rendered.
Methods:
animation_option
(*args, **kwargs)Enables you to specify the animation option as appropriate.
auto_spin
(*args, **kwargs)Enables mouse view rotations to continue to spin the display after the button is released.
color_map_alignment
(*args, **kwargs)Sets the color bar alignment.
device_info
(*args, **kwargs)Prints out information about your graphics driver.
double_buffering
(*args, **kwargs)Enables or disables double buffering.
driver
(*args, **kwargs)Changes the current graphics driver.
face_displacement
(*args, **kwargs)Sets the face displacement (in Z-buffer units along the camera Z-axis) for the displayed geometry when both faces and edges are displayed simultaneously.
help_text_color
(*args, **kwargs)Sets the color of the help text on the screen.
hidden_surface_method
(*args, **kwargs)Enables you to choose from among the hidden surface removal methods that are supported.
hidden_surfaces
(*args, **kwargs)Enables/disables the display of hidden surfaces.
outer_face_cull
(*args, **kwargs)Enables/disables the display of outer faces.
set_rendering_options
(*args, **kwargs)Sets the rendering options.
show_colormap
(*args, **kwargs)Enable/Disable colormap.
surface_edge_visibility
(*args, **kwargs)Controls whether or not the mesh edges are drawn.
Enables you to specify the animation option as appropriate.
Enables mouse view rotations to continue to spin the display after the button is released.
Sets the color bar alignment.
Prints out information about your graphics driver.
Enables or disables double buffering. Double buffering dramatically reduces screen flicker during graphics updates. If your display hardware does not support double buffering and you turn this option on, double buffering will be done in software. Software double buffering uses extra memory.
Changes the current graphics driver. When enabling graphics display, you have various options: for Linux, the available drivers include opengl and x11; for Windows, the available drivers include opengl, dx11 (for DirectX 11), and msw (for Microsoft Windows). You can also disable the graphics display window by entering null. For a comprehensive list of the drivers available to you, press the Enter key at the driver> prompt. For any session that displays graphics in a graphics window and/or saves picture files, having the driver set to x11, msw, or null will cause the rendering / saving speed to be significantly slower.
Sets the face displacement (in Z-buffer units along the camera Z-axis) for the displayed geometry when both faces and edges are displayed simultaneously.
Sets the color of the help text on the screen. You can select black, default, or white.
Enables you to choose from among the hidden surface removal methods that are supported. These options (listed below) are display hardware dependent.
Enables/disables the display of hidden surfaces.
Enables/disables the display of outer faces.
Sets the rendering options.
Enable/Disable colormap.
Controls whether or not the mesh edges are drawn.
Resets the graphics system.
Sets shrinkage of both faces and cells. A value of zero indicates no shrinkage, while a value of one would shrink the face or cell to a point.
Bases:
TUIMenu
Contains commands for setting the display style for the different types of nodes and faces that can be displayed.
Methods:
dummy
(*args, **kwargs).
.
Sets the problem title.
Enters the windows options menu, which contains commands that enable you to customize the relative positions of sub-windows inside the active graphics window.
Bases:
TUIMenu
Contains options controlling the display of the grid.
Methods:
all_cells
(*args, **kwargs)Enables/disables the display of all cells.
all_faces
(*args, **kwargs)Enables/disables the display of all faces.
all_nodes
(*args, **kwargs)Enables/disables the display of all nodes.
cell_quality
(*args, **kwargs)Sets the lower and upper bounds of quality for cells to be displayed.
default
(*args, **kwargs)Resets the grid display parameters to their default values.
face_quality
(*args, **kwargs)Sets the lower and upper bounds of quality for faces to be displayed.
free
(*args, **kwargs)Enables/disables the drawing of faces/nodes that have no neighboring face on at least one edge.
label_alignment
(*args, **kwargs)Sets the alignment of labels that appear in the graphics window.
label_font
(*args, **kwargs)Sets the label font.
label_scale
(*args, **kwargs)Scales the size of the label.
labels
(*args, **kwargs)Enables/disables the display of labels.
left_handed
(*args, **kwargs)Enables/disables the display of left-handed faces.
list
(*args, **kwargs)Lists all the grid display settings.
marked
(*args, **kwargs)Enables/disables the display of marked nodes.
multi
(*args, **kwargs)Enables/disables the display of those faces/nodes that have more than one neighboring face on an edge.
neighborhood
(*args, **kwargs)Sets the x, y, and z range to be within a specified neighborhood of a specified grid object.
node_size
(*args, **kwargs)Sets the node symbol scaling factor.
node_symbol
(*args, **kwargs)Specifies the node symbol.
normal_scale
(*args, **kwargs)Sets the scale factor for face normals.
normals
(*args, **kwargs)Enables/disables the display of face normals.
refine
(*args, **kwargs)Enables/disables the display of those faces that have been marked for refinement.
tagged
(*args, **kwargs)Enables/disables the display of tagged nodes.
unmeshed
(*args, **kwargs)Enables/disables the display of nodes and faces that have not been meshed.
unused
(*args, **kwargs)Enables/disables the display of unused nodes.
x_range
(*args, **kwargs)Limits the display of grid objects to the specified x-range.
y_range
(*args, **kwargs)Limits the display of grid objects to the specified y-range.
z_range
(*args, **kwargs)Limits the display of grid objects to the specified z-range.
Enables/disables the display of all cells.
Enables/disables the display of all faces.
Enables/disables the display of all nodes.
Sets the lower and upper bounds of quality for cells to be displayed. Only cells with a quality measure value (for example, skewness) within the specified range will be displayed.
Resets the grid display parameters to their default values.
Sets the lower and upper bounds of quality for faces to be displayed. Only faces with a quality measure value (for example, skewness) within the specified range will be displayed.
Enables/disables the drawing of faces/nodes that have no neighboring face on at least one edge.
Sets the alignment of labels that appear in the graphics window. By default, the label is centered on the node, cell, and so on, to which the label refers. You can specify *,ˆ, v, <, > for center, top, bottom, left, or right. You can also combine symbols—for example, “*v” for bottom center.
Sets the label font. By default, all labels appear in “sans serif” font. Some other choices are roman, typewriter, and stroked.
Scales the size of the label.
Enables/disables the display of labels.
Enables/disables the display of left-handed faces.
Lists all the grid display settings.
Enables/disables the display of marked nodes.
Enables/disables the display of those faces/nodes that have more than one neighboring face on an edge.
Sets the x, y, and z range to be within a specified neighborhood of a specified grid object.
Sets the node symbol scaling factor.
Specifies the node symbol.
Sets the scale factor for face normals.
Enables/disables the display of face normals.
Enables/disables the display of those faces that have been marked for refinement.
Enables/disables the display of tagged nodes.
Enables/disables the display of nodes and faces that have not been meshed.
Enables/disables the display of unused nodes.
Limits the display of grid objects to the specified x-range.
Limits the display of grid objects to the specified y-range.
Limits the display of grid objects to the specified z-range.
Sets the separator character to be used to determine the common prefix for items listed in the selection lists, when the tree view is used.
Update the fluent layout.
Bases:
TUIMenu
Contains commands that enable you to update the scene description.
Methods:
delete
(*args, **kwargs)Deletes the geometry selected using the select-geometry command.
display
(*args, **kwargs)Displays the geometry selected using the select-geometry command.
draw_frame
(*args, **kwargs)Enables/disables the drawing of the bounding frame.
iso_sweep
(*args, **kwargs)Changes iso-sweep values.
overlays
(*args, **kwargs)Enables/disables the overlays option.
pathline
(*args, **kwargs)Changes pathline attributes.
select_geometry
(*args, **kwargs)Enables you to select the geometry to be updated.
set_frame
(*args, **kwargs)Enables you to change the frame options.
time
(*args, **kwargs)Changes time-step value.
transform
(*args, **kwargs)Enables you to apply the transformation matrix to the geometry selected using the select-geometry command.
Deletes the geometry selected using the select-geometry command.
Displays the geometry selected using the select-geometry command.
Enables/disables the drawing of the bounding frame.
Changes iso-sweep values.
Enables/disables the overlays option.
Changes pathline attributes.
Enables you to select the geometry to be updated.
Enables you to change the frame options.
Changes time-step value.
Enables you to apply the transformation matrix to the geometry selected using the select-geometry command.
Enters the view window options menu.
Bases:
TUIMenu
Enters the XY plot menu.
Methods:
cell_distribution
(*args, **kwargs)Plots a histogram of cell quality.
face_distribution
(*args, **kwargs)Plots a histogram of face quality.
file
(*args, **kwargs)Enables you to choose a file from which to create an xy plot.
set
(*args, **kwargs)Enters the set window options menu.
Plots a histogram of cell quality.
Plots a histogram of face quality.
Enables you to choose a file from which to create an xy plot.
Enters the set window options menu.
Bases:
TUIMenu
Contains commands for displaying zones.
Methods:
display_neighborhood
(*args, **kwargs)Displays the zones that are in the neighborhood of the selected zones.
display_similar_area
(*args, **kwargs)Displays the zones with similar area to the selected zone area.
hide_zones
(*args, **kwargs)Hides the selected zones in the display.
isolate_zones
(*args, **kwargs)Displays only the selected zones.
make_transparent
(*args, **kwargs)Makes the geometry transparent so that internal zones are visible.
select_all_visible
(*args, **kwargs)Selects all the visible zones in the graphics window.
show_all
(*args, **kwargs)Unhides all the zones in the geometry and displays them.
toggle_color_mode
(*args, **kwargs)Toggles the colors of the geometry.
toggle_color_palette
(*args, **kwargs)Toggles the color palette of the geometry.
Displays the zones that are in the neighborhood of the selected zones. The neighboring zones have to be in contact, or intersecting the selected zone.
Displays the zones with similar area to the selected zone area.
Hides the selected zones in the display.
Displays only the selected zones.
Makes the geometry transparent so that internal zones are visible. This command works as a toggle undoing the transparency of the previously selected zones.
Selects all the visible zones in the graphics window.
Unhides all the zones in the geometry and displays them.
Toggles the colors of the geometry. In one mode geometry is colored object-wise while in the other mode it is colored zone-wise.
Toggles the color palette of the geometry.
Exits the program.
Bases:
TUIMenu
Enter the file menu.
Methods:
append_mesh
(*args, **kwargs)Enables you to append the mesh files.
append_meshes_by_tmerge
(*args, **kwargs)Enables you to append the mesh files using the tmerge utility.
cff_files
(*args, **kwargs)Answering yes will set the Common Fluids Format (CFF) as the default file format for reading and writing case/data files.
confirm_overwrite
(*args, **kwargs)Controls whether attempts to overwrite existing files require confirmation.
file_format
(*args, **kwargs)Enables/disables the writing of binary files.
filter_list
(*args, **kwargs)Lists the names of the converters that are used to change foreign mesh (while importing mesh files from third-party packages) files.
filter_options
(*args, **kwargs)Enables you to change the extension (such as .cas, .msh, .neu) and arguments used with a specified filter.
hdf_files
(*args, **kwargs)Indicate whether to write Ansys common fluids format (CFF) files or legacy case files.
load_act_tool
(*args, **kwargs)Loads the Ansys ACT tool.
read_boundary_mesh
(*args, **kwargs)Enables you to read a boundary mesh.
read_case
(*args, **kwargs)Enables you to read the mesh contained in a case file.
read_domains
(*args, **kwargs)Enables you to read domain files.
read_journal
(*args, **kwargs)Enables you to read a journal file into the program.
read_mesh
(*args, **kwargs)Enables you to read a mesh file.
read_mesh_vars
(*args, **kwargs)Reads mesh varaibles from a mesh file.
read_meshes_by_tmerge
(*args, **kwargs)Uses the tmerge utility to read the mesh contained in two or more separate files.
read_multi_bound_mesh
(*args, **kwargs)Enables you to read multiple boundary mesh files into the meshing mode.
read_multiple_mesh
(*args, **kwargs)Enables you to read in two or more files together and have the complete mesh assembled for you, if the mesh files are contained in two or more separate files.
read_options
(*args, **kwargs)Enables you to set the following options for reading mesh files:.
read_size_field
(*args, **kwargs)Enables you to read in a size field file.
set_idle_timeout
(*args, **kwargs)Allows you to set an idle timeout so that an idle ANSYS Fluent session will automatically save and close after the specified time.
set_tui_version
(*args, **kwargs)Allows you to improve backwards compatibility for journal files.
show_configuration
(*args, **kwargs)Displays the current release and version information.
start_journal
(*args, **kwargs)Starts recording all input and writes it to a file.
start_transcript
(*args, **kwargs)Starts recording input and output in a file.
stop_journal
(*args, **kwargs)Stops recording input and closes the journal file.
stop_transcript
(*args, **kwargs)Stops recording input and output, and closes the transcript file.
write_boundaries
(*args, **kwargs)Enables you to write the specified boundaries into a mesh file.
write_case
(*args, **kwargs)Enables you to write a case file that can be read by Fluent.
write_domains
(*args, **kwargs)Enables you to write all the mesh domains (except global) into a file that can be read.
write_mesh
(*args, **kwargs)Enables you to write a mesh file.
write_mesh_vars
(*args, **kwargs)Writes mesh varaibles to a file.
write_options
(*args, **kwargs)Allows you to enable or disable the enforce mesh topology option for writing mesh/case files.
write_size_field
(*args, **kwargs)Enables you to write a size field file.
Classes:
checkpoint
(path, service)Checkpoint stores the mesh in the memory instead of writing it to a file.
export
(path, service)Exports case and data information.
import_
(path, service)Enables you to import mesh information generated by some CAD packages (Ansys, I-deas, NASTRAN, PATRAN, and HYPERMESH), as well as mesh information in the CGNS (CFD general notation system) format.
project
(path, service)Enter to create new project, open project, save and archive project.
Enables you to append the mesh files. This command is available only after a mesh file has been read in.
Enables you to append the mesh files using the tmerge utility. This command is available only after a mesh file has been read in.
Answering yes will set the Common Fluids Format (CFF) as the default file format for reading and writing case/data files.
Bases:
TUIMenu
Checkpoint stores the mesh in the memory instead of writing it to a file.
Methods:
delete_checkpoint
(*args, **kwargs)Delete checkpoint.
list_checkpoint_names
(*args, **kwargs)Get all checkpoint names.
restore_checkpoint
(*args, **kwargs)Restore to checkpoint.
write_checkpoint
(*args, **kwargs)Write checkpoint.
Delete checkpoint.
Get all checkpoint names.
Restore to checkpoint.
Write checkpoint.
Controls whether attempts to overwrite existing files require confirmation. If you do not want ANSYS Fluent to ask you for confirmation before it overwrites existing files, you can enter the file/confirm-overwrite? text command and answer no.
Bases:
TUIMenu
Exports case and data information.
Methods:
ansys
(*args, **kwargs)Write a Ansys mesh file.
hypermesh
(*args, **kwargs)Write a HYPERMESH ascii file.
nastran
(*args, **kwargs)Writes a NASTRAN file.
patran
(*args, **kwargs)Write a PATRAN mesh file.
stl
(*args, **kwargs)Write a STL boundary mesh file.
Write a Ansys mesh file.
Write a HYPERMESH ascii file.
Writes a NASTRAN file.
Write a PATRAN mesh file.
Write a STL boundary mesh file.
Enables/disables the writing of binary files.
Lists the names of the converters that are used to change foreign mesh (while importing mesh files from third-party packages) files.
Enables you to change the extension (such as .cas, .msh, .neu) and arguments used with a specified filter. For example, if you saved the PATRAN files with a .NEU extension instead of .neu, you can substitute or add .NEU to the extension list. For some filters, one of the arguments will be the dimensionality of the grid. When you use the filter-options command for such a filter, you will see a default dimensionality argument of -d a. The dimension will automatically be determined, so you need not substitute 2 or 3 for a.
Indicate whether to write Ansys common fluids format (CFF) files or legacy case files.
Bases:
TUIMenu
Enables you to import mesh information generated by some CAD packages (Ansys, I-deas, NASTRAN, PATRAN, and HYPERMESH), as well as mesh information in the CGNS (CFD general notation system) format.
Methods:
ansys_surf_mesh
(*args, **kwargs)Enables you to read a Ansys surface mesh file.
ansys_vol_mesh
(*args, **kwargs)Enables you to read a Ansys volume mesh file.
cad
(*args, **kwargs)Enables you to import CAD files based on the options set.
cad_geometry
(*args, **kwargs)Enables you to import CAD files based on the options set.
cgns_surf_mesh
(*args, **kwargs)Enables you to read a CGNS surface mesh file.
cgns_vol_mesh
(*args, **kwargs)Enables you to read a CGNS volume mesh file.
fidap_surf_mesh
(*args, **kwargs)Enables you to read a FIDAP surface mesh file.
fidap_vol_mesh
(*args, **kwargs)Enables you to read a FIDAP volume mesh file.
fl_uns2_mesh
(*args, **kwargs)Enables you to read a Fluent UNS V2 case file.
fluent_2d_mesh
(*args, **kwargs)Enables you to read a 2D mesh into the 3D version.
fluent_3d_mesh
(*args, **kwargs)Read a 3D mesh.
gambit_surf_mesh
(*args, **kwargs)Enables you to read a GAMBIT surface mesh file.
gambit_vol_mesh
(*args, **kwargs)Enables you to read a GAMBIT volume mesh file.
hypermesh_surf_mesh
(*args, **kwargs)Enables you to read a HYPERMESH surface mesh file.
hypermesh_vol_mesh
(*args, **kwargs)Enables you to read a HYPERMESH volume mesh file.
ideas_surf_mesh
(*args, **kwargs)Enables you to read an I-deas surface mesh file.
ideas_vol_mesh
(*args, **kwargs)Enables you to read an I-deas volume mesh file.
nastran_surf_mesh
(*args, **kwargs)Enables you to read a NASTRAN surface mesh file.
nastran_vol_mesh
(*args, **kwargs)Enables you to read a NASTRAN volume mesh file.
patran_surf_mesh
(*args, **kwargs)Enables you to read a PATRAN surface mesh file.
patran_vol_mesh
(*args, **kwargs)Enables you to read a PATRAN volume mesh file.
reimport_last_with_cfd_surface_mesh
(*args, ...)Reimport CAD using the size field.
stl
(*args, **kwargs)Read a surface mesh from a stereolithography (STL) file.
Classes:
cad_options
(path, service)Contains additional options for importing CAD files.
Enables you to read a Ansys surface mesh file.
Enables you to read a Ansys volume mesh file.
Enables you to import CAD files based on the options set.
Enables you to import CAD files based on the options set.
Bases:
TUIMenu
Contains additional options for importing CAD files.
Methods:
continue_on_error
(*args, **kwargs)Enables you to continue the import of the CAD file(s), despite errors or problems creating the faceting on certain surfaces, or other issues.
create_cad_assemblies
(*args, **kwargs)Enables creating the CAD Assemblies tree on CAD import.
Create label Per Body during cad faceting.
derive_zone_name_from_object_scope
(*args, ...)Enables zones without Named Selections to inherit the object name on import.
double_connected_face_label
(*args, **kwargs)Adds the specified label to the name of double-connected face zones (face zones shared by two bodies).
enclosure_symm_processing
(*args, **kwargs)Enables processing of enclosure and symmetry named selections during import.
extract_features
(*args, **kwargs)Enables feature extraction from the CAD model on import.
import_body_names
(*args, **kwargs)Enables import of Body names from the CAD files.
import_curvature_data_from_CAD
(*args, **kwargs)Enables importing of the curvature data from the nodes of the CAD facets.
import_label_for_body_named_selection
(*args, ...)Import face zone labels for body named selections.
import_part_names
(*args, **kwargs)Enables import of Part names from the CAD file(s).
merge_nodes
(*args, **kwargs)Enables the merging of geometry object nodes during CAD import.
Merge Objects per body named selection.
modify_all_duplicate_names
(*args, **kwargs)Enables you to modify all duplicate object/zone names by adding incremental integers as suffix.
name_separator_character
(*args, **kwargs):.
named_selection_tessellation_failure
(*args, ...)Set named selection for CFD surface mesh failures.
named_selections
(*args, **kwargs)Enables you to import Named Selections from the CAD file(s), including Named Selections from Ansys DesignModeler, publications from CATIA, and so on.
object_type
(*args, **kwargs)Enables the setting of object type on import.
one_face_zone_per
(*args, **kwargs)Enables you to create one face zone per body/face/object to be imported.
one_object_per
(*args, **kwargs)Enables you to create one object per body/part/file/selection to be imported.
read_all_cad_in_subdirectories
(*args, **kwargs)When enabled, all files in the specified directory as well as in its subdirectories will be imported.
reconstruct_topology
(*args, **kwargs)Reconstruct topology for STL files.
replacement_character
(*args, **kwargs)Name replacement character.
save_PMDB
(*args, **kwargs)Saves a PMDB (*.pmdb) file in the directory containing the CAD files imported.
separate_features_by_type
(*args, **kwargs)Enables separation of feature edges based on angle, connectivity, and named selections on import.
single_connected_edge_label
(*args, **kwargs)Adds the specified label to the name of single-connected edge zones (edge zones referenced by a single face).
strip_file_name_extension_from_naming
(*args, ...)Removes the extension of the CAD files from the object/face zone names on import.
strip_path_prefix_from_names
(*args, **kwargs)Enables you to remove the path prefix from the object/face zone names on import.
tessellation
(*args, **kwargs)Enables you to control the tessellation (faceting) during file import.
use_body_names
(*args, **kwargs)Use body names for CAD files.
use_collection_names
(*args, **kwargs)Enables you to use the Named Selections for the object/zone names on import.
use_component_names
(*args, **kwargs)Enables you to add the component (part or assembly) names to the object/zone names on import.
use_part_names
(*args, **kwargs)Enables you to choose whether to add the part names from the CAD file to the object and zone names on import.
Part or Body names are used as suffix for named selections spanning over multiple parts or bodies.
Enables you to continue the import of the CAD file(s), despite errors or problems creating the faceting on certain surfaces, or other issues. This option is disabled by default.
Enables creating the CAD Assemblies tree on CAD import. The CAD Assemblies tree represents the CAD tree as it is presented in the CAD package in which it was created. All sub-assembly levels from the CAD are maintained on import in Fluent Meshing. For commands specific to the CAD assemblies, refer to cad-assemblies/.
Create label Per Body during cad faceting.
Enables zones without Named Selections to inherit the object name on import. This option is disabled by default.
Adds the specified label to the name of double-connected face zones (face zones shared by two bodies).
Enables processing of enclosure and symmetry named selections during import. This option is disabled by default. This option is applicable only to Ansys DesignModeler (*.agdb) files.
Enables feature extraction from the CAD model on import. You can choose to disable this, if desired. Specify an appropriate value for feature angle. The default value is 40.
Enables import of Body names from the CAD files. This option is enabled by default. Any renaming of Body names in Ansys Mechanical/Ansys Meshing prior to the export of the mechdat/meshdat files is ignored during import. Only original Body names will be imported.
Enables importing of the curvature data from the nodes of the CAD facets. You can choose to disable this, if desired.
Import face zone labels for body named selections.
Enables import of Part names from the CAD file(s). This option is enabled by default. Any renaming of Part names in Ansys Mechanical/Ansys Meshing prior to the export of the mechdat/meshdat files is ignored during import. Only original Part names will be imported.
Enables the merging of geometry object nodes during CAD import. This option is enabled by default. This option can be optionally enabled/disabled only when geometry objects are imported using the CAD Faceting option for CAD import. Mesh object nodes will always be merged when the CFD Surface Mesh is selected for CAD import.
Merge Objects per body named selection.
Enables you to modify all duplicate object/zone names by adding incremental integers as suffix. This option is disabled by default.
:.
Set named selection for CFD surface mesh failures.
Enables you to import Named Selections from the CAD file(s), including Named Selections from Ansys DesignModeler, publications from CATIA, and so on. You can additionally choose to ignore import of certain Named Selections based on the pattern specified (for example, Layer* to ignore layer Named Selections from CATIA), or by specifying multiple wild cards (for example, ^(Color|Layer|Material).* to remove color, layer, and material Named Selections from CATIA).
Enables the setting of object type on import. The options available are auto, geometry, and mesh. The default setting is auto based on the tessellation method selected: geometry objects will be created when the cad-faceting method is used, while mesh objects will be created when the cfd-surface-mesh method is used.
Enables you to create one face zone per body/face/object to be imported.
Enables you to create one object per body/part/file/selection to be imported. The default program-controlled option allows the software to make the appropriate choice. This option makes a choice between per body and per part based on whether shared topology is off or on, respectively. For Ansys ICEM CFD files (*.tin), set the object granularity to one object per selection.
When enabled, all files in the specified directory as well as in its subdirectories will be imported. This option is disabled by default.
Reconstruct topology for STL files.
Name replacement character.
Saves a PMDB (*.pmdb) file in the directory containing the CAD files imported. You can use this file to import the same CAD file(s) again with different options set, for a quicker import than the full import. This option is disabled by default. Some options will not be available any more once the model is imported from a PMDB file (for example, enclosure-symm-processing?), since they are processed before the PMDB file is created.
Enables separation of feature edges based on angle, connectivity, and named selections on import. Edge zone names will have suitable suffixes depending on separation criteria, order of zones, existing zone names and other import options selected.
Adds the specified label to the name of single-connected edge zones (edge zones referenced by a single face).
Removes the extension of the CAD files from the object/face zone names on import. This option is disabled by default.
Enables you to remove the path prefix from the object/face zone names on import. The default setting is auto which removes the path prefix from object/face zone names when the object creation granularity is set to one object per file. You can also explicitly select yes or no.
Enables you to control the tessellation (faceting) during file import. You can select either cad-faceting or cfd-surface-mesh. CAD faceting enables you to control the tessellation based on the CAD faceting tolerance and maximum facet size specified. CFD Surface Mesh enables you to use a size field file, (Use size field file?). If you enter yes, specify the size field file to be read. If you do not want to use a size field file, you can obtain conformal faceting based on the underlying curve and surface curvature (using the minimum and maximum facet sizes, and the facet curvature normal angle specified) and edge proximity (using the cells per gap specified). You can also save a size field in a file (size field is computed based on the specified parameters; that is, Min Size, Max Size, Curvature Normal Angle, Cells Per Gap).
Use body names for CAD files.
Enables you to use the Named Selections for the object/zone names on import. Select auto, no, or yes. The default selection is auto where the Named Selection will be used as the object/zone name, except when the object creation granularity is set to one object per file.
Enables you to add the component (part or assembly) names to the object/zone names on import. Select auto, no, or yes. The default selection is auto where the component name will be added to the object/zone name.
Enables you to choose whether to add the part names from the CAD file to the object and zone names on import. The default setting is auto which adds the part names to both object and zone names when object creation granularity is set to body. When the object creation granularity is set to part or file, the part names are not added to the zone names, face zone labels, or the region names, by default. You can also explicitly select yes or no.
Part or Body names are used as suffix for named selections spanning over multiple parts or bodies.
Enables you to read a CGNS surface mesh file.
Enables you to read a CGNS volume mesh file.
Enables you to read a FIDAP surface mesh file.
Enables you to read a FIDAP volume mesh file.
Enables you to read a Fluent UNS V2 case file.
Enables you to read a 2D mesh into the 3D version.
Read a 3D mesh.
Enables you to read a GAMBIT surface mesh file.
Enables you to read a GAMBIT volume mesh file.
Enables you to read a HYPERMESH surface mesh file.
Enables you to read a HYPERMESH volume mesh file.
Enables you to read an I-deas surface mesh file.
Enables you to read an I-deas volume mesh file.
Enables you to read a NASTRAN surface mesh file.
Enables you to read a NASTRAN volume mesh file.
Enables you to read a PATRAN surface mesh file.
Enables you to read a PATRAN volume mesh file.
Reimport CAD using the size field.
Read a surface mesh from a stereolithography (STL) file.
Loads the Ansys ACT tool.
Bases:
TUIMenu
Enter to create new project, open project, save and archive project.
Methods:
archive
(*args, **kwargs)Archive Project.
new
(*args, **kwargs)Create New Project.
open
(*args, **kwargs)Open project.
save
(*args, **kwargs)Save Project.
save_as
(*args, **kwargs)Save As Project.
save_as_copy
(*args, **kwargs)Save As Copy.
Archive Project.
Create New Project.
Open project.
Save Project.
Save As Project.
Save As Copy.
Enables you to read a boundary mesh. If the boundary mesh is contained in two or more separate files, you can read them in together and assemble the complete boundary mesh. This option is also convenient if you want to reuse the boundary mesh from a file containing a large volume mesh. The naming of face zones can be controlled by Named Selections defined in Ansys Workbench. For details on exporting faceted geometry from Ansys Workbench, refer to the Ansys Workbench Help.
Enables you to read the mesh contained in a case file. Cell hierarchy in case files adapted in the solution mode will be lost when they are read in the meshing mode. Case files containing polyhedral cells can also be read in the meshing mode of Fluent. You can display the polyhedral mesh, perform certain mesh manipulation operations, check the mesh quality, and so on.
Enables you to read domain files. Each mesh file written by Fluent has a domain section. A domain file is the domain section of the mesh file and is written as a separate file. It contains a list of node, face, and cell zone IDs that make up each domain in the mesh. If a domain that is being read already exists in the mesh, a warning message is displayed. Fluent verifies if the zones defining the domains exist in the mesh. If not, it will display a warning message.
Enables you to read a journal file into the program. The read-journal command always loads the file in the main (that is, top-level) menu, regardless of where you are in the menu hierarchy when you invoke it.
Enables you to read a mesh file. You can also use this command to read a Fluent mesh file created with GAMBIT, or to read the mesh available in a Fluent case file. Reading a case file as a mesh file will result in loss of boundary condition data as the mesh file does not contain any information on boundary conditions. Case files containing polyhedral cells can also be read in the meshing mode of Fluent. You can display the polyhedral mesh, perform certain mesh manipulation operations, check the mesh quality, and so on. Important: You cannot read meshes from solvers that have been adapted using hanging nodes. To read one of these meshes in the meshing mode in Fluent, coarsen the mesh within the solver until you have recovered the original unadapted grid. The naming of face zones can be controlled by Named Selections defined in Ansys Workbench. For details on exporting faceted geometry from Ansys Workbench, refer to the Ansys Workbench Help.
Reads mesh varaibles from a mesh file.
Uses the tmerge utility to read the mesh contained in two or more separate files. It enables you to read the mesh files together and helps assemble the complete mesh.
Enables you to read multiple boundary mesh files into the meshing mode.
Enables you to read in two or more files together and have the complete mesh assembled for you, if the mesh files are contained in two or more separate files. For example, if you are going to create a hybrid mesh by reading in a triangular boundary mesh and a volume mesh consisting of hexahedral cells, you can read both files at the same time using this command.
Enables you to set the following options for reading mesh files:.
Enables you to read in a size field file. If you read a size-field file after scaling the model, ensure that the size-field file is appropriate for the scaled model (size-field vertices should match the scaled model).
Allows you to set an idle timeout so that an idle ANSYS Fluent session will automatically save and close after the specified time.
Allows you to improve backwards compatibility for journal files. This command hides any new TUI prompts that are added at a future release of ANSYS Fluent and reverts to the arguments of the release that you specify using the command (within two full releases of the current release). The command is automatically added to a journal file as soon as you start the recording. See for details.
Displays the current release and version information.
Starts recording all input and writes it to a file. The current Fluent version is automatically recorded in the journal file. Note that commands entered using paths from older versions of Fluent will be upgraded to their current path in the journal file. See .
Starts recording input and output in a file. A transcript file contains a complete record of all standard input to and output from Fluent (usually all keyboard and user interface input and all screen output).Start the transcription process with the file/start-transcript command, and end it with the file/stop-transcript command (or by exiting the program).
Stops recording input and closes the journal file.
Stops recording input and output, and closes the transcript file.
Enables you to write the specified boundaries into a mesh file. This is useful for large cases where you may want to mesh different parts of the mesh separately and then merge them together. This enables you to avoid frequent switching between domains for such cases. You can write out selected boundaries to a mesh file and then create the volume mesh for the part in a separate session. You can then read the saved mesh into the previous session and merge the part with the rest of the mesh.
Enables you to write a case file that can be read by Fluent. You should delete dead zones in the mesh before writing the mesh or case file for Fluent.
Enables you to write all the mesh domains (except global) into a file that can be read.
Enables you to write a mesh file. You should delete dead zones in the mesh before writing the mesh or case file for Fluent.
Writes mesh varaibles to a file.
Allows you to enable or disable the enforce mesh topology option for writing mesh/case files. This option is enabled by default; where it will orient the face zones consistently when the mesh file is written. If necessary, the zones will be separated, such that each boundary face zone has at most two cell zones as neighbors, one on either side. Also, internal face zones will be inserted between neighboring cell zones that are connected by interior faces.
Enables you to write a size field file.
Bases:
TUIMenu
Manage material points.
Methods:
create_material_point
(*args, **kwargs)Enables the definition of a material point.
delete_all_material_points
(*args, **kwargs)Enables the deletion of all defined material points.
delete_material_point
(*args, **kwargs)Deletes the specified material point.
list_material_points
(*args, **kwargs)Lists all the defined material points.
Enables the definition of a material point. Specify the fluid zone name and the location to define the material point.
Enables the deletion of all defined material points.
Deletes the specified material point.
Lists all the defined material points.
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.
Activates Lean data structures to reduce memory.
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.
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.
Enables creation of a backup of the surface mesh before volume meshing starts. This option is enabled by default.
Automatically executes initialization and refinement of mesh for multiple objects.
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.
Bases:
TUIMenu
Enter Cartesian mesh menu.
Methods:
mesh
(*args, **kwargs)Generate Cartesian mesh.
Generate Cartesian mesh.
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.
Enables you to create a cavity for adding new zones to the existing volume mesh.
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.
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.
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.
Enables you to create a cavity to modify the existing volume mesh in the specified region.
Remesh a cavity in hexcore mesh.
Enables you to create a cavity for removing zones from the existing volume mesh.
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.
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.
Clears the cell zone conditions assigned to the specified zones.
Clears the cell conditions assigned to all the zones.
Enables you to copy the cell zone conditions from the zone selected to the zones specified.
Checks the mesh for topological errors.
Enables you to ensure that the mesh quality is appropriate before transferring the mesh to the solution mode.
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.
Enables you to generate a new mesh by deleting the internal mesh and leaving only the boundary faces and nodes.
Clears undo stack.
Create a cylindrical hex mesh.
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.
Enters the cutcell menu. This menu is no longer supported, and will be removed in a future release.
Deactivates Lean data structures.
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.
Activates the specified domain for meshing or reporting operations.
Creates a new domain based on the specified boundary face zones. Ensure valid boundary zones are specified; specifying invalid zones will generate an error.
Creates a new domain based on the specified cell zone.
Creates a new domain based on the specified The create-by-point option works only for cases with no overlapping face zones.
Deletes the specified domain.
Displays the boundary face zones of the specified domain.
Prints the information for the specified domain.
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.
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:8-cell-jump-in-hexcore.
Sets the number of addition cells to mark for subdivision.
Computes the maximum cell length for the hexcore mesh.
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.
Toggles the automatic deleting of the dead zones.
Sets the maximum cell length for the hex cells in the domain.
Specifies the maximum number of cells in the initial Cartesian mesh.
Merge tets into pyramids.
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.
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.
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.
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.
Aligns the boundary zones specified (using the boundaries command) with the tolerance specified (using the auto-align-tolerance command) when auto-align? is enabled.
Specifies the tolerance for aligning boundary zones when auto-align? is enabled.
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.
Specifies the extents (min and max coordinates) of the hexcore outer box. This command is available when the specify-coordinates? option is enabled.
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.
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.
Enables you to specify selected boundaries to which the hexcore mesh is to be generated using the boundaries command.
Enables you to specify the extents of the hexcore outer box using the coordinates command.
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.
Displays local sizing settings (max cell length and growth rate) for specified region(s).
Allows you to specify local sizing settings (max cell length and growth rate) for specified region(s).
Enables you to omit the tetrahedral refinement phase for reducing total cell count (default is no). Hex cell count is unaffected.
Enables you to create the hexcore mesh according to the specified parameters.
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.
Enables you to activate the specified local regions for refinement.
Enables you to deactivate the specified local regions for refinement.
Defines the local region according to the specified parameters.
Deletes the specified refinement region.
Reports the ideal hex volume for the given edge length.
Ideal quad area for given edge length.
Creates a default region encompassing the entire geometry.
Lists the defined and active regions in the console.
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.
Applies a Laplacian smoothing operator to the mesh nodes. This command can be used for smoothing of all cell types, including prismatic cells.
Shows all mesh parameters.
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.
Lists all active zones.
Lists all face zones that refer to the specified cell zone.
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:.
Enables you to change the prefix for the cell zone.
Change the suffix for specified face zones.
Copies all nodes and faces of specified cell zones.
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.
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.
Specifies a new cell zone ID. If a conflict is detected, the change will be ignored.
Prints information on all cell zones.
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.
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.
Enables you to rename a cell zone.
Specifies a new origin for the mesh, to be used for cell zone rotation. The default origin is (0,0,0).
Generates cells by revolving a face thread.
Rotates all nodes of specified cell zones by a specified angle.
Rotates all nodes of the model by a specified angle.
Scales all nodes of specified cell zones by a specified factor.
Scales all nodes of the model by a specified factor.
Sets the specified cell zones to be active.
Translates all nodes of specified cell zones by a specified vector.
Translates all nodes of the model by a specified vector.
Changes the type and name of a cell zone.
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.
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).
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.
Clears all items from the selection list.
Delete isolated cells.
Deselects the last item you selected using the select-entity command.
Places all unused nodes in a separate interior node zone.
Lists all items in the selection list.
Lists cells with skewness in a specified range.
Attempts to introduce a new node into the existing mesh.
Inserts nodes associated with node or face zone into the volume mesh.
Reports the maximum skewness of cells using the specified node.
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.
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).
Adds an entity (face, node, cell, etc.) to the selection list.
Applies Laplace smoothing to the nodes in the selection list.
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.
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.
Toggles the creation of a non-conformal interface.
Specifies the method to be used for retriangulating the quad faces on the non-conformal zones.
Creates the non-conformal interface on the specified face zones using the specified retriangulation method.
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.
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.
Merge nodes to remove short edges and small faces. The decision threshold uses edge size ratio, face size ratio, and (face) area fraction.
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.
Sets cell volume distribution function as geometric, linear, or size-field.
Sets the threshold for the size ratio of two connected edges. Recommended range is 20 to 200.
Sets the threshold for the size ratio of two faces on one cell. Recommended range is 100 to 300.
Sets the minimum threshold that should be preserved as a feature.
Enables poly mesh improvement by smoothing based on the smooth-controls.
Sets the minimum skewness threshold for cell merge.
Selects the default type for non-fluid zones.
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 settings.
Clear growth settings.
List growth settings.
Sets the target skewness when remeshing.
Sets the threshold for the area of a single face to the cell surface area. Recommended range is 0.00001 to 0.001.
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 movemen