corrfunctline
algorithm
- calculates 2-point longitudinal velocity correlation coefficients
- along several lines of the domain
- from distance 0 to distance length(X)
- calculates mean of the results of all lines
- calculates integral length scale
- plots correlation function
syntax
[meanrhok,L]=corrfunctline(x_velocity,X)
example for input
[meanrhok,L]=corrfunctline(x_velocity,X)
input arguments
| Name |
description |
| X |
X-vector of domain |
| x_velocity |
x_component of velocity vector |
output arguments
| Name |
description |
| meanrhok |
mean values of correlation functions of all lines |
| L |
Integral length scale |
| plot |
meanrho vs. distances |
corresponding 3d tools