Skip to content

Updates to dev-tc: linearization visualization, bug fixes, sync with dev branch#2990

Merged
deslaughter merged 70 commits intoOpenFAST:dev-tcfrom
deslaughter:dev-tc-fixes
Sep 19, 2025
Merged

Updates to dev-tc: linearization visualization, bug fixes, sync with dev branch#2990
deslaughter merged 70 commits intoOpenFAST:dev-tcfrom
deslaughter:dev-tc-fixes

Conversation

@deslaughter
Copy link
Copy Markdown
Collaborator

This PR is ready to merge.

Feature or improvement description

This PR includes fixes and updates:

  • Synchronized branch to current version of the dev branch
  • Mode Shape Visualization failed with checkpoint generated by run using CalcSteady
  • Mode Shape Visualization from different directory (Errors resuming OpenFAST from a different directory #2553)
  • CalcSteady damping when performing structure-only simulations (wasn't being applied correctly)
  • Linearization File variable indexing was wrong for BeamDyn rotational states
  • Incorporated ability for structural controller to specify different loads on each blade (@andrew-platt)
  • Reworked BeamDyn reaction force calculation to be more straightforward
  • Added strain matrix in BeamDyn which stores the strain used to calculate elastic forces
  • Added flag to indicate module variable should not be included in linearization

Related issue, if one exists

#2553

Impacted areas of the software

Test results, if applicable

No changes to existing tests. r-test updated for new structural controller test and synchronized to dev branch.

RyanDavies19 and others added 30 commits April 23, 2025 14:59
Multiple prescribed force timeseries files for BStC
Previously it could have called SeaSt_End multiple times, written non-fatal errors multiple times, or not called MD_End at all, depending on where an error occurred in the code.
ParseVarWDefault routines were using an optional argument as if it were not optional
This could create issues for FSI coupling.  Noticed this in compilation warnings..

Consider backporting:
- backport to v4.0.7 (if we do one)
- backport to v4.1.3 (if we do one)
…rhandling

FASTlib: missing error handling on FAST_CFD_WriteOutput
More MoorDyn Output Channels in openfast-io chans
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR focuses on updating the dev-tc branch with linearization visualization, bug fixes, and synchronization with the dev branch. It includes significant improvements to the linearization framework by adding a new VF_NoLin flag to exclude variables from linearization, fixes to BeamDyn's reaction force calculations and strain matrix storage, and various other module improvements and bug fixes.

Key changes include:

  • Enhanced linearization framework with ability to exclude variables via VF_NoLin flag
  • BeamDyn improvements including strain matrix storage and reaction force calculation optimization
  • Various bug fixes across modules including MoorDyn, VTK reading, and numerical routines
  • Documentation updates and module synchronization

Reviewed Changes

Copilot reviewed 40 out of 41 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
modules/openfast-library/src/FAST_Solver.f90 Added logic to clear VF_Solve flag from variables with VF_NoLin flag
modules/openfast-library/src/FAST_ModGlue.f90 Enhanced linearization with VF_NoLin flag handling and fixed line indexing for BeamDyn
modules/openfast-library/src/FAST_Mapping.f90 Updated custom mapping functions with destination data location parameters
modules/beamdyn/src/BeamDyn.f90 Added strain matrix storage and optimized reaction force calculations
modules/nwtc-library/src/NWTC_Num.f90 Performance improvements to angle adjustment and spline interpolation functions
modules/moordyn/src/MoorDyn*.f90 Various bug fixes and improvements to error handling

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown
Contributor

@mayankchetan mayankchetan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Thank you for multi blade StC and Structure only CalcSteady!! :)

@deslaughter deslaughter merged commit c26180f into OpenFAST:dev-tc Sep 19, 2025
12 checks passed
@deslaughter deslaughter deleted the dev-tc-fixes branch September 19, 2025 20:00
This was referenced Mar 12, 2026
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.

7 participants