Skip to content

ERROR during import data from ANSYS AQWA #683

@Dadidal

Description

@Dadidal

Cite the WEC-Sim applications case in question
BEMIO import from Ansys Aqwa

Describe the bug or issue
I calculated the Hydrodynamic Response of structure using ANSYS Aqwa (Hydrodynamic Diffraction module in ANSYS Workbench). During the import of hydrodata from Ansys Aqwa and creating the .h5 file I got the following ERROR:

Unable to perform assignment because the size of the left side is 6-by-1 and the size of the right
side is 1-by-5.

Error in Read_AQWA (line 232)
hydro(F).sc_ph((kdiff-1)6+1:kdiff6,j,i) = tmp2; % phase of scattering force

To Reproduce

  1. Create bemio.m file for import from Ansys Aqwa
  2. Run bemio.m
  3. See error

Expected behavior
Generated .h5 file

Screenshots
Wec-Sim error

Workstation Information (this section MUST BE completed):

  • OS: Windows 10
  • MATLAB/Simulink 2021a
  • WEC-Sim Release v4.3
  • ANSYS 2021R1

Additional context
How I can solve this problem and import the hydrodata from .AH1 and .LIS files generated using Aqwa?

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions