Hydrodynamic implementation

Dear Jason,
I’m trying to implement the hydrodynamics of the OC3 spar buoy on simulink.
To verify that my model is correct, I verified it by doing a test with the same input with FAST, but finding differences.
I therefore created a simulink in which I insert positions, speeds and accelerations detected in the Fast test, checking the forces exiting each block (figure 2). In this way I observed the following things:

  • The radiation forces coming out of my model correspond to the outputs of Fast (‘RdtnFxi’, ‘RdtnFyi’, ‘RdtnFzi’, .'RdtnMxi ‘,.’ RdtnMyi ‘,’ RdtnMzi ')
  • The hydrostatic forces exiting my model correspond to the Fast outputs (‘HdrStcFxi’, ‘HdrStcFyi’, …, ‘HdrStcMzi’)
  • I used the wave forces of the Fast test ‘WavesFxi’, ‘WavesFyi’ …, ‘WavesMzi’ as input to my model
  • I checked the mooring forces, making sure that the tensions on the 6 lines of my model corresponded to those coming out of MAP (T [1], T [2], … T [6]). However, the 3 forces and the 3 moments resulting in the global reference system are exiting the MOORING block.
  • I applied gravity along z, using the mass indicated in the topic viewtopic.php? F = 3 & t = 748 as the mass
    -I used the same topic to build the mass matrix M (see figure 1) which, multiplied by the accelerations of the test, should give the inertial loads.

The problem is that the resultant of these forces does not result in 0 (figure 3 on the left). Figure 3 on the right, shows the trend of the forces without the contribution of inertia (i.e. the only contribution that I have not been able to compare with the FAST outputs).
For now I would like to focus on the forces, since there is likely to be some translation problems of the reference systems along z (between Fmoor and Fhydro)
My question is whether I have forgotten any contributions.

In the follow is also the input file of Hydrodyn used to carry out the simulation in FAST:

