rapid_octree#
- class ansys.fluent.core.meshing.tui_232.main_menu.mesh.rapid_octree(path, service)
Bases:
TUIMenu
Enters the rapid octree menu, which provides text commands for using the Rapid Octree mesher.
Classes:
advanced_meshing_options
(path, service)Advanced and experimental options for octree mesh generation.
boundary_layer_mesh_configuration
(path, service)Define anisotropic refinements of the projection layer (prismatic layers).
mesh_sizing
(path, service)Enters the mesh sizing menu, which allows you to define the cell sizes.
refinement_regions
(path, service)Enters the rapid octree refinement region menu, which allows you to manage the refinement regions.
Methods:
boundary_mesh_optimization
(*args, **kwargs)Enable optimization to improve orthogonality at the boundary mesh.
boundary_treatment
(*args, **kwargs)Selects the boundary treatment option.
bounding_box
(*args, **kwargs)Defines/modifies the bounding box around the geometry.
create
(*args, **kwargs)Creates a mesh using the Rapid Octree mesher.
create_stair_step_mesh
(*args, **kwargs)Create rapid octree mesh with a cartesian boundary approximation.
delete_poor_quality_cells
(*args, **kwargs)Delete all cells with orthogonal-quality less than 0.01.
distribute_geometry
(*args, **kwargs)Enables/disables the distribution of the input geometry across partitions / compute nodes, so that it is not copied to each process.
dry_run
(*args, **kwargs)If yes: Just print diagnostic information, do not create a mesh.
estimate_cell_count
(*args, **kwargs)Give a quick estimate about the expected number of cells.
flow_volume
(*args, **kwargs)Specifies the volume to be filled by the mesh.
geometry
(*args, **kwargs)Allows you to apply the Rapid Octree mesher to a defined mesh object or geometry object rather than all available surface zones.
improve_geometry_resolution
(*args, **kwargs)Enables improved geometry resolution.
is_manifold_geo
(*args, **kwargs)Set to yes if the geomety is manifold (speed up mesh generation).
reset_bounding_box
(*args, **kwargs)Redefines the bounding box extents to encompass all of the surfaces of the currently selected geometry, and updates the base length scale used in the mesh generation process.
undo_last_meshing_operation
(*args, **kwargs)Attempts to restore the object state (including its surfaces) as it was prior to the meshing operation performed by the Rapid Octree mesher.
verbosity
(*args, **kwargs)Sets the verbosity of the messages printed by the Rapid Octree mesher.
- class advanced_meshing_options(path, service)
Bases:
TUIMenu
Advanced and experimental options for octree mesh generation.
Methods:
Force the projection algorithm to do smoothing expansion without prisms defined.
aspect_ratio_skewness_limit
(*args, **kwargs)Ignore cells with higher skew in aspect ratio improvement.
distance_erosion_factor
(*args, **kwargs)Set distance erosion factor as a factor of prism edge length.
max_num_inflection_point_iter
(*args, **kwargs)Sets the maximum number of iterations for inflection point removal during projection front fix.
mesh_optimization_scheme
(*args, **kwargs)Set optimization scheme for boundary mesh optimization in projection meshing.
projection_priority_zones
(*args, **kwargs)Prioritize zone association of faces crossing multiple boundary zones.
pseudo_normal_mode
(*args, **kwargs)Sets the mode for cumputing projection front sudo normals.
rename_bounding_box_zones
(*args, **kwargs)Set flag to change naming scheme of bounding box surface zones.
smooth_mesh_coarsening
(*args, **kwargs)Activte smoother mesh coarseing algorightm.
target_bnd_face_warp
(*args, **kwargs)Set target face warpage for boundary faces in mesh (-1.0 - 1.0).
target_cell_orthoskew
(*args, **kwargs)Set target orthoskew in mesh (0.0-1.0).
target_int_face_warp
(*args, **kwargs)Set target face warpage for interior faces in mesh (-1.0 - 1.0).
- activate_projection_layer_improvement_algorithm(*args, **kwargs)
Force the projection algorithm to do smoothing expansion without prisms defined.
- aspect_ratio_skewness_limit(*args, **kwargs)
Ignore cells with higher skew in aspect ratio improvement.
- distance_erosion_factor(*args, **kwargs)
Set distance erosion factor as a factor of prism edge length.
- max_num_inflection_point_iter(*args, **kwargs)
Sets the maximum number of iterations for inflection point removal during projection front fix.
- mesh_optimization_scheme(*args, **kwargs)
Set optimization scheme for boundary mesh optimization in projection meshing.
- projection_priority_zones(*args, **kwargs)
Prioritize zone association of faces crossing multiple boundary zones.
- pseudo_normal_mode(*args, **kwargs)
Sets the mode for cumputing projection front sudo normals.
- rename_bounding_box_zones(*args, **kwargs)
Set flag to change naming scheme of bounding box surface zones.
- smooth_mesh_coarsening(*args, **kwargs)
Activte smoother mesh coarseing algorightm. Will increase runtime!.
- target_bnd_face_warp(*args, **kwargs)
Set target face warpage for boundary faces in mesh (-1.0 - 1.0). Higher values are likely to increase pullback.
- target_cell_orthoskew(*args, **kwargs)
Set target orthoskew in mesh (0.0-1.0). Smaller values are likely to increase pullback.
- target_int_face_warp(*args, **kwargs)
Set target face warpage for interior faces in mesh (-1.0 - 1.0). Higher values are likely to increase pullback.
- class boundary_layer_mesh_configuration(path, service)
Bases:
TUIMenu
Define anisotropic refinements of the projection layer (prismatic layers).
Methods:
add
(*args, **kwargs)Add a boudnary layer definition.
delete
(*args, **kwargs)Specify the number of prismatic layers for surface zones.
delete_all
(*args, **kwargs)Specify the number of prismatic layers for surface zones.
edit
(*args, **kwargs)Specify the number of prismatic layers for surface zones.
list
(*args, **kwargs)Specify the number of prismatic layers for surface zones.
- add(*args, **kwargs)
Add a boudnary layer definition.
- delete(*args, **kwargs)
Specify the number of prismatic layers for surface zones.
- delete_all(*args, **kwargs)
Specify the number of prismatic layers for surface zones.
- edit(*args, **kwargs)
Specify the number of prismatic layers for surface zones.
- list(*args, **kwargs)
Specify the number of prismatic layers for surface zones.
- boundary_mesh_optimization(*args, **kwargs)
Enable optimization to improve orthogonality at the boundary mesh.
- boundary_treatment(*args, **kwargs)
Selects the boundary treatment option. Enter 0 for the Boundary Projection treatment or 1 for the Cartesian Snapping treatment.
- bounding_box(*args, **kwargs)
Defines/modifies the bounding box around the geometry.
- create(*args, **kwargs)
Creates a mesh using the Rapid Octree mesher.
- create_stair_step_mesh(*args, **kwargs)
Create rapid octree mesh with a cartesian boundary approximation.
- delete_poor_quality_cells(*args, **kwargs)
Delete all cells with orthogonal-quality less than 0.01.
- distribute_geometry(*args, **kwargs)
Enables/disables the distribution of the input geometry across partitions / compute nodes, so that it is not copied to each process. This reduces the memory requirements of the mesh generation significantly, especially for geometries with a high number of triangles. Note that this geometric distribution is enabled by default and is automatically deactivated if the geometry is not fully enclosed by the defined bounding box.
- dry_run(*args, **kwargs)
If yes: Just print diagnostic information, do not create a mesh.
- estimate_cell_count(*args, **kwargs)
Give a quick estimate about the expected number of cells.
- flow_volume(*args, **kwargs)
Specifies the volume to be filled by the mesh.
- geometry(*args, **kwargs)
Allows you to apply the Rapid Octree mesher to a defined mesh object or geometry object rather than all available surface zones. Note that using a mesh object with multiple volumetric regions allows you to generate multiple disconnected cell zones that can be coupled by a non-conformal mesh interface in the solution mode; all other input objects result in the creation of a single volume / cell zone.
- improve_geometry_resolution(*args, **kwargs)
Enables improved geometry resolution.
- is_manifold_geo(*args, **kwargs)
Set to yes if the geomety is manifold (speed up mesh generation).
- class mesh_sizing(path, service)
Bases:
TUIMenu
Enters the mesh sizing menu, which allows you to define the cell sizes.
Methods:
add_surface_sizing
(*args, **kwargs)Add a size function definition.
boundary_cell_size
(*args, **kwargs)Sets the default cell size for the geometry.
boundary_layers
(*args, **kwargs)Set the minimum number of constant-size cells adjacent to the geometry.
buffer_layers
(*args, **kwargs)Set the number of buffer layers.
change_surface_sizing
(*args, **kwargs)Change a size function definition.
clear_all_surface_sizings
(*args, **kwargs)Delete all size function definitions.
delete_surface_sizing
(*args, **kwargs)Delete a size function definition.
feature_angle_refinement
(*args, **kwargs)Defines the angular threshold and number of refinement levels for features.
list_surface_sizings
(*args, **kwargs)List all size function definitions.
max_cell_size
(*args, **kwargs)Sets the maximum cell size in the octree mesh.
mesh_coarsening_exponent
(*args, **kwargs)Set the exponent for mesh coarsening.
surface_coarsening_layers
(*args, **kwargs)Set the minimum number of constant-size cells adjacent to the geometry.
- add_surface_sizing(*args, **kwargs)
Add a size function definition.
- boundary_cell_size(*args, **kwargs)
Sets the default cell size for the geometry.
- boundary_layers(*args, **kwargs)
Set the minimum number of constant-size cells adjacent to the geometry.
- buffer_layers(*args, **kwargs)
Set the number of buffer layers.
- change_surface_sizing(*args, **kwargs)
Change a size function definition.
- clear_all_surface_sizings(*args, **kwargs)
Delete all size function definitions.
- delete_surface_sizing(*args, **kwargs)
Delete a size function definition.
- feature_angle_refinement(*args, **kwargs)
Defines the angular threshold and number of refinement levels for features. This text command is only available when the Boundary Projection treatment is selected through the /mesh/rapid-octree/boundary-treatment text command.
- list_surface_sizings(*args, **kwargs)
List all size function definitions.
- max_cell_size(*args, **kwargs)
Sets the maximum cell size in the octree mesh.
- mesh_coarsening_exponent(*args, **kwargs)
Set the exponent for mesh coarsening.
- surface_coarsening_layers(*args, **kwargs)
Set the minimum number of constant-size cells adjacent to the geometry.
- class refinement_regions(path, service)
Bases:
TUIMenu
Enters the rapid octree refinement region menu, which allows you to manage the refinement regions.
Methods:
add
(*args, **kwargs)Adds a refinement region to the domain.
delete
(*args, **kwargs)Deletes a refinement region.
edit
(*args, **kwargs)Edit a refinement region definition.
list
(*args, **kwargs)Lists all of the refinement regions.
list_properties
(*args, **kwargs)List the properties of a refinement region definition.
- add(*args, **kwargs)
Adds a refinement region to the domain.
- delete(*args, **kwargs)
Deletes a refinement region.
- edit(*args, **kwargs)
Edit a refinement region definition.
- list(*args, **kwargs)
Lists all of the refinement regions.
- list_properties(*args, **kwargs)
List the properties of a refinement region definition.
- reset_bounding_box(*args, **kwargs)
Redefines the bounding box extents to encompass all of the surfaces of the currently selected geometry, and updates the base length scale used in the mesh generation process.
- undo_last_meshing_operation(*args, **kwargs)
Attempts to restore the object state (including its surfaces) as it was prior to the meshing operation performed by the Rapid Octree mesher.
- verbosity(*args, **kwargs)
Sets the verbosity of the messages printed by the Rapid Octree mesher.