12#ifndef F_NETELEMENT_FLOAT_H
13#define F_NETELEMENT_FLOAT_H
15#include "sfh/constants.h"
16#include "sfh/math/array.h"
17#include "sfh/util/diagnostic.h"
18#include "sfh/sim/kinematics.h"
84 const float dHydroForcesRatio = 1;
85 const float dAddedLinearDrag = 0;
86 const float knotDiameterRatio = 2.0;
88 const float rho_water = 1025;
89 const float m_knotMomStiff = 0;
90 const float CnLinearLimitAngle = 4.0 * sfh::pi / 180;
91 const float CnLinear = 0.068 ;
92 const float CnTurb = 0.8;
93 const float CnLam = 1.15;
94 const float TurbLimit = 3.4e5;
95 const float LamLimit = 2.0e5;
96 const float Ct_nominal = 0.01;
97 const float CnKnots_nominal = 1.15;
100void AddNetPanelNodeForces(
102 const float* adPosAndVel,
103 const int* aiPosIndex,
104 const int* aiVelIndex,
105 const float* adWaterVel_ned,
108 float* adNodesDistMesh,
111 float* adMeshBarLength_unstretched,
112 float* adKnotDiameter,
113 float* adKnotMomStiff_contact,
115 float* adDampingCoeff,
117 float* adTwineDragNormal,
118 float* adTwineDiameter,
119 const float m_CnLinearLimitAngle,
120 const float m_CnLinear,
121 const float m_CnTurb,
123 const float m_TurbLimit,
124 const float m_LamLimit,
125 const float m_Ct_nominal,
126 const float m_CnKnots_nominal);
Definition: FNetElementFloat.h:83
const float m_ny_water
Kinematic viscosity of water.
Definition: FNetElementFloat.h:87