MorphBCParams
Last update: 20.02.2026class ansys.meshing.prime.MorphBCParams(model=None, morph_region_method=None, morphable_layers=None, morph_region_box_extension=None, json_data=None, **kwargs)
MorphBCParams contains the input parameters for calculating the boundary conditions for a morphing problem.
-
Parameters:
model: Model : Model to create a
MorphBCParamsobject with default parameters.morph_region_method: BCsVolumetricModality, optional : Indicate options to identify morphable regions in the input volumetric mesh.
morphable_layers: int, optional : Number of layers around defined boundary.
morph_region_box_extension: float, optional : Percentage extension for the volumetric box.
json_data: dict, optional : JSON dictionary to create a
MorphBCParamsobject with provided parameters.
Examples
>>> morph_bcparams = prime.MorphBCParams(model = model)
Methods
| Name | Description |
|---|---|
MorphBCParams.print_default() |
Print the default values of MorphBCParams object. |
MorphBCParams.set_default([...]) |
Set the default values of the MorphBCParams object. |
Attributes
| Name | Description |
|---|---|
MorphBCParams.morph_region_box_extension |
Percentage extension for the volumetric box. |
MorphBCParams.morph_region_method |
Indicate options to identify morphable regions in the input volumetric mesh. |
MorphBCParams.morphable_layers |
Number of layers around defined boundary. |