CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   how to see area weigted average velocity on muliple patches? (https://www.cfd-online.com/Forums/openfoam-post-processing/129419-how-see-area-weigted-average-velocity-muliple-patches.html)

oilsok February 4, 2014 19:28

how to see area weigted average velocity on muliple patches?
 
hello

I am trying to see average velocity on patches

I know this command

Code:

foamCalc mag U
 
patchAverage magU patchname

but I have 50 patches and 8milion cell.....

so it make me speding a lot of time.

so I want to ask this problem . anyone know How to calculate multiple patches?

please do not say to me please use compile or 3rd party program.

cuz I am using cross-compiled openfoam for windows, so I can not try compile and using 3rd party program such as swak4foam..

I have another question. I try to calculate area weighted velocity on patches on Paraview( used filter -> surface flow) but it make different value from openfoam(patchAverage magU patchname) why it is different? what is correct or close value for solution?


All times are GMT -4. The time now is 19:55.