Skip to content

Commit

Permalink
Add added mass and inertia columns to function that reads AeroDyn bla…
Browse files Browse the repository at this point in the history
…de input file
  • Loading branch information
hkross committed Dec 16, 2024
1 parent f9fbbcd commit ce519b7
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions modules/aerodyn/src/AeroDyn_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1651,19 +1651,49 @@ SUBROUTINE ConvertLineToCols(Line, i, Indx, BladeKInputFileData, ErrStat, ErrMsg

c=Indx(8)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCb(I)
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%t_c(I)
END IF

c=Indx(9)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCenBn(I)
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCb(I)
END IF

c=Indx(10)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCenBn(I)
END IF

c=Indx(11)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCenBt(I)
END IF

c=Indx(12)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCpn(I)
END IF

c=Indx(13)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCpt(I)
END IF

c=Indx(14)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCan(I)
END IF

c=Indx(15)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCat(I)
END IF

c=Indx(16)
IF (c > 0) THEN
READ( Words(c), *, IOStat=IOS(c) ) BladeKInputFileData%BlCam(I)
END IF

IF (ANY(IOS /= 0)) THEN
CALL SetErrStat(ErrID_Fatal, "Unable to read numeric data from all columns in the table on row "//trim(num2lstr(i))//".", ErrStat, ErrMsg, RoutineName)
RETURN
Expand Down

0 comments on commit ce519b7

Please sign in to comment.