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