Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.Morpher

Last update: 17.07.2025

Morpher.match_morph(part_id, match_pairs, match_morph_params, bc_params, solve_params)

Match source and target zonelets defined by match pairs with prescribed boundary conditions for each pair. Also, solves boundary condition parameters to define uniform surface and volume regions in source neighborhood.

  • Parameters: part_id : Id of source part.

    match_pairs : Array of match pairs of sources and targets.

    match_morph_params : Match morph parameters.

    bc_params : Morph boundary condition parameters.

    solve_params : Morpher solve parameters.

  • Returns: MatchMorphResults : Returns the MatchMorphResults.

  • Return type: MatchMorphResults

Examples

>>> result = morph.match_morph([match_pair1, match_pair2], match_morph_params, bc_params, solve_params)

Connect with Ansys