as the title, I try to compute the average velocity of flow through porous medium( a statistical scalar), but I can only find function like “computeAverage(*computeVelocityComponent(lattice, x, domain))” which is to get the aververy velocity of x direction

can anybody answer me how to compute the average velocity of flow? is it like “computeAverage(*computeVelocityNorm(lattice, domain))” ?

plz!