15.5.29. volume

Calculates the volume of a 3D location.

volume()@<Location>

where:

  • <Location> is any 3D region (such as a domain or subdomain). An error is raised if the location specified is not a 3D object. For details, see volume.

15.5.29.1. Tools > Command Editor Example

>calculate volume, <Location>

15.5.29.2. Tools > Function Calculator Example

This example returns the sum of the volumes of each mesh element included in the location Volume1.

Function: volume, Location: Volume1