Visualizing mean average value for each body

Numerical methods and mathematical models of Elmer
Post Reply
vencels
Posts: 66
Joined: 20 Sep 2016, 17:05
Antispam: Yes
Location: Latvia
Contact:

Visualizing mean average value for each body

Post by vencels »

Hi,

I want to calculate the mean/average value for a field (e.g., joule loss) within each body separately and save it as a field.

I intend to use it to validate the homogenization model.

Potential solutions I identified:
1) Using SaveScalars with many different masks, applying mean operation on them.
2) Writing a solver that just does that.

Are there easy and clever ways to do it?
Attachments
losses.png
losses.png (128.58 KiB) Viewed 507 times
Post Reply