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
- 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
Integrate a function through the volume of an implicit body.
Inputs
| Name | Type | Description |
|---|---|---|
| Body | Implicit Body | The body to integrate through. |
| Integrand | Scalar Field | The function to integrate. |
| Relative error | Scalar | The relative error used to determine algorithm convergence. |
Outputs
| Type |
|---|
| Scalar |

