YingyiLiu / HAMS

An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures
Apache License 2.0
102 stars 51 forks source link

Workflow Question #35

Open achilleas101 opened 4 months ago

achilleas101 commented 4 months ago

Dear @YingyiLiu, I am trying to create the WAMIT file required for the IEA 15-MW Monopile Wind Turbine using HAMS and I am facing some issues. The steps I have taken so far are the following:

  1. Created the monopile (from z=-75m to z=15m) and sea surface in Blender and exported both in one .stl file
  2. Imported the .stl in BEMRosetta and exported it in .gdf format
  3. Copied the .gdf file in the MeshConverter folder of HAMS and changed the name of the file in the Settings.ctrl file. I ran RunWAMIT_MeshTran.bat and a HullMesh.pnl and WaterplaneMesh.pnl file were created
  4. Copied the two resulting files of step 3 to the Input folder without making many changes in the ControlFile.in file except the water depth to 30m
  5. Lastly I tried to run HAMS_x64.exe, but the following error occurred Screenshot 2024-07-09 093114 How can I resolve this issue?

Additional questions: i. Have I modeled the mesh correctly in step 1? Because the pile is cutting the seabed plane and it should be practically fixed. ii. In step 3 I didn't change the center of gravity or rotation option. Should these values be computed from the wet part of the mesh only?

Any help would be greatly appreciated! Best regards, Achilleas

gbarter commented 4 months ago

Hello Achilleas,

Want to make sure you are aware of resources such as this directory on the 15-MW repository.

Also, the NREL WEIS tool works directly with HAMS (through pyHAMS) and will generate HAMS input files. There is already an example that uses the 15-MW turbine.

achilleas101 commented 4 months ago

Hello gbarter, Thank you for your fast reply! I am aware of this directory, but as far as I understand the files correspond to the UMaine semi submersible platform. Also thank you for your guidance with WEIS, I will give it a try!

Best regards, Achilleas

gbarter commented 4 months ago

Yes, correct. Sorry I didn't latch onto your specific need for the monopile and not the semisub.

pelotonlopezmuro commented 1 week ago

Hi @gbarter ! I have been exploring ways to generate HAMS input files, and in your post, you mentioned that WEIS can handle this process. I’d appreciate more details about the workflow:

Thank you in advance for your help!

gbarter commented 1 week ago

Hi there @pelotonlopezmuro

WEIS takes as an input WIndIO inputs, which are yaml-based input files. There is a workflow to start with CAD files if that is what you are looking for, but I'll have to refer you to someone else.

Here is a WEIS example with the 15-MW, but you will likely need to start with the WEIS documentation to get things running (WISDEM documentation might help too).