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
100 stars 50 forks source link

ReadHydroStatic needs update for expanded input file #12

Closed gbarter closed 3 years ago

gbarter commented 3 years ago

Yingyi,

I think the reasons the tests are failing is that this read function: https://github.com/YingyiLiu/HAMS/blob/master/SourceCode/HydroStatic.f90#L73

needs a new block for the quadratic damping that was recently added in the input files.

I may not have all of my terms correct, but I can definitely see that the Wamit hst-file is wrong because it is getting written with the wrong data.

YingyiLiu commented 3 years ago

Garrett, Thanks for pointing that out. You are very much correct. It was due to I forgot to push the most recent commits to the repository. The problem is now fixed.