Closed lucas-carmo closed 10 months ago
This looks awesome, and I think good to merge in. One last little thing: could you confirm that for the preexisting designs/examples, with no 2nd order, results from this branch match those from the dev branch?
Yes, they do!
Purpose
This PR implements second-order wave loads in RAFT. For now, we only capture the magnitude of these loads, hence without the phases. This should be acceptable for single units but could be problematic for arrays. We plan to address this limitation in the future.
Two approaches are now available:
To use precomputed QTFs, the user needs to provide the following inputs:
To compute the second-order loads internally with the slender-body approach:
Note that
potSecOrder
does not conflict withpotModMaster
. We should be able to use any combination of them. For instance, we can use Morison's equation for the first-order wave loads and QTFs from WAMIT for the second-order wave loads.Type of change
Testing
I included two test cases in the examples folder. They correspond to the OC3-Hywind spar using (i) precomputed QTFs and (ii) the slender-body approximation. I have done some comparisons with OpenFAST simulations, and the results match well within the inherent limitations.
Checklist
This branch did not pass the automated tests, but it seems to be unrelated to this PR.