Skip to main content

Prime Mesh Python client library 2025 R2 SP04

match_morph

Last update: 20.02.2026

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

Matches source and target zonelets defined using 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 source and target match pairs.

    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