> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ComputeVolumesParams

### *class* ansys.meshing.prime.ComputeVolumesParams(model=None, volume\_naming\_type=None, create\_zones\_type=None, priority\_ordered\_names=None, material\_point\_names=None, json\_data=None, \*\*kwargs)

Parameters to compute volumes.

* **Parameters:**

  **model: Model**
  : Model to create a `ComputeVolumesParams` object with default parameters.

  **volume\_naming\_type: VolumeNamingType, optional**
  : Indicates source type used to compute zone name for volumes.

  **create\_zones\_type: CreateVolumeZonesType, optional**
  : Option to control volume zone creation for volumes.

  **priority\_ordered\_names: List\[str], optional**
  : Zone names for volumes are identified based on the priority in the list. Position index of name in the list determines its priority. Lower the index, higher the priority. Name with highest priority among names from volumeNamingType of face zonelets is identified as zone name for volume. Lowest priority is assigned to all names that are not in the list. When all names identified are of lowest priority, names having higher surface area of faces zonelets are identified as zone name for volume.

  **material\_point\_names: List\[str], optional**
  : Material point names provided to identify volumes. Material point names will have precedence over the volume names.

  **json\_data: dict, optional**
  : JSON dictionary to create a `ComputeVolumesParams` object with provided parameters.

### Examples

```python theme={null}
>>> compute_volumes_params = prime.ComputeVolumesParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`ComputeVolumesParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.print_default)() | Print the default values of `ComputeVolumesParams` object. |
| [`ComputeVolumesParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.set_default)(\[...]) | Set the default values of the `ComputeVolumesParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`ComputeVolumesParams.create_zones_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.create_zones_type) | Option to control volume zone creation for volumes. |
| [`ComputeVolumesParams.material_point_names`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.material_point_names) | Material point names provided to identify volumes. |
| [`ComputeVolumesParams.priority_ordered_names`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.priority_ordered_names) | Zone names for volumes are identified based on the priority in the list. |
| [`ComputeVolumesParams.volume_naming_type`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesParams.volume_naming_type) | Indicates source type used to compute zone name for volumes. |
