ComputeVolumesResults
Last update: 29.04.2026class ansys.meshing.prime.ComputeVolumesResults(model=None, error_code=None, error_locations=None, volumes=None, material_point_volumes=None, external_open_face_zonelets=None, warning_codes=None, json_data=None, **kwargs)
Results associated with compute volumes.
Parameters:
model: Model
Model to create a ComputeVolumesResults object with default parameters.
error_code: ErrorCode, optional
Error code associated with the failure of operation.
error_locations: Iterable[float], optional
Coordinates of problematic locations in the surface mesh.
volumes: Iterable[int], optional
Ids of computed volumes.
material_point_volumes: Iterable[int], optional
Ids of computed volumes enclosing material points.
external_open_face_zonelets: Iterable[int], optional
Face zonelet ids that are in external space and not part of any computed volumes.
warning_codes: List[WarningCode], optional
Warning codes associated with the compute volumes.
json_data: dict, optional
JSON dictionary to create a ComputeVolumesResults object with provided parameters.
Examples
>>> compute_volumes_results = prime.ComputeVolumesResults(model = model)
Methods
| Name | Description |
|---|---|
ComputeVolumesResults.print_default() |
Print the default values of ComputeVolumesResults object. |
ComputeVolumesResults.set_default([...]) |
Set the default values of the ComputeVolumesResults object. |
Attributes
| Name | Description |
|---|---|
ComputeVolumesResults.error_code |
Error code associated with the failure of operation. |
ComputeVolumesResults.error_locations |
Coordinates of problematic locations in the surface mesh. |
ComputeVolumesResults.external_open_face_zonelets |
Face zonelet ids that are in external space and not part of any computed volumes. |
ComputeVolumesResults.material_point_volumes |
Ids of computed volumes enclosing material points. |
ComputeVolumesResults.volumes |
Ids of computed volumes. |
ComputeVolumesResults.warning_codes |
Warning codes associated with the compute volumes. |