Skip to content

Commit 4d290da

Browse files
authored
Merge pull request #28 from Bartdoekemeijer/patch-1
Update horizontalAxisWindTurbinesALMAdvanced.C
2 parents 85189a2 + ea1c592 commit 4d290da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/turbineModels/turbineModelsStandard/horizontalAxisWindTurbinesALMAdvanced/horizontalAxisWindTurbinesALMAdvanced.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,7 @@ void horizontalAxisWindTurbinesALMAdvanced::computeNacellePointForce()
24492449
// We assume the nacelle creates drag only. Divide the drag up into portions
24502450
// for each nacelle point based on the ratio of nacelle element length to total
24512451
// nacelle length.
2452-
scalar contribution = nacelleDs[i][j] / NacelleLength[i];
2452+
scalar contribution = nacelleDs[i][j] / NacelleLength[m];
24532453

24542454
if (nacelleForceProjectionType[i] == "advanced2")
24552455
{

0 commit comments

Comments
 (0)