NREL / SOWFA

Other
130 stars 113 forks source link

"nAvgSector" variable in the ADM code #98

Open hcOnel opened 1 year ago

hcOnel commented 1 year ago

I've been reading the ADM code thoroughly, and I'm having a hard time understanding the use of nAvgSector variable.

I understand that nRadial is given by the user and nAzimuth is calculated automatically for each "sector" (or "radial station") to obtain an actuator point distribution that is as homogeneous as possible. "Sector" in the code denotes the group of actuator points that lie on the same radial station (a circle). Please correct me if I'm wrong up to this point.

So, let's say a sector (radial station) has 10 actuator points in the azimuthal direction. How does setting nAvgSector 1, 2 or 3 practically affect the calculation of, say, alpha?

alphaSecAvg[i][j][k] += alpha[i][k][m] / (scalar(nAzimuth[i][k])/scalar(nAvgSector[i]))

It is intuitive to average values from all of the 10 actuator points (which is done by setting nAvgSector=1 I guess?), but what does nAvgSector=3 exactly do?

This variable has a significant effect on all of the resulting forces, velocities, angles of attack etc. What might be a good value for it?