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

UA driver bug fix: sim mod 2 #23

Merged
merged 127 commits into from
Mar 9, 2024

Conversation

bjonkman
Copy link

@bjonkman bjonkman commented Mar 7, 2024

Complete this sentence
THIS PULL REQUEST IS READY TO MERGE

Feature or improvement description
This PR merges the latest dev branch from the openfast fork and fixes an indexing bug in SimMod 2 (see ba95b23) . When interpolating, the first index of the array was NOT time, so values of alpha, U, and omega were shifted.

Impacted areas of the software
UA driver, SimMod=2.

Additional supporting information
This was discovered by @eamayda in our regression testing.

Test results, if applicable
The GH action tests ran twice. Each individual test passed at least one time, though the two GH actions failed. There seems to be some issue with GH getting python unrelated to my code changes.

deslaughter and others added 30 commits July 14, 2023 16:06
This library is needed by openfastcpplib
NOTE: OpenFAST.H and OpenFAST.cpp are not resolved!!!
This commit fixes a bug where HydroDyn would segfault if no outputs were
specified in the input file.
Fix segfault in HD when no outputs specified
- vs project didn't like a `UA_OUTS` as both a preprocessor directive and value inside a type
- vs project needed LinDyn added to it
- moved override of UA_OUTS to UA driver and added initialization in BEMT & FVW so people could override the value before compiling if they wanted to debug UA inside of AeroDyn.
This would have caused issues when merging with the dev-unstable branch of OpenFAST
- update extension of UA output files
- explicitly initialize `d_34_to_ac`
Update BlCenBt inputs in MHK r-tests
The ADI_UpdateStates routine makes a copy of the AD_Input, but never destroyed that data after usage.  This could lead to memory continously getting allocated during a simulation with either ADI_C_Binding or the AD driver.
ADI: probably memory leak in ADI_UpdateStates
andrew-platt and others added 27 commits January 16, 2024 12:53
…ent_Y

AWAE: Mod_AmbWind=3 add error if HR grid not centered on turbine in Y dimension
switch from -fpic to -fPIC for all gfortran builds
- Edited Body position/orientation used for input mesh setup and initial
  positions before dynamic relaxation, to hopefully solve that coupled bodies
  were previously being initialized at 0,0,0.
- Coupled bodies should now initialize with position and orientation that is
  a combination of the relative values in the input file, plus any PtfmInit
  value passed from the glue code.
- With this change, it's possible the p%Standalone flag is not needed - TBD.
…nput

ExtLoads: move integers from inputs to parameters
Removes MD driver standalone option, bug fix on initialization
Change input string size for bathgrid and waterkin input files
our regression tests found this issue
@ebranlard ebranlard merged commit efa74e1 into ebranlard:f/ua-elast-dev Mar 9, 2024
80 of 84 checks passed
@bjonkman bjonkman deleted the f/ua-elast-dev branch March 11, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.