Keywords

1 Introduction

Manoeuvring or steering of ships is generally concerned about their motions produced as a result of excitation forces applied through the deflection of control surfaces in the absence of excitation from the sea (calm water). The motion of the surface ship can be described using the 2 dimensional reference frame. The fixed earth reference frame defines the inertial frame of reference, while the ship reference frame is fixed to the ship gravity centre and moves together with the ship. Figure 1 shows the definition of the ship co-ordinate systems. In a pure mathematical sense, the ship manoeuvrability depends on the hydrodynamic coefficients or derivatives, which are the acceleration coefficients, defined as the velocity terms in the manoeuvring equations of motion.

Fig. 1
figure 1

Manoeuvring reference frames

The most challenging part of the ship manoeuvring simulation is the estimation of these derivatives. These derivatives need to be estimated and the manoeuvrability of the ship must be assessed well in advance to meet the standards of safe navigation. Experimental, theoretical and numerical methods are used for the hydrodynamic derivatives estimation. The experimental methods employing captive model tests have been used for the calculation of hydrodynamic derivatives from the measured forces and moments. The free-running model tests have yet another experimental method, which is more straightforward for predicting the trajectory and controllability assessment, while the captive model tests are more versatile, as the stability indices and forces, contributing to the manoeuvring motion, can be quantified with these tests. The hydrodynamic derivatives, which are determined through the captive model tests, can also be used in designing the autopilot. The drawback of the experimental methods is the huge cost and involved experimental resources. The theoretical methods, based on a number of assumptions, on the other side have their own limitations as far as the accuracy is concerned. These difficulties have paved a glorious path in applying the numerical methods. The numerical methods are quite efficient in accomplishing simulations (duplicating experiments) and with related flow visualizations, they reduced the tedious model-testing task to become the computer modelling and simulation task. As indirectly mentioned with the “reducing” term, these techniques are not full-fledged, and will never replace the experiments, but will surely reduce their number to minimum. Nevertheless, they definitely seem to be very promising to be researched and developed in the years to come.

The past decade has brought with it, a host of numerical methods, which find easy implementation, with the tremendous advance in digital computing. Initially, numerical methods have been based on the potential flow theory, and have been used for the determination of the first order hydrodynamic derivatives. However, these methods have failed in predicting these derivatives successfully as they lacked adequate flow physics by not taking into account the viscous effects. With the emergence of the CFD based Reynolds Averaged Navier-Stokes Equations (RANSE), a powerful tool in flow prediction and associated phenomenon, the research focus has been set to explore its efficacies in the field of ship hydrodynamics, such as resistance and propulsion, sea keeping, manoeuvring etc. Especially, manoeuvring estimations demand attention, as safety issues in navigation have become prime concern as per IMO regulations. This factor has further strengthened the need for using CFD methods in this domain, and thus, brings to light the present research scenario in this field. For instance, Toxopeus [1] developed a mathematical model based on the bare hull forces and moments in steady drift, steady yaw and combined drift and yaw motions using the viscous flow calculations. Carrica and Stern [2] used DES simulations to assess the manoeuvrability of a tanker, by bringing about 35-degree rudder turn and 20/20 zig-zag manoeuvre.

Janardhanan and Krishnankutty [3] determined the sway velocity dependency on the linear and non-linear hydrodynamic derivatives of a container ship, by simulating straight line tests using the RANSE equations for wider range of drift angles. Nonaka et al [4] estimated the hydrodynamic forces acting on the ship during manoeuvring motion using CFD. Sulficker [5] has explained the simulation of HPMM for the evaluation of linear derivatives, where the derivatives have been determined by using the forces and moments obtained at the maximum velocities and acceleration points, without creating an extensive formulation problem to carry out such simulations.

Cura-Hochbaum [6] determined the linear hydrodynamic derivatives of a passenger ship model by simulating the viscous flow around the hull, undergoing forced motions using a RANSE solver. The free-surface effects have not been considered in this work. This method was extended to the tanker models by simulating the combined sway and yaw by Cura-Hochbaum et al. [7]. The trajectories of the vessels were also simulated using the estimated derivatives. Xing-Kaeding and Jensen [8] presented the CFD modelling of the hull, rudder and propeller, together with the estimation of forces and moments during a turning circle and zig-zag manoeuvres. Tyagi and Sen [9] have shown the procedure for estimating the transverse velocity, applying the linear and non-linear AUV derivatives. Ohmori [10] numerically simulated the straight-line test, circular motion test and planar motion mechanism tests, to find the transverse force acting on the hull based on the velocity dependent linear derivatives. All these remarkable contributions indicate the important impact of the RANSE based CFD calculations to the manoeuvring analysis.

