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

Inputs to the subroutines in modules AssbMatx_irr #27

Closed austinerees closed 1 year ago

austinerees commented 1 year ago

Greetings of the day to you Dr.Yingy. I was studying the HAMS program and it is a great tool for learning as it is. However, I would like to kindly know what inputs were feed into the subroutines of the AssbMatx_irr modules . Kind regards Rees

YingyiLiu commented 1 year ago

You can find the inputs at the beginning of the subroutine. The interface defines the inputs.

austinerees commented 1 year ago

Thank you very much for your response. Like I mentioned earlier in that module, there is for instance a subroutine ASSB_LEFT with inputs AMAT,IPIV,NELEM and NSYS .what are these inputs for? subroutines?maybe a little bit of commenting would be helpful for others as well.

Kind regards Rees

On Thu, 6 Apr 2023, 04:34 Yingyi Liu, @.***> wrote:

You can find the inputs at the beginning of the subroutine. The interface defines the inputs.

— Reply to this email directly, view it on GitHub https://github.com/YingyiLiu/HAMS/issues/27#issuecomment-1498444515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5WS6QXQVTBJXCEH4RVCYTW7Y2SZANCNFSM6AAAAAAWU2YWTE . You are receiving this because you authored the thread.Message ID: @.***>

YingyiLiu commented 1 year ago

Thank you for your question. But this is a long story to tell, and to be honest currently I do not have the resources and time to answer these questions alike. Thanks.

austinerees commented 1 year ago

Thank you Dr. Yingyi. I honestly didn't mean to bore you out with my questions.i didn't read my last comment before sending them.i wanted to know what inputs they are not what they do.In other words what parameters are been feed into that subroutines as I find your tool very helpful for studying wave structure interactions and going through those referenced papers,they make sense to me but I got stocked over there.

Thank you

On Thu, 6 Apr 2023, 5:29 am Yingyi Liu, @.***> wrote:

Closed #27 https://github.com/YingyiLiu/HAMS/issues/27 as completed.

— Reply to this email directly, view it on GitHub https://github.com/YingyiLiu/HAMS/issues/27#event-8941490124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5WS6QCMMESIFO4KKCHZJTW7ZBD7ANCNFSM6AAAAAAWU2YWTE . You are receiving this because you authored the thread.Message ID: @.***>

mancellin commented 1 year ago

@austinerees From my limited understanding of HAMS, in the file AssbMatx.f90:

In AssbMatrx_irr.f90 there is some additional complexity to remove irregular frequencies and I'm less familiar with that.

austinerees commented 1 year ago

Thank you so very much for this clarification mat! I'm super grateful

On Thu, 6 Apr 2023, 09:10 Matthieu Ancellin, @.***> wrote:

@austinerees https://github.com/austinerees From my limited understanding of HAMS, in the file AssbMatx.f90:

  • NSYS is the number of linear systems to be solved (the number of different sea states to be studied, I guess)
  • NELEM is the number of panels in the mesh
  • AMAT is used to store the matrices of the linear systems, and then the LU decomposition of these matrices using lapack https://netlib.org/lapack/explore-html/d3/d01/group__complex16_g_ecomputational_ga5b625680e6251feb29e386193914981c.html
  • IPIV is an additional information about the LU decomposition of each matrix.
  • BRMAT and BDMAT are the right-hand side of the linear systems, respectively for radiation and diffraction problems.
  • MXPOT is the potential on the body hull, that is the solution of the linear systems.

In AssbMatrx_irr.f90 there is some additional complexity to remove irregular frequencies and I'm less familiar with that.

— Reply to this email directly, view it on GitHub https://github.com/YingyiLiu/HAMS/issues/27#issuecomment-1498659687, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5WS6VES5AAB7AC46HYDSTW7Z27PANCNFSM6AAAAAAWU2YWTE . You are receiving this because you were mentioned.Message ID: @.***>