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

# Volume Integral

## About this Block

**What it does:** The Volume Integral block integrates a function through the volume of an Implicit Body.

**Common uses:**

* Computing the volume of a body

**Tips:**

* The integrand input is the function to integrate through the body.
* Volume is the volume integral of the constant 1 through a body.
* If a body has a scalar density, it is recommended to use the Mass Properties from Body block.

## Example File

![Volume Integral](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/VolumeIntegral.jpg)

***

Integrate a function through the volume of an implicit body.

### Inputs

| Name           | Type                                                                 | Description                                                 |
| -------------- | -------------------------------------------------------------------- | ----------------------------------------------------------- |
| Body           | [Implicit Body](../../../../block-documentation/types/implicit-body) | The body to integrate through.                              |
| Integrand      | [Scalar Field](../../../../block-documentation/types/scalar-field)   | The function to integrate.                                  |
| Relative error | [Scalar](../../../../block-documentation/types/scalar)               | The relative error used to determine algorithm convergence. |

### Outputs

| Type                                                   |
| ------------------------------------------------------ |
| [Scalar](../../../../block-documentation/types/scalar) |
