Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.Part

Last update: 17.07.2025

Part.compute_closed_volumes(params)

Computes volume by identifying closed volumes defined by face zonelets of the part.

Examples

>>> params = prime.ComputeVolumesParams(model = model, create_zones_type = prime.CreateVolumeZonesType.PERVOLUME)
>>> results = part.compute_closed_volumes(params)

Connect with Ansys