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 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 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!
lines.txt (2.39 KB)