Home

Awesome

<!-- Title: HAMS Description: An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures. Authors: Yingyi Liu. -->

HAMS

An open-source computer program for the analysis of wave diffraction and radiation of three-dimensional floating or submerged structures.

License: Apache v2

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/body_mesh.png" width="70%" /></p>

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

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/global_coordinate_system.png" width="70%" /></p>

- 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:

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:

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:

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

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/hydrodynamic_coefficients.png" width="60%" /></p>

- Wave excitation force

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/wave_excitation_force_plot.png" width="65%" /></p>

- Motion RAOs

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/RAO_of_motion.png" width="75%" /></p>

- Free-surface elevation

<p align="center"><img src="https://github.com/YingyiLiu/HAMS/blob/master/Other/md_resources/free_surface_elevation.png" width="60%" /></p>

Features

- Mesh element type

- OpenMP parallel processing

- Computational efficiency

Useful Links

The following open-source software can be used to view the HAMS results: </p> [1]. BEMRosetta. Developed by Iñaki Zabala, Markel Peñalba, Yerai Peña-Sanchez.<br/> [2]. BEMIO. Developed by National Renewable Energy Laboratory and Sandia National Laboratories. <br/>

You may need HAMS to do the frequency-domain pre-processing before you use the following programs: </p> [1]. FAST or OpenFAST. Developed by National Renewable Energy Laboratory.<br/> [2]. WEC-Sim. Developed by National Renewable Energy Laboratory and Sandia National Laboratories. <br/>

Used by other open-source software: </p> [1]. pyHAMS. Developed by Garrett Barter, National Renewable Energy Laboratory.<br/> [2]. RAFT. Developed by Matt Hall, Stein Housner, David Ogden, Garrett Barter, National Renewable Energy Laboratory. <br/>

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 <br/>