------- HydroDyn v2.03.* Input File --------------------------------------------
NREL 5.0 MW offshore baseline floating platform HydroDyn input properties for the OC3 Hywind.
False Echo - Echo the input file data (flag)
---------------------- ENVIRONMENTAL CONDITIONS --------------------------------
1025 WtrDens - Water density (kg/m^3)
250 WtrDpth - Water depth (meters)
0 MSL2SWL - Offset between still-water level and mean sea level (meters) [positive upward; unused when WaveMod = 6; must be zero if PotMod=1 or 2]
---------------------- WAVES ---------------------------------------------------
2 WaveMod - Incident wave kinematics model {0: none=still water, 1: regular (periodic), 1P#: regular with user-specified phase, 2: JONSWAP/Pierson-Moskowitz spectrum (irregular), 3: White noise spectrum (irregular), 4: user-defined spectrum from routine UserWaveSpctrm (irregular), 5: Externally generated wave-elevation time series, 6: Externally generated full wave-kinematics time series [option 6 is invalid for PotMod/=0]} (switch)
0 WaveStMod - Model for stretching incident wave kinematics to instantaneous free surface {0: none=no stretching, 1: vertical stretching, 2: extrapolation stretching, 3: Wheeler stretching} (switch) [unused when WaveMod=0 or when PotMod/=0]
3630 WaveTMax - Analysis time for incident wave calculations (sec) [unused when WaveMod=0; determines WaveDOmega=2Pi/WaveTMax in the IFFT]
0.25 WaveDT - Time step for incident wave calculations (sec) [unused when WaveMod=0; 0.1<=WaveDT<=1.0 recommended; determines WaveOmegaMax=Pi/WaveDT in the IFFT]
1.25 WaveHs - Significant wave height of incident waves (meters) [used only when WaveMod=1, 2, or 3]
4.5 WaveTp - Peak-spectral period of incident waves (sec) [used only when WaveMod=1 or 2]
“DEFAULT” WavePkShp - Peak-shape parameter of incident wave spectrum (-) or DEFAULT (string) [used only when WaveMod=2; use 1.0 for Pierson-Moskowitz]
0 WvLowCOff - Low cut-off frequency or lower frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
500 WvHiCOff - High cut-off frequency or upper frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6]
0 WaveDir - Incident wave propagation heading direction (degrees) [unused when WaveMod=0 or 6]
0 WaveDirMod - Directional spreading function {0: none, 1: COS2S} (-) [only used when WaveMod=2,3, or 4]
1 WaveDirSpread - Wave direction spreading coefficient ( > 0 ) (-) [only used when WaveMod=2,3, or 4 and WaveDirMod=1]
1 WaveNDir - Number of wave directions (-) [only used when WaveMod=2,3, or 4 and WaveDirMod=1; odd number only]
90 WaveDirRange - Range of wave directions (full range: WaveDir +/- 1/2*WaveDirRange) (degrees) [only used when WaveMod=2,3,or 4 and WaveDirMod=1]
123456789 WaveSeed(1) - First random seed of incident waves [-2147483648 to 2147483647] (-) [unused when WaveMod=0, 5, or 6]
1011121314 WaveSeed(2) - Second random seed of incident waves [-2147483648 to 2147483647] (-) [unused when WaveMod=0, 5, or 6]
TRUE WaveNDAmp - Flag for normally distributed amplitudes (flag) [only used when WaveMod=2, 3, or 4]
“” WvKinFile - Root name of externally generated wave data file(s) (quoted string) [used only when WaveMod=5 or 6]
1 NWaveElev - Number of points where the incident wave elevations can be computed (-) [maximum of 9 output locations]
0 WaveElevxi - List of xi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
0 WaveElevyi - List of yi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0]
---------------------- 2ND-ORDER WAVES ----------------------------------------- [unused with WaveMod=0 or 6]
FALSE WvDiffQTF - Full difference-frequency 2nd-order wave kinematics (flag)
FALSE WvSumQTF - Full summation-frequency 2nd-order wave kinematics (flag)
0 WvLowCOffD - Low frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
3.5 WvHiCOffD - High frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method]
0.1 WvLowCOffS - Low frequency cutoff used in the summation-frequencies (rad/s) [Only used with a summation-frequency method]
3.5 WvHiCOffS - High frequency cutoff used in the summation-frequencies (rad/s) [Only used with a summation-frequency method]
---------------------- CURRENT ------------------------------------------------- [unused with WaveMod=6]
0 CurrMod - Current profile model {0: none=no current, 1: standard, 2: user-defined from routine UserCurrent} (switch)
0 CurrSSV0 - Sub-surface current velocity at still water level (m/s) [used only when CurrMod=1]
“DEFAULT” CurrSSDir - Sub-surface current heading direction (degrees) or DEFAULT (string) [used only when CurrMod=1]
20 CurrNSRef - Near-surface current reference depth (meters) [used only when CurrMod=1]
0 CurrNSV0 - Near-surface current velocity at still water level (m/s) [used only when CurrMod=1]
0 CurrNSDir - Near-surface current heading direction (degrees) [used only when CurrMod=1]
0 CurrDIV - Depth-independent current velocity (m/s) [used only when CurrMod=1]
0 CurrDIDir - Depth-independent current heading direction (degrees) [used only when CurrMod=1]
---------------------- FLOATING PLATFORM --------------------------------------- [unused with WaveMod=6]
1 PotMod - Potential-flow model {0: none=no potential flow, 1: frequency-to-time-domain transforms based on WAMIT output, 2: fluid-impulse theory (FIT)} (switch)
“HydroData/Spar” PotFile - Root name of potential-flow model data; WAMIT output files containing the linear, nondimensionalized, hydrostatic restoring matrix (.hst), frequency-dependent hydrodynamic added mass matrix and damping matrix (.1), and frequency- and direction-dependent wave excitation force vector per unit wave amplitude (.3) (quoted string) [MAKE SURE THE FREQUENCIES INHERENT IN THESE WAMIT FILES SPAN THE PHYSICALLY-SIGNIFICANT RANGE OF FREQUENCIES FOR THE GIVEN PLATFORM; THEY MUST CONTAIN THE ZERO- AND INFINITE-FREQUENCY LIMITS!]
1 WAMITULEN - Characteristic body length scale used to redimensionalize WAMIT output (meters) [only used when PotMod=1]
8029.21 PtfmVol0 - Displaced volume of water when the platform is in its undisplaced position (m^3) [only used when PotMod=1; USE THE SAME VALUE COMPUTED BY WAMIT AS OUTPUT IN THE .OUT FILE!]
0 PtfmCOBxt - The xt offset of the center of buoyancy (COB) from the platform reference point (meters) [only used when PotMod=1]
0 PtfmCOByt - The yt offset of the center of buoyancy (COB) from the platform reference point (meters) [only used when PotMod=1]
2 RdtnMod - Radiation memory-effect model {0: no memory-effect calculation, 1: convolution, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES *.ss INPUT FILE]
60 RdtnTMax - Analysis time for wave radiation kernel calculations (sec) [only used when PotMod=1; determines RdtnDOmega=Pi/RdtnTMax in the cosine transform; MAKE SURE THIS IS LONG ENOUGH FOR THE RADIATION IMPULSE RESPONSE FUNCTIONS TO DECAY TO NEAR-ZERO FOR THE GIVEN PLATFORM!]
0.05 RdtnDT - Time step for wave radiation kernel calculations (sec) [only used when PotMod=1; DT<=RdtnDT<=0.1 recommended; determines RdtnOmegaMax=Pi/RdtnDT in the cosine transform]
---------------------- 2ND-ORDER FLOATING PLATFORM FORCES ---------------------- [unused with WaveMod=0 or 6, or PotMod=0 or 2]
0 MnDrift - Mean-drift 2nd-order forces computed {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero]
0 NewmanApp - Mean- and slow-drift 2nd-order forces computed with Newman’s approximation {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. Used only when WaveDirMod=0]
0 DiffQTF - Full difference-frequency 2nd-order forces computed with full QTF {0: None; [10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero]
0 SumQTF - Full summation -frequency 2nd-order forces computed with full QTF {0: None; [10, 11, or 12]: WAMIT file to use}
---------------------- FLOATING PLATFORM FORCE FLAGS -------------------------- [unused with WaveMod=6]
True PtfmSgF - Platform horizontal surge translation force (flag) or DEFAULT
True PtfmSwF - Platform horizontal sway translation force (flag) or DEFAULT
True PtfmHvF - Platform vertical heave translation force (flag) or DEFAULT
True PtfmRF - Platform roll tilt rotation force (flag) or DEFAULT
True PtfmPF - Platform pitch tilt rotation force (flag) or DEFAULT
True PtfmYF - Platform yaw rotation force (flag) or DEFAULT
---------------------- PLATFORM ADDITIONAL STIFFNESS AND DAMPING --------------
0 0 0 0 0 0 AddF0 - Additional preload (N, N-m)
0 0 0 0 0 0 AddCLin - Additional linear stiffness (N/m, N/rad, N-m/m, N-m/rad)
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0 AddBLin - Additional linear damping(N/(m/s), N/(rad/s), N-m/(m/s), N-m/(rad/s))
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0 AddBQuad - Additional quadratic drag(N/(m/s)^2, N/(rad/s)^2, N-m(m/s)^2, N-m/(rad/s)^2)
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
---------------------- AXIAL COEFFICIENTS --------------------------------------
1 NAxCoef - Number of axial coefficients (-)
AxCoefID AxCd AxCa AxCp
(-) (-) (-) (-)
1 0.00 0.00 1.00
---------------------- MEMBER JOINTS -------------------------------------------
4 NJoints - Number of joints (-) [must be exactly 0 or at least 2]
JointID Jointxi Jointyi Jointzi JointAxID JointOvrlp [JointOvrlp= 0: do nothing at joint, 1: eliminate overlaps by calculating super member]
(-) (m) (m) (m) (-) (switch)
1 0.00000 0.00000 -120.00000 1 0
2 0.00000 0.00000 -12.00000 1 0
3 0.00000 0.00000 -4.00000 1 0
4 0.00000 0.00000 10.00000 1 0
---------------------- MEMBER CROSS-SECTION PROPERTIES -------------------------
2 NPropSets - Number of member property sets (-)
PropSetID PropD PropThck
(-) (m) (m)
1 9.40000 0.00010
2 6.50000 0.00010
---------------------- SIMPLE HYDRODYNAMIC COEFFICIENTS (model 1) --------------
SimplCd SimplCdMG SimplCa SimplCaMG SimplCp SimplCpMG SimplAxCa SimplAxCaMG SimplAxCp SimplAxCpMG
(-) (-) (-) (-) (-) (-) (-) (-) (-) (-)
0.0 0.00 0.00 0.00 1.00 1.00 1.00 1.00 1.00 1.00
---------------------- DEPTH-BASED HYDRODYNAMIC COEFFICIENTS (model 2) ---------
0 NCoefDpth - Number of depth-dependent coefficients (-)
Dpth DpthCd DpthCdMG DpthCa DpthCaMG DpthCp DpthCpMG DpthAxCa DpthAxCaMG DpthAxCp DpthAxCpMG
(m) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-)
---------------------- MEMBER-BASED HYDRODYNAMIC COEFFICIENTS (model 3) --------
0 NCoefMembers - Number of member-based coefficients (-)
MemberID MemberCd1 MemberCd2 MemberCdMG1 MemberCdMG2 MemberCa1 MemberCa2 MemberCaMG1 MemberCaMG2 MemberCp1 MemberCp2 MemberCpMG1 MemberCpMG2 MemberAxCa1 MemberAxCa2 MemberAxCaMG1 MemberAxCaMG2 MemberAxCp1 MemberAxCp2 MemberAxCpMG1 MemberAxCpMG2
(-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-)
-------------------- MEMBERS -------------------------------------------------
3 NMembers - Number of members (-)
MemberID MJointID1 MJointID2 MPropSetID1 MPropSetID2 MDivSize MCoefMod PropPot [MCoefMod=1: use simple coeff table, 2: use depth-based coeff table, 3: use member-based coeff table] [ PropPot/=0 if member is modeled with potential-flow theory]
(-) (-) (-) (-) (-) (m) (switch) (flag)
1 1 2 1 1 0.5000 1 TRUE
2 2 3 1 2 0.5000 1 TRUE
3 3 4 2 2 0.5000 1 TRUE
---------------------- FILLED MEMBERS ------------------------------------------
0 NFillGroups - Number of filled member groups (-) [If FillDens = DEFAULT, then FillDens = WtrDens; FillFSLoc is related to MSL2SWL]
FillNumM FillMList FillFSLoc FillDens
(-) (-) (m) (kg/m^3)
---------------------- MARINE GROWTH -------------------------------------------
0 NMGDepths - Number of marine-growth depths specified (-)
MGDpth MGThck MGDens
(m) (m) (kg/m^3)
---------------------- MEMBER OUTPUT LIST --------------------------------------
0 NMOutputs - Number of member outputs (-) [must be < 10]
MemberID NOutLoc NodeLocs [NOutLoc < 10; node locations are normalized distance from the start of the member, and must be >=0 and <= 1] [unused if NMOutputs=0]
(-) (-) (-)
---------------------- JOINT OUTPUT LIST ---------------------------------------
0 NJOutputs - Number of joint outputs [Must be < 10]
0 JOutLst - List of JointIDs which are to be output (-)[unused if NJOutputs=0]
---------------------- OUTPUT --------------------------------------------------
True HDSum - Output a summary file [flag]
False OutAll - Output all user-specified member and joint loads (only at each member end, not interior locations) [flag]
2 OutSwtch - Output requested channels to: [1=Hydrodyn.out, 2=GlueCode.out, 3=both files]
“ES11.4e2” OutFmt - Output format for numerical results (quoted string) [not checked for validity!]
“A11” OutSFmt - Output format for header strings (quoted string) [not checked for validity!]



