lesfilter3d
algorithm
- filteres values of a matrix in physical space with user defined filter size
- divides matrix into small user defined cubes and calculates mean values in these cubes
syntax
[LBOXX]=lesfilter3d(f,step)
example for input
[LBOXX]=lesfilter3d(x_velocity,11)
input arguments
f |
variable to be filtered |
step |
width of filter |
output arguments
LBOXX |
filtered field of variable f |
plot |
plot of filtered and unfiltered field in a slice through the middle of the domain |