boundary#
- class ansys.fluent.core.meshing.tui_232.main_menu.boundary(path, service)
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.
- auto_slit_faces(*args, **kwargs)
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.
- class boundary_conditions(path, service)
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.
- 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.
- 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. 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.
- 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. 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.
- 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. You can also optionally create a geometry object from the plane surface created.
- create_revolved_surface(*args, **kwargs)
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.
- create_swept_surface(*args, **kwargs)
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.
- 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. 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.
- 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. This information is useful for setting initial mesh parameters and refinement controls.
- 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.
- class feature(path, service)
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.
- 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. 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.
- 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. You can enable automatic deleting of overlapped edges and specify an appropriate intersection tolerance.
- 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. You can also enable quadratic reconstruction, if required.
- 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. The edge zone separation angle is used to separate the edge zone (default 40).
- toggle_edge_type(*args, **kwargs)
Toggles the edge type between boundary and interior.
- ungroup(*args, **kwargs)
Ungroups previously grouped edge zones.
- 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.
- class improve(path, service)
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.
- 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. The node degree is defined as the number of edges connected to the node.
- 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.
- 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. 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.
- make_periodic(*args, **kwargs)
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.
- class manage(path, service)
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.
- 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. If there is a conflict, the change will be ignored.
- 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. The default origin is (0,0,0).
- 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). 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.
- type(*args, **kwargs)
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.
- class user_defined_groups(path, service)
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.
- 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.
- mark_bad_quality_faces(*args, **kwargs)
Mark Bad Quality Faces.
- mark_duplicate_nodes(*args, **kwargs)
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.
- mark_face_intersection(*args, **kwargs)
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.
- mark_face_proximity(*args, **kwargs)
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.
- 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.
- class modify(path, service)
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.
- analyze_bnd_connectvty(*args, **kwargs)
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.
- 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). 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.
- create(*args, **kwargs)
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.
- 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. 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).
- mark_skew_face(*args, **kwargs)
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.
- merge(*args, **kwargs)
Merges pairs of nodes. The first node selected is retained, and the second is the duplicate that is merged.
- 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. The face ID, its skewness, the longest edge ID, and the node ID opposite to the longest edge are displayed in the console.
- 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. 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.
- 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. The possible functions are:.
- 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. Ensure that the model is zoomed to an appropriate level for correct selection.
- 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. You can either specify zone name or zone ID.
- smooth(*args, **kwargs)
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.
- 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. 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.
- 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. Projection can be performed based on normal direction, closest point, or specified direction.
- recover_periodic_surfaces(*args, **kwargs)
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.
- class refine(path, service)
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.
- auto_refine(*args, **kwargs)
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.
- 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. This report will also tell you how many faces on each zone have been marked for refinement.
- class local_regions(path, service)
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.
- 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.
- mark(*args, **kwargs)
Marks the faces for refinement.
- refine(*args, **kwargs)
Refines the marked faces.
- class remesh(path, service)
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.
- 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. 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.
- class controls(path, service)
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.
- 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.
- class intersect(path, service)
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.
- absolute_tolerance(*args, **kwargs)
Enables you to switch between the use of absolute and relative tolerance. By default, the relative tolerance value is used.
- delete_overlap(*args, **kwargs)
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.
- feature_angle(*args, **kwargs)
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.
- ignore_parallel_faces(*args, **kwargs)
Default is yes. If there are close-to-parallel faces, set to no to separate the zones and avoid creating an intersection loop.
- join_match_angle(*args, **kwargs)
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.
- 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. This parameter is used to control the size of the join region.
- refine_region(*args, **kwargs)
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.
- 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. 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.
- 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. This option is enabled by default.
- 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. It is useful only for the Intersect option.
- 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.
- 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. Edges created in this way will not be remeshed by default.
- 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. 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.
- intersect_face_zones(*args, **kwargs)
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.
- join_all_face_zones(*args, **kwargs)
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.
- join_face_zones(*args, **kwargs)
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.
- 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. 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.
- remesh_face_zone(*args, **kwargs)
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.
- remesh_face_zones_conformally(*args, **kwargs)
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.
- remesh_marked_faces(*args, **kwargs)
Locally remesh marked faces.
- remesh_overlapping_zones(*args, **kwargs)
Remeshes overlapping face zones. The non-overlapping region is remeshed using the edge loops created from the overlapping face zones.
- class size_functions(path, service)
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.
- compute(*args, **kwargs)
Computes the size field based on the defined parameters.
- class contours(path, service)
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.
- draw(*args, **kwargs)
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.
- class set(path, service)
Bases:
TUIMenu
Set contour options.
Methods:
refine_facets
(*args, **kwargs)Enables you to specify smaller facets if the original are too large.
- refine_facets(*args, **kwargs)
Enables you to specify smaller facets if the original are too large. Default is no.
- class controls(path, service)
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.
- curvature_method(*args, **kwargs)
Option to get facet curvature.
- meshed_sf_behavior(*args, **kwargs)
Set meshed size function processing to hard.
- 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. Gaps whose thickness is less than the global minimum size multiplied by this factor will not be regarded as a proximity gap.
- 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.
- stitch_all_face_zones(*args, **kwargs)
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.
- stitch_face_zones(*args, **kwargs)
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.
- 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. 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.
- triangulate(*args, **kwargs)
Triangulates quad zones.
- reset_element_type(*args, **kwargs)
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.
- resolve_face_intersection(*args, **kwargs)
Resolves self intersection on manifold surface meshes.
- scale_nodes(*args, **kwargs)
Applies a scaling factor to all node coordinates. You can use this command to change the units of the grid.
- class separate(path, service)
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).
- class local_regions(path, service)
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.
- 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.
- 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).
- set_periodicity(*args, **kwargs)
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.
- class shell_boundary_layer(path, service)
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.
- class controls(path, service)
Bases:
TUIMenu
Shell Boundary Layer Controls.
Classes:
zone_specific_growth
(path, service)Shell boundary Layer Growth Controls.
- class zone_specific_growth(path, service)
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_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.
- create(*args, **kwargs)
Create shell boundary layers from one or more face zones.
- 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. 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.
- 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. This menu is no longer supported, and will be removed in a future release.