Skip to content

Conversation

@bjonkman
Copy link
Contributor

@bjonkman bjonkman commented Jan 8, 2026

Feature or improvement description
On last node (at the tip), the element size for aeroacoustics calculations was calculated as half the difference in span locations between the last two nodes. This should not be divided by 2.

Related issue, if one exists

Impacted areas of the software
AeroAcoustics only

Test results, if applicable
The AeroAcoustics regression test, IEA_LB_RWT-AeroAcoustics fails. Here are some of the failing channels:

image image image image

On last node, the element size was calculated as half the distance in span between the last two nodes. This should not be divided by 2.
@andrew-platt andrew-platt self-assigned this Jan 9, 2026
@andrew-platt andrew-platt added this to the v4.2.0 milestone Jan 9, 2026
@andrew-platt
Copy link
Collaborator

This has a relatively large impact on the measurements forObs1. I'm not familiar enough with this to know if this is an important change or not. @ptrbortolotti, can you give your thoughts on this? Does this better reflect real world data, or is this within the uncertainty of measurements?

tempmean=SUM(xd%RegVxStor(:,k_minus1,rco_minus1))
tempmean=tempmean/size(xd%RegVxStor,1)
xd%RegionTIDelete(k_minus1,rco_minus1)=SQRT((SUM((xd%RegVxStor(:,k_minus1,rco_minus1)-tempmean)**2)) / size(xd%RegVxStor,1) )
xd%TIVx(j,i) = xd%RegionTIDelete(k_minus1,rco_minus1) ! only the fluctuation
Copy link
Contributor Author

@bjonkman bjonkman Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another question for @ptrbortolotti:
when TICalcMethod = 2, it computes this TIVx in line 673 as the standard deviation of the Inflow vector (in each bin). This is NOT the TI. Should we be dividing this xd%TIVx(j,i) by tempmean to get TI here?

It gets used in the InflowNoise() calculation, where it assumes it's TI.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another good catch @bjonkman. frankly I've never used TICalcMethod =2. back at TUM we saw that the method, even when implemented correctly, took a long time to converge and we always relied on user-defined input TI

@andrew-platt
Copy link
Collaborator

  • update r-test results before merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants