Skip to main content

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 Integrate a function through the volume of an implicit body.

Inputs

NameTypeDescription
BodyImplicit BodyThe body to integrate through.
IntegrandScalar FieldThe function to integrate.
Relative errorScalarThe relative error used to determine algorithm convergence.

Outputs

Type
Scalar