-
Notifications
You must be signed in to change notification settings - Fork 20
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
about the code #1
Comments
Hi cehnboyao, The different libraries used in this project (resulting from the combination of waves2Foam + sixDoFRigidBodyMotion + turbinesFoam) have only been tested in OpenFOAM v2012, thus I cannot guarantee 100% compatibility with other versions. Yet if you give more details as to what's happening, maybe together we can find a solution. Best regards, |
How to get wavesDymFoam? |
wavesDymFoam is a modification of the waves2Foam library that allows dynamic mesh techniques. There's a short tutorial on how to set it up on the GitHub page of Chapter 5. I hope that can help you! |
I'm sorry you are facing issues with the installation. As I said in my first comment, if you could give more details as to what's happening maybe we can find a solution. |
Thank you very much for your positive answer. |
@chenboyao Did you see any loading library errors at the beginning of the log file?
Somehow, the library is compiled as
I noticed the same thing for
|
@hfchen20 These are the lib names I used in an early version of the project. It's my fault not to double-check! Try changing the floatingTurbinesFoam compilation to: and floatingSixDoFRigidBodyMotion to: Please let me know if that resolved the loading errors. Best, |
@fronterapp Nice work! I'm not planning to test your library at the moment though. Just thinking about adding waves2FoamMooring to the restraint library I developed at https://gitlab.com/hfchen20/foamMooring. Rewrite it so that one restraint can allow definition of more than one mooring line and automatic generation of vtk files at runtime. How did you visualize the mooring lines? It seems to me you did not include the utility, as provided by the wave2Foam library, to write mooring lines. |
@hfchen20 thank you! I just reviewed your foamMooring library, what a nice work you did! It's a shame I did not find out about your work earlier, I'd have been super useful for my thesis. Regarding your question, I did not include the visualization utility from waves2Foam. I worked on a VTK generation script but it did not work as expected. And because I was running out of time, I had to prioritize other parts of the project. So yeah, with my library you cannot visualize the mooring lines, which is an important limitation. |
@fronterapp I have just added this mooring restraint at my repo with some simple docs. Initial test showed that it generated VTK files at runtime. It should be compilable on recent versions of OpenFOAM. Hopefully someone may find it useful.
|
hello ,I want to know the code is use in OpenFOAM2012,and which can use in OpenFOAM2206 ?
I had tried tio couple wave2foam in OpenFOAM2206.but it is failed.
The text was updated successfully, but these errors were encountered: