HexCoreParams#
- class ansys.meshing.prime.HexCoreParams(model=None, transition_size_field_type=None, buffer_layers=None, rel_peel_layer_offset=None, transition_layer_type=None, cell_element_type=None, surface_mesh_size_scaling=None, enable_region_based_hexcore=None, json_data=None, **kwargs)#
Parameters to control hexahedral mesh generation.
- Parameters:
- model: Model
Model to create a
HexCoreParamsobject with default parameters.- transition_size_field_type: SizeFieldType, optional
Size field type to be used for transition volume (volume between hexcore and boundary).
- buffer_layers: int, optional
Minimum number of cell layers of the same size before the cell size halves or doubles.
- rel_peel_layer_offset: float, optional
Gap between hexahedral core and geometry surface relative to the surface mesh size.
- transition_layer_type: HexCoreTransitionLayerType, optional
Handle size transition of hex cells.
- cell_element_type: HexCoreCellElementType, optional
Cell element type of hex-shaped cells.
- surface_mesh_size_scaling: SurfaceMeshSizeScaling, optional
Setting for scaling surface mesh size for hexcore refinement.
- enable_region_based_hexcore: bool, optional
Checks whether to enable region based hexcore or not.
- json_data: dict, optional
JSON dictionary to create a
HexCoreParamsobject with provided parameters.
Examples
>>> hex_core_params = prime.HexCoreParams(model = model)
Methods
Print the default values of
HexCoreParamsobject.HexCoreParams.set_default([...])Set the default values of the
HexCoreParamsobject.Attributes
Minimum number of cell layers of the same size before the cell size halves or doubles.
Cell element type of hex-shaped cells.
Checks whether to enable region based hexcore or not.
Gap between hexahedral core and geometry surface relative to the surface mesh size.
Setting for scaling surface mesh size for hexcore refinement.
Handle size transition of hex cells.
Size field type to be used for transition volume (volume between hexcore and boundary).