> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WrapperPatchFlowRegionsParams

### *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

```python theme={null}
>>> wrapper_patch_flow_regions_params = prime.WrapperPatchFlowRegionsParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`WrapperPatchFlowRegionsParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.print_default)() | Print the default values of `WrapperPatchFlowRegionsParams` object. |
| [`WrapperPatchFlowRegionsParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.set_default)(\[...]) | Set the default values of the `WrapperPatchFlowRegionsParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`WrapperPatchFlowRegionsParams.base_size`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.base_size) | Base size to define octree. |
| [`WrapperPatchFlowRegionsParams.dead_regions`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.dead_regions) | List of dead regions. |
| [`WrapperPatchFlowRegionsParams.number_of_threads`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.number_of_threads) | Number of threads for multithreading. |
| [`WrapperPatchFlowRegionsParams.patch_at_live`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.patch_at_live) | Creates patches closer to live instead of dead. |
| [`WrapperPatchFlowRegionsParams.size_field_ids`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.size_field_ids) | Used to define size field based octree refinement. |
| [`WrapperPatchFlowRegionsParams.sizing_method`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.sizing_method) | Used to define sizing method for patching. |
| [`WrapperPatchFlowRegionsParams.suggested_part_name`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.WrapperPatchFlowRegionsParams.suggested_part_name) | Suggested part name for created patching surfaces. |
