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

Visualizing Offshore Support Structures #776

Open
jjonkman opened this issue Jun 10, 2021 · 8 comments
Open

Visualizing Offshore Support Structures #776

jjonkman opened this issue Jun 10, 2021 · 8 comments

Comments

@jjonkman
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
In the recent upgrade to OpenFAST for modeling floating substructure flexibility and member-level loads (pull request #537, released in OpenFAST v2.6), the strip-theory (Morison) implementation of HydroDyn was changed from using distinct point and line2 meshes to only using point meshes. While the new functionality is very powerful, this change had the unfortunate effect of losing the ability to visualize the Morison members from the line2 mesh. And SubDyn has not supported visualization of members because of its use of point meshes. (Currently in OpenFAST, the surface and line visualizations in OpenFAST's visualization functionality rely on the use of line2 mesh data structures.) So, in OpenFAST v2.6, it is not possible using the visualization functionality of OpenFAST to visualize offshore substructures without modification of the OpenFAST source code or by manually adding it within the visualization post-processor (e.g., adding a glyph in ParaView).

Describe the solution you'd like
Add functionality to visualize members in HydroDyn and SubDyn based on their inherent point meshes.

Additional context
Neither is it currently possible to visualize the mooring lines in floating wind applications, per issue #539.

@robytian
Copy link

So, it's currently impossible to visualize floating platforms and mooring lines without modifying the source code, right?

@jjonkman
Copy link
Collaborator Author

Hi @robytian,

Yes, that is correct. In OpenFAST v2.5 and older, it was possible to visualize the floating platform (through Morison members), but this functionality was lost in v2.6 and newer. OpenFAST has never had the ability to visualize the moorings. Both of these issues will require a source code change to resolve.

Best regards,

@jjonkman
Copy link
Collaborator Author

jjonkman commented Apr 8, 2022

Neither is it possible to visualize a floating platform in OpenFAST that is hydrodynamicly modeled with potential-flow theory, based on the WAMIT (or the like) mesh.

@shawnmeng9
Copy link

shawnmeng9 commented Sep 13, 2022

My name is Shawn Meng, and I am a software engineer at Bentley Systems in Canada. I have developed a program of visualizing OpenFAST wind turbine geometries including the offshore support structures based on the OpenFAST inputs. Here is a short video to show how it works. I plan to make all of the code used in this program open-source and contribute to the OpenFAST community. Please let me know if you have any questions about this and would like to have further discussions.

If you are interested in this program, you can download it from my GitHub page (https://github.com/shawnmeng9/ConvertFast/releases) or email me at [email protected]. Thanks!

visualization-of-openfast-geometries.mp4

@jjonkman
Copy link
Collaborator Author

Note: While the issue mentioned above has not yet been fixed, it should be noted that the issue mentioned above is related to surface and stick-figure visualization of the offshore support structure.

Without changes to the source code, it actually is possible right now to visualize the offshore support structure as a "point cloud". By selecting VTK_type = 3, information about all of the meshes used by the inputs and outputs of all OpenFAST modules are written to the VTK files. These include, the mesh associated with the structural nodes in SubDyn, the mesh associated with the hydrodynamic nodes in HydroDyn, and the mesh associated with the fairleads in the mooring modules (like MoorDyn). You should be able to visualize these mesh nodes as points or other graphics in ParaView.

Best regards,

@andrew-platt
Copy link
Collaborator

This issue has been partially addressed in #1768 and will be released in v 3.5.1. HydroDyn and MoorDyn meshes are now easy to render. The SubDyn mesh has not been addressed.

@RBergua
Copy link
Contributor

RBergua commented Jan 11, 2024

I'm using OpenFAST dev (commit 4fafe68) and I confirm that I can visualize the mooring lines from MoorDyn and the Morison elements from HydroDyn. Yay!
Image_USFLOWT_smaller

However, I'm facing a problem in MoorDyn. In reality, the buoyant cans observed in the above screenshot should be defined in MoorDyn. I just defined them in HydroDyn for visualization purposes.

The problem is that when I try to obtain the visualization of those cans (rods in MoorDyn), OpenFAST crashes:
Crash

The definition of the cans in MoorDyn is as follows:
image

Is there an easy fix or work around to visualize those cans?

@andrew-platt
Copy link
Collaborator

There isn't a super easy fix for visualizing the cans, but it wouldn't take too long to do -- we ran out of funding before that part was completed when we added the lines. If there are funds available, it would probably take me about 5 hours to complete, test, and do a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants