FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
TrawlDoorWarpControl.h
1#pragma once
2
81#include "ToTrawlDoor.h"
82
84{
85public:
86 TrawlDoorWarpControl(std::string simObjectName, ISimObjectCreator* creator);
87
89 const double* OutControlLineTension(const double T, const double* const X);
90
92 const double* OutCollectingPoint(const double T, const double* const X);
93
94protected:
96 struct Crowfoot
97 {
98 double point_d[3];
99 double controlLineTension;
100 };
101
102 Crowfoot SolveCrowfoot(const double T, const double* const X) const;
103
105 void AddExternalForces(double T, const double* X, const hydro_body::FlowFrame& frame, hydro_body::Wrench& wrench) const override;
106
110 double m_outCollectingPoint[3] = {0, 0, 0};
111 ISignalPort* m_inControlLineLength;
112};
Definition ToTrawlDoor.h:128
Definition TrawlDoorWarpControl.h:84
double m_controlLinePos_d[3]
Control line fastening point, door frame.
Definition TrawlDoorWarpControl.h:107
double m_warpBaseLineLength
Length of the base line from WarpPos [m].
Definition TrawlDoorWarpControl.h:108
double m_outCollectingPoint[3]
Value of the CollectingPoint port.
Definition TrawlDoorWarpControl.h:110
const double * OutControlLineTension(const double T, const double *const X)
Output port returning the tension in the control line.
double m_outControlLineTension
Value of the ControlLineTension port.
Definition TrawlDoorWarpControl.h:109
const double * OutCollectingPoint(const double T, const double *const X)
Output port returning the global position of the collecting point.
void AddExternalForces(double T, const double *X, const hydro_body::FlowFrame &frame, hydro_body::Wrench &wrench) const override
Applies the warp force at the collecting point, the bridle forces as the base class.
The crowfoot at (T, X): the collecting point in the door frame and the control line tension.
Definition TrawlDoorWarpControl.h:97
Definition HydroBody.h:42
The sum of the loads on a body: the force [0..2] and the moment about the origin [3....
Definition HydroBody.h:57