MorphBCParams#

class 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 MorphBCParams object 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 MorphBCParams object with provided parameters.

Examples

>>> morph_bcparams = prime.MorphBCParams(model = model)

Methods

MorphBCParams.print_default()

Print the default values of MorphBCParams object.

MorphBCParams.set_default([...])

Set the default values of the MorphBCParams object.

Attributes

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.

Examples using MorphBCParams#

Morph a hexahedral mesh of a turbine blade to a new shape

Morph a hexahedral mesh of a turbine blade to a new shape

Mesh a set of solder balls (beta)

Mesh a set of solder balls (beta)