This book chapter focuses on the method development for determining the hydrodynamic derivatives in conjunction with a numerical horizontal planar motion mechanism test based on the CFD simulations. The performed RANSE simulations employ the finite volume technique for solving the viscous fluid flow equations. A container ship model (S175) [11] has been used for the presented analysis. Figure 2 shows the container ship model geometry, as generated by using the ANSYS ICEM CFD software package, and Table 1 shows the model particulars.

Fig. 2
figure 2

Container ship model (up to LWL)

Table 1 Particulars of the container ship

2 Mathematical Model

A mathematical model representing surface ship manoeuvring comprises the equations of motion in surge, sway and yaw modes, where the influence of other modes on manoeuvring are generally assumed as being insignificant. For ships, which take strong manoeuvres, the roll mode of the motion and its influence on the above-mentioned modes becomes considerable. A mathematical model is obtained by expanding the hydrodynamic reaction force or moment for each mode applying the Taylor series [12]. The retention of the higher order terms results in obtaining the non-linear models.

Any manoeuvring problem involving the estimation of hydrodynamic derivatives starts with the selection of an appropriate mathematical model. In this work the model proposed by Son and Nomoto [11] has been used after neglecting the roll effects where the speed and steering are given by simplifying Eqs. (1)–(3).

$$X = X\left( u \right) + \left( {1 - t} \right)T + X_{vr}^{{}} vr + X_{vv}^{{}} v^{2} + X_{rr}^{{}} r^{2} + X_{\delta } \sin \delta + X_{ext}$$
(1)
$$Y = Y_{v} v + Y_{r} r + Y_{vvv} v^{3} + Y_{rrr} r^{3} + Y_{vvr} v^{2} r + Y_{vrr} vr^{2} + Y_{\delta } \cos \delta + Y_{ext}$$
(2)
$$N = N_{v} v + N_{r} r + N_{vvv} v^{3} + N_{rrr} r^{3} + N_{vvr} v^{2} r + N_{vrr} vr^{2} + N_{\delta } \cos \delta + N_{ext}$$
(3)

The hydrodynamic terms can be separated out and the equations can be rearranged as:

$$\begin{aligned} X_{H} & = X_{{\dot{u}}} \dot{u} + Y_{{\dot{v}}} vr + X_{uu} u\left| u \right| + \left( {1 - t} \right)T + X_{vr} vr \\ & \quad + X_{vv} v^{2} + X_{rr} r^{2} + X_{\delta } \sin \;\delta \\ \end{aligned}$$
(4)
$$\begin{aligned} Y_{H} & = X_{{\dot{u}}} ur + Y_{{\dot{v}}} \dot{v} + Y_{{\dot{r}}} \dot{r} + Y_{v} v + Y_{r} r + Y_{vvv} v^{3} \\ & \quad + Y_{rrr} r^{3} + Y_{vvr} v^{2} r + Y_{vrr} vr^{2} + Y_{\delta } \cos \,\delta \\ \end{aligned}$$
(5)
$$\begin{aligned} N_{H} & = N_{{\dot{v}}} \dot{v} + N_{{\dot{r}}} \dot{r} + N_{v} v + N_{r} r + N_{vvv} v^{3} \\ & \quad + N_{rrr} r^{3} + N_{vvr} v^{2} r + N_{vrr} vr^{2} + + N_{\delta } \cos \,\delta \\ \end{aligned}$$
(6)

where \(X\left( u \right)\) is for instance, the velocity dependent damping function. This model does not involve modelling the rudder and propeller. In this study the hull derivatives are of prime interest and the effect of rudder and propeller can be brought in by some empirical relationships when required (trajectory simulation). Bilge keels have not been considered in this work.

3 Planar Motion Mechanism Tests

The Horizontal Planar Motion Mechanism (HPMM) is a device developed to determine the surface ships velocity and acceleration dependent derivatives for the sway and yaw modes. This results to be the most promising method among all the existing captive model test methods for the determination of hydrodynamic derivatives, as it contains all the derivatives defined in the mathematical model [Eqs. (4)–(6)] and contributing to the equations of motion [13, 14].

3.1 General Experimental Procedure

The HPMM consists of 2 oscillators, one of which produces a transverse oscillation at the bow and the other at the stern, while the model moves down the towing tank with a constant towing carriage velocity in the current procedure. The in-phase oscillations of the oscillators in transverse direction to the towing tank longitudinal axis produces pure sway motion of the model, while the out of phase oscillation brings in the pure yaw motion. The model pure yaw motion, initially subjected to a certain drift angle, brings together the drift and yaw motion. The model velocity is always tangential to the oscillating path. In each mode, the forces and moments acting on the model are measured and resolved using the special transducers and instrumentation. Hydrodynamic derivatives can then be determined from the measured forces and moments by using either a higher order curve-fit method or Fourier series expansion method.

3.2 Problem Formulation

The problem formulation has been tedious, as did involve a laborious procedure of many trials in order to arrive at the expressions for the body oscillations model, so that they in turn yield the most simplified expressions for the calculation of hydrodynamic derivatives. The Fourier series expansion method has been used for the determination of the derivatives and according to it the hydrodynamic forces and moments acting on the ship hull can be expressed as defined in Eq. (7a):

$${\text{Hydrodynamic}}\;{\text{force}}/{\text{moment}} = \sum\limits_{m = 0}^{\infty } {(a_{m} } \cos \,m\omega t + b_{m} \sin \,m\omega t)$$
(7a)

where the Fourier coefficients are given by Eq. (7b):

$$a_{0} = \frac{1}{T}\int\limits_{0}^{T} {f(t)dt} \quad a_{m} = \frac{2}{T}\int\limits_{0}^{T} {f(t)\cos \;m\omega t} dt\quad b_{m} = \frac{2}{T}\int\limits_{0}^{T} {f(t)\sin \;m\omega t} dt$$
(7b)

in which, a truncated series up to 3rd harmonics is chosen, because the mathematical model considers only up to the 3rd order terms. Considering an arbitrary phase angle (γ) at the start value of oscillation, the above trigonometric function can be written as set in Eq. (7c)

$$\begin{aligned} \cos \;m\omega t & = \cos m(\omega t + \gamma )\cos m\gamma + \sin m\left( {\omega t + \gamma } \right)\sin m\gamma \\ \sin \;m\omega t & = \sin m(\omega t + \gamma )\cos m\gamma - \cos m\left( {\omega t + \gamma } \right)\sin m\gamma \\ \end{aligned}$$
(7c)

Hence, the hydrodynamic force/moment can now be expresses as follows in the Eq. (7d)

$$\begin{aligned} H_{M} & = \sum\limits_{m = 0}^{\infty } {\{ a_{dMm} } (\cos \,m(\omega t + \gamma )\cos \,m\gamma + \sin \,m(\omega t + \gamma )\sin \,m\gamma ) \\ & \quad + b_{dMm} (\sin \,m(\omega t + \gamma )\cos \,m\gamma - \cos \,m(\omega t + \gamma )\sin \,m\gamma )\} \\ \end{aligned}$$
(7d)

where H = X, Y, N; d = x, y, n; M = Y, N, YN; m = 1, 2, 3.

x represents the direction of surge force, y represents the direction of sway force, n represents yaw moment about z axis, Y represents pure sway mode, N represents pure yaw mode, YN represents combined mode and m represents the harmonics of Fourier series.

3.2.1 Pure Sway Mode

This part of HPMM comprises oscillating the model in transverse direction in which the oscillators fixed on the model oscillate in phase and the model kinematics parameters are represented as:

$${\text{Transverse displacement}}, \quad \quad y_{0} = - y_{0a} \sin \,\omega t = y$$
(8)
$${\text{Transverse}}\;{\text{velocity}},\quad \quad \dot{y}_{0} = - y_{0a} \omega \;\cos \;\omega t = v$$
(9)
$${\text{Transverse}}\;{\text{acceleration}}, \quad \quad \ddot{y}_{0} = y_{0a} \omega^{2} \sin \,\omega t = \dot{v}$$
(10)
$${\text{Forward}}\;{\text{velocity}},\quad \quad u_{0} = V = u$$
(11)
$${\text{Forward}}\;{\text{acceleration}}, \quad \quad \dot{u} = 0$$
(12)

Yaw angular displacement, velocity and acceleration,

$$\psi = r = \dot{r} = 0$$
(13)

In pure sway mode oscillations, the mathematical model given by Eqs. (4)–(6) will have only sway motion dependent terms and thus they reduce to:

