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

New Linearization and Mode-Shape Capabilities (and more) #373

Merged
merged 106 commits into from
Jul 14, 2020

Commits on Apr 15, 2019

  1. Configuration menu
    Copy the full SHA
    6fa9273 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2019

  1. Configuration menu
    Copy the full SHA
    940b95f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b050870 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Configuration menu
    Copy the full SHA
    9892f76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    202bad9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6c40cb View commit details
    Browse the repository at this point in the history
  4. Registry updates (+ corresponding change in NWTC Library)

    - updated C2F copy routines to allow for skipping the pointers (in case of module initially defining the pointers in Fortran code in instead of C/C++ code)
    - updated pack/unpack routines to avoid putting entire arrays on the stack (OpenFAST#99)
    - updated extrap/interp routines to account for values that have a period of 2pi. This change requires additional routines in NWTC_Num.f90.
    - this also includes changes that were introduces in a not-yet-merged pull request for 2D airfoil interpolation
    bjonkman committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    15deec0 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Configuration menu
    Copy the full SHA
    2cd45dd View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. Configuration menu
    Copy the full SHA
    f95b4d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Configuration menu
    Copy the full SHA
    f2892ca View commit details
    Browse the repository at this point in the history
  2. Update Registry and NWTC Library

    - Use less stack space in interpolation/extrapolation, pack, and unpack routines (fixes OpenFAST#99).
    - update auto-generated types files
    - update interp/extrap routines work on angles (over 2pi boundaries); this requires Angles_ExtrapInterp routines added to NWTC Library
    - NWTC Library
      + when reading real variables from file, check that they aren't Inf or NaN
      + remove unused code
      + add error handling to VTK read routines
      + check that size of scalars matches between meshes in transfer of data
      + add an (optional) reference node to mesh data structures
    bjonkman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    118db2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8885d9b View commit details
    Browse the repository at this point in the history
  4. Sync HydroDyn

    - continuous states are R8Ki (for VTK mode shapes)
    - Use ChanLen instead of hard-coded sizes
    bjonkman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    8b10bd2 View commit details
    Browse the repository at this point in the history
  5. Sync ElastoDyn

    - use 2pi interpolation on a few inputs/outputs
    - add some init outputs for linear trim solution
    - modify input/output mesh packing routines for VTK visualization
    bjonkman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    f7c5119 View commit details
    Browse the repository at this point in the history
  6. Sync AeroDyn

    - added nodal outputs ([optional] change in input file) -- CHECK value of ChanLen
    - placeholder for NeedWriteOutput
    - updated routine to compute AD_JacobianPInput (will not give error about being non-differentiable)
    bjonkman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    30e4fd9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e66429 View commit details
    Browse the repository at this point in the history
  8. Sync AeroDyn driver

    bjonkman committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    18f9366 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2019

  1. Sync BeamDyn

    - nodal outputs (check length of channel name)
    - send optional flag to avoid calculating WriteOutputs if they won't be used in this step
    - minor changes to use log maps in mesh packing for linearization
    bjonkman committed Nov 16, 2019
    Configuration menu
    Copy the full SHA
    f005362 View commit details
    Browse the repository at this point in the history
  2. Sync ServoDyn

    - remove prev outputs from SrvD inputs (for DLL); store them in misc vars instead
    - move call to controller to UpdateStates instead of CalcOutput
    - rework some of the DLL capabilities (move data structures around) 
      + HSSBrake can now use avrSWAP107 (or SrvD will implement a linear ramp--change comment in input files about this); 
    - trim case logic for linearization
    bjonkman committed Nov 16, 2019
    Configuration menu
    Copy the full SHA
    8ed374f View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. SrvD: fix issue if only one blade is used

    also sync some other subroutines + types file
    bjonkman committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    4955d0f View commit details
    Browse the repository at this point in the history
  2. SrvD linear bug fix: units on YawMomCom

    The units on the YawMomCom write-output channel in the linearization matrices were wrong. This would only be noticeable if you requested the YawMomCom channel from ServoDyn along with linearization matrices that included the outputs.
    bjonkman committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    d121b62 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2019

  1. Sync FAST library

    Adds
    - trim solution
    - vtk mode-shape visualization
    - vtk file-name stored as parameter instead of recalculating each time
    - ED%Output(1) renamed to ED%y for consistency (Output now used in save OP for trim solution)
    - additional damping may or may not actually work
    - CHECK: length of channel names (file format?)
    - simulink interface now allows 4000 channels instead of 1000 (all blade node outputs can significantly increase number of channels generated)
    - added logic to avoid calculating WriteOutput array when it is not necessary
    bjonkman committed Dec 4, 2019
    Configuration menu
    Copy the full SHA
    3c247cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a821f71 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Configuration menu
    Copy the full SHA
    d65ce0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09fcd62 View commit details
    Browse the repository at this point in the history
  3. BD docs [bug fix]: Update example input files

    Someone should document these, too.
    bjonkman committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d67d308 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Configuration menu
    Copy the full SHA
    1e85ffb View commit details
    Browse the repository at this point in the history
  2. NWTC_Lib: add code to write binary files with more than 10-char headers

    This is not used in OpenFAST, yet.
    bjonkman committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    986e9bb View commit details
    Browse the repository at this point in the history
  3. remove unused variables

    bjonkman committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    12f3ef2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    204da80 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    132444c View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Updates to python scripts for regression tests

    - Added `WP_Baseline` to list of directories to copy
    - Replaced `is` and `is not` with `==` and `!=` when comparing with a string literal (else they would always return false)
    bjonkman committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    ee37085 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d79060 View commit details
    Browse the repository at this point in the history
  3. NWTC Library: removed OutParmFFType

    This should be unnecessary after changing the length of the rest of the output channels. **However, it may cause some grief in the FAST.Farm code.**
    bjonkman committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    6369282 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2019

  1. Allow channel lengths up to 20 characters

    - also modifies the binary output file
    bjonkman committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    eeace1e View commit details
    Browse the repository at this point in the history
  2. Sync FAST_Prog

    - also fix issues in new code found in debugging
    - WE SHOULD CHECK THAT LINEARIZATION IS OFF when using FAST.Farm, Simulink, CFD interface, and any other cases where we are modeling more than one turbine
    bjonkman committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    7cfafbf View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. regression test plots: fix syntax

    I was tired of seeing warnings about the deprecated "legend" keyword
    bjonkman committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    b6cf2d3 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2019

  1. Add AllBldNdOuts for ElastoDyn

    also make nodal outputs for AD and BD allow 3 digits in the node number
    bjonkman committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    81c370f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b64b54c View commit details
    Browse the repository at this point in the history
  3. sync OutListParameters.xlsx

    bjonkman committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    cd7a15d View commit details
    Browse the repository at this point in the history
  4. update prefix of AeroDyn channels in nodal output

    Otherwise, they may overlap with structural nodes
    bjonkman committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    df31182 View commit details
    Browse the repository at this point in the history
  5. Fix plot labels

    Baseline and local were switched
    also fix syntax of legend label
    bjonkman committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    45f9d0f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f8ecc8 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2019

  1. update comments

    bjonkman committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    e15e964 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    070dbfc View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Configuration menu
    Copy the full SHA
    5e1604f View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Configuration menu
    Copy the full SHA
    ec59dd9 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Update of VS solution

    ebranlard committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    2b1f7fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from ebranlard/f/Linear

    Update of VS solution
    bjonkman committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    b325244 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ee30af View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. docs: updated api_change.rst

    bjonkman committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    3b50028 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e7393b View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Configuration menu
    Copy the full SHA
    f5997c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Configuration menu
    Copy the full SHA
    57efb70 View commit details
    Browse the repository at this point in the history
  2. docs: fixed some spelling errors

    Sorry, Jeff Minnema. I think your name has been spelled wrong in there for quite a while!
    bjonkman committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    e1cd5f8 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2020

  1. Configuration menu
    Copy the full SHA
    a53a1e7 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Registry: fix issue with multi-dimension arrays in extrap/interp routine

    previously worked for only 1-dimensional arrays
    bjonkman committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    5651d13 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. Fix driver builds

    bjonkman committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    5a27563 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. HD inputs from ED set before option 1 solve in fixed-bottom cases.

    Make sure HydroDyn inputs are set from ElastoDyn outputs in fixed-bottom simulations prior to starting the solve option 1 code. I don't expect this to have much effect on the results, but this more closely follows the implementation plan.
    
    Also fixed some typos in comments
    
    @jjonkman and @ghaymanNREL may want to incorporate this in other branches they are working on.
    bjonkman committed Mar 9, 2020
    Configuration menu
    Copy the full SHA
    8262753 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. update comment

    bjonkman committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    b432f33 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. Configuration menu
    Copy the full SHA
    c0beb20 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

  1. merge from OpenFAST/dev

    bjonkman committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    fc15a8e View commit details
    Browse the repository at this point in the history
  2. minor update to batch file in vs-build

    added some quotation marks in case of spaces in path names
    added "call" to command line
    bjonkman committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    58d4a8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07ff3b5 View commit details
    Browse the repository at this point in the history
  4. Minor updates

    - remove unused code
    - update text formatting
    - add version header file to vs-build
    - fix some error handling in OpenFOAM.f90
    bjonkman committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    63de719 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Configuration menu
    Copy the full SHA
    d4254d6 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    89b1c69 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'NREL/dev' into f/Linear

    fix merge conflicts from new NREL code yet again.
    bjonkman committed May 13, 2020
    Configuration menu
    Copy the full SHA
    66e308e View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. update r-test

    bjonkman committed May 14, 2020
    Configuration menu
    Copy the full SHA
    862d753 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. fix typos

    bjonkman committed May 21, 2020
    Configuration menu
    Copy the full SHA
    3ad48d2 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. AD bug fix: return DTAero to glue code

    AD was not telling the glue code what time step it is requesting, so if the value "DTAero" in the AD input file was not "default" or the value of the glue-code time step, there could be inconsistencies in the results.
    bjonkman committed May 26, 2020
    Configuration menu
    Copy the full SHA
    89f4cd3 View commit details
    Browse the repository at this point in the history
  2. FAST: put all modules' initialization data in a type

    This is part of a reorg for the next Envision-NREL collaboration: replaced individual module initInput/InitOutput types in FAST_Subs.f90/FAST_InitializeAll() with a type defined in FAST_Registry.txt.
    bjonkman committed May 26, 2020
    Configuration menu
    Copy the full SHA
    87f9162 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Configuration menu
    Copy the full SHA
    09d5d3c View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Configuration menu
    Copy the full SHA
    50f854c View commit details
    Browse the repository at this point in the history
  2. ExtPtfm: move lapack interfaces to NWTC_LAPACK

    Note that I removed ability to linearize with ExtPtfm model in OpenFAST because it isn't fully implemented (i.e., the input-output solves aren't in the linearization matrices). I also commented out the ExtPtfm standard inputs because it seems like they should be just normal inputs. At the minimum, these should be documented before being included here.
    bjonkman committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    306e04a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2020

  1. Configuration menu
    Copy the full SHA
    f85ff06 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Configuration menu
    Copy the full SHA
    766b9cc View commit details
    Browse the repository at this point in the history
  2. Bug fix: AddOrSub2Pi had infinite loop if angles were exactly pi apart

    That one's been in there for a LONG time
    bjonkman committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    41d39b6 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Configuration menu
    Copy the full SHA
    81930bc View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. Configuration menu
    Copy the full SHA
    c9c25b2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3d70a8 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. Merge pull request #10 from andrew-platt/f/Linear

    F/linear updates
    bjonkman committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    3e9dc0e View commit details
    Browse the repository at this point in the history
  2. Updated reg-test

    andrew-platt committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    ce5acab View commit details
    Browse the repository at this point in the history
  3. [BugFix] unitialized WaveDir when no waves

    This prevented the SS_Excitation from working
    andrew-platt committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    4132035 View commit details
    Browse the repository at this point in the history
  4. HD bug fix: WaveDir isn't always initialized

    also fixed some comments
    bjonkman committed Jun 23, 2020
    Configuration menu
    Copy the full SHA
    9df32ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b32598c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9e6602e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    071b6d7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4c7e6b4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8a7a605 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6a68cb7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d603d0e View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. Configuration menu
    Copy the full SHA
    66565f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e3e535 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2e116c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd03306 View commit details
    Browse the repository at this point in the history
  5. Nodal Outputs: finalize documentation for nodal outputs

    Also minor change on wording in AD error message
    andrew-platt committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    b89ae35 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #11 from rafmudaf/f/Linear

    Reg test: Update the linearization output format
    bjonkman committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    ad1dd86 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #12 from andrew-platt/f/Linear

    f/Linear -- documentation updates for nodal outputs
    bjonkman committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    f7345f2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4e23ee5 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Remove DBG_OUTS from AD15

    This functionality is replaced by the nodal outputs.
    andrew-platt committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    b775d2b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13 from andrew-platt/f/AD15_remove_DBG_OUTS

    Remove DBG_OUTS from AD15
    bjonkman committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    4d2ecb4 View commit details
    Browse the repository at this point in the history
  3. Documentation error.

    Removed duplicate nodal input sections from AD and BD example files.
    andrew-platt committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    beea788 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #14 from andrew-platt/f/Linear

    Documentation error.
    bjonkman committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    c0167e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2020

  1. Update r-test commit

    rafmudaf committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    4a81a85 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from rafmudaf/pr373

    Update r-test commit
    bjonkman committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    62369e4 View commit details
    Browse the repository at this point in the history