FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
TrawlDoorWarpControl.h
1#pragma once
2
81#include "ToTrawlDoor.h"
82#include <string>
83
85{
86public:
87 TrawlDoorWarpControl(std::string simObjectName, ISimObjectCreator* creator);
88
90 const double* OutControlLineTension(const double T, const double* const X);
91
93 const double* OutCollectingPoint(const double T, const double* const X);
94
95protected:
97 struct Crowfoot
98 {
99 double point_d[3];
100 double controlLineTension;
101 };
102
103 Crowfoot SolveCrowfoot(const double T, const double* const X) const;
104
106 void AddExternalForces(double T, const double* X, const hydro_body::FlowFrame& frame, hydro_body::Wrench& wrench) const override;
107
111 double m_outCollectingPoint[3] = {0, 0, 0};
112 ISignalPort* m_inControlLineLength;
113};
Definition ToTrawlDoor.h:129
Definition TrawlDoorWarpControl.h:85
double m_controlLinePos_d[3]
Control line fastening point, door frame.
Definition TrawlDoorWarpControl.h:108
double m_warpBaseLineLength
Length of the base line from WarpPos [m].
Definition TrawlDoorWarpControl.h:109
double m_outCollectingPoint[3]
Value of the CollectingPoint port.
Definition TrawlDoorWarpControl.h:111
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:110
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:98
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