$$X_{HY} = X_{u\left| u \right|} u\left| u \right| + X_{vv} v^{2}$$
(14)
$$Y_{HY} = Y_{{\dot{v}}} \dot{v} + Y_{v} v + Y_{vvv} v^{3}$$
(15)
$$N_{HY} = N_{{\dot{v}}} \dot{v} + N_{v} v + N_{vvv} v^{3}$$
(16)

Expanding the hydrodynamic reaction forces and moment with applying Fourier series and substituting Eqs. (8)–(11) in Eqs. (14)–(16), and comparing the like terms in the corresponding equations by putting r = 0, we obtain the derivatives for the pure sway defined in Eqs. (17)–(24):

$$X_{vv} = \frac{2}{{y_{0a}^{2} \omega^{2} }}a_{xY2}$$
(17)
$$X_{u\left| u \right|} = \frac{1}{{V^{2} }}\left[ {a_{xY0} - a_{xY2} } \right]$$
(18)
$$Y_{{\dot{v}}} = \frac{1}{{y_{0a} \omega^{2} }}b_{yY1}$$
(19)
$$Y_{vvv} = \frac{ - 4}{{y_{0a}^{3} \omega^{3} }}a_{\begin{subarray}{l} yY3 \\ \end{subarray} }$$
(20)
$$Y_{v} = \frac{1}{{y_{0a} \omega }}\left[ {3a_{yY3} - a_{yY1} } \right]$$
(21)
$$N_{{\dot{v}}} = \frac{1}{{y_{0a} \omega^{2} }}b_{nY1}$$
(22)
$$N_{vvv} = \frac{ - 4}{{y_{0a}^{3} \omega^{3} }}a_{nY3}$$
(23)
$$N_{v} = \frac{1}{{y_{0a} \omega }}\left[ {3a_{nY3} - a_{nY1} } \right]$$
(24)

3.2.2 Pure Yaw Mode

In HPMM experiment, the oscillators are made to oscillate with a predetermined phase difference in order to take into account a rotation in the horizontal plane. In the present numerical model, the pure yaw mode is achieved by oscillating the vessel about z-axis, and at the desired frequency. The yaw acceleration causes a fluctuation in surge velocity. At any instant, the velocity will be tangential to the oscillating path. In model tests this condition is used for deriving the expression for the phase angle, which is not required for the numerical simulation The model kinematic parameters are represented as

$${\text{Yaw}}\;{\text{angle}},\quad \quad \psi = - \psi_{a} \cos \,\omega t$$
(25)
$${\text{Yaw}}\;{\text{rate}},\quad \quad \dot{\psi } = r = r_{a} \sin \,\omega t$$
(26)
$${\text{Yaw}}\;{\text{acceleration}},\quad \quad \ddot{\psi } = \dot{r} = r_{a} \omega \,\cos \,\omega t$$
(27)
$${\text{Forward}}\;{\text{velocity}},\quad u = \sqrt {(V^{2} + \dot{y}_{0}^{2} )} = u_{cN} + u_{aN} \cos \,2\omega t$$
(28)
$${\text{Forward}}\;{\text{acceleration}},\quad \quad \dot{u} = - 2u_{aN} \omega \sin \,2\omega t$$
(29)
$${\text{Sway}}\;{\text{displacement}}\;{\text{velocity}}\;{\text{and}}\;{\text{acceleration}},\quad y = v = \dot{v} = 0$$
(30)

where

$$u_{aN} = \frac{{y_{0a}^{2} \omega^{2} }}{4V}\quad {\text{and}}\quad u_{cN} = V + u_{aN}$$

In pure yaw mode oscillations, the mathematical model given by Eqs. (4)–(6) have only yaw motion dependent terms. Hence these equations are simplified to:

$$X_{HN} = X_{{\dot{u}}} \dot{u} + X_{uu} u\left| u \right| + X_{rr} r^{2}$$
(31)
$$Y_{HN} = Y_{{\dot{r}}} \dot{r} + Y_{r} r + Y_{rrr} r^{3}$$
(32)
$$N_{HN} = N_{{\dot{r}}} \dot{r} + N_{r} r + N_{rrr} r^{3}$$
(33)

By expanding the hydrodynamic reaction forces and moment in Fourier series, and substituting Eqs. (25)–(29) in Eqs. (31)–(33) and following up by comparing like terms in the corresponding equations by putting v = 0, we get the derivatives of the pure yaw defined in Eqs. (34)–(41):

$$X_{{\dot{u}}} = \frac{ - 1}{{2u{}_{aN}}}b_{xN2}$$
(34)
$$X_{rr} = \frac{2}{{r_{a}^{2} }}\left[ {\frac{{2u_{cN} u_{aN} }}{{V^{2} }}(a_{xY0} - a_{xY2} ) - a_{xN2} } \right]$$
(35)
$$Y_{{\dot{r}}} = \frac{1}{{r_{a} \omega }}a_{yN1}$$
(36)
$$Y_{rrr} = \frac{ - 4}{{r_{a}^{3} }}\left[ {\frac{{b_{xN2} r_{a} }}{4\omega } + b_{yN3} } \right]$$
(37)
$$Y_{r} = \frac{1}{{r_{a} }}\left[ {b_{yN1} + \frac{{b_{xN2} r_{a} }}{{2u_{aN} \omega }}(u_{cN} - \frac{{u_{aN} }}{2}) + 3\left( {\frac{{b_{xN2} r_{a} }}{4\omega } + b_{yN3} } \right)} \right]$$
(38)
$$N_{{\dot{r}}} = \frac{1}{{r_{a} \omega }}a_{nN1}$$
(39)
$$N_{rrr} = \frac{ - 4}{{r_{a}^{3} }}b_{nN3}$$
(40)
$$N{}_{r} = \frac{1}{{r_{a} }}\left[ {b_{nN1} + 3b_{nN3} } \right]$$
(41)

3.2.3 Combined Motion

In this mode the combined sway and yaw motions are induced upon the model by producing yaw motion on a drifted model and repeating the procedure for various drift angles in the experiment. In a numerical simulation both sway and yaw oscillations can be simultaneously imposed on the model. The kinematic parameters of the model in earth-fixed co-ordinate system are transformed to ship fixed co-ordinate system using \(\psi\):

$$u = V\,\cos \,\psi + \dot{y}_{0} \sin \,\psi$$
(42)
$$v = - V\,\sin \,\psi + \dot{y}_{0} \cos \,\psi$$
(43)

we consider,

$$\psi \le 12{^\circ };{\text{then}}\;\cos \,\psi = 1;\sin \,\psi = \psi$$
(44)
$$u = u_{cYN} + u_{aYN} \cos \,2\omega t$$
(45)
$$\dot{u} = - 2u_{aYN} \omega \sin \,2\omega t$$
(46)
$$v = v_{aYN} \cos \,\omega t$$
(47)
$$\dot{v} = - v_{aYN} \omega \sin \,\omega t$$
(48)

where \(v_{aYN} = V\psi_{a} - y_{0a} \omega\), \(u_{aYN} = \frac{{y_{0a} \omega \psi_{a} }}{2}\) and \(u_{cYN} = V + u_{aYN}\).

The yaw motion equations remain same, due to the pure yaw mode as defined in Eqs. (25)–(27), for the both earth-fixed and ship-fixed co-ordinate systems. As the model undergoes combined sway and yaw mode oscillations, the mathematical model defined by Eqs. (4)–(6) have both sway and yaw motion dependent terms. Hence,

$$X_{HYN} = X_{{\dot{u}}} \dot{u} + Y_{{\dot{v}}} vr + X_{u} (u) + X_{vr} vr + X_{vv} v^{2} + X_{rr} r^{2}$$
(49)
$$Y_{HYN} = X_{{\dot{u}}} ur + Y_{{\dot{v}}} \dot{v} + Y_{{\dot{r}}} \dot{r} + Y_{v} v + Y_{r} r + Y_{vvv} v^{3} + Y_{rrr} r^{3} + Y_{vvr} v^{2} r + Y_{vrr} vr^{2}$$
(50)
$$N_{HYN} = N_{{\dot{v}}} \dot{v} + N_{{\dot{r}}} \dot{r} + N_{v} v + N_{r} r + N_{vvv} v^{3} + N_{rrr} r^{3} + N_{vvr} v^{2} r + N_{vrr} vr^{2}$$
(51)

By expanding the hydrodynamic forces and moments in Fourier series and substituting Eqs. (25)–(27) and (45)–(48) in Eqs. (49)–(51) and comparing the like terms in the corresponding equations putting \(\gamma = 0\), we get the derivatives in combined motion given by the Eqs. (52)–(56):

