gap_model#

class ansys.fluent.core.solver.tui_231.main_menu.define.gap_model(path, service)#

Bases: TUIMenu

Enters the gap model menu, where you can define one or more gap regions where the flow is blocked or decelerated when face zones move within a specified proximity threshold of each other.

Classes:

advanced_options(path, service)

Enters the advanced options menu for the gap model.

Methods:

create(*args, **kwargs)

Creates a single gap region, so that when selected face zones move within a specified proximity threshold of each other, flow blockage / deceleration is applied to the cells that lie within the threshold.

delete(*args, **kwargs)

Deletes an existing gap region.

delete_all(*args, **kwargs)

Deletes all of the existing gap regions.

edit(*args, **kwargs)

Edits an existing gap region.

enable(*args, **kwargs)

Enables/disables the gap model.

list_gap_cell_zones(*args, **kwargs)

Lists the names of the cell zones that can be excluded for individual gap regions (so that such cells are not marked for flow blockage / deceleration).

list_gap_face_zones(*args, **kwargs)

Lists the names of the face zones that can be used for creating gap regions.

list_gap_regions(*args, **kwargs)

Lists the properties of the gap regions.

render_gap_regions(*args, **kwargs)

Update gap regions for postprocessing.

class advanced_options(path, service)#

Bases: TUIMenu

Enters the advanced options menu for the gap model.

Methods:

alternative_marking(*args, **kwargs)

Mark gap regions using an alternative marking algorithm.

cell_check_distance_factor(*args, **kwargs)

Enter value of the cell distance factor.

check_cfl_condition(*args, **kwargs)

Enables/disables the printing of warnings if the time step size is too large based on a Courant (CFL) number automatically determined for your specified solution stability level.

clear_gap_regions(*args, **kwargs)

Clear gap model solution information and marks.

enhanced_data_interpolation(*args, **kwargs)

Enables/disables the use of enhanced data interpolation when updating information in gap regions.

expert(*args, **kwargs)

Enables/disables access to expert-level text commands for the gap model.

extend_gap_regions(*args, **kwargs)

Enables/disables the extending of the gap regions by including additional cells in the vicinity of the gap interfaces during marking.

fill_data_in_gap_regions(*args, **kwargs)

Enables/disables the interpolation of solution data throughout the gap regions.

flow_blocking_stabilization_parameters(...)

Adjust stabilization settings for the sponge layer used for blocked gap regions.

include_coupled_walls(*args, **kwargs)

Include coupled walls in gap face zones.

precise_gap_marking(*args, **kwargs)

Enables/disables the use of a more accurate search algorithm for marking cells in gap regions.

reduce_gap_regions(*args, **kwargs)

Enables/disables a more restrictive algorithm for marking cells in gap regions.

render_flow_modeling_gaps(*args, **kwargs)

Enables/disables the rendering of the solution in the cells of flow-modeling gap regions during postprocessing.

render_gap_interface(*args, **kwargs)

Enables/disables the rendering of the mesh surfaces inside the gap regions when displaying the mesh with contours.

revert_controls_to_default(*args, **kwargs)

Reverts the global gap stabilization level and any related solver settings to the default.

solution_stabilization(*args, **kwargs)

Sets the global solution stabilization level for the gap regions.

sponge_layer(*args, **kwargs)

Allows you to edit the solution stabilization settings for flow-modeling gap regions that have sponge-layer local stabilization enabled.

update_gap_regions(*args, **kwargs)

Update gap regions and gap model solution information.

verbosity(*args, **kwargs)

Sets the verbosity for messages printed in the console related to the gap model.

alternative_marking(*args, **kwargs)#

Mark gap regions using an alternative marking algorithm.

cell_check_distance_factor(*args, **kwargs)#

Enter value of the cell distance factor.

check_cfl_condition(*args, **kwargs)#

Enables/disables the printing of warnings if the time step size is too large based on a Courant (CFL) number automatically determined for your specified solution stability level.

clear_gap_regions(*args, **kwargs)#

Clear gap model solution information and marks.

enhanced_data_interpolation(*args, **kwargs)#

Enables/disables the use of enhanced data interpolation when updating information in gap regions. This text command is only available if you have enabled the define/gap-model/advanced-options/expert? text command.

expert(*args, **kwargs)#

Enables/disables access to expert-level text commands for the gap model.

extend_gap_regions(*args, **kwargs)#

Enables/disables the extending of the gap regions by including additional cells in the vicinity of the gap interfaces during marking. This is useful when the default shape of the marked cells is negatively affecting solution stability or convergence behavior.

fill_data_in_gap_regions(*args, **kwargs)#

Enables/disables the interpolation of solution data throughout the gap regions. This text command is only available if you have enabled the define/gap-model/advanced-options/expert? text command.

flow_blocking_stabilization_parameters(*args, **kwargs)#

Adjust stabilization settings for the sponge layer used for blocked gap regions.

include_coupled_walls(*args, **kwargs)#

Include coupled walls in gap face zones.

precise_gap_marking(*args, **kwargs)#

Enables/disables the use of a more accurate search algorithm for marking cells in gap regions. Note that it can be costly, particularly for 3D cases or those with a large number of cells inside the gap regions. This text command is only available if you have enabled the define/gap-model/advanced-options/expert? text command.

reduce_gap_regions(*args, **kwargs)#

Enables/disables a more restrictive algorithm for marking cells in gap regions. This text command is only available if you have enabled the define/gap-model/advanced-options/expert? text command.

render_flow_modeling_gaps(*args, **kwargs)#

Enables/disables the rendering of the solution in the cells of flow-modeling gap regions during postprocessing. This text command is only available if you have enabled the define/gap-model/advanced-options/expert? text command.

render_gap_interface(*args, **kwargs)#

Enables/disables the rendering of the mesh surfaces inside the gap regions when displaying the mesh with contours. Note that the solution is still not rendered inside the flow-blocking gap regions.

revert_controls_to_default(*args, **kwargs)#

Reverts the global gap stabilization level and any related solver settings to the default.

solution_stabilization(*args, **kwargs)#

Sets the global solution stabilization level for the gap regions.

sponge_layer(*args, **kwargs)#

Allows you to edit the solution stabilization settings for flow-modeling gap regions that have sponge-layer local stabilization enabled.

update_gap_regions(*args, **kwargs)#

Update gap regions and gap model solution information.

verbosity(*args, **kwargs)#

Sets the verbosity for messages printed in the console related to the gap model.

create(*args, **kwargs)#

Creates a single gap region, so that when selected face zones move within a specified proximity threshold of each other, flow blockage / deceleration is applied to the cells that lie within the threshold.

delete(*args, **kwargs)#

Deletes an existing gap region.

delete_all(*args, **kwargs)#

Deletes all of the existing gap regions.

edit(*args, **kwargs)#

Edits an existing gap region.

enable(*args, **kwargs)#

Enables/disables the gap model.

list_gap_cell_zones(*args, **kwargs)#

Lists the names of the cell zones that can be excluded for individual gap regions (so that such cells are not marked for flow blockage / deceleration).

list_gap_face_zones(*args, **kwargs)#

Lists the names of the face zones that can be used for creating gap regions.

list_gap_regions(*args, **kwargs)#

Lists the properties of the gap regions.

render_gap_regions(*args, **kwargs)#

Update gap regions for postprocessing.