adapt#

class ansys.fluent.core.solver.tui_231.main_menu.mesh.adapt(path, service)#

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.

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. 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.

class cell_registers(path, service)#

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(*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.

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.

class geometry(path, service)#

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.

reconstruct_geometry(*args, **kwargs)#

Enables/disables geometry-based adaption.

set_geometry_controls(*args, **kwargs)#

Sets geometry controls for wall zones.

list_adaption_cells(*args, **kwargs)#

Prints the number of cells marked for refinement, coarsening, and both to the console.

class manage_criteria(path, service)#

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.

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.

manual_coarsening_criteria(*args, **kwargs)#

Set expression for manual coarsening criterion.

manual_refinement_criteria(*args, **kwargs)#

Set expression for manual refinement criterion.

class multi_layer_refinement(path, service)#

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.

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.

class profile(path, service)#

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.

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.

refinement_criteria(*args, **kwargs)#

Allows you to provide an expression for the refinement criterion.

class set(path, service)#

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.

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. Note that this text command requires that the adaption method is set to PUMA.

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. An empty list specifies that all zones are considered for 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. 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.

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. 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.

minimum_edge_length(*args, **kwargs)#

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.

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.