User Tools

Site Tools


programming:averaging_profiles

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

<- [[:programming]] ====== averaging & profiles ====== //hansjoerg seybold, 2010-05-05 07:38 // ~~DISCUSSION~~ Hello, I am back working with channelflow and i have some questions about how measurements can be done. What i want to do is to average velocities and higher moments in certain planes, e.g. the average u(y) profile or the average Reynolds stress. I saw that there are member functions u.profile and u.mean, which probably can be used, but i am not sure how to use them correctly and i could not find an entry in the doc. * u.mean(): calculates the mean velocity of the whole system averaging in x,y,z direction. Is the base flow included? If the baseflow is not included can i just add it bz creating a new field u1 and making u1+=dns.base() * u.profile(mx,my,i): what this function calculates exactly? * a brute force method would be to iterate over the box and make the calculations for each evaluation timestep, but it would be nice to use the already predefined functions available. Thanks a lot

programming/averaging_profiles.1273071295.txt.gz · Last modified: 2010/05/05 07:54 by hansjoerg