Skip to content

[Support] WEC-Sim Moordyn RM3Moordyn can't post-process #1640

@denizyildiz01

Description

@denizyildiz01

Hey, i am trying to run the RM3 Moordyn from the example files. The wecSim runs until post-processing where i get the following error:

Error using responseClass/loadMoorDyn (line 372)
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.

Error in postProcessWecSim (line 148)
output.loadMoorDyn(mooring(iMoor).moorDynLines, mooring(iMoor).moorDynInputFile, iMoor, mooringLineCount);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in stopWecSim (line 29)
postProcessWecSim
^^^^^^^^^^^^^^^^^
Error in run (line 112)
evalin('caller', strcat(scriptStem, ';'));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in wecSim (line 55)
run('stopWecSim');
^^^^^^^^^^^^^^^^^

I also tried to run it withouth mooring(normal RM3) and this file runs fine, I have installed Moordyn like mentioned and I am not sure how to get the mooring forces in the lines i make, i get the same error in my own codes as well.

System:

windows 11
MATLAB 2024b

Metadata

Metadata

Assignees

Labels

MoorDynMoorDyn implementation in WEC-SimSupportQuestions that need answering but do not require code changes

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions