Skip to main content

Prime Mesh Python client library 2025 R1

WrapperPatchFlowRegionsParams

Last update: 17.07.2025

class ansys.meshing.prime.WrapperPatchFlowRegionsParams(model=None, base_size=None, suggested_part_name=None, number_of_threads=None, dead_regions=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.

    json_data: dict, optional : JSON dictionary to create a WrapperPatchFlowRegionsParams object with provided parameters.

Examples

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

Methods

Name Description
WrapperPatchFlowRegionsParams.print_default() Print the default values of WrapperPatchFlowRegionsParams object.
WrapperPatchFlowRegionsParams.set_default([...]) Set the default values of the WrapperPatchFlowRegionsParams object.

Attributes

Name Description
WrapperPatchFlowRegionsParams.base_size Base size to define octree.
WrapperPatchFlowRegionsParams.dead_regions List of dead regions.
WrapperPatchFlowRegionsParams.number_of_threads Number of threads for multithreading.
WrapperPatchFlowRegionsParams.suggested_part_name Suggested part name for created patching surfaces.

Connect with Ansys