$$X_{vr} = \frac{2}{{v_{aYN} r_{a} }}b_{xYN2} - \frac{{b_{yY1} }}{{y_{0a} \omega^{2} }} - b_{xN2} \frac{{u_{aYN} }}{{u_{aN} }}$$
(52)
$$Y_{vvr} = \frac{4}{{v_{aYN}^{2} r_{a} }}\left[ {b_{yYN3} - \frac{{b_{xN2} r_{0} }}{4\omega }\left( {\frac{{u_{aYN} }}{{u_{aN} }} + 1} \right) - b_{yN3} } \right]$$
(53)
$$Y_{vrr} = \frac{ - 4}{{v_{aYN} r_{a}^{2} }}\left[ {a_{yYN3} + a_{yY3} \left( {\frac{{v_{aYN} }}{{v_{a} }}} \right)^{3} } \right]$$
(54)
$$N_{vvr} = \frac{4}{{v_{aYN}^{2} r_{a} }}\left[ {b_{nYN3} - b_{nN3} } \right]$$
(55)
$$N_{vrr} = \frac{ - 4}{{v_{aYN} r_{a}^{2} }}\left[ {a_{nYN3} + a_{nY3} \left( {\frac{{v_{aYN} }}{{v_{a} }}} \right)^{3} } \right]$$
(56)

A detailed experimental procedure for carrying out model tests is explained in [15].

3.3 HPMM Numerical Simulations

Numerical methods are more flexible and thus numerous design versions can be analysed. They are efficient in performing simulations, analysing results through flow visualizations and creating related animations. Every small detail of flow patterns can be easily obtained spotting it any location around the ship hull, which may not be possible while conducting experiments. In model tests, such as the free-running tests are, it might be very easy to study the influence of appendages on the manoeuvrability of the vessel while in the numerical modelling the ship with appendages is a tedious task to create it. Once this is overcome, the rest of the processes can result simpler than experiments.

The HPMM simulation requires a numerical computational domain and a solver capable of solving the fluid flow equations, while the mesh in the fluid domain is re-oriented due to the hull motion. ANSYS ICEM CFD has been used for the mesh generation and the dynamic mesh motion option of the commercial CFD package ANSYS CFX has made possible to bring in the prescribed ship body motion.

3.3.1 Grid System

In the present work a structured grid system with hexahedral cells has been used with near wall refinement. The meshing has been carried out in ANSYS ICEM CFD. In order to avoid the near-wall deformation of the elements, the interface meshing strategy has been adopted, where the ship hull moves within an inner computational domain. CFX uses a ‘mesh morphing’ model that calculates the new node positions at each time step, while maintaining the basic mesh topology. However, the nodal displacements are calculated by using a spring analogy method. The outer and inner computational domains have a common merged interface and fluxes are transferred across it, keeping intact the near-wall mesh around the ship model. In order to avoid the complexity of sharp corners, a cylindrical inner domain with circular faces has been applied. This type of meshing strategy also helps in capturing the free-surface effects. The outer domain extends 1.5 L from the aft, 0.8 L from the bow, 1 L from each of port and star board sides and the bottom extends 0.6 L from the keel indicating the deep water conditions. The generated mesh has 0.6 million hexahedral cells. A more refined mesh couldn’t be used because of both, computational time and resource constraints. The above described mesh is shown in Fig. 3.

Fig. 3
figure 3

3-dimensional structured grid system. a Inner domain, b outer domain, c combined domain and d mesh cut plane from the top

3.3.2 Turbulence Model, Boundary Conditions and Solver Settings

The 2-equations k-ω shear stress transport (SST) model has been used for the calculations, by making use of wall and boundary distance formulations [16]. As a result, the near wall regions are well resolved (y+ < 2).

No-slip wall boundary condition has been imposed on the ship hull, side and bottom boundaries [17]. Since the boundaries have been chosen sufficiently far away from the hull, it was assumed that there are no interactions between these boundaries due to viscous flow past them. The free-stream conditions prevail on the top. An inlet flow velocity of 1 m/s has been imposed at the inlet boundary for both air and water and the flow leaves the outlet with outflow conditions. The outer and inner interfaces have been merged to a single one and interface boundary condition has been assigned to it.

The space and time discretization use the high resolution and second order backward Euler schemes, respectively. A homogeneous coupled Volume Of Fluid (VOF) method has been adopted for capturing the free-surface effects. For convergence limiter, the RMS values have been set to a target value of 10−5.

3.3.3 Simulations

Grid independency has not been carried out, but it has been well ensured that the grid is capable enough of producing reliable results. Steady state simulations have been initially carried out with objective to obtain converged results, and to initialize the mesh motions. The drag force on the ship hull has been found to match well with experimental and theoretical values. In order to carry out the HPMM tests in a numerical towing tank, ship body along with the inner domain has been subjected to pure sway, pure yaw and combined sway and yaw sinusoidal motions. The air and water flow velocity are taken as 1.0 m/s. Table 2 shows the values of various simulation constants. Motions have been brought in by using the transformations (translation and rotation) of co-ordinate axes, and the simulations time step has been calculated as 0.01 s. Since the solution follows an implicit scheme, the time step is not of major concern. The Courant number has been fixed to 0.5 and a smallest cell size to be 0.02 m in the flow direction. At each time step the mesh is updated with respect to its position obtained at the previous time step.

Table 2 Simulation constants

3.3.4 Pure Sway

The transverse motion of the ship along with the inner domain has been accomplished using the sinusoidal function given in Eq. (8). The mesh motions have been accomplished using the following translation of co-ordinate axes in CFX.

$$\left[ {\begin{array}{*{20}c} {x^{{\prime }} } & {y^{{\prime }} } & {z^{{\prime }} } \\ \end{array} } \right]^{T} = \left[ {\begin{array}{*{20}c} x & {(y + y_{0} )} & z \\ \end{array} } \right]^{T}$$
(59)

3.3.5 Pure Yaw

In order to rotate the ship model and the inner domain about z-axis, the sinusoidal function, see Eq. (25), has been used. The mesh motions have been accomplished by using the following rotation of co-ordinate axes in CFX.

$$\left\{ {\begin{array}{*{20}c} {x^{{\prime }} } \\ {y^{{\prime }} } \\ {z^{{\prime }} } \\ \end{array} } \right\} = \left\{ {\begin{array}{*{20}c} {x\,\cos \,\psi + y\,\sin \,\psi } \\ { - x\,\sin \,\psi + y\,\cos \,\psi } \\ z \\ \end{array} } \right\}$$
(60)

3.3.6 Combined Sway and Yaw

The mesh motions in this case are the superimposition of the above 2 cases and the resulting transformations in CFX are shown in Eq. (61):

$$\left\{ {\begin{array}{*{20}c} {x^{{\prime }} } \\ {y^{{\prime }} } \\ {z^{{\prime }} } \\ \end{array} } \right\} = \left\{ {\begin{array}{*{20}c} {x\,\cos \,\psi + y\,\sin \,\psi } \\ { - x\,\sin \,\psi + y\,\cos \,\psi + y_{0} } \\ z \\ \end{array} } \right\}$$
(61)

4 Results and Discussions

The solution process has been carried out for 3 cycles in and for all 3 modes- pure sway, pure yaw and combined motions. The mesh displacements and pressure distributions around the hull for extreme motions have been shown in Figs. 4, 5 and 6. The first cycle has shown higher values with lots of fluctuations due to transience. The 2nd and 3rd cycles have shown constant trends with same maximum values. This is demonstrated as shown in Fig. 7. Hence the 3rd cycle was chosen for the analysis, as CFX uses a global reference frame for the calculations that does not move with the body. The conversion of the applied axes system to ship-fixed counterpart is almost impossible with CFX. Since the formulations had been with respect to Ship-Fixed Co-ordinate System (SFCS), the corresponding transformations have been done through a MATLAB code, where the time history of a force/moment has been calculated in both the co-ordinate systems taken from experiments for setting the hydrodynamic derivatives and assumed body motions. The difference between the values in these 2 co-ordinate systems have been finally subtracted from the corresponding CFD results. These kind of transformations are required in cases where the rotations of the co-ordinate system is involved and thus, no transformations were required for pure-sway case.

Fig. 4
figure 4

Extreme sway motion. a Mesh displacement and b total pressure distribution around the hull

Fig. 5
figure 5

Extreme yaw motion. a Mesh displacement and b total pressure distribution around the hull

Fig. 6
figure 6

Extreme combined motion. a Mesh displacement and b total pressure distribution around the hull

Fig. 7
figure 7

Three cycles of combined motion simulation

Section 3.2 shows the complete formulation of the problem and the derivation of the expressions for the calculation of the hydrodynamic derivatives. All the expressions for hydrodynamic derivatives have been defined in Eqs. (17)–(24), Eqs. (34)–(41) and Eqs. (52)–(56) and have been expressed in terms of Fourier constants and hence, their evaluation required as influence a lot the simulations results. It is important to mention, that they have been obtained by the numerical integration of the time histories of forces and moments over a cycle using Simpson’s rule or by obtaining the definite integral of the equation of the fitted curve, as a function of time. The derivatives for the model have been obtained in the dimensional form initially, and then made non-dimensional to ease their representation. The non-dimensional factors for forces and moment are \(\frac{1}{2}\rho L^{2} V^{2}\) and \(\frac{1}{2}\rho L^{3} V^{2}\), respectively. Figures 8, 9 and 10 show the force and moment time histories in each mode of mesh motion. These figures show that the obtained numerical simulations results do not represent a smooth curve, at each time step. Thus, it is appropriate to fit a smooth curve in order to obtain the Fourier constants accurately. As a relatively coarse mesh has been used, the values of forces and moments do not represent a very smooth curve at various time steps. The spikes must be eliminated and need to be replaced with interpolated values by using the values from previous and later time steps. However, some of them contribute towards higher order terms too. These values have been retained as they are. The Fourier coefficients have been obtained from the numerical integration of the curves. The experience has shown that Fourier coefficients are accurately predicted when smoother curves are used for integration.

Fig. 8
figure 8

Time histories of forces and moment in pure sway

Fig. 9
figure 9

Time histories of forces and moment in pure yaw

Fig. 10
figure 10

Time histories of forces and moment in combined motion

Table 3 shows the values of hydrodynamic derivatives calculated through the presented method, as adopted in this chapter and their comparison with published experimental values [11] are given. The derivatives have an assigned symbols depending on their relative importance [18] for the trajectory prediction and stability characteristics. The forces and moments obtained through CFD simulations are smoothened and have been transformed into ship-fixed coordinate system (sfcs) and they have been compared with theoretical time histories and corresponding to the experimental values for hydrodynamic derivatives in sfcs. The deviations are found not very high. Since the forces and moments have been predicted well, it is implied that the derivatives have been also well predicted. The numerical simulations of HPMM using RANSE based CFD methods has been found to work well at least for moderate motion amplitudes. The Fourier series expansion method or the harmonic analysis, used in this work, for defining derivatives is indeed a promising, and has been successful enough to define all the 21 derivatives-coupled, uncoupled and cross-coupled, as required by the mathematical model. In the present case, the deviations with respect to the experimental results are found to follow a particular pattern. The uncoupled derivatives have been observed to be well predicted (0.8–6%). The coupled ones show more deviation (5–11%) and the cross-coupled show furthermore deviation (10–12%). The reason might be due to the relative coarseness of the mesh, for which the coupling effect of body motions and fluid flow has been not very well captured. However, the improvements might be possible applying better refinement techniques for meshing.

Table 3 Hydrodynamic coefficients in manoeuvring

The variables assigned to the derivatives in assessing their relative importance in Table 3 indicates that the most of the derivatives with higher relative importance have been well predicted. As manoeuvring is concerned with low frequency, the frequency of oscillation has been restricted to be at lowest possible level. Further frequency lowering has been found to result in unwanted oscillations in the time traces.

Since most of the important derivatives have been predicted well, the trajectories do not deviate much from the actual trajectory in definitive manoeuvres. This fact has been illustrated using Fig. 11. A program has been developed in MATLAB for the numerical integration (4th order Runge-Kutta method) of the equations of motions represented by the mathematical model of Son and Nomoto [11]. Two manoeuvres have been simulated (1) turning circle and (2) zig-zag manoeuvres. From Fig. 11a, b, it is evident that the trajectories have been predicted quite well by using the presented CFD simulation approach.

Fig. 11
figure 11

Simulated trajectory of the vessel. a Turning circle manoeuvre for 35° rudder angle and b 20/20 zig-zag manoeuvre

5 Conclusions

The Fourier series expressions formulated here for the calculation of hydrodynamic derivatives can be used for any ship numerical simulations, provided that the time histories of forces and moments are obtained through simulations or model testing. The present work finds RANSE based CFD, as a promising alternative in the determination of all the hydrodynamic derivatives required in a mathematical model and hence can be considered as a reliable tool in the manoeuvrability assessment of vessels, especially useful for the early ship design phase. On the whole, this work finds its success in exploring and exploiting various features of a general-purpose fluid flow solver to solve a non-linear dynamic ship manoeuvring problem.