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

SrvD: Fix seg fault if blade StC used while writing summary file #2134

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelogs/v3.5.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Other notable improvements include corrections to turbine indexing when coupled
### ServoDyn

#2079 Handling of Paths for SrvD UserSubs Input Files (@rdamiani)
#2134 Bugfix seg fault if blade StC used while writing summary file (@aplatt)


### TurbSim
Expand Down
2 changes: 1 addition & 1 deletion modules/servodyn/src/ServoDyn.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ subroutine StC_Blade_Setup(SrvD_InitInp,SrvD_p,InputFileData,SrvD_u,SrvD_y,SrvD_
! A little bit of information about the StC location
if (unsum >0) then
write(UnSum, '(A24,i2)') ' Blade StC instance: ',j
write(UnSum, '(10x,A)') 'Input file: '//trim(InputFileData%NStCfiles(j))
write(UnSum, '(10x,A)') 'Input file: '//trim(InputFileData%BStCfiles(j))
do k=1,StC_InitInp%NumMeshPts
write(UnSum, '(10x,A6,I1,A29)') 'Blade ',k,' location (global/inertial): '
write(UnSum, '(20x,3(2x,ES10.3e2))') u(1,j)%Mesh(k)%Position(1:3,1)
Expand Down