fig1.jpeg

Dear Riccardo,

I’m not sure I understand what you are plotting to really comment.

I would suggest simplifying the model to debug, e.g., do you get the results you expect for a still-water simulation (WaveMod = 0)?

One thing I see missing in your block is the gravitational restoring from body weight, unless you’ve included that in your hydrostatic stiffness matrix (which is not where that term is accounted for in FAST). But this will effect the moments, not the forces.

Best regards,

Dear Jason,

Thanks for your prompt reply. I will try to put wavemod = 0. My initial question can be summarized as follows: for hydrodynamics I use the following Cummins law, written using the FAST outputs with irregular waves and assuming no forces from the turbine:
M a = ((RdntFxi, RdntFyi, … RdntMzi) + (HdrStcFxi, HdrStcFyi, … HdrStcMzi) + (WavesFxi, WavesFyi, … WavesMzi)) + Fmoor + Mg = (HydroFxi, HydroFyi, … HydroMzi) + Fmoor + Mg

where a = acceleration in the 6 dof, M mass matrix.
I was also able to verify equality
(HydroFxi, HydroFyi, … HydroMzi) = (RdntFxi, RdntFyi, … RdntMzi) + (HdrStcFxi, HdrStcFyi, … HdrStcMzi) + (WavesFxi, WavesFyi, … WavesMzi)

What is missing besides the gravitational restoring from body weight (which as you said affects only the moments)?

Thank you for your help. Best regards,

Riccardo.

Dear Riccardo,

I don’t believe you are missing any terms. Are you using FAST to solve for the body acceleration? If so, then FAST intrinsically accounts for the body inertia forces and body gravitational forces, so, you shouldn’t need to account for them in your Simulink model.

Best regards,

Dear Jason,

So, for example, you confirm that:
PtfmTAxi = (HydroFxi + Fmoorx) / m
where m = 8.0660481545E + 006 kg?
Because if so, my problem must be the transition from the tension T of the lines to the Fmoorx force.

Best regards,

Riccardo.

Dear Riccardo,

Yes, I agree. That said, HydroFxi includes the added-mass effect, and so, its calculation assumes that you match the corresponding PtfmTAxi correctly.

Best regards,

Dear Jason,

