Viscous Dissipation

How to calculate viscous dissipation (due to fluid flow) in FreeFEM?

You have before to choose what is exactly for you viscous dissipation,
and after approximate !