Good Morning everybody,
I’ve already posted something like this,but probably I was not smart enough to describe what I meant.
By means of Matlab, I’m striving to get a code enabling me to engender a 3D turbulent wind field on a grid spotted in front of a wind turbine rotor.
So far I’ve been able to generate only a circled grid of points. The algorithm I used is the subsequent:
dpsi = 2*pi/np;
for i= 1:nc,
ric(i)= r1 + (i-1)*drc;
psiip(k) = (k-1)*dpsi;
j = (i-1)*np+k;
z((i-1)*np+k)= HubHt - ric(i)*sin(psiip(k));
- np : number of points on a circle;
- nc : number of circles;
- r1 : the most inner circle’s radius;
- drc : distance between to circles;
- y,z : point coordinates;
- HubHt : hub height;
- j : point index.
I know that a squared grid is incredibly more suited for big sized wind turbine,since interpolation is the major issue. Hence,I’d like to ask if anybody could give me some hints about how to get a squared grid of points,with or without the extra hub point.
I really look forward to getting an answer whenever possible.
Greetings from Italy,