In order to compute the mean value of a quantity on a volume, you need to follow the procedure below. For instance, one would like to compute the mean value of B on the volume region Region_1.

1 | Create Sensor_1 that computes the volume integral of B on Region_1. |
---|---|

2 | Create Sensor_2 that computes the volume integral of 1 on Region_1. It gives the volume of the region. |

3 | Evaluate Sensor_1 and Sensor_2 |

4 | From menu Advanced, select Current value I/O parameter and compute Mod(Sensor_1)/Sensor_2 in order to get the mean value of B on Region_1. |