mesh#
Bases:
TUIMenu
Enter the mesh menu.
Classes:
adapt
(path, service)Enters the mesh adaption menu.
geometry
(path, service)Enter the geometry menu.
modify_zones
(path, service)Enters the zone modification menu.
polyhedra
(path, service)Enters the polyhedra menu.
reorder
(path, service)Reorders domain menu.
repair_improve
(path, service)Enter the repair and improve quality menu.
surface_mesh
(path, service)Enters the Surface Mesh menu.
Methods:
adjacency
(*args, **kwargs)Views and renames face zones adjacent to selected cell zones.
check
(*args, **kwargs)Performs various mesh consistency checks and displays a report in the console that lists the domain extents, the volume statistics, the face area statistics, and any warnings, as well as details about the various checks and mesh failures (depending on the setting specified for mesh/check-verbosity).
check_before_solve
(*args, **kwargs)The default value for mesh/check-before-solve is “no”.
check_verbosity
(*args, **kwargs)Sets the level of details that will be added to the mesh check report generated by mesh/check.
enhanced_orthogonal_quality
(*args, **kwargs)Enables / disables an enhanced definition when calculating the orthogonal quality.
memory_usage
(*args, **kwargs)Reports solver memory use.
mesh_info
(*args, **kwargs)Prints zone information size.
quality
(*args, **kwargs)Displays information about the quality of the mesh in the console, including the minimum orthogonal quality and the maximum aspect ratio.
redistribute_boundary_layer
(*args, **kwargs)Redistributes the nodes in a boundary layer zone to achieve a desired growth rate after anisotropic adaption.
replace
(*args, **kwargs)Replace mesh and interpolate data.
rotate
(*args, **kwargs)Rotates the mesh.
scale
(*args, **kwargs)Prompts for the scaling factors in each of the active Cartesian coordinate directions.
set_unit_system
(*args, **kwargs)To apply standard set of units to all quantities.
show_periodic_shadow_zones
(*args, **kwargs)Option to show periodic shadow zones in user interface.
size_info
(*args, **kwargs)Prints mesh size.
smooth_mesh
(*args, **kwargs)Smooths the mesh using quality-based, Laplacian, or skewness methods.
swap_mesh_faces
(*args, **kwargs)Swaps mesh faces.
translate
(*args, **kwargs)Prompts for the translation offset in each of the active Cartesian coordinate directions.
units
(*args, **kwargs)Set unit conversion factors.
Bases:
TUIMenu
Enters the mesh adaption menu.
Methods:
adapt_mesh
(*args, **kwargs)Performs manual adaption on the mesh according to the methods and settings that you specified.
anisotropic_adaption
(*args, **kwargs)Applies legacy anisotropic adaption to refine the boundary layers or registers.
coarsening_criteria
(*args, **kwargs)Allows you to provide an expression for the coarsening criterion.
display_adaption_cells
(*args, **kwargs)Displays the cells that are marked for adaption in the graphics window.
free_hierarchy
(*args, **kwargs)Deletes the defined adaption hierarchy.
list_adaption_cells
(*args, **kwargs)Prints the number of cells marked for refinement, coarsening, and both to the console.
manual_coarsening_criteria
(*args, **kwargs)Set expression for manual coarsening criterion.
manual_refinement_criteria
(*args, **kwargs)Set expression for manual refinement criterion.
refinement_criteria
(*args, **kwargs)Allows you to provide an expression for the refinement criterion.
Classes:
cell_registers
(path, service)Enters the cell registers menu.
geometry
(path, service)Enters the geometry menu.
manage_criteria
(path, service)Enters the manage criteria menu, which provides text commands for managing automatic adaption criteria.
multi_layer_refinement
(path, service)Enter the multiple boundary layer refinement menu.
profile
(path, service)Enters the profile menu.
set
(path, service)Enters the set menu.
Performs manual adaption on the mesh according to the methods and settings that you specified.
Applies legacy anisotropic adaption to refine the boundary layers or registers. Cells will be split in the normal direction to the boundary face. Note that this text command is only available for 3D cases that have the adaption method set to hanging node.
Bases:
TUIMenu
Enters the cell registers menu.
Methods:
adapt
(*args, **kwargs)Adapt cell register objects.
add
(*args, **kwargs)Add a new object.
apply_poor_mesh_numerics
(*args, **kwargs)Applies poor mesh numerics to the mesh of a cell register.
coarsen
(*args, **kwargs)Coarsen the mesh based on a cell register.
delete
(*args, **kwargs)Deletes a cell register.
display
(*args, **kwargs)Displays a cell register.
edit
(*args, **kwargs)Edit an object.
list
(*args, **kwargs)Lists all of the currently defined cell registers.
list_properties
(*args, **kwargs)Lists the properties of a cell register.
refine
(*args, **kwargs)Refine the mesh based on a cell register.
Adapt cell register objects.
Add a new object.
Applies poor mesh numerics to the mesh of a cell register.
Coarsen the mesh based on a cell register.
Deletes a cell register.
Displays a cell register.
Edit an object.
Lists all of the currently defined cell registers.
Lists the properties of a cell register.
Refine the mesh based on a cell register.
Allows you to provide an expression for the coarsening criterion.
Displays the cells that are marked for adaption in the graphics window.
Deletes the defined adaption hierarchy.
Bases:
TUIMenu
Enters the geometry menu. Note that this text command menu is not available unless the adaption method is set to hanging node.
Methods:
reconstruct_geometry
(*args, **kwargs)Enables/disables geometry-based adaption.
set_geometry_controls
(*args, **kwargs)Sets geometry controls for wall zones.
Enables/disables geometry-based adaption.
Sets geometry controls for wall zones.
Prints the number of cells marked for refinement, coarsening, and both to the console.
Bases:
TUIMenu
Enters the manage criteria menu, which provides text commands for managing automatic adaption criteria.
Methods:
add
(*args, **kwargs)Adds a new automatic adaption criterion.
delete
(*args, **kwargs)Deletes an existing automatic adaption criterion.
edit
(*args, **kwargs)Edits an existing automatic adaption criterion.
list
(*args, **kwargs)Lists all the existing automatic adaption criteria.
list_properties
(*args, **kwargs)Lists the properties of an existing automatic adaption criterion.
Adds a new automatic adaption criterion.
Deletes an existing automatic adaption criterion.
Edits an existing automatic adaption criterion.
Lists all the existing automatic adaption criteria.
Lists the properties of an existing automatic adaption criterion.
Set expression for manual coarsening criterion.
Set expression for manual refinement criterion.
Bases:
TUIMenu
Enter the multiple boundary layer refinement menu.
Methods:
boundary_zones
(*args, **kwargs)Specify boundary zones for refinement.
layer_count
(*args, **kwargs)Specify the layer count for refinement.
parameters
(*args, **kwargs)Specify parameters for multiple boundary layer refinement.
refine_mesh
(*args, **kwargs)Refine the mesh for multiple boundary layers.
Specify boundary zones for refinement.
Specify the layer count for refinement.
Specify parameters for multiple boundary layer refinement.
Refine the mesh for multiple boundary layers.
Bases:
TUIMenu
Enters the profile menu.
Methods:
clear
(*args, **kwargs)Clears the adaption profiling counters.
disable
(*args, **kwargs)Disables adaption profiling.
enable
(*args, **kwargs)Enables adaption profiling.
print
(*args, **kwargs)Prints adaption profiling results.
Clears the adaption profiling counters.
Disables adaption profiling.
Enables adaption profiling.
Prints adaption profiling results.
Allows you to provide an expression for the refinement criterion.
Bases:
TUIMenu
Enters the set menu.
Methods:
additional_refinement_layers
(*args, **kwargs)Allows you to specify additional refinement layers (this is an advanced control).
anisotropic_adaption
(*args, **kwargs)Enables / disables anisotropic adaption for prismatic cells as part of manual adaption.
anisotropic_boundary_zones
(*args, **kwargs)Allows you to select the boundary zones that specify directions for anisotropic refinement with the PUMA method.
anisotropic_split_ratio
(*args, **kwargs)Sets the split ratio for the cells as part of anisotropic refinement with the PUMA method.
cell_zones
(*args, **kwargs)Sets cell zones to be used for marking adaption.
display_settings
(*args, **kwargs)Sets the graphics display options for the refinement, coarsening, and common cells.
dynamic_adaption
(*args, **kwargs)Adapt the mesh during solution.
dynamic_adaption_frequency
(*args, **kwargs)Set frequency for dynamic adaption.
encapsulate_children
(*args, **kwargs)Encapsulate all children of parent cells on the same partition.
maximum_cell_count
(*args, **kwargs)Sets an approximate limit to the total cell count of the mesh during adaption.
maximum_refinement_level
(*args, **kwargs)Controls the number of levels of refinement used to split cells during the adaption.
method
(*args, **kwargs)Sets the adaption method.
minimum_cell_quality
(*args, **kwargs)Sets the minimum value allowed for the orthogonal quality of cells during adaption.
minimum_edge_length
(*args, **kwargs)Sets an approximate limit to the edge length for cells that are considered for refinement.
overset_adapt_dead_cells
(*args, **kwargs)Enables/disables the adaption of dead cells in overset meshes.
verbosity
(*args, **kwargs)Allows you set how much information about the adaption is printed to the console.
Allows you to specify additional refinement layers (this is an advanced control).
Enables / disables anisotropic adaption for prismatic cells as part of manual adaption. Note that this text command requires that the adaption method is set to PUMA.
Allows you to select the boundary zones that specify directions for anisotropic refinement with the PUMA method.
Sets the split ratio for the cells as part of anisotropic refinement with the PUMA method.
Sets cell zones to be used for marking adaption. An empty list specifies that all zones are considered for adaption.
Sets the graphics display options for the refinement, coarsening, and common cells.
Adapt the mesh during solution.
Set frequency for dynamic adaption.
Encapsulate all children of parent cells on the same partition.
Sets an approximate limit to the total cell count of the mesh during adaption. Fluent uses this value to determine when to stop marking cells for refinement. A value of zero places no limits on the number of cells.
Controls the number of levels of refinement used to split cells during the adaption.
Sets the adaption method.
Sets the minimum value allowed for the orthogonal quality of cells during adaption. If your solution diverges, you may find that using a higher minimum quality value resolves the issue. This text command is only available with the PUMA 3D adaption method.
Sets an approximate limit to the edge length for cells that are considered for refinement. Even if a cell is marked for refinement, it will not be refined if (for 3D) its volume is less than the cube of this field or (for 2D) its area is less than the square of this field. The default value of zero places no limits on the size of cells that are refined.
Enables/disables the adaption of dead cells in overset meshes.
Allows you set how much information about the adaption is printed to the console.
Views and renames face zones adjacent to selected cell zones.
Performs various mesh consistency checks and displays a report in the console that lists the domain extents, the volume statistics, the face area statistics, and any warnings, as well as details about the various checks and mesh failures (depending on the setting specified for mesh/check-verbosity).
The default value for mesh/check-before-solve is “no”. If mesh/check-before-solve is set to “yes”, a mesh check operation will be invoked prior to starting solver. If grid check fails, solver will be interrupted, and relevant information will be printed in the Fluent console.
Sets the level of details that will be added to the mesh check report generated by mesh/check. A value of 0 (the default) notes when checks are being performed, but does not list them individually. A value of 1 lists the individual checks as they are performed. A value of 2 enables the availability of additional mesh field variables, lists the individual checks as they are performed, and provides additional details (for example, the location of the problem, the affected cells). The check-verbosity text command can also be used to set the level of detail displayed in the mesh quality report generated by mesh/quality. A value of 0 (the default) or 1 lists the minimum orthogonal quality and the maximum aspect ratio. A value of 2 adds information about the zones that contain the cells with the lowest quality, and additional metrics such as the maximum cell squish index and the minimum expansion ratio.
Enables / disables an enhanced definition when calculating the orthogonal quality. When enabled, the orthogonal quality is defined using a variety quality measures, including: the orthogonality of a face relative to a vector between the face and cell centroids; a metric that detects poor cell shape at a local edge (such as twisting and/or concavity); and the variation of normals between the faces that can be constructed from the cell face. This enhanced definition is optimal for evaluating thin prism cells.
Bases:
TUIMenu
Enter the geometry menu.
Methods:
add
(*args, **kwargs)Add a new object.
delete
(*args, **kwargs)Delete an object.
display
(*args, **kwargs)Display geometry.
edit
(*args, **kwargs)Edit an object.
list
(*args, **kwargs)List objects.
list_properties
(*args, **kwargs)List properties of an object.
Add a new object.
Delete an object.
Display geometry.
Edit an object.
List objects.
List properties of an object.
Reports solver memory use.
Prints zone information size.
Bases:
TUIMenu
Enters the zone modification menu. For a description of the items in this menu, see define/boundary-conditions/modify-zones.
Methods:
activate_cell_zone
(*args, **kwargs)Activate a cell thread.
append_mesh
(*args, **kwargs)Append new mesh.
append_mesh_data
(*args, **kwargs)Append new mesh with data.
change_zone_phase
(*args, **kwargs)Change the realgas phase for a zone.
change_zone_state
(*args, **kwargs)Change the realgas material state for a zone.
convert_all_solid_mrf_to_solid_motion
(*args, ...)Change all solid zones motion specification from MRF to solid motion.
copy_mesh_to_mrf_motion
(*args, **kwargs)Copy motion variable values for origin, axis and velocities from Mesh Motion to Frame Motion.
copy_move_cell_zone
(*args, **kwargs)Copy and translate or rotate a cell zone.
copy_mrf_to_mesh_motion
(*args, **kwargs)Copy motion variable values for origin, axis and velocities from Frame Motion to Mesh Motion.
create_all_shell_threads
(*args, **kwargs)Mark all finite thickness wall for shell creation.
create_periodic_interface
(*args, **kwargs)Create a conformal or non-conformal periodic interface.
deactivate_cell_zone
(*args, **kwargs)Deactivate cell thread.
delete_all_shells
(*args, **kwargs)Delete all shell zones and switch off shell conduction on all the walls.
delete_cell_zone
(*args, **kwargs)Delete a cell thread.
extrude_face_zone_delta
(*args, **kwargs)Extrude a face thread a specified distance based on a list of deltas.
extrude_face_zone_para
(*args, **kwargs)Extrude a face thread a specified distance based on a distance and a list of parametric locations between 0 and 1 (eg.
fuse_face_zones
(*args, **kwargs)Attempt to fuse zones by removing duplicate faces and nodes.
list_zones
(*args, **kwargs)List zone IDs, types, kinds, and names.
make_periodic
(*args, **kwargs)Attempt to establish conformal periodic face zone connectivity.
matching_tolerance
(*args, **kwargs)Set the normalized tolerance used for finding coincident nodes.
merge_zones
(*args, **kwargs)Merge zones of the same type and condition into one.
mrf_to_sliding_mesh
(*args, **kwargs)Change motion specification from MRF to moving mesh.
orient_face_zone
(*args, **kwargs)Orient the face zone.
recreate_all_shells
(*args, **kwargs)Create shell on all the walls where which were deleted using the command delete-all-shells.
replace_zone
(*args, **kwargs)Replace a cell zone.
rotate_zone
(*args, **kwargs)Rotate nodal coordinates of input cell zones.
scale_zone
(*args, **kwargs)Scale nodal coordinates of input cell zones.
sep_cell_zone_mark
(*args, **kwargs)Separate a cell zone based on cell marking.
sep_cell_zone_region
(*args, **kwargs)Separate a cell zone based on contiguous regions.
sep_face_zone_angle
(*args, **kwargs)Separate a face zone based on significant angle.
sep_face_zone_face
(*args, **kwargs)Separate each face in a zone into unique zone.
sep_face_zone_mark
(*args, **kwargs)Separate a face zone based on cell marking.
sep_face_zone_region
(*args, **kwargs)Separate a face zone based on contiguous regions.
slit_face_zone
(*args, **kwargs)Slit a two-sided wall into two connected wall zones.
slit_interior_between_diff_solids
(*args, ...)Slit interior created between different solids into coupled walls.
slit_periodic
(*args, **kwargs)Slit a periodic zone into two symmetry zones.
translate_zone
(*args, **kwargs)Translate nodal coordinates of input cell zones.
zone_name
(*args, **kwargs)Give a zone a new name.
zone_type
(*args, **kwargs)Set a zone's type.
Activate a cell thread.
Append new mesh.
Append new mesh with data.
Change the realgas phase for a zone.
Change the realgas material state for a zone.
Change all solid zones motion specification from MRF to solid motion.
Copy motion variable values for origin, axis and velocities from Mesh Motion to Frame Motion.
Copy and translate or rotate a cell zone.
Copy motion variable values for origin, axis and velocities from Frame Motion to Mesh Motion.
Mark all finite thickness wall for shell creation. Shell zones will be created at the start of iterations.
Create a conformal or non-conformal periodic interface.
Deactivate cell thread.
Delete all shell zones and switch off shell conduction on all the walls. These zones can be recreated using the command recreate-all-shells.
Delete a cell thread.
Extrude a face thread a specified distance based on a list of deltas.
Extrude a face thread a specified distance based on a distance and a list of parametric locations between 0 and 1 (eg. 0 0.2 0.4 0.8 1.0).
Attempt to fuse zones by removing duplicate faces and nodes.
List zone IDs, types, kinds, and names.
Attempt to establish conformal periodic face zone connectivity.
Set the normalized tolerance used for finding coincident nodes.
Merge zones of the same type and condition into one.
Change motion specification from MRF to moving mesh.
Orient the face zone.
Create shell on all the walls where which were deleted using the command delete-all-shells.
Replace a cell zone.
Rotate nodal coordinates of input cell zones.
Scale nodal coordinates of input cell zones.
Separate a cell zone based on cell marking.
Separate a cell zone based on contiguous regions.
Separate a face zone based on significant angle.
Separate each face in a zone into unique zone.
Separate a face zone based on cell marking.
Separate a face zone based on contiguous regions.
Slit a two-sided wall into two connected wall zones.
Slit interior created between different solids into coupled walls.
Slit a periodic zone into two symmetry zones.
Translate nodal coordinates of input cell zones.
Give a zone a new name.
Set a zone’s type.
Bases:
TUIMenu
Enters the polyhedra menu.
Methods:
convert_domain
(*args, **kwargs)Converts the entire domain to polyhedra cells.
convert_hanging_nodes
(*args, **kwargs)Converts cells with hanging nodes/edges to polyhedra.
convert_hanging_nodes_zones
(*args, **kwargs)Convert selected cell zones with hanging nodes and faces to polyhedra.
convert_skewed_cells
(*args, **kwargs)Converts skewed cells to polyhedra.
Classes:
options
(path, service)Enters the polyhedra options menu.
Converts the entire domain to polyhedra cells.
Converts cells with hanging nodes/edges to polyhedra.
Convert selected cell zones with hanging nodes and faces to polyhedra. The selected cell zones cannot be connected to other zones.
Converts skewed cells to polyhedra.
Bases:
TUIMenu
Enters the polyhedra options menu.
Methods:
migrate_and_reorder
(*args, **kwargs)Enables / disables the migration of newly created partitions to the compute-nodes and the reordering of the domain as part of polyhedra conversion.
preserve_boundary_layer
(*args, **kwargs)Specifies whether boundary layer cells will be preserved when the domain is converted to polyhedra.
preserve_interior_zones
(*args, **kwargs)Enables the preservation of surfaces (that is, manifold zones of type interior) during the conversion of the domain to polyhedra.
Enables / disables the migration of newly created partitions to the compute-nodes and the reordering of the domain as part of polyhedra conversion. This is disabled by default, because it requires significant additional memory; when disabled, it is recommended that you save the case file after conversion, read it in a new Fluent session (so that the new / stored partitions become active), and then manually reorder using the mesh/reorder/reorder-domain text command. If you want to run the calculation in the current Fluent session you can enable the migrate-and-reorder? text command prior to conversion, but you must ensure that no more than half of the available memory of your system is currently used.
Specifies whether boundary layer cells will be preserved when the domain is converted to polyhedra. When the value is set to 0 (default) ANSYS Fluent checks for high aspect ratio cells at the boundary layer and if any are found, Fluent asks if you want to preserve the boundary layer. When the value is set to 1, the boundary layer cells are never preserved; when it is set to 2, the boundary layer cells are always preserved (regardless of the aspect ratio of the boundary layer cells).
Enables the preservation of surfaces (that is, manifold zones of type interior) during the conversion of the domain to polyhedra. Note that only those zones with a name that includes the string you specify will be preserved.
Displays information about the quality of the mesh in the console, including the minimum orthogonal quality and the maximum aspect ratio. The level of detail displayed depends on the setting specified for mesh/check-verbosity.
Redistributes the nodes in a boundary layer zone to achieve a desired growth rate after anisotropic adaption.
Bases:
TUIMenu
Reorders domain menu.
Methods:
band_width
(*args, **kwargs)Prints cell bandwidth.
reorder_domain
(*args, **kwargs)Reorders cells and faces using the reverse Cuthill-McKee algorithm.
reorder_zones
(*args, **kwargs)Reorders zones by partition, type, and ID.
Prints cell bandwidth.
Reorders cells and faces using the reverse Cuthill-McKee algorithm. Note that you must save a new case file (and a data file, if data exists) after reordering with this text command, as well as recreate any ray files and/or surface cluster information.
Reorders zones by partition, type, and ID.
Bases:
TUIMenu
Enter the repair and improve quality menu.
Methods:
allow_repair_at_boundaries
(*args, **kwargs)Allows the adjustment of the positions of nodes on boundaries as part of the mesh repairs performed by the mesh/repair-improve/repair text command.
improve_quality
(*args, **kwargs)Improves poor quality cells in the mesh, if possible.
Enables/disables the local conversion of degenerate cells into polyhedra based on skewness criteria as part of the mesh repairs performed by the mesh/repair-improve/repair text command.
repair
(*args, **kwargs)Repairs mesh problems identified by the mesh check, if possible.
repair_face_handedness
(*args, **kwargs)Modifies cell centroids to repair meshes that contain left-handed faces without face node order problems.
repair_face_node_order
(*args, **kwargs)Modifies face nodes to repair faces with improper face node order and, therefore, eliminates any resulting left-handed faces.
repair_periodic
(*args, **kwargs)Modifies the mesh to enforce a rotational angle or translational distance for periodic boundaries.
repair_wall_distance
(*args, **kwargs)Corrects wall distance at very high aspect ratio hexahedral/polyhedral cells.
report_poor_elements
(*args, **kwargs)Reports invalid and poor quality elements.
Allows the adjustment of the positions of nodes on boundaries as part of the mesh repairs performed by the mesh/repair-improve/repair text command.
Improves poor quality cells in the mesh, if possible.
Enables/disables the local conversion of degenerate cells into polyhedra based on skewness criteria as part of the mesh repairs performed by the mesh/repair-improve/repair text command.
Repairs mesh problems identified by the mesh check, if possible. The repairs include fixing cells that have the wrong node order, the wrong face handedness, faces that are small or nonexistent, or very poor quality. Only interior nodes are repositioned by default; boundary nodes may be repositioned if the mesh/repair-improve/allow-repair-at-boundaries text command is enabled. Note that highly skewed cells may be converted into polyhedra, depending on whether the mesh/repair-improve/include-local-polyhedra-conversion-in-repair text command is enabled.
Modifies cell centroids to repair meshes that contain left-handed faces without face node order problems.
Modifies face nodes to repair faces with improper face node order and, therefore, eliminates any resulting left-handed faces.
Modifies the mesh to enforce a rotational angle or translational distance for periodic boundaries. For translationally periodic boundaries, the command computes an average translation distance and adjusts the node coordinates on the shadow face zone to match this distance. For rotationally periodic boundaries, the command prompts for an angle and adjusts the node coordinates on the shadow face zone using this angle and the defined rotational axis for the cell zone.
Corrects wall distance at very high aspect ratio hexahedral/polyhedral cells.
Reports invalid and poor quality elements.
Replace mesh and interpolate data.
Rotates the mesh.
Prompts for the scaling factors in each of the active Cartesian coordinate directions.
To apply standard set of units to all quantities.
Option to show periodic shadow zones in user interface.
Prints mesh size.
Smooths the mesh using quality-based, Laplacian, or skewness methods.
Bases:
TUIMenu
Enters the Surface Mesh menu.
Methods:
delete
(*args, **kwargs)Deletes surface mesh.
display
(*args, **kwargs)Displays surface meshes.
read
(*args, **kwargs)Reads surface meshes.
Deletes surface mesh.
Displays surface meshes.
Reads surface meshes.
Swaps mesh faces.
Prompts for the translation offset in each of the active Cartesian coordinate directions.
Set unit conversion factors.