|
FhSim
3.1.0
Marine systems simulation
|
Heave, roll and pitch of a vessel driven by the wave elevation sampled under its hull.
Collaboration diagram for Local-wave vessel:A time-domain seakeeping model for small vessels (fishing vessels, workboats, USVs) that responds to the free-surface elevation of the environment's wave field: regular or irregular waves, several wave trains. It needs no frequency-domain data. The horizontal position and heading come from the input ports, so a manoeuvring model (e.g. Vessels/Tanker in fhsim_base, whose Position and Rotation connect directly) or a prescribed track drives it, and the encounter frequency follows from sampling at the instantaneous position.
States q = (z, phi, theta): heave [m], positive down (NED); roll [rad], positive starboard down; pitch [rad], positive bow up. With the generalized wave load F (filtered, below):
(M + A) q'' + B q' + D(q') + C q = F
RollPeriod instead of GMT, C44 = (RollInertia + A44) (2 pi / RollPeriod)^2; likewise for pitch.N sample points with equal weights w = WaterplaneArea / N represent the waterplane, a Length x Breadth rectangle centred on the centre of flotation (Lcf forward of the CG). Each point i, at body coordinates (x_i, y_i) from the CG, samples the elevation eta_i (positive up). Only the heading rotates the points; roll and pitch are taken as small. The raw loads are the hydrostatic buoyancy of the elevation field:
Fz = -Rho g sum(w eta_i) (down) Mphi = -Rho g sum(w eta_i y_i) Mtheta = Rho g sum(w eta_i x_i)
They pass a first-order filter, tau F' + F = F_raw, which smooths high-frequency excitation.
The points are placed so that their mean and second moments are exactly those of the rectangle (sum w x^2 = WaterplaneArea Length^2 / 12 about the centre of flotation, likewise across): SampleLevel 2, 3 and 4 are n x n grids, n = 3, 5, 7, with spacing d = span / sqrt(n^2 - 1); level 1 is the centre and four arms at d = sqrt(5/24) span.
The averaging over the points attenuates waves down to about twice the spacing d. Shorter waves are not resolved: at a wavelength of d, all points along that axis are in phase and the vessel feels the full buoyancy of the wave (aliasing). Along the length:
| SampleLevel | Points | d / Length | Shortest resolved (2 d) | Aliased at (d) |
|---|---|---|---|---|
| 1 | 5 | 0.456 | 0.91 L | 0.46 L |
| 2 | 9 | 0.354 | 0.71 L | 0.35 L |
| 3 | 25 | 0.204 | 0.41 L | 0.20 L |
| 4 | 49 | 0.144 | 0.29 L | 0.14 L |
For a 20 m vessel at level 2 waves below 14 m (deep-water period 3.0 s) are not resolved and 7 m waves (2.1 s) alias. This is a known model limitation; there is no wavelength filter. Choose the level so the sea holds little energy below 2 d, or use a wave field without components that short.
Breadth and GMT.Excitation state starts at its initial condition (default 0), not at the wave load at the start time, so the first few FilterTimeConstant show a start-up transient.OdeJacobian is complete for the states; the input ports and the wave field are held fixed.The hull is drawn as a prism over the Length x Breadth waterplane (centred on the centre of flotation) with a pointed bow over the forward quarter, from the draught Mass / (Rho WaterplaneArea) below the waterline to the same height above it. It follows the Position and Rotation outputs. The drawing is indicative only; the model sees the rectangle.
| Name | Width | Description |
|---|---|---|
| Position | 3 | NED position of the CG [m]. North and east place the sample points; down is not used. |
| Rotation | 3 | Only the third component is used: the heading psi [rad], from north towards east (as the Rotation output of Vessels/Tanker). |
| Name | Width | Description |
|---|---|---|
| Motion | 3 | The Motion state: heave [m, down], roll [rad, starboard down], pitch [rad, bow up]. |
| MotionRate | 3 | The MotionRate state. |
| Excitation | 3 | The Excitation state: filtered heave force [N, down], roll and pitch moments [N m]. |
| Position | 3 | NED position of the CG: north and east of the Position input, down = heave [m]. |
| Rotation | 3 | Euler angles (roll, pitch, heading) [rad]: the roll and pitch states and the input heading. |
The model needs the shared Environment (an environment Environment object); without waves it stays in calm water.
| Name | Width | Description |
|---|---|---|
| Length | 1 | Waterplane length [m]. Required. |
| Breadth | 1 | Waterplane breadth [m]. Required. |
| WaterplaneArea | 1 | Waterplane area [m^2] (Default: Length * Breadth). |
| Lcf | 1 | Longitudinal position of the centre of flotation forward of the CG [m] (Default: 0). |
| Mass | 1 | Displacement [kg]. Required. |
| RollInertia | 1 | Roll moment of inertia about the CG [kg m^2]. Required. |
| PitchInertia | 1 | Pitch moment of inertia about the CG [kg m^2]. Required. |
| A33 | 1 | Heave added mass [kg]. Required. |
| A44 | 1 | Roll added moment of inertia [kg m^2]. Required. |
| A55 | 1 | Pitch added moment of inertia [kg m^2]. Required. |
| A35 | 1 | Heave-pitch added-mass coupling [kg m] (Default: 0). |
| B35 | 1 | Heave-pitch damping coupling [N s] (Default: 0). |
| GMT | 1 | Transverse metacentric height [m]. Give exactly one of GMT and RollPeriod. |
| RollPeriod | 1 | Undamped roll natural period [s], sets the roll stiffness instead of GMT. |
| GML | 1 | Longitudinal metacentric height [m]. Give exactly one of GML and PitchPeriod. |
| PitchPeriod | 1 | Uncoupled undamped pitch natural period [s], sets the pitch stiffness instead of GML. |
| HeaveDampingRatio | 1 | Linear heave damping ratio (Default: 0.3). |
| RollDampingRatio | 1 | Linear roll damping ratio (Default: 0.45). |
| PitchDampingRatio | 1 | Linear pitch damping ratio (Default: 0.3). |
| RollQuadraticDamping | 1 | Quadratic roll damping d in d |phi'| phi' [N m s^2]. Required; 0 switches it off. |
| SampleLevel | 1 | Sample points: 1 = 5, 2 = 9, 3 = 25, 4 = 49 (Default: 2). See Short waves. |
| FilterTimeConstant | 1 | Time constant tau of the excitation filter [s] (Default: 0.1). Must be positive. |
| Rho | 1 | Water density [kg/m^3] (Default: 1025). |
| Name | Width | Description |
|---|---|---|
| Motion | 3 | Heave, roll, pitch (Default: 0,0,0). |
| MotionRate | 3 | Their rates (Default: 0,0,0). |
| Excitation | 3 | Filtered wave loads (Default: 0,0,0). |
Three hulls of 12, 20 and 40 m in head, beam and bow-quartering irregular seas, drawn in the ocean of the environment.
This SimObject is referred to as Vessel/LocalWaveVessel