    

 ## On this page

  

 

 # WrapperPatchFlowRegionsParams

 Last update: 29.04.2026 

<a id="ansys.meshing.prime.WrapperPatchFlowRegionsParams"></a>

### *class* ansys.meshing.prime.WrapperPatchFlowRegionsParams(model=None, base\_size=None, suggested\_part\_name=None, number\_of\_threads=None, dead\_regions=None, sizing\_method=None, size\_field\_ids=None, patch\_at\_live=None, json\_data=None, \*\*kwargs)

WrapperPatchFlowRegionsParams to define parameters for patch flow regions operation.

**Parameters:**

**model: Model**

Model to create a `WrapperPatchFlowRegionsParams` object with default parameters.

**base\_size: float, optional**

Base size to define octree.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**suggested\_part\_name: str, optional**

Suggested part name for created patching surfaces.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**number\_of\_threads: int, optional**

Number of threads for multithreading.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**dead\_regions: List\[DeadRegion\], optional**

List of dead regions.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**sizing\_method: SizeFieldType, optional**

Method used to define sizing method for patching.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**size\_field\_ids: Iterable\[int\], optional**

Ids used to define size field based octree refinement.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**patch\_at\_live: bool, optional**

Creates patches closer to live instead of dead.   
**This is a beta parameter**. **The behavior and name may change in the future**.

**json\_data: dict, optional**

JSON dictionary to create a `WrapperPatchFlowRegionsParams` object with provided parameters.

### Examples

```pycon
>>> wrapper_patch_flow_regions_params = prime.WrapperPatchFlowRegionsParams(model = model)

```

### Methods

NameDescription[`WrapperPatchFlowRegionsParams.print_default`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.print_default.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.print_default)()Print the default values of `WrapperPatchFlowRegionsParams` object.[`WrapperPatchFlowRegionsParams.set_default`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.set_default.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.set_default)(\[...\])Set the default values of the `WrapperPatchFlowRegionsParams` object.### Attributes

NameDescription[`WrapperPatchFlowRegionsParams.base_size`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.base_size.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.base_size)Base size to define octree.[`WrapperPatchFlowRegionsParams.dead_regions`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.dead_regions.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.dead_regions)List of dead regions.[`WrapperPatchFlowRegionsParams.number_of_threads`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.number_of_threads.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.number_of_threads)Number of threads for multithreading.[`WrapperPatchFlowRegionsParams.patch_at_live`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.patch_at_live.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.patch_at_live)Creates patches closer to live instead of dead.[`WrapperPatchFlowRegionsParams.size_field_ids`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.size_field_ids.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.size_field_ids)Ids used to define size field based octree refinement.[`WrapperPatchFlowRegionsParams.sizing_method`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.sizing_method.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.sizing_method)Method used to define sizing method for patching.[`WrapperPatchFlowRegionsParams.suggested_part_name`](ansys.meshing.prime.WrapperPatchFlowRegionsParams.suggested_part_name.md#ansys.meshing.prime.WrapperPatchFlowRegionsParams.suggested_part_name)Suggested part name for created patching surfaces.