Compile MoorDyn C++ source files in Linux and some error of calculations

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Bingjun.Luo
Posts: 6
Joined: Wed Apr 24, 2019 8:49 pm
Organization: HITSZ
Location: China

Compile MoorDyn C++ source files in Linux and some error of calculations

Postby Bingjun.Luo » Sun Jul 21, 2019 9:11 am

Hello! I meet some problems in compiling MoorDyn C++ source files in Linux. There are several problems.
(1) I download the MoorDyn C++ v1.01.01C source file from the web at http://www.matt-hall.ca/moordyn. I try to compile to compile MoorDyn in Linux. I just open the terminal and run the command "make" then I get the MoorDyn.so and other files. My gcc versios is 4.8.5. Is it the right way to compile MoorDyn in Linux? If not, could anyone tell me the right way?
(2) I use the above MoorDyn.so to do some calculations. The initial pitch angle and pitch angular velocity are -5.119175 deg, -0.940311 deg/s, respectively. The other dispalcements and velocities are all zero. After calculating, I get the net force in x y z direciton, fX, fY, fZ, of several connections. However, the values are not right in sign symbol. What are the problems?
(3) I also download the MoorDyn C++ v1.00.03C source file from the web at http://www.matt-hall.ca/moordyn. I try to compile to compile MoorDyn in Linux like the way in question (1) but fail. The error are show in the following picture. How to solve the problem?
(4) Besides, can MoorDyn C++ version output the force of Con#fX, Con#fY, Con#fZ in the file Lines.out? After running the MoorDyn.so in quewtion (1), the output of Con6fY and Con6fZ are always the same. Actually, they should be different. Where is the problems?
The attachments are the input file of MoorDyn (lines.txt) and some error picture.
Could anynone help me solve these problems? I wish your reply, thank you!
Attachments
compile error.png
compile error.png (255.93 KiB) Viewed 181 times
calculation error.png
calculation error.png (8.02 KiB) Viewed 181 times
lines.txt
(2.39 KiB) Downloaded 4 times

Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest