ZoneMeshResult#
- class ansys.meshing.prime.ZoneMeshResult(model=None, zone_name=None, element_ids=None, centroids=None, json_data=None, **kwargs)#
Results containing zone-wise mesh information.
Contains zone name, element ids and their corresponding data (such as centroid coordinates) for elements within a zone.
- Parameters:
- model: Model
Model to create a
ZoneMeshResultobject with default parameters.- zone_name: str, optional
Name of the zone where the elements belong to.
This is a beta parameter. The behavior and name may change in the future.
- element_ids: Iterable[int], optional
List of element ids in the zone.
This is a beta parameter. The behavior and name may change in the future.
- centroids: Iterable[float], optional
Flattened array of centroid coordinates [x1,y1,z1,x2,y2,z2,…].
This is a beta parameter. The behavior and name may change in the future.
- json_data: dict, optional
JSON dictionary to create a
ZoneMeshResultobject with provided parameters.
Examples
>>> zone_mesh_result = prime.ZoneMeshResult(model = model)
Methods
Print the default values of
ZoneMeshResultobject.ZoneMeshResult.set_default([zone_name, ...])Set the default values of the
ZoneMeshResultobject.Attributes
Flattened array of centroid coordinates [x1,y1,z1,x2,y2,z2,...].
List of element ids in the zone.
Name of the zone where the elements belong to.