The following Matlab project contains the source code and Matlab examples used for 3d turbulent wind field by means of the mann model.
Output: 4D matrix u = u[3,Nx,Ny,Nz] with
* size(u,1) = turbulent components u-, v- and w-;
* size(u,2) = number of points Nx in the longitudinal direction, x- ;
* size(u,3) = number of points Ny in the transversal direction, y- ;
* size(u,4) = number of points Nz in the vertical direction, z- ;
When defining the grid points Nx,Ny and Nz, the user has to input not-even Ny and Nz in order to count already the hub point.