BCPair
Last update: 20.02.2026class ansys.meshing.prime.BCPair(model=None, source_zonelet=None, target_zonelet=None, type=None, json_data=None, **kwargs)
Used to define boundary conditions for match morphing.
-
Parameters:
model: Model : Model to create a
BCPairobject with default parameters.source_zonelet: int, optional : Id of source zonelet.
target_zonelet: int, optional : Id of target zonelet.
type: BCPairType, optional : Option to specify boundary condition pair type.
json_data: dict, optional : JSON dictionary to create a
BCPairobject with provided parameters.
Examples
>>> b_cpair = prime.BCPair(model = model)
Methods
| Name | Description |
|---|---|
BCPair.print_default() |
Print the default values of BCPair object. |
BCPair.set_default([source_zonelet, ...]) |
Set the default values of the BCPair object. |
Attributes
| Name | Description |
|---|---|
BCPair.source_zonelet |
Id of source zonelet. |
BCPair.target_zonelet |
Id of target zonelet. |
BCPair.type |
Option to specify boundary condition pair type. |