DrAmine
Ansys Employee

You need to integrate over the volume so sum of UDMI*volume or volume integral. And yes that will be depend on the mesh resolution.