I tried to check the equality:
m * ‘PtfmTAxi’ = ‘HydroFxi’ + (‘Fx [1]’ + ‘Fx [2]’ + ‘Fx [3]’ + ‘Fx [4]’ + ‘Fx [5]’ + 'Fx [6 ] ‘), with m = 8066048.15450000 kg and the trends of’ PtfmTAxi ‘,’ HydroFxi ‘and’ Fx […] 'taken from the FAST test reported previously.
Equality doesn’t match (as you can see in figure 1), I can’t understand why.

Best regards,
Riccardo
figure 1.png

Dear Riccardo,

What do you mean by Fx[i] in your equation? Which MAP++ output are you referring to?

Another, problem, which I missed yesterday, is that:

is not correct. The equation a = F/m only works if the force (F) is applied at the center of mass and the acceleration (a) is the translational acceleration of the center of mass. In this case, the platform reference point (0,0,0) is not the center of mass of the full system. As such, the applied moments will also impact the translational acceleration of the platform reference point.

Best regards,

Dear Jason,

I modified my simulink model as you suggested, checking the equation at still water level (SWL) (0,0,0):
M_swl * qdd_swl = ‘HydroFxi’ + Fmoor + Restmom & gravity
where is it:

  • ‘HydroFxi’ is the release of the FAST test in the 6 dof
  • Fmoor is the contribution of the mooring in the 6 dof, where the forces are given by the sum of the 6 lines (example, ‘Fx [1]’ + ‘Fx [2]’ + ‘Fx [3]’ + 'Fx [4 ] ‘+’ Fx [5] ‘+’ Fx [6] '), the moments are obtained by multiplying force by arm.
  • Restmom & gravity contains the contribution of gravity and restoring moment [0, 0, -mg, mg * COG * rx, mg * COG * ry, 0]
  • qdd_swl is acceleration
  • M_swl is the mass matrix shown in the figure in my previous post.

My problem is that qdd_swl thus obtained does not correspond to the corresponding outputs of FAST, in particular:

  • ‘PtfmRAxi’ and ‘PtfmRAyi’ do not correspond to qdd_swl (rx) and qdd_swl (ry). This also causes problems with qdd_swl (x) and qdd_swl (y) reported at the CM (therefore ‘PtfmTAxi’ and ‘PtfmTAyi’). The transport of the accelerations were made in this way: ‘PtfmTAxi’ = qdd_swl (x) + qdd_swl (ry) * 78 does not return, however I have verified that instead ‘PtfmTAxi’ = qdd_swl (x) + 'PtfmRAyi '* 78 matches.
  • ‘PtfmTAzi’ = qdd_swl (z) matches.
    These observations show that the problem is not in translations but in rotations as rxdd and rydd are wrong and therefore make xdd and ydd wrong. My suspicion is that I use the M matrix incorrectly, or that I am wrong in the frame of reference.
    What do you think about it? Are all the loads used by me in the (SWL)?

In the figure is represented what i have explained: ok means that fast and my model matches, no is where the problems appear. As you can see, the problems are relative to rotations, so there are two alternatives:

  • Moments of inertia in the M mass matrix are not correct
  • All loads are not in the reference frame I supposed (0,0,0).

Best regards,

Riccardo.

Dear Riccardo,

Sorry, but I’m not really following your nomenclature or logic. You seem to be writing an equation of motion about the SWL, but then you say

which looks like your are assuming qdd_swl is about the center of mass (at 78-m below SWL for the OC3-Hywind spar). I also don’t see the center of mass offsets in the mass matrix in the post above.

I should note that your equations of motion also miss the nonlinear inertial terms, e.g. omega x I dot omega, where I is the inertial dyadic, omega is the angular velocity, x is a cross product, and dot is the dot product (this term is included in ElastoDyn).

In the end, I’m not really sure I understand what you want to do to offer a suggested path forward.

Best regards,

Dear Jason,

My problem is simply to know the exact equation from which the accelerations are obtained. Figure 1 shows the equation I am using, according to the reference system (0,0,0) (which is supposed inertial). I remember you that I set CompAero=0 and wind speed=0 to don’t take into account any loads dued to tower and turbine.
The mass matrix is shown in figure 2.
Also keep in mind that the MAP outputs were added for the mooring:
Fxm = ‘Fx [1]’ + ‘Fx [2]’ + ‘Fx [3]’ + ‘Fx [4]’ + ‘Fx [5]’ + ‘Fx [6]’,
Fym = ‘Fy [1]’ + ‘Fy [2]’ + ‘Fy [3]’ + ‘Fy [4]’ + ‘Fy [5]’ + ‘Fy [6]’
FZM = ‘Fz [1]’ + ‘Fz [2]’ + ‘Fz [3]’ + ‘Fz [4]’ + ‘Fz [5]’ + ‘Fz [6]’
and Mxm, Mym, Mzm are obtained by making the forces of each line for the arms.
At the moment I’m not getting the accelerations rxdd, rzdd and then ydd, while rydd, xdd and zdd are right (as you can see in figure 3).
What loads did I forget?

I hope the nomenclature is clearer this time, best regards.

Riccardo.


Figure 2.jpeg

Dear Riccardo,

Your results appear to be much closer now. ydd, rxdd, and rzdd are very small in this basically 2D motion problem. xdd, zdd, and rydd are now quite close.

I still see a few terms missing from your equations of motion, but these may be small for this case:

  • There should be a small center of mass offset in the X direction due to the overhanging mass of the RNA.
  • Your equations of motion are missing a couple of the nonlinear inertial terms, i.e., omega x ( omega x r_cm*mass ) and omega x I dot omega (most of which are described in my prior post).
  • In general, the mass matrix in the ElastoDyn module depends on the displacement, e.g., the center of mass location and inertias will change in time as the system rotates.

Please also note that the equations of motion should be written as Ma rather then aM (a typo in your Figure 1).

I hope that helps.

Best regards,

Dear Jason,

Thanks for the reply.
I tried to make the changes you suggested, however these have not yet solved the problem.
Nonlinear inertial terms (Figure 1), i.e., omega x (omega x r_cm * mass) and omega x I dot omega have little effect (around 5 N or 5Nm for each force / moment except Fz where there are peaks of 800N). Can you confirm that omega = [rxd, ryd, rzd]?
I tried to multiply the accelerations obtained by FAST by the mass matrix M, obtaining the resulting forces acting in the 6dof (Figure 2): as you can see it takes moments on Mx and Mz of order 10 ^ 4, I can’t understand how they are caused since non-linear terms have such a low incidence.
I modified the mass matrix, translating it for each timestep in relation to the movements of the platform:

I obtained the mass matrix relative to the center of mass through the following inverse transformation: Mcg = (TransMat^T)^-1 * M_swl * TransMat^-1 (where TransMat is the one indicated in this topic "OC3-Hywind RAOs where the inputs of the rotation matrix are those in still water). Then the mass matrix (in 0 0 0) relative to the position of the system is obtained by applying the direct transformation M_swl = TransMat^T * Mcg * TransMat, using the current positions of Cg as the input of TransMat.

Even with this change there are no improvements, Mx and Mz of my model still remain too low.

Best regards,

Riccardo


Dear Riccardo,

Yes, I meant that omega = [ rxd, ryd, rzd ]^T.

You haven’t stated what values you are using for r_cmM or I, so, I can’t confirm them; of course, these are time-dependent in FAST, dependent on the rotation of the platform.

I’m not really sure I can comment more.

Best regards,

Dear Jason,

Thanks for your reply. The value of r_cmM is:
-par.hull.FDA.hydrostatic.r_cmM=[0 0 par.hull.FDA.hydrostatic.M(1,5)]=[0,0,-788.0660481545E+006];
While I is a matrix that contain only the values of inertia of the mass matrix (3X3 matrix from index (4,4) to (6,6)).
However I tried to implement a ‘new’ mass matrix similar to the previous one, but with only diagonal inertia values (figure 1). In this case my results are very similar to those FAST (figure 2). But as you can see from figure 2, there is an offset especially in xdd and rydd, which I think is due to an offset of 1.5e^6 N
m in the mean value of the moment along y axis “My(Total)” from zero (Figure3).

I chose to remove the off-diagonal terms in M, seeing that ‘My’ mainly influenced rx and rz, creating values ​​with too large amplitudes. Is it a coincidence that by doing this you get forms very close to the results of FAST? Or is it connected to the fact that we have inexplicably a very large offset of My which therefore does not oscillate around 0 and affects more on rx and rz?
I continue to suspect that there is something wrong with my equations for moments, in particular the moment you turn around y for me is given by:
My (TOTAL) = HydroMyi + My_restoring + My_moor + My_nonlinear
where, looking at figure 3, it is evident that My_moor and My_nonlinear has little effect, while mean (HydroMyi) = -3.7 * 10 ^ 6 and mean (My_restoring) = 5.2 * 10 ^ 6.
The offset is therefore about the difference of the offsets between My_restoring and HydroMyi (1.5 * 10 ^ 6).
To have accelerations that oscillate around 0 I expect My (TOTAL) to oscillate around 0, or have a much smaller offset.
So I wonder if there is another contribution to My or if
My_restoring = mass * g * COG * ry is right (where mass = 8.066 * 10 ^ 6 kg, COG = 89.9155 m).

Thank you a lot for your help. best regards.

Riccardo.
figure3.jpeg


figure1.jpeg

Dear Riccardo,

Again, your r_cmM vector and r_cm*M components of the mass matrix are missing the small nonzero x-offset of the center of mass due the overhanging mass of the RNA. Likewise, I would expect off-diagonal terms to appear in the inertia components of the mass matrix. The full mass matrix can be obtained through a FAST linearization analysis. The COG in My_restoring should be -78 m, not -89.9155 m. Also, the small x-offset of the center of mass will also have some effect on the gravitational restoring.

Best regards,

Dear Jason,

I tried to find the mass matrix through FAST linearization as you suggested, but I could not find the mass matrix among the outputs (figure 1).
I’m using FAST v8.16, so I had to disable HydroDyn and Mapp otherwise it wouldn’t allow me to linearize.
I would be very grateful if you could show me how to derive M through linearization.

Best regards,
Riccardo.

Dear Riccardo,

The linearization for floating offshore wind systems was not available in FAST v8, but was recently introduced in OpenFAST–see: github.com/OpenFAST/openfast/pull/350.

The FAST v8 and OpenFAST linearizations do not show the mass matrix directly, but this matrix can often be inferred from other matrices generated through the linearization process. A similar question was asked and answered in the following forum topic: OpenFast 2nd order Linearization - #2 by Jason.Jonkman.

Best regards,

Dear Jason,
Analyzing in more detail the outputs of FAST and my model I believe that the problem is the mass matrix.
So as you suggested I successfully downloaded OpenFast, following the instructions in the following doc:
-2. Installing OpenFAST — OpenFAST v3.3.0 documentation
and also your suggestions within the following issue:
-Ubuntu, S-Function, mex, error message · Issue #387 · OpenFAST/openfast · GitHub .
I used the same input files used for FAST v8 of test 24, and I set the “Linearize” flag inside the .fst file to true.
I believe, however, Hydrodyn and MAP ++ input files with an updated format are needed to be able to linearize, this is because when I try to running OpenLoop.m this error appears:

"Error using Run_OpenLoop (line 30)
Error reported by S-function ‘FAST_SFunc’ in 'OpenLoop / FAST Nonlinear Wind
Turbine / S-Function ':
FAST_InitializeAll: FAST_Init: ValidateInputData: Linearization is not implemented for the HydroDyn module.
ValidateInputData: Linearization is not implemented for any of the mooring modules. "

If that’s how I think, could you tell me where to get the updated input files, and how they should be set?
If it were not so, where am I wrong?

These are the input file that I used:

------- FAST v8.16.* INPUT FILE ------------------------------------------------ FAST Certification Test #24: NREL 5.0 MW Baseline Wind Turbine with OC3 Hywind Configuration, for use in offshore analysis ---------------------- SIMULATION CONTROL -------------------------------------- False Echo - Echo input data to <RootName>.ech (flag) "FATAL" AbortLevel - Error level when simulation should abort (string) {"WARNING", "SEVERE", "FATAL"} 1200 TMax - Total run time (s) 0.05 DT - Recommended module time step (s) 1 InterpOrder - Interpolation order for input/output time history (-) {1=linear, 2=quadratic} 0 NumCrctn - Number of correction iterations (-) {0=explicit calculation, i.e., no corrections} 1.5 DT_UJac - Time between calls to get Jacobians (s) 1E+06 UJacSclFact - Scaling factor used in Jacobians (-) ---------------------- FEATURE SWITCHES AND FLAGS ------------------------------ 1 CompElast - Compute structural dynamics (switch) {1=ElastoDyn; 2=ElastoDyn + BeamDyn for blades} 1 CompInflow - Compute inflow wind velocities (switch) {0=still air; 1=InflowWind; 2=external from OpenFOAM} 0 CompAero - Compute aerodynamic loads (switch) {0=None; 1=AeroDyn v14; 2=AeroDyn v15} 0 CompServo - Compute control and electrical-drive dynamics (switch) {0=None; 1=ServoDyn} 1 CompHydro - Compute hydrodynamic loads (switch) {0=None; 1=HydroDyn} 0 CompSub - Compute sub-structural dynamics (switch) {0=None; 1=SubDyn} 1 CompMooring - Compute mooring system (switch) {0=None; 1=MAP++; 2=FEAMooring; 3=MoorDyn; 4=OrcaFlex} 0 CompIce - Compute ice loads (switch) {0=None; 1=IceFloe; 2=IceDyn} ---------------------- INPUT FILES --------------------------------------------- "5MW_Baseline/NRELOffshrBsline5MW_OC3Hywind_ElastoDyn.dat" EDFile - Name of file containing ElastoDyn input parameters (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_BeamDyn.dat" BDBldFile(1) - Name of file containing BeamDyn input parameters for blade 1 (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_BeamDyn.dat" BDBldFile(2) - Name of file containing BeamDyn input parameters for blade 2 (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_BeamDyn.dat" BDBldFile(3) - Name of file containing BeamDyn input parameters for blade 3 (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_InflowWind_12mps.dat" InflowFile - Name of file containing inflow wind input parameters (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_OC3Hywind_AeroDyn15.dat" AeroFile - Name of file containing aerodynamic input parameters (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_OC3Hywind_ServoDyn.dat" ServoFile - Name of file containing control and electrical-drive input parameters (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_OC3Hywind_HydroDyn.dat" HydroFile - Name of file containing hydrodynamic input parameters (quoted string) "unused" SubFile - Name of file containing sub-structural input parameters (quoted string) "5MW_Baseline/NRELOffshrBsline5MW_OC3Hywind_MAP.dat" MooringFile - Name of file containing mooring system input parameters (quoted string) "unused" IceFile - Name of file containing ice input parameters (quoted string) ---------------------- OUTPUT -------------------------------------------------- True SumPrint - Print summary data to "<RootName>.sum" (flag) 1 SttsTime - Amount of time between screen status messages (s) 99999 ChkptTime - Amount of time between creating checkpoint files for potential restart (s) 0.05 DT_Out - Time step for tabular output (s) (or "default") 0 TStart - Time to begin tabular output (s) 2 OutFileFmt - Format for tabular (time-marching) output file (switch) {1: text file [<RootName>.out], 2: binary file [<RootName>.outb], 3: both} True TabDelim - Use tab delimiters in text tabular output file? (flag) {uses spaces if false} "ES10.3E2" OutFmt - Format used for text tabular output, excluding the time channel. Resulting field should be 10 characters. (quoted string) ---------------------- LINEARIZATION ------------------------------------------- False Linearize - Linearization analysis (flag) 2 NLinTimes - Number of times to linearize (-) [>=1] [unused if Linearize=False] 30, 60 LinTimes - List of times at which to linearize (s) [1 to NLinTimes] [unused if Linearize=False] 2 LinInputs - Inputs included in linearization (switch) {0=none; 1=standard; 2=all module inputs (debug)} [unused if Linearize=False] 0 LinOutputs - Outputs included in linearization (switch) {0=none; 1=from OutList(s); 2=all module outputs (debug)} [unused if Linearize=False] False LinOutJac - Include full Jacobians in linearization output (for debug) (flag) [unused if Linearize=False; used only if LinInputs=LinOutputs=2] False LinOutMod - Write module-level linearization output files in addition to output for full system? (flag) [unused if Linearize=False] ---------------------- VISUALIZATION ------------------------------------------ 0 WrVTK - VTK visualization data output: (switch) {0=none; 1=initialization data only; 2=animation} 2 VTK_type - Type of VTK visualization data: (switch) {1=surfaces; 2=basic meshes (lines/points); 3=all meshes (debug)} [unused if WrVTK=0] false VTK_fields - Write mesh fields to VTK data files? (flag) {true/false} [unused if WrVTK=0] 15 VTK_fps - Frame rate for VTK output (frames per second){will use closest integer multiple of DT} [used only if WrVTK=2]

------- HydroDyn v2.03.* Input File -------------------------------------------- NREL 5.0 MW offshore baseline floating platform HydroDyn input properties for the OC3 Hywind. False Echo - Echo the input file data (flag) ---------------------- ENVIRONMENTAL CONDITIONS -------------------------------- 1025 WtrDens - Water density (kg/m^3) 250 WtrDpth - Water depth (meters) 0 MSL2SWL - Offset between still-water level and mean sea level (meters) [positive upward; unused when WaveMod = 6; must be zero if PotMod=1 or 2] ---------------------- WAVES --------------------------------------------------- 0 WaveMod - Incident wave kinematics model {0: none=still water, 1: regular (periodic), 1P#: regular with user-specified phase, 2: JONSWAP/Pierson-Moskowitz spectrum (irregular), 3: White noise spectrum (irregular), 4: user-defined spectrum from routine UserWaveSpctrm (irregular), 5: Externally generated wave-elevation time series, 6: Externally generated full wave-kinematics time series [option 6 is invalid for PotMod/=0]} (switch) 0 WaveStMod - Model for stretching incident wave kinematics to instantaneous free surface {0: none=no stretching, 1: vertical stretching, 2: extrapolation stretching, 3: Wheeler stretching} (switch) [unused when WaveMod=0 or when PotMod/=0] 3630 WaveTMax - Analysis time for incident wave calculations (sec) [unused when WaveMod=0; determines WaveDOmega=2Pi/WaveTMax in the IFFT] 0.25 WaveDT - Time step for incident wave calculations (sec) [unused when WaveMod=0; 0.1<=WaveDT<=1.0 recommended; determines WaveOmegaMax=Pi/WaveDT in the IFFT] 2.25 WaveHs - Significant wave height of incident waves (meters) [used only when WaveMod=1, 2, or 3] 6.5 WaveTp - Peak-spectral period of incident waves (sec) [used only when WaveMod=1 or 2] "DEFAULT" WavePkShp - Peak-shape parameter of incident wave spectrum (-) or DEFAULT (string) [used only when WaveMod=2; use 1.0 for Pierson-Moskowitz] 0 WvLowCOff - Low cut-off frequency or lower frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6] 500 WvHiCOff - High cut-off frequency or upper frequency limit of the wave spectrum beyond which the wave spectrum is zeroed (rad/s) [unused when WaveMod=0, 1, or 6] 0 WaveDir - Incident wave propagation heading direction (degrees) [unused when WaveMod=0 or 6] 0 WaveDirMod - Directional spreading function {0: none, 1: COS2S} (-) [only used when WaveMod=2,3, or 4] 1 WaveDirSpread - Wave direction spreading coefficient ( > 0 ) (-) [only used when WaveMod=2,3, or 4 and WaveDirMod=1] 1 WaveNDir - Number of wave directions (-) [only used when WaveMod=2,3, or 4 and WaveDirMod=1; odd number only] 90 WaveDirRange - Range of wave directions (full range: WaveDir +/- 1/2*WaveDirRange) (degrees) [only used when WaveMod=2,3,or 4 and WaveDirMod=1] 123456789 WaveSeed(1) - First random seed of incident waves [-2147483648 to 2147483647] (-) [unused when WaveMod=0, 5, or 6] 1011121314 WaveSeed(2) - Second random seed of incident waves [-2147483648 to 2147483647] (-) [unused when WaveMod=0, 5, or 6] TRUE WaveNDAmp - Flag for normally distributed amplitudes (flag) [only used when WaveMod=2, 3, or 4] "" WvKinFile - Root name of externally generated wave data file(s) (quoted string) [used only when WaveMod=5 or 6] 1 NWaveElev - Number of points where the incident wave elevations can be computed (-) [maximum of 9 output locations] 0 WaveElevxi - List of xi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0] 0 WaveElevyi - List of yi-coordinates for points where the incident wave elevations can be output (meters) [NWaveElev points, separated by commas or white space; usused if NWaveElev = 0] ---------------------- 2ND-ORDER WAVES ----------------------------------------- [unused with WaveMod=0 or 6] FALSE WvDiffQTF - Full difference-frequency 2nd-order wave kinematics (flag) FALSE WvSumQTF - Full summation-frequency 2nd-order wave kinematics (flag) 0 WvLowCOffD - Low frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method] 3.5 WvHiCOffD - High frequency cutoff used in the difference-frequencies (rad/s) [Only used with a difference-frequency method] 0.1 WvLowCOffS - Low frequency cutoff used in the summation-frequencies (rad/s) [Only used with a summation-frequency method] 3.5 WvHiCOffS - High frequency cutoff used in the summation-frequencies (rad/s) [Only used with a summation-frequency method] ---------------------- CURRENT ------------------------------------------------- [unused with WaveMod=6] 0 CurrMod - Current profile model {0: none=no current, 1: standard, 2: user-defined from routine UserCurrent} (switch) 0 CurrSSV0 - Sub-surface current velocity at still water level (m/s) [used only when CurrMod=1] "DEFAULT" CurrSSDir - Sub-surface current heading direction (degrees) or DEFAULT (string) [used only when CurrMod=1] 20 CurrNSRef - Near-surface current reference depth (meters) [used only when CurrMod=1] 0 CurrNSV0 - Near-surface current velocity at still water level (m/s) [used only when CurrMod=1] 0 CurrNSDir - Near-surface current heading direction (degrees) [used only when CurrMod=1] 0 CurrDIV - Depth-independent current velocity (m/s) [used only when CurrMod=1] 0 CurrDIDir - Depth-independent current heading direction (degrees) [used only when CurrMod=1] ---------------------- FLOATING PLATFORM --------------------------------------- [unused with WaveMod=6] 1 PotMod - Potential-flow model {0: none=no potential flow, 1: frequency-to-time-domain transforms based on WAMIT output, 2: fluid-impulse theory (FIT)} (switch) "HydroData/Spar" PotFile - Root name of potential-flow model data; WAMIT output files containing the linear, nondimensionalized, hydrostatic restoring matrix (.hst), frequency-dependent hydrodynamic added mass matrix and damping matrix (.1), and frequency- and direction-dependent wave excitation force vector per unit wave amplitude (.3) (quoted string) [MAKE SURE THE FREQUENCIES INHERENT IN THESE WAMIT FILES SPAN THE PHYSICALLY-SIGNIFICANT RANGE OF FREQUENCIES FOR THE GIVEN PLATFORM; THEY MUST CONTAIN THE ZERO- AND INFINITE-FREQUENCY LIMITS!] 1 WAMITULEN - Characteristic body length scale used to redimensionalize WAMIT output (meters) [only used when PotMod=1] 8026.50 PtfmVol0 - Displaced volume of water when the platform is in its undisplaced position (m^3) [only used when PotMod=1; USE THE SAME VALUE COMPUTED BY WAMIT AS OUTPUT IN THE .OUT FILE!] 0 PtfmCOBxt - The xt offset of the center of buoyancy (COB) from the platform reference point (meters) [only used when PotMod=1] 0 PtfmCOByt - The yt offset of the center of buoyancy (COB) from the platform reference point (meters) [only used when PotMod=1] 2 RdtnMod - Radiation memory-effect model {0: no memory-effect calculation, 1: convolution, 2: state-space} (switch) [only used when PotMod=1; STATE-SPACE REQUIRES *.ss INPUT FILE] 60 RdtnTMax - Analysis time for wave radiation kernel calculations (sec) [only used when PotMod=1; determines RdtnDOmega=Pi/RdtnTMax in the cosine transform; MAKE SURE THIS IS LONG ENOUGH FOR THE RADIATION IMPULSE RESPONSE FUNCTIONS TO DECAY TO NEAR-ZERO FOR THE GIVEN PLATFORM!] 0.05 RdtnDT - Time step for wave radiation kernel calculations (sec) [only used when PotMod=1; DT<=RdtnDT<=0.1 recommended; determines RdtnOmegaMax=Pi/RdtnDT in the cosine transform] ---------------------- 2ND-ORDER FLOATING PLATFORM FORCES ---------------------- [unused with WaveMod=0 or 6, or PotMod=0 or 2] 0 MnDrift - Mean-drift 2nd-order forces computed {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero] 0 NewmanApp - Mean- and slow-drift 2nd-order forces computed with Newman's approximation {0: None; [7, 8, 9, 10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero. Used only when WaveDirMod=0] 0 DiffQTF - Full difference-frequency 2nd-order forces computed with full QTF {0: None; [10, 11, or 12]: WAMIT file to use} [Only one of MnDrift, NewmanApp, or DiffQTF can be non-zero] 0 SumQTF - Full summation -frequency 2nd-order forces computed with full QTF {0: None; [10, 11, or 12]: WAMIT file to use} ---------------------- FLOATING PLATFORM FORCE FLAGS -------------------------- [unused with WaveMod=6] True PtfmSgF - Platform horizontal surge translation force (flag) or DEFAULT True PtfmSwF - Platform horizontal sway translation force (flag) or DEFAULT True PtfmHvF - Platform vertical heave translation force (flag) or DEFAULT True PtfmRF - Platform roll tilt rotation force (flag) or DEFAULT True PtfmPF - Platform pitch tilt rotation force (flag) or DEFAULT True PtfmYF - Platform yaw rotation force (flag) or DEFAULT ---------------------- PLATFORM ADDITIONAL STIFFNESS AND DAMPING -------------- 0 0 0 0 0 0 AddF0 - Additional preload (N, N-m) 0 0 0 0 0 0 AddCLin - Additional linear stiffness (N/m, N/rad, N-m/m, N-m/rad) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AddBLin - Additional linear damping(N/(m/s), N/(rad/s), N-m/(m/s), N-m/(rad/s)) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AddBQuad - Additional quadratic drag(N/(m/s)^2, N/(rad/s)^2, N-m(m/s)^2, N-m/(rad/s)^2) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ---------------------- AXIAL COEFFICIENTS -------------------------------------- 1 NAxCoef - Number of axial coefficients (-) AxCoefID AxCd AxCa AxCp (-) (-) (-) (-) 1 0.00 0.00 0.00 ---------------------- MEMBER JOINTS ------------------------------------------- 4 NJoints - Number of joints (-) [must be exactly 0 or at least 2] JointID Jointxi Jointyi Jointzi JointAxID JointOvrlp [JointOvrlp= 0: do nothing at joint, 1: eliminate overlaps by calculating super member] (-) (m) (m) (m) (-) (switch) 1 0.00000 0.00000 -120.00000 1 0 2 0.00000 0.00000 -12.00000 1 0 3 0.00000 0.00000 -4.00000 1 0 4 0.00000 0.00000 10.00000 1 0 ---------------------- MEMBER CROSS-SECTION PROPERTIES ------------------------- 2 NPropSets - Number of member property sets (-) PropSetID PropD PropThck (-) (m) (m) 1 9.40000 0.00010 2 6.50000 0.00010 ---------------------- SIMPLE HYDRODYNAMIC COEFFICIENTS (model 1) -------------- SimplCd SimplCdMG SimplCa SimplCaMG SimplCp SimplCpMG SimplAxCa SimplAxCaMG SimplAxCp SimplAxCpMG (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) 0.0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ---------------------- DEPTH-BASED HYDRODYNAMIC COEFFICIENTS (model 2) --------- 0 NCoefDpth - Number of depth-dependent coefficients (-) Dpth DpthCd DpthCdMG DpthCa DpthCaMG DpthCp DpthCpMG DpthAxCa DpthAxCaMG DpthAxCp DpthAxCpMG (m) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) ---------------------- MEMBER-BASED HYDRODYNAMIC COEFFICIENTS (model 3) -------- 0 NCoefMembers - Number of member-based coefficients (-) MemberID MemberCd1 MemberCd2 MemberCdMG1 MemberCdMG2 MemberCa1 MemberCa2 MemberCaMG1 MemberCaMG2 MemberCp1 MemberCp2 MemberCpMG1 MemberCpMG2 MemberAxCa1 MemberAxCa2 MemberAxCaMG1 MemberAxCaMG2 MemberAxCp1 MemberAxCp2 MemberAxCpMG1 MemberAxCpMG2 (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) (-) -------------------- MEMBERS ------------------------------------------------- 3 NMembers - Number of members (-) MemberID MJointID1 MJointID2 MPropSetID1 MPropSetID2 MDivSize MCoefMod PropPot [MCoefMod=1: use simple coeff table, 2: use depth-based coeff table, 3: use member-based coeff table] [ PropPot/=0 if member is modeled with potential-flow theory] (-) (-) (-) (-) (-) (m) (switch) (flag) 1 1 2 1 1 0.5000 1 TRUE 2 2 3 1 2 0.5000 1 TRUE 3 3 4 2 2 0.5000 1 TRUE ---------------------- FILLED MEMBERS ------------------------------------------ 0 NFillGroups - Number of filled member groups (-) [If FillDens = DEFAULT, then FillDens = WtrDens; FillFSLoc is related to MSL2SWL] FillNumM FillMList FillFSLoc FillDens (-) (-) (m) (kg/m^3) ---------------------- MARINE GROWTH ------------------------------------------- 0 NMGDepths - Number of marine-growth depths specified (-) MGDpth MGThck MGDens (m) (m) (kg/m^3) ---------------------- MEMBER OUTPUT LIST -------------------------------------- 0 NMOutputs - Number of member outputs (-) [must be < 10] MemberID NOutLoc NodeLocs [NOutLoc < 10; node locations are normalized distance from the start of the member, and must be >=0 and <= 1] [unused if NMOutputs=0] (-) (-) (-) ---------------------- JOINT OUTPUT LIST --------------------------------------- 0 NJOutputs - Number of joint outputs [Must be < 10] 0 JOutLst - List of JointIDs which are to be output (-)[unused if NJOutputs=0] ---------------------- OUTPUT -------------------------------------------------- True HDSum - Output a summary file [flag] False OutAll - Output all user-specified member and joint loads (only at each member end, not interior locations) [flag] 2 OutSwtch - Output requested channels to: [1=Hydrodyn.out, 2=GlueCode.out, 3=both files] "ES11.4e2" OutFmt - Output format for numerical results (quoted string) [not checked for validity!] "A11" OutSFmt - Output format for header strings (quoted string) [not checked for validity!]

---------------------- LINE DICTIONARY --------------------------------------- LineType Diam MassDenInAir EA CB CIntDamp Ca Cdn Cdt (-) (m) (kg/m) (N) (-) (Pa-s) (-) (-) (-) chainup 0.0809 138.73 1071000000 1 1.0E8 0.6 -1.0 0.05 ---------------------- NODE PROPERTIES --------------------------------------- Node Type X Y Z M B FX FY FZ (-) (-) (m) (m) (m) (kg) (mˆ3) (N) (N) (N) 1 fix -152.17 0 -250 0 0 # # # 2 Vessel -31.5 0 -11.3 0 0 # # # 3 fix -76.0850 131.7831 -250.0000 0 0 # # # 4 Vessel -15.7500 27.2798 -11.3000 0 0 # # # 5 fix 76.0850 131.7831 -250.0000 0 0 # # # 6 Vessel 15.7500 27.2798 -11.3000 0 0 # # # 7 fix 152.1700 0.0000 -250.0000 0 0 # # # 8 Vessel 31.5000 0.0000 -11.3000 0 0 # # # 9 fix 76.0850 -131.7831 -250.0000 0 0 # # # 10 Vessel 15.7500 -27.2798 -11.3000 0 0 # # # 11 fix -76.0850 -131.7831 -250.0000 0 0 # # # 12 Vessel -15.7500 -27.2798 -11.3000 0 0 # # # ---------------------- LINE PROPERTIES --------------------------------------- Line LineType UnstrLen NodeAnch NodeFair Flags (-) (-) (m) (-) (-) (-) 1 chainup 299.34 1 2 GX_FORCE GY_FORCE GZ_FORCE 2 chainup 299.34 3 4 GX_FORCE GY_FORCE GZ_FORCE 3 chainup 299.34 5 6 GX_FORCE GY_FORCE GZ_FORCE 4 chainup 299.34 7 8 GX_FORCE GY_FORCE GZ_FORCE 5 chainup 299.34 9 10 GX_FORCE GY_FORCE GZ_FORCE 6 chainup 299.34 11 12 GX_FORCE GY_FORCE GZ_FORCE ---------------------- SOLVER OPTIONS----------------------------------------- Option (-) inner_ftol 1e-6 inner_gtol 1e-12 inner_xtol 1e-6 outer_tol 1e-4 inner_max_its 400 outer_max_its 400

Thank you a lot for your availability. Best regards,
Riccardo.

Dear Riccardo,

You can only linearize a model with HydroDyn and MAP++ enabled if you compile the version in OpenFAST-dev, which includes the recently merged pull request #350, which I linked to in the post above. That said, if your only interest is obtaining the 6x6 mass matrix, all you should need to enable is the ElastoDyn module (CompElast = 1; all others = 0), and in ElastoDyn, disable all structural DOFs except the six platform DOFs.

Best regards,