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

Various improvements to SubDyn #859

Merged
merged 28 commits into from
Oct 8, 2021
Merged

Conversation

ebranlard
Copy link
Contributor

@ebranlard ebranlard commented Oct 6, 2021

This pull request is ready to merge.

Feature or improvement description

  • Added driver option to prescribe forces at given nodes using constant forces or time series.
  • Added output of Craig-Bampton andFEM modes to JSON format directly (with support for rigid links) via the input OutCBModes and OutFEMModes.
  • Reorganizing of YAML file, with relevant information on top. Added rigid body mass matrix at COG, and TP ref point.
  • Improved error handling if uses model has issues (e.g. rigid link to joints, different properties at two nodes).
  • Using two meshes for outputs (one with rigid displacement, one with full elastic displacements)
  • Fixed NodeCon:Maximum number of members reached on node #846
  • Fixed SubDyn does not include pretension force in its outputs #856
  • Fixed mass reported in summary file when properties are different at two nodes
  • Fixed issue when several rigid link are connected to interface. (Note: this issue was different from SubDyn issue when rigid links are connected to interface and cable #854)
  • Documentation of features above.

Impacted areas of the software
SubDyn

Tests
New tests were added in the branch f/SD-Loads of the r-test. Including some tests for cable/rigid link/ rotational joints, from a comparison with Ansys.

ebranlard and others added 24 commits August 25, 2021 16:02
For a rigid assembly that involves an interface joint, the joint selected as "leader"
is always the interface node. There was a bug when the interface node
was somehow futher down the list of joints as the other joints involved
in the assembly.

The list INodesID returned by RAElimination was correct, but after this
function call, there was a need to directly address the other joints and
change the "iNode" of the for loop so that it points to the leader Node.
The variable "iNodeSel" was introduced to account for this.
@ebranlard ebranlard self-assigned this Oct 6, 2021
@ebranlard ebranlard changed the base branch from main to dev October 6, 2021 23:59
SD: add y3mesh handling to glue code
@ebranlard ebranlard marked this pull request as ready for review October 7, 2021 18:35
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2021

Codecov Report

Merging #859 (71e4c68) into dev (7a59bec) will increase coverage by 0.01%.
The diff coverage is 17.37%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #859      +/-   ##
==========================================
+ Coverage   11.27%   11.28%   +0.01%     
==========================================
  Files         211      211              
  Lines      309733   310488     +755     
  Branches   180530   181011     +481     
==========================================
+ Hits        34910    35054     +144     
- Misses     230900   231094     +194     
- Partials    43923    44340     +417     
Flag Coverage Δ
regtests 11.18% <17.37%> (+0.01%) ⬆️
unittests 2.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
modules/openfast-library/src/FAST_Lin.f90 0.00% <0.00%> (ø)
modules/openfast-library/src/FAST_Solver.f90 9.35% <0.00%> (-0.01%) ⬇️
modules/openfast-library/src/FAST_Subs.f90 19.16% <0.00%> (-0.01%) ⬇️
modules/subdyn/src/FEM.f90 46.62% <ø> (ø)
modules/subdyn/src/SubDyn_Output.f90 21.13% <0.00%> (+0.32%) ⬆️
modules/subdyn/src/Yaml.f90 6.65% <3.03%> (-1.19%) ⬇️
modules/openfast-library/src/FAST_Types.f90 8.01% <7.31%> (ø)
modules/subdyn/src/SubDyn_Types.f90 5.78% <8.75%> (+0.04%) ⬆️
modules/subdyn/src/SubDyn.f90 28.66% <24.31%> (-1.22%) ⬇️
modules/subdyn/src/SubDyn_Driver.f90 42.20% <24.85%> (-17.80%) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a59bec...71e4c68. Read the comment docs.

@andrew-platt andrew-platt merged commit 3fd75f6 into OpenFAST:dev Oct 8, 2021
@rafmudaf
Copy link
Collaborator

@andrew-platt @ebranlard It looks like this pull request included changes to the r-test commit, but that commit was not merged into the dev branch in the r-test repo. Is it safe to resolve that difference?

@ebranlard
Copy link
Contributor Author

Yes, additional tests were added to test the new features, it should safe to merge

@ebranlard ebranlard deleted the f/SD-Loads branch November 12, 2021 19:23
@rafmudaf rafmudaf mentioned this pull request Mar 2, 2022
11 tasks
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.

SubDyn does not include pretension force in its outputs NodeCon:Maximum number of members reached on node
4 participants