MatchPair#
- class ansys.meshing.prime.MatchPair(model=None, source_surfaces=None, target_surfaces=None, target_type=None, bc_pairs=None, json_data=None, **kwargs)#
Match pair to specify sources, targets for match morphing. Included boundary conditions specification.
- Parameters:
- model: Model
Model to create a
MatchPair
object with default parameters.- source_surfaces: Iterable[int], optional
Ids of source surfaces.
- target_surfaces: Iterable[int], optional
Ids of target surfaces.
- target_type: MatchPairTargetType, optional
Option to specify target surface type.
- bc_pairs: List[BCPair], optional
Array of boundary condition pairs.
- json_data: dict, optional
JSON dictionary to create a
MatchPair
object with provided parameters.
Examples
>>> match_pair = prime.MatchPair(model = model)
Methods
Print the default values of
MatchPair
object.MatchPair.set_default
([source_surfaces, ...])Set the default values of the
MatchPair
object.Attributes
Array of boundary condition pairs.
Ids of source surfaces.
Ids of target surfaces.
Option to specify target surface type.