WrapperCloseGapsParams#

class ansys.meshing.prime.WrapperCloseGapsParams(model=None, target=None, gap_size=None, material_point_name=None, suggested_part_name=None, number_of_threads=None, create_new_part=None, resolution_factor=None, json_data=None, **kwargs)#

WrapperCloseGapsParams to define parameters for close gaps operation.

Parameters:
model: Model

Model to create a WrapperCloseGapsParams object with default parameters.

target: ScopeDefinition, optional

Scope of target face zonelets to patch gaps between scope and target. If empty scope is provided, CloseGaps patch gaps within scope.

gap_size: float, optional

Maximum gap size to be closed.

material_point_name: str, optional

Material point name near the gaps to be closed.

suggested_part_name: str, optional

Suggested part name for created patching surfaces.

number_of_threads: int, optional

Number of threads for multithreading.

create_new_part: bool, optional

Creates a new gap closure part. If set to false, merge the patches to the adjacent face zonelet with the highest face count in the input.

resolution_factor: float, optional

Factor to resolve the smallest gap for the given gap size.

json_data: dict, optional

JSON dictionary to create a WrapperCloseGapsParams object with provided parameters.

Examples

>>> wrapper_close_gaps_params = prime.WrapperCloseGapsParams(model = model)

Methods

WrapperCloseGapsParams.print_default()

Print the default values of WrapperCloseGapsParams object.

WrapperCloseGapsParams.set_default([target, ...])

Set the default values of the WrapperCloseGapsParams object.

Attributes

WrapperCloseGapsParams.create_new_part

Creates a new gap closure part.

WrapperCloseGapsParams.gap_size

Maximum gap size to be closed.

WrapperCloseGapsParams.material_point_name

Material point name near the gaps to be closed.

WrapperCloseGapsParams.number_of_threads

Number of threads for multithreading.

WrapperCloseGapsParams.resolution_factor

Factor to resolve the smallest gap for the given gap size.

WrapperCloseGapsParams.suggested_part_name

Suggested part name for created patching surfaces.

WrapperCloseGapsParams.target

Scope of target face zonelets to patch gaps between scope and target.