A RANS modelling approach for predicting powering performance of ships in waves
 DOI : 10.2478/IJNAOE20130189
 Author: Winden Bjorn, Turnock Stephen, Hudson Dominic
 Organization: Winden Bjorn; Turnock Stephen; Hudson Dominic
 Publish: International Journal of Naval Architecture and Ocean Engineering Volume 6, Issue2, p418~430, 30 June 2014

ABSTRACT
In this paper, a modelling technique for simulating selfpropelled ships in waves is presented. The flow is modelled using a RANS solver coupled with an actuator disk model for the propeller. The motion of the ship is taken into consideration in the definition of the actuator disk region as well as the advance ratio of the propeller. The RPM of the propeller is controlled using a PIDcontroller with constraints added on the maximum permissible RPM increase rate. Results are presented for a freely surging model in regular waves with different constraints put on the PIDcontroller. The described method shows promising results and allows for the studying of several factors relating to selfpropulsion. However, more validation data is needed to judge the accuracy of the model .

KEYWORD
RANS , Selfpropulsion , Waves , Body force , Actuator disk , Control , RPM limiting

INTRODUCTION
The performance of a ship when travelling in a seaway has always been a hot topic. This is true now more than ever with ever increasing requirements for environmental performance and rapid transit of goods. The introduction of the Energy Efficiency Design Index (EEDI) as a design constraint for new ships from 2013 (IMO, 2011) is likely to lead to an increased need for design modifications that lead to improved efficiency without negatively impacting other factors such as transport capacity, safety, etc. Accurately predicting performance in waves and being able to judge the impact of subtle design changes is therefore identified as an area of high interest. From a hydrodynamical point of view, understanding the interaction between the ship, the sea state that it is in and the propeller that is powering it will give an answer to most questions regarding performance. A schematic of this interaction created by Windén (2012) is shown in Fig. 1.
To properly model this interaction, strong linking is needed between flow conditions around the hull and the performance of the propeller. Currently, the only method that allows for detailed flow features around the hull and the propeller to be modelled is a NavierStokes (NS) based solver.
APPROACH
One reason why proper verification and validation of NS based modelling of ships in waves is hard to achieve is the complexity of the model itself. For selfpropulsion, a way to model the rotating propeller has to be added on top of the already complex dynamical geometry. This leads to a difficulty in identifying the most important sources of error. For example incorrect phasing of forces and motions has been identified as a problem in recent workshops (Larsson et al., 2014). If the motions are seen to be out of phase, it is hard to tell if this is due to incorrect forcing, a problem with the mesh deformation scheme or the coupling scheme between forces and motions. This means that the predicted propulsive performance of the ship has many associated error sources and it may be hard to clearly quantify the underlying reason for the error.
One of the most well adopted ways to address a problem with many unknowns is to start with something that is known or can be found out easily and gradually build understanding from this. Applying this reasoning to the problem of modelling ship performance in waves means removing many of the uncertainties mentioned above. RANS is chosen as a modelling technique due to its advantage in computational efficiency over other NS based methods. A validation study based on experiments by Journée (1992) of the forces and moments on a fixed Wigley hull in waves predicted using the open source CFD software OpenFOAM has been carried out by Windén et al. (2012). Fig. 2 shows encouraging results for the prediction of the amplitude of the forces at different wavelengths but a problem with the phasing still remains even when the hull is fixed. The study also compares results with a nonlinear Boundary Element Method (BEM) by Kjellberg (2011) which seemed to predict the phasing slightly better while giving a greater error in predicting the amplitudes of the forces.
The next step after the forces and moments are validated is either to study the motions or to study propulsion. In this paper, the second issue is addressed. The objective is to identify more about what factors should be considered when modelling selfpropelled ships in waves using RANS. In the simulations in this paper, the model is free to surge and the RPM of the propeller is controlled using a PIDcontroller. This means that the influence of the propeller thrust on the surge for different control conditions can be studied.
GEOMETRY AND MESHING
The setup of the numerical towing tank is shown in Fig. 3. The size of the computational domain is set so that
L_{f} =L andL_{a} = 4L . Waves are generated and dissipated using the relaxationbased wave generation toolbox waves2Foam (Jacobsen et al., 2012). The relaxation zones are designed so thatL_{g} =L_{d} = 2λ . Forward speed is modelled using a steady current which is set corresponding toF_{n} = 0.2 . The waves are chosen to have an amplitude ofζ =0.023m which corresponds to about 12% of the model draught. The wavelength is set to be equal to the model length so thatλ =L .The mesh is created using an automated refinement strategy described by Windén et al. (2012). The final mesh size lies around 6M cells with a
y ^{+} value of around 2. The mesh is designed to ensure• an adequate distribution of cells in the free surface region • adequate refinement around the hull, in the wake and in the propeller region • smooth blending between the refinement in these two areas where they intersect
The particulars of the chosen hull are shown in Table 1.
where a_{2} gives the shape of the hull as
PROPELLER MODELLING
The Wigley hull is a purely academical hullform and has no consideration of propeller positioning in the definition of its shape. The propeller disc is therefore positioned half a radius behind the aft perpendicular, with a lower point flush with the keel and with a diameter of 85% of the draught. This is seen as representative of a typical positioning of the propeller on a ship. The positioning of the propeller disc relative to the rear profile of the used Wigley hull is shown in Fig. 4. Furthermore a hub with a radius of 10% of the total disk radius is used as well as a shaft extending into the hull and ending in an ellipsoid cap to minimise separation.
The propeller is modelled using a body force approach, meaning that an external force is added to the RANS momentum equation to represent the work done on the fluid by the propeller. The body force due to the propeller
F_{v} is defined as a force per unit volume and is incorporated in the momentum equation asIn Eq. (2), the left hand side represents the momentum change of the fluid. The average velocity components are denoted as
u_{i} withi =1,2,3. The right hand side of Eq. (2) represents stresses where the body force vectorF_{v} is added to the pressure gradient, the viscous stresses and the Reynolds stress tensorτ_{ij} which is modelled using the turbulence modelk −ω SST (Menter et al., 2003).> Active cell identification
The magnitude and direction of
F_{v} in every cell in the domain is decided by the location of that cell in relation to the propeller to be modelled. Cells within the propeller disk will be active (i.e. be eligible to receive anF_{v} >0. To not perform unnecessary calculations, these cells must be identified before any body force is added. Firstly, the centroid of the propeller in the undisturbed state is denotedxp _{0} , the initial centre of gravity of the hullCG _{0} and the orientation of the propeller axis in relation to the initial stateO _{0} . An arbitrary rotation and translation of the initial state is shown if Fig. 5. The rotation tensor due to the rotation of the hull in three degrees of freedom (pitch, roll and yaw) is denoted asQ so thatand the planar shift of the centre of gravity due to motions is denoted
P . With this notation, the location of the propeller centroidxp at an arbitrary position and orientation of the hull isand the orientation of the propeller axis
O (normal to the propeller disk plane) isA cell is given a nonzero value of
F_{v} if it lies within the radius of the propeller diskR but outside of the hub radiusR_{H} and within the thickness of the diskd . A vectorv_{I} is defined as going between the current propeller centroidxp and the centre of cellI . The distance from the propeller centroid along the propeller normal axis () is found fromThe local radius of cell
I ,R_{I} is found by projecting the vectorv_{I} onto the propeller plane. Since the normal vector to the propeller plane is the vectorO = (O _{1} ,O _{2} ,O _{3}) the projection ofv_{I} onto the propeller plane is achieved byThe definitions of
R_{I} ,d_{I} andv_{I} are shown in Fig. 6From this definition it follows that
> Thrust and torque distribution
The body force exerted on a certain cell within the propeller disk can be calculated in several ways. The most accurate representation is to model the lift and drag of the blades along radius by separating them into finite elements, each having a certain foil shape and attitude to the oncoming flow. This is known as Blade Element Momentum theory (BEMt.) Simplifications to this can be made by allowing the blades to sweep over a certain distance to give average values in larger sectors of the disk. A further step is to assume that the propeller rotates fast enough for the thrust and torque to be smeared over the entire disk at any given time step. The approach to modelling the blades depends on the amount of information is needed about the instantaneous effect of the blades on the surrounding fluid. This must be put in relation to the time scales of other phenomena around the propeller such as vortices separating from the stern area and how well the interaction of these with the propeller is to be modelled.
In this case the frequency of the waves passing and thus the variations in resistance and surge are deemed most important. The relation between the passing period of wave crests e T at different
λ / L in relation to different rotational frequencies 1/T_{r} for the propeller are shown in Fig. 7. The rotational frequency is given as the full scale RPM found asRPM_{full} =α ^{−0.5}RPM_{mod el} whereα is taken as an example scale factor of 40 (Lpp of full scale ship = 120m when using the model described in Table 1).As seen in Fig. 7, there will be more than 4 rotations of the propeller for every wave encounter in most situations. For low values of
λ / L , the wave encounter frequency is significant. However, as seen in Fig. 2, the added forces due to the waves at these wavelengths are low. This means that the motions will be low and that the main simplification made by using a smeared distribution will be to ignore the periodic variation of inflow velocity due to the waves. This is something that will be true regardless of the wavelength. For the example used in this paper ofλ / L = 1 , there will be 612 rotations for each wave encounter. This is considered enough for a smeared approach to be applied to the thrust and torque distributions. The thrust and torque distribution inside the propeller disk is determined by a radial shape function which is zero at the hub and tip and approximately follows the Goldstein (1929) optimum distribution. A nondimensional radiusr_{s} is defined asA shape function describing the thrust distribution is given as
and equally for the torque
The shape functions
f_{K} andf_{Q} are shown in Fig. 8.The shape functions are normalized so that the summation value over the entire disk corresponds to the desired thrust and torque
where
F_{K} is the thrust andF_{Q} is the torque.γ is a unit vector describing the direction of the circumferential force in each cell and is defined asThe direction of rotation can be altered by replacing Eq. (14) with
The body force for a cell
I is now given asThe thrust and torque are decided by the coefficients of thrust and torque
K_{T} andK_{Q} as well as the current working RPM.Since the propeller blades are not explicitly modelled in this case, the variation of
K_{T} andK_{Q} with the RPM is not known. For stock propellers such as the Wageningen Bseries, these can be found by interpolation of tabulated values based on experimental data for example from Bernitsas et al. (1981). Here, a 5th order polynomial fit to the open water characteristics of a MARIN 7967 propeller as described by Carrica et al. (2013) is used whereIn this case, the inflow speed is taken as the base forward speed
U _{0} plus the velocity of the propeller centroid relative to the moving reference frame. This gives the advance coefficientJ asIn Eq. (21), care must be taken with the signs of
U _{0} and∂xp /∂t so that they, with the coordinate system used, have the same definition of positive speed.Eqs. (17) and (18) as well as the shape functions (Eqs. (10) and (11)) assume that the flow into the propeller is uniform so that the local advance ratio is constant along the circumference. If the propeller is working behind a hull, the wake created by the ship will distort this condition. The thrust and torque varies periodically because of the surging motion through Eq. (21). However, the presence of the waves would also mean a periodic variation of thrust and torque due to an unsteady wake, something that is not considered here. By applying a BEMt method post runtime to estimate the thrust and torque variations behind the Wigley hull in this study, Windén et al. (2013) found a thrust variation of 16% around the mean value due to the unsteady wake.
PROPELLER CONTROL
Since the thrust produced by the propeller is a function of the RPM, it is possible vary the RPM based on given criteria for the thrust. In the interest of maintaining a constant service speed in waves, the RPM can be varied as to maintain the thrust needed to keep constant forward speed. Since the undisturbed forward speed is modelled with a current in this case, keeping constant speed is equivalent with keeping zero surge motion.
This can be achieved in two ways. The most direct approach is to iterate in each time step to find the thrust that will ensure force balance in the surge direction. The other alternative is to use a control function to steer the RPM towards the correct value based on information available from previous time steps. The second approach is preferable here, both in terms of computational time but, more importantly because it more closely represents a situation that could be applied on a real ship. Because of the nonlinear properties of marine propulsion systems, to achieve optimal propulsion performance it is necessary to apply some sort of control algorithm to govern the propeller RPM (Xiros, 2002). This is particularly important when ship dynamics are also considered as a factor (Kashima and Takata, 2002). A similar approach as the one described in this paper with a body force propeller and PID regulator for the RPM was applied by (Carrica et al., 2008) for studying broaching events.
> PIDcontroller
The PID controller is defined by letting the RPM in a time step be a function of the RPM in the previous time step and a correction value based on an error
e , the rate of change of the error and the integral value of the error since the start of the simulation.An appropriate definition of the error
e must be chosen to link the thrust from the propeller to the surge movement of the hull. Care is taken here to only include variables that could be feasibly measured on a real ship. For example, the hydrodynamic drag as well as the thrust is available in the RANSsolver and the difference between them could make up the errore . However, neither the thrust nor the resistance can be feasibly measured on board a ship in real time. For this reason, the acceleration of the centre of gravity is chosen as the main control variable. The acceleration can be measured in real time by placing an accelerometer at an arbitrary location provided the position of that location relative to the centre of gravity is known. The errore is thus based on the acceleration in the direction of travel (a ⋅x _{1} ) .To accentuate the connection with the resistance, the acceleration is multiplied by the mass of the ship to give an estimate of the current force acting on the hull. Furthermore, to avoid motion with constant velocity (in this case meaning that the hull moves with constant velocity other than the one specified) a penalty of 1000 is put on the integral value of acceleration. The error is now defined as
> RPM limiting
In addition to the PIDcontroller governing the RPM, some restrictions must be applied to make the simulation more realistic. The RPM should not be allowed to exceed a certain value since that would mean a great risk of cavitation and damage to machinery in a real propulsion system. Furthermore, large acceleration of the propeller rotation should also be disallowed since the torque needed to achieve such acceleration lies beyond the capability of both engines and propeller shafts. Furthermore, RPM increases are usually limited in marine engines to avoid large heat gradients etc. A typical maximum value for how fast the propeller rotation is allowed to change is around 1 RPM per minute in full scale. If the example scale factor of 40 is applied in this case, this is equivalent to a maximum increase of 0.67 RPM/s in model scale. Furthermore, typical working shaftRPM for most large merchant vessels lie between 40 and 100 RPM. This corresponds to between 250 and 630 RPM in the example model scale.
RESULTS
Simulations are started from an initialised solution where the steady wave pattern of the hull is allowed to develop. At the initial state, the resistance is recorded and the starting RPM is set as to match this resistance with a corresponding thrust. The hull is then subjected to regular waves with the first crest reaching the hull about
t / T_{e} = 3.All the information about the propeller extent and position are shown in Table 3
Nine different values on the maximum permissible RPM change rate
∂RPM /∂t are tested as well as a reference case where the acceleration is unlimited. The tested constraints are listed in Table 4.Controllers 25 performs similarly in terms of surge motion compared to controller 1, significant differences are only found for controllers 610. In Figs. 9, 10 and 11, the forward speed, surge and RPM for controllers 1, 7 and 10 are shown. Finally, the delivered power, which can be calculated as
P_{D} = 2π F_{Q}RPM /60 (Molland et al., 2011) is shown in Fig. 12.As seen in Fig. 9, the hull experiences a periodical oscillation in forward speed due to the waves. There is also a drop in the mean velocity. This is due to the mean increase in resistance due to waves
R_{AW} . It is clear that none of the controller constraints are generous enough to influence the periodical velocity notably. The RPM in all cases follows the maximum permitted increase. However, the higher the permitted value of∂RPM / ∂t is, the faster the ship can overcomeR_{AW} with an increased thrust and return to the original forward speed. This however comes at the cost of a higher power delivered to the propeller as seen in Fig. 12. Controller 8 is very successful in keeping constant forward speed, however the RPM increases (and subsequent power) required to do so are not in any way related to reality which is why controller 8 is excluded from the results figures.As seen in Figure 10, even though the hull returns to its initial forward speed, the integral value of the velocity means that it has been given a large distortion in surge. While this is not a problem in real applications, in this case it means that the mesh has been distorted. In the interest of accuracy future implementations should take this into consideration.
If the actual powering performance in waves is sought, it would not be suitable to construct a controller that puts a penalty on the surge drift. Instead it would be preferable to initialize the simulation from a fixed hull in waves and use the RPM needed to overcome
R_{AW} as the initial condition.CONCLUSIONS
The controller function described in this paper is a simplified version which mostly serves to demonstrate the opportunities of using open source RANS modelling with external inputs to more closely represent real operating conditions. Much more advanced controlling algorithms could be employed here, see for example Xiros (2002). Furthermore, the actuator disk model has many limitations. To properly include the propeller geometry and to draw more detailed conclusions about the effects of unsteady loading, a BEMt approach is preferred. The future aim for this model is to replace the actuator disk formulation with the BEMt model developed by Phillips et al. (2009; 2010).
This study has shown that it is possible to model and discuss around several aspects of selfpropulsion using the described method. There is however need for proper validation against experimental data to ensure the accuracy of the model. The benefit of using RANS CFD to do this rather than experimental methods is that the entire flow field can be accessed and analysed to study the influence of e.g. changes in bow and stern shape and the subsequent change in performance. The future goal is to apply the methodology described in this paper to more realistic hull forms to be able to conduct detailed studies on more of the factors affecting ship performance in waves.
Finally, the conclusions drawn regarding the controller constraints may become relevant with future engine development (with for example fuel cell powered electrical engines) where the RPM increase should be able to happen faster than with current marine diesels.

[Fig. 1] Hydrodynamics related to performance in waves.

[Fig. 2] Results of validation case.

[Fig. 3] Geometry of the numerical towing tank.

[Table 1] Particulars of tested hulls.

[]

[Fig. 4] Positioning of propeller disc behind Wigley hull.

[]

[]

[]

[]

[Fig. 5] Arbitrary rotation and translation of initial state.

[]

[]

[Fig. 6] Definitions of propeller disk extent.

[]

[Fig. 7] Contours of the ratio Te / Tr .

[]

[]

[]

[Fig. 8] Shape functions fK and fQ .

[]

[]

[]

[]

[]

[]

[]

[]

[]

[]

[]

[]

[Table 2] PID coefficients and initial RPM value.

[Table 3] Positioning and extent of propeller.

[Table 4] RPM constraints.

[Fig. 9] Changes in forward speed due to waves with different values of ∂RPM / ∂t allowed.

[Fig. 10] Changes in surge due to waves with different values of ∂RPM / ∂t allowed.

[Fig. 11] Development of propeller RPM with different values of ∂RPM / ∂t allowed.

[Fig. 12] Changes in delivered power with different values of ∂RPM / ∂t allowed.