Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HD: Bug fix for potential-flow wave excitation with multiple bodies and large yaw offset #2408

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 7, 2024

  1. HD: Bug fix for potential-flow wave excitation with multiple bodies a…

    …nd large yaw offset
    
    Two bugs are identified that lead to incorrect potential-flow wave excitation when multiple bodies are present with large yaw offset (PtfmRefY!=0):
    * When NBodyMod=1 and NBody>1, only the wave excitation on the first body is transformed back to the inertial frame in WAMIT_Init.
    * When PtfmRefY!=0 with PtfmRefxt or PtfmRefyt being nonzero, there is effectively a displacement of each potential-flow body due to platform yaw offset when precomputing the wave excitation each body. In other words, the effect of this baseline displacement is already baked into the precomputed wave excitation, so it needs to be subtracted from the total body displacement when interpolating the wave excitation in WAMIT_CalcOutput if ExctnDisp>0.
    luwang00 committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    d97567a View commit details
    Browse the repository at this point in the history