HAMS
An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures.
https://github.com/YingyiLiu/HAMS
Category: Renewable Energy
Sub Category: Wind Energy
Keywords
boundary-element-method ocean-wave-energy-converters offshore-wind-platforms potential-flow-theory wave-structure-interaction
Last synced: about 21 hours ago
JSON representation
Repository metadata
An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures
- Host: GitHub
- URL: https://github.com/YingyiLiu/HAMS
- Owner: YingyiLiu
- License: apache-2.0
- Created: 2020-10-30T15:48:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-03T07:05:06.000Z (11 months ago)
- Last Synced: 2025-04-17T22:43:27.271Z (10 days ago)
- Topics: boundary-element-method, ocean-wave-energy-converters, offshore-wind-platforms, potential-flow-theory, wave-structure-interaction
- Language: Roff
- Homepage:
- Size: 21.8 MB
- Stars: 109
- Watchers: 8
- Forks: 52
- Open Issues: 8
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
HAMS
An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures.
HAMS (Hydrodynamic Analysis of Marine Structures) is a free open-source software to analyse wave-structure interactions in the frequency domain. It is based on the boundary integral equation method within the framework of the potential flow theory. The code is currently written in FORTRAN 90. It has been developed by the author Yingyi Liu for nearly a decade.
HAMS is released in the hope that it will contribute to eliminating the inequality (for those who are not able to afford to purchase a costly commercial BEM software) in the continuous research developments related to offshore engineering and ocean renewable energies.
HAMS is freely distributed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0, and may be modified and extended by researchers who intend to enhance its capabilities and port the code to other platforms.
The success of HAMS should to a large extent be attributed to Prof. Bin Teng (Dalian University of Technology), who has tutored me the theory of potential flow in marine hydrodynamics and the programming skills using the Boundary Element Method. The code structure and the coding style of HAMS are exactly two of the examples that I have learned and inherited from Prof. Bin Teng.
Theoretical Basis
- Please refer to the following papers for the theory:
The theory of panel method that has been used by HAMS is written in detail in the following two papers:
-
Yingyi Liu (2021). Introduction of the Open-Source Boundary Element Method Solver HAMS to the Ocean Renewable Energy Community. In: Proc. of the 14th European Wave and Tidal Energy Conference, Plymouth, UK, Sep. 5–9, 2021.
-
Yingyi Liu (2019). "HAMS: A Frequency-Domain Preprocessor for Wave-Structure Interactions—Theory, Development, and Application." Journal of Marine Science and Engineering, 7: 81.
-
Yingyi Liu, Changhong Hu, Makoto Sueyoshi, Hidetsugu Iwashita, Masashi Kashiwagi (2016). "Motion response prediction by hybrid panel-stick models for a semi-submersible with bracings." Journal of Marine Science and Technology, 21:742–757.
The deepwater Green function is using a fortran subroutine (https://github.com/Hui-Liang/Green-function-in-deep-water) developed by Dr. Hui Liang. For the detailed theory you may refer to the following three papers:
-
Hui Liang, Huiyu Wu, and Francis Noblesse (2018). "Validation of a global approximation for wave diffraction-radiation in deep water." Applied Ocean Research, 74 : 80-86.
-
Huiyu Wu, Hui Liang, and Francis Noblesse (2018). "Wave component in the Green function for diffraction radiation of regular water waves." Applied Ocean Research, 81: 72-75.
-
Huiyu Wu, Chenliang Zhang, Yi Zhu, Wei Li, Decheng Wan, Francis Noblesse (2017). "A global approximation to the Green function for diffraction radiation of water waves." European Journal of Mechanics-B/Fluids, 65: 54-64.
The finite-depth Green function is using a fortran subroutine FinGreen3D (https://github.com/YingyiLiu/FinGreen3D) developed by Dr. Yingyi Liu. For the detailed theory you may refer to the following two papers:
-
Yingyi Liu, Shigeo Yoshida, Changhong Hu, Makoto Sueyoshi, Liang Sun, Junliang Gao, Peiwen Cong, Guanghua He (2018). "A reliable open-source package for performance evaluation of floating renewable energy systems in coastal and offshore regions." Energy Conversion and Management, 174: 516-536.
-
Yingyi Liu, Hidetsugu Iwashita, Changhong Hu (2015). "A calculation method for finite depth free-surface green function." International Journal of Naval Architecture and Ocean Engineering, 7(2): 375-389.
Please cite appropriately the above papers in your relevant publications, reports, etc., if the HAMS code or its executable program has contributed to your work.
Generated numerical results
- Hydrodynamic coefficients
- Wave excitation force
- Motion RAOs
- Free-surface elevation
Features
- Mesh element type
- HAMS can import meshes containing triangular panel type, quadrilateral panel type, or both.
- OpenMP parallel processing
- HAMS can be run in the parallel mode using OpenMP techniques on PC's with multiple processors (CPU's).
- Computational efficiency
- The following graph shows an example of DeepCwind semisubmersible using 8 threads for the computation:
Useful Links
The following open-source software can be used to view the HAMS results:
[1]. BEMRosetta. Developed by Iñaki Zabala, Markel Peñalba, Yerai Peña-Sanchez.
[2]. BEMIO. Developed by National Renewable Energy Laboratory and Sandia National Laboratories.
You may need HAMS to do the frequency-domain pre-processing before you use the following programs:
[1]. FAST or OpenFAST. Developed by National Renewable Energy Laboratory.
[2]. WEC-Sim. Developed by National Renewable Energy Laboratory and Sandia National Laboratories.
Used by other open-source software:
[1]. pyHAMS. Developed by Garrett Barter, National Renewable Energy Laboratory.
[2]. RAFT. Developed by Matt Hall, Stein Housner, David Ogden, Garrett Barter, National Renewable Energy Laboratory.
License
Code original author: Yingyi Liu (劉盈溢), Google Scholar.
HAMS is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
HAMS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache License for details. You should have received a copy of the Apache License along with HAMS. If not, see http://www.apache.org/licenses/LICENSE-2.0
Owner metadata
- Name: Yingyi Liu
- Login: YingyiLiu
- Email:
- Kind: user
- Description:
- Website:
- Location: Fukuoka, Japan
- Twitter:
- Company: Kyushu University
- Icon url: https://avatars.githubusercontent.com/u/41184692?v=4
- Repositories: 13
- Last ynced at: 2024-06-11T15:33:28.572Z
- Profile URL: https://github.com/YingyiLiu
GitHub Events
Total
- Issues event: 1
- Watch event: 10
- Issue comment event: 3
- Fork event: 2
Last Year
- Issues event: 1
- Watch event: 10
- Issue comment event: 3
- Fork event: 2
Committers metadata
Last synced: 7 days ago
Total Commits: 197
Total Committers: 4
Avg Commits per committer: 49.25
Development Distribution Score (DDS): 0.198
Commits in past year: 10
Committers in past year: 2
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.1
Name | Commits | |
---|---|---|
YingyiLiu | a****6@g****m | 158 |
Garrett Barter | g****r@n****v | 37 |
liuyingyi-ukyushu | l****i@r****p | 1 |
Matthieu Ancellin | m****n@e****m | 1 |
Committer domains:
- eurobios.com: 1
- riam.kyushu-u.ac.jp: 1
- nrel.gov: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 25
Total pull requests: 13
Average time to close issues: 2 months
Average time to close pull requests: 4 days
Total issue authors: 19
Total pull request authors: 4
Average comments per issue: 3.32
Average comments per pull request: 2.0
Merged pull request: 10
Bot issues: 0
Bot pull requests: 0
Past year issues: 4
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 4
Past year pull request authors: 1
Past year average comments per issue: 1.5
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- gbarter (3)
- Dylan0824 (2)
- izabala123 (2)
- ramisetti (2)
- mancellin (2)
- YiqXia (1)
- karmoker18 (1)
- ucar398 (1)
- Aiswariak (1)
- IL-1 (1)
- nedisy (1)
- halowine (1)
- vaibhavraghavan (1)
- achilleas101 (1)
- austinerees (1)
Top Pull Request Authors
- gbarter (10)
- mancellin (1)
- forestgou (1)
- zhzenith (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 1
-
Total downloads:
- pypi: 777 last-month
- Total dependent packages: 1
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
pypi.org: pyhams
Python module wrapping around HAMS
- Homepage:
- Documentation: https://pyhams.readthedocs.io/
- Licenses: Apache-2.0
- Latest release: 1.3.0 (published 11 months ago)
- Last Synced: 2025-04-25T13:03:35.724Z (2 days ago)
- Versions: 2
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 777 Last month
-
Rankings:
- Dependent packages count: 7.135%
- Forks count: 13.508%
- Average: 18.332%
- Stargazers count: 20.491%
- Dependent repos count: 32.193%
- Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
Score: 12.806479341788394