Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of uninitialized variables in FAST.Farm and increase stack size in Visual Studio #2118

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

deslaughter
Copy link
Contributor

This PR is ready to be merged

Feature or improvement description
This PR fixes the use of uninitialized variables when running FAST.Farm. Initialization of IfW_InitInp%MHK, IfW_InitInp%WtrDpth, and IfW_InitInp%MSL2SWL were added to AWAE. Slicing of an unallocated array was also fixed in AeroDyn_AllBldNdOuts_IO.f90. This PR also increases the stack size when building with Visual Studio.

Related issue, if one exists
#2053

Impacted areas of the software
AeroDyn_AllBldNdOuts_IO.f90
AWAE.f90

…odule

These members of the InflowWind initialization input DDT weren't being initialized and could potentially cause issues in the code when using FAST.Farm. Fixed by initializing values.
The array p_AD%FVW%Bld2Wings was indexed with iRot even if the array hadn't been allocated. This is not valid code, which was fixed by adding an if statement to only use the array if WakeMod is FVW
@andrew-platt andrew-platt changed the base branch from main to rc-3.5.3 March 26, 2024 19:22
@andrew-platt andrew-platt merged commit 106ed6b into OpenFAST:rc-3.5.3 Mar 26, 2024
38 checks passed
This was referenced Mar 26, 2024
@jjonkman jjonkman mentioned this pull request Mar 29, 2024
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.

None yet

2 participants