Skip to content

[WEC-Sim Applications] - waves.direction units #997

@davidfdomingos

Description

@davidfdomingos

Dear developers,

Issue:
I am running WEC-Sim with hydro data from Capytaine for a floating body in beam waves. However, when I define waves.direction = 90 it produces the following error:

"Error using initializeWecSim (line 224)
waves.direction outside of range of available hydro data"

When I do waves.direction = pi/2, it runs smoothly. However, the documentation suggests that degrees should be used:
image

Question:
Does it really matter the exact units provided to waves.direction as far as it is consistent with the provided hydrodynamic data?

Looking forward to hear from you, and thank you for developing this great open source tool!!

Cheers,
David Domingos

Metadata

Metadata

Labels

BEM/BEMIOrelated to BEMIO or BEM hydro dataBugbug in WEC-Sim source, high priorityCapytaine

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions