FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Ship::ShipParameters Struct Reference

#include <ShipSimObject.h>

+ Collaboration diagram for Ship::ShipParameters:

Public Attributes

std::string forceInput = "NED"
 
int numWaveComponents = 52
 
bool zeroSpeedRadiation = true
 
double stabilizeDOF [6] = {0,0,0,0,0,0}
 
double alfaN = 0
 
double alfaE = 0
 
double alfaD = 0
 
double surgeVelocity = 0
 
std::string potentialFileLocation
 
std::string potentialFileName
 
std::string potentialType = "VERES"
 
int flipPhaseForOSC = 0
 
int DOFFree [6] = {1,1,1,1,1,1}
 
double forceScale [11] = {1,1,1,1,1,1,1,1,1,1,1}
 
bool coriolisRollOnly = false
 
double waveForceTransient = 0.1
 
bool hydroStaticsType = false
 
int waveForceType = 0
 
bool waveForceHFrame = false
 
double hydroStaticsStationVerticalStep = 1
 
double hydroStaticsStationHorizontalStep = 1
 
double hydroStaticsStationTop = 15
 
double hydroStaticsStationBottom = -1
 
bool useCrossFlow = true
 
double damperLinear [3] = {0,0,0}
 
double damperQuadratic [3] = {0,0,0}
 
double damperRotLinear [3] = {0,0,0}
 
double damperRotQuadratic [3] = {0,0,0}
 
double wakeFraction = 0
 
double Yv_man = 0
 
double Yr_man = 0
 
double Nv_man = 0
 
double Nr_man = 0
 
double Yvd_man = 0
 
double Yrd_man = 0
 
double Nvd_man = 0
 
double Nrd_man = 0
 
double Xud_man = 0
 
double Xvr_man = 0
 
double Xrr_man = 0
 
double Xvv_man = 0
 
double Xvvvv_man = 0
 
double Xu_dp = 0
 
double Xv_dp = 0
 
double Xr_dp = 0
 
double Yu_dp = 0
 
double Yv_dp = 0
 
double Yr_dp = 0
 
double Nu_dp = 0
 
double Nv_dp = 0
 
double Nr_dp = 0
 
double dampingBlendSpeed = 8
 
double dampingBlendFraction = 0.9
 
double manoeuvreMinSpeed = 0.1
 
double bilgeKeelStartPosition = std::numeric_limits<double>::quiet_NaN()
 
double bilgeKeelEndPosition = std::numeric_limits<double>::quiet_NaN()
 
double bilgeKeelHeight = 0
 
int withSkeg = 0
 
bool skegLift = false
 
bool hullLift = true
 
int rollDampingTheory = 0
 0 for ITTC, 1 for SeaWay
 
double rollAmplitudeHorizon = 2.75*sqrt(10.0)
 2.75 sqrt(10) s, as before the horizon was read
 
bool hasResistanceFriction = false
 ResistanceFriction was given.
 
std::string resistanceFriction
 lower case
 
std::string resistanceFrictionCurveX
 
std::string resistanceFrictionCurveY
 
bool hasResistanceResidual = false
 ResistanceResidual was given.
 
std::string resistanceResidual
 lower case
 
double hollenbachNumRudders = 0
 
double hollenbachNumBrackets = 0
 
double hollenbachNumBoss = 0
 
double hollenbachNumThrusters = 0
 
double hollenbachDiamPropeller = 0
 
double scaleResidualResistance = 1.0
 
std::string resistanceResidualCurveX
 
std::string resistanceResidualCurveY
 

Detailed Description

Every parameter of a Ship/Ship, with the default the code uses when the parameter is not given. It is filled and checked in one place, ShipSimObject::ReadParameters. The page of the SimObject lists them.


The documentation for this struct was generated from the following file: