Skip to content

Commit f9f1986

Browse files
authored
Merge pull request #3133 from bjonkman/b/AA_elementSize
[Bug Fix] Fix the element size calculation in AeroAcoustics module
2 parents d2be8f1 + 0c90a24 commit f9f1986

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/aerodyn/src/AeroAcoustics.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ SUBROUTINE CalcAeroAcousticsOutput(u,p,m,xd,y,errStat,errMsg)
948948
ENDIF
949949

950950
IF (J .EQ. p%NumBlNds) THEN
951-
elementspan = (p%BlSpn(J,I)-p%BlSpn(J-1,I))/2
951+
elementspan = p%BlSpn(J,I)-p%BlSpn(J-1,I)
952952
ELSE
953953
elementspan = (p%BlSpn(J,I)-p%BlSpn(J-1,I))/2 + (p%BlSpn(J+1,I)-p%BlSpn(J,I))/2
954954
ENDIF

0 commit comments

Comments
 (0)