Skip to content

Double counting of added mass in rods and lines #220

@RyanDavies19

Description

@RyanDavies19

I was looking through the code in writing the theory and it appears we are double counting the added mass for lines and rods. We include the added mass in the mass matrix calculations, but then also include a fluid inertia force:

Rod mass:

M[i] = m_i * I + VOF[i] * env->rho_w * v_i * (Can * (I - Q) + Cat * Q);

Rod force (Aq and Ap):
Fnet[i] = W[i] + Bo[i] + Dp[i] + Dq[i] + Ap[i] + Aq[i] + Pd[i] + B[i];

Line mass:

M[i] = m_i * I + env->rho_w * v_i * (Can * (I - Q) + Cat * Q);

Line force (Aq and Ap):
Fnet[i] += W[i] + (Dp[i] + Dq[i] + Ap[i] + Aq[i]) + B[i] +

This fluid inertia force is not included in MD-F. However in testing between the two codes I have never seen this as an issue, perhaps I've just always had low added mass coefficients an/or small dynamics. Another good reason to automate checking between the codes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions