capping#

class ansys.fluent.core.generated.datamodel_261.meshing_workflow.Root.application.capping(service, rules, command, path=None)#

Bases: PyCommand

For solid model geometries where you want to extract a flow volume, use this task to enclose, or cap, any openings in your geometry in order to later calculate your fluid region(s). Assign a name for the capping surface, and designate the type of opening (inlet, outlet, etc.) and assign one or more zones or labels to the capping surface. Create as many caps as required to cover all openings. Choose any advanced options that you want to take effect upon updating the task. More… Parameters ———- patch_name : str

Enter a name for the capping surface.

zone_typestr

Choose the type of zone to assign to the capping surface (velocity inlet, pressure outlet, etc.).

patch_typestr

Choose the type of capping surface: a regular, simple opening with one or more faces: or an annular opening where the fluid is within two concentric cylinders:

selection_typestr

Choose how you want to select your surface (by label or by zone).

label_selection_listlist[str]

Choose one or more face zone labels from the list below. Use the Filter Text drop-down to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

zone_selection_listlist[str]

Choose one or more face zones from the list below. Use the Filter Text drop-down to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

topology_list : list[str] create_patch_preferences : dict[str, Any] object_association : str new_object_name : str patch_object_name : str cap_labels : list[str] zone_location : list[str] complete_zone_selection_list : list[str]

Choose one or more face zones from the list below. Use the Filter Text drop-down to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

complete_label_selection_listlist[str]

Choose one or more face zone labels from the list below. Use the Filter Text drop-down to provide text and/or regular expressions in filtering the list (for example, using *, ?, and []). Choose Use Wildcard to provide wildcard expressions in filtering the list. When you use either ? or * in your expression, the matching list item(s) are automatically selected in the list. Use ^, |, and & in your expression to indicate boolean operations for NOT, OR, and AND, respectively. More…

complete_topology_list : list[str]

Returns:
bool

Methods:

create_instance()

Create an operation instance.

__init__(service, rules, command, path=None)#

__init__ method of PyCommand class.

create_instance()#

Create an operation instance.