11#ifndef CNetCableElementTestSpec_H
12#define CNetCableElementTestSpec_H
37 void DeleteSpheresAndDisks();
39 void AddSpheres(
double* adD,
double* adMass,
double* adPos, std::vector<std::string> VsSphereMaterial,
int num);
40 void AddDisks(
double* adD,
double* adThickness,
double* adMass,
double* adPos, std::vector<std::string> VsDiskMaterial,
int num);
41 NodePosition NodesDefineEdge(
int aiNodes[2]);
71#ifdef FH_VISUALIZATION
72 std::string m_materialName;
76#ifdef FH_VISUALIZATION
Class containing a cable element object, allowing for disks and spheres to be connected.
Definition NetCableElementTestSpec.h:18
NetCableElementTestSpec(const NetCableElementTestSpec *old)
The copy constructor.
double m_dE
The Young modulus of the element.
Definition NetCableElementTestSpec.h:67
double m_normalDragCoeffDisk
The normal drag coefficient of a disk.
Definition NetCableElementTestSpec.h:83
double m_dhyd
The hydrodynamic diameter of the element.
Definition NetCableElementTestSpec.h:66
int m_numSpheres
The number of spheres connected.
Definition NetCableElementTestSpec.h:50
double m_nodeOffsetA
The offset between the original nodes of the added node of this cable.
Definition NetCableElementTestSpec.h:43
double m_dragCoeffSphere
The drag coefficient of a sphere.
Definition NetCableElementTestSpec.h:82
double m_dD
The diameter of the element.
Definition NetCableElementTestSpec.h:65
double * m_diskMass
The mass of the connected disks.
Definition NetCableElementTestSpec.h:57
double m_tangentialFrictionCoeffDisk
The normal friction coefficient of a disk.
Definition NetCableElementTestSpec.h:84
double * m_sphereMass
The mass of the connected spheres.
Definition NetCableElementTestSpec.h:52
double m_rho
The density of the element material.
Definition NetCableElementTestSpec.h:68
int m_iD
The ID of the element.
Definition NetCableElementTestSpec.h:46
~NetCableElementTestSpec()
The destructor.
NetCableElementTestSpec()
The constructor.
std::vector< std::string > m_VsDiskMeshName
The names of the materials of the attached disks.
Definition NetCableElementTestSpec.h:60
std::string m_cableName
The name of the parent cable.
Definition NetCableElementTestSpec.h:47
int m_conn[2]
The node numbers that the element is connected to.
Definition NetCableElementTestSpec.h:48
double * m_diskPos
The position of the connected disks.
Definition NetCableElementTestSpec.h:58
double * m_diskD
The diameter of the connected disks.
Definition NetCableElementTestSpec.h:55
double * m_sphereD
The diameter of the connected spheres.
Definition NetCableElementTestSpec.h:51
int m_numDisks
The number of disks connected.
Definition NetCableElementTestSpec.h:54
int m_fromNodes[2]
The nodes which this cable is constructed by dividing.
Definition NetCableElementTestSpec.h:45
std::vector< std::string > m_VsSphereMeshName
The names of the materials of the attached spheres.
Definition NetCableElementTestSpec.h:61
bool Divide(int aiNodes[2], int newNode, int newElementID, NetCableElementTestSpec **sNewCable, double distance=0.5)
Divides the element in two.
double * m_diskThickness
The thickness of the connected disks.
Definition NetCableElementTestSpec.h:56
double m_dL0
The relaxed length of the element.
Definition NetCableElementTestSpec.h:64
int m_foldingPoints
The number of knuckle points on the cable.
Definition NetCableElementTestSpec.h:49
double * m_spherePos
The position of the connected spheres.
Definition NetCableElementTestSpec.h:53
double m_nodeOffsetB
The offset between the original nodes of the added node of this cable.
Definition NetCableElementTestSpec.h:44