-
Notifications
You must be signed in to change notification settings - Fork 469
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
Small improvements for -VTKLin visualization outputs #1199
Conversation
Thanks, @ebranlard. I agree that these upgrades would be useful. These improvements will pair nicely with the automation of Campbell diagram generation that we have plans to develop next year. Regarding your questions:
|
I've changed the code such that:
I think we might need to work on the scaling of the modes on the matlab side. The beamdyn modes at high frequencies have low deflections compared to the ones at low frequencies. Interestingly, when I increase
|
I'm a little puzzled why two of the python regression tests now fail. This PR should have no effect on them.
|
From the error message, it looks like they fail due to trying to copy the same AWT27 directories in parallel. They didn't make it to the part of the script that actually runs the cases:
|
Maybe there is a Instead of using |
I noticed the |
I think you’ll always have a race condition when copying these files from
running tests concurrently. Using rtl.copyTree makes it less likely to
occur because it checks the existence of each file instead of the entire
directory. However, another test can still begin writing a file in between
the existence check and the call to copy. I think it would be better to
copy these shared directories with the build system instead of the python
scripts.
…On Wed, Aug 31, 2022 at 10:43 AM Andy Platt ***@***.***> wrote:
I noticed the rtl.copyTree some time ago -- it's a good addition. A few
of the execute* scripts were updated to use it, but not all. We can
either update that here, or perhaps it would be better to do a quick PR to
update these and a few other minor issues (a couple of _py cases are
failing, but their regular OpenFAST versions were temporarily disabled for
stability reasons).
—
Reply to this email directly, view it on GitHub
<#1199 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCSATOP25VPJNNKGCMJL73V36DR7ANCNFSM5433PXAA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I agree. I've run into errors due to this race condition several times already. We could also copy all the files in a separate script that runs serially, prior to running any of the test cases. Would be a nice option for those of us that use the manual python scripts. |
A manual python script could be incorporated into CMake. That should work
for both cases.
…On Wed, Aug 31, 2022 at 11:23 AM Bonnie Jonkman ***@***.***> wrote:
I agree. I've run into errors due to this race condition several times
already. We could also copy all the files in a separate script that runs
serially, prior to running any of the test cases. Would be a nice option
for those of us that use the manual python scripts.
—
Reply to this email directly, view it on GitHub
<#1199 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCSATN44G3RV2MXBVU36X3V36IKTANCNFSM5433PXAA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This will help a bit in minimizing a race condition during test running. See comments in PR OpenFAST#1199
The change to use |
Minor error handling update with suggestion from @deslaughter. |
This pull request is ready to be merged.
Feature or improvement description
This addresses the VTK output features when OpenFAST is being restarted using -VTKLin, to generate VTK files for mode shape visualization.
The changes include:
Additional supporting information
I have been using our mode shape visualization features lately and felt like some small changes could help the process.