SNL-WaterPower / WecOptTool-MATLAB

WEC Design Optimization Toolbox
GNU General Public License v3.0
12 stars 9 forks source link

only run Nemoh in relevant modes #195

Open ryancoe opened 3 years ago

ryancoe commented 3 years ago

In #170, @H0R5E discovered that we have been running Nemoh in all six degrees of freedom regardless of the WEC kinematics. The BEM radiation problem scales proportional to the number of degrees of freedom, so we should be able to reduce Nemoh compute time by ~1/6, e.g., for the WaveBot.

https://github.com/SNL-WaterPower/WecOptTool/blob/05c2e5c601e77659a623b5b76251d233f4d07098/toolbox/%2BWecOptTool/%2Bsolver/nemohcalbody.txt#L4