[Nek5000-users] Average solution along lines

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Nov 12 22:17:14 CST 2013


Hello

For a 2d simulation I want to compute averages on y = constant lines

ua(y) = (1/L) int_0^L u(x,y) dx

My mesh is cartesian so this should be easy to do. I have seen the
y_average function which seems to do just this but I need a x_average
function I guess. I can modify this for x averages but would like to check
first that y_average computes averages along lines in 2d case ???

Thanks
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20131113/37bdc424/attachment.html>


More information about the Nek5000-users mailing list