CarlosRomeroSanchez / openfast_2.2.0_seismic

Apache License 2.0
0 stars 2 forks source link

Unable to compile #2

Open Melissa-521 opened 1 month ago

Melissa-521 commented 1 month ago

Dear Carlos, I am a graduate student at Dalian University of Technology, studying the response of OWT under earthquake. I am honored to learn from your examples, but I am unable to use VS to compile your code. Is there any special step during compilation?Could you please upload the compiled. exe program? Thank you very much for your help.

CarlosRomeroSanchez commented 1 month ago

Hi Melissa, I am honoured that you are learning from the examples. Specifically, this version cannot be compiled on Windows (VS), it requires an upgrade. Is it possible for you to compile it on Linux? You just need Cmake and Intel. Regards, Carlos

Melissa-521 commented 1 month ago

Dear Carlos,

Thank you for your prompt reply. I have successfully compiled using Cmake. An uncertain issue is the definition of the parameters in each column of the seismic input file “seismic_input_chichi.dat”. The first column is time, the second to fourth columns are lateral displacement, velocity, and acceleration, the fifth to seventh columns are rotational displacement, velocity, and acceleration, and the eighth to tenth columns are vertical displacement, velocity, and acceleration? If I want to simulate a horizontal seismic wave, do I need to input the displacement, velocity, and acceleration from the second to fourth columns? Or just input one of the three? In addition, with a total simulation duration of 250 seconds and seismic waves input in 200 seconds, should the data in the first 200 seconds of the seismic input file be zero? Is seismic wave data input from 200 seconds?

Best regards, Melissa

CarlosRomeroSanchez commented 1 month ago

Dear Melissa,

It is great news that you were able to compile it. In fact, it is exactly as you say. If you want to simulate a horizontal seismic wave, you only need 3 inputs (displacements, velocity and accelerations) from the second to the fourth column. SubDyn uses the dynamic equation of motion. Exactly, you fill in the previous seconds with 0. This is often used in OpenFAST to analyse the seismic loading after the stationary operational response of the system has already been reached.

Best regards, Carlos