Sub-body Force Models¶
Sub-bodies are defined by their own body-fixed coordinate system \( O_s x_s y_s z_s \), defined by their position and orientation relative to the offset coordinate system \( O_o x_o y_o z_o \).
Sub-bodies can be given a type, e.g. rudder or propeller. Specifying a sub-body type is optional and
will associate the sub-body with a force model; without a type, the sub-body adds no forces. The
corresponding input is described under
XFLOW:SUBBODY.
PID control¶
Depending on the type, a sub-body may be controlled with a simple PID controller. The following sub-body types have this functionality:
- Rudder
- Fin
- Engine
- Sail
The PID controller has the following control function:
Here, \( u(t) \) is the control value (e.g. rudder angle order), and \( e(t) \) is the error value, i.e. the discrepancy between the set point (e.g. autopilot target heading) and the process value (e.g. current heading).
\( K_\text{p} \) is the coefficient for the proportional term. \( T_{i} \) and \( T_{d} \) represent the integration time and a derivative time respectively. \( K_{p}T_{d} \) is the time constant with which the controller will attempt to approach the set point. \( K_{p}/T_{i} \) determines how long the controller will tolerate the output being consistently above or below the set point.
Constant body-fixed force¶
This simple force model adds a constant body-fixed force vector acting through the origin of the sub-body. The vector is defined in the sub-body coordinate system.
Bilge keel and skeg¶
Bilge keels and skegs are modelled as flat plates that give rise to two force components: a lift force perpendicular to the relative fluid velocity \( F_L \) and a cross force in the normal direction to the foil surface \( F_C \). The fluid velocity is approximated by the undisturbed incident flow field.
The difference between the bilge keel and skeg models is that bilge keels are defined by a rectangular shape (constant span) while skegs are described by a polygon and thus can have arbitrary shapes (possibility for varying span).
Geometry¶
The bilge keel geometry is defined by its length (chord) and breadth (span).
The origin of the sub-body coordinate system \( O_s x_s y_s z_s \) is at the midpoint of the root chord, with the \( x_s \)-axis pointing forward towards the leading edge, and the span of the bilge keel is oriented along the negative \( z_s \)-axis.
Lift force¶
The lift force acting on the foil is given by
where \( S \) is the projected foil area and \( V_r \) is the relative mean flow velocity over the foil.
Bilge keels and skegs are assumed to have low aspect ratios with lift curve slope (low aspect ratio theory) given by
where \( s \) is the span and \( \bar{c} \) is the mean chord length. With \( S = s\bar{c} \), the lift force can be expressed as
If the span varies along the chord, the lift force acts at the foremost location at which the maximum span \( s_\text{max} \) occurs. Otherwise, if the span of the foil is constant, the lift force acts on the leading edge.
Cross-flow drag force¶
Viscous cross-flow drag force normal to the foil, i.e. eddy damping, is given by
where \( V_n \) is the relative velocity component normal to the foil and the drag coefficient is typically set to \( C_{D,cf}=2 \).
Effect of boundary layer¶
The bilge keel or skeg foil is partially or completely inside the boundary layer, which affects the flow velocity. This effect is considered by approximating the mean flow velocity over the bilge keel or skeg span \( s \).
The boundary layer displacement thickness is approximated by
where \( x \) is the distance from FP and \( Re_x \) is the Reynolds number based on \( x \).
The boundary layer velocity profile is given by
Hence, if \( s<\delta \), the mean velocity over the foil is given by
Otherwise, if \( s\ge\delta \), the mean velocity is given by
Added mass¶
The added mass of the bilge keel or skeg is approximated by
where \( s(x) \) is the local span at the coordinate \( x \) along the chord \( c \). The added mass is treated as a point-mass at the centroid of the bilge keel or skeg.
Fin¶
Fins generate lift and drag as a function of the relative velocity between the fin and the fluid. The fluid velocity is approximated by the undisturbed incident flow field minus the velocity of the fins due to the body motions.
As for bilge keels and skegs, the fin foil is partially or completely inside the boundary layer and the effects on the flow velocity are modelled in the same way as described under Effect of boundary layer.
Fins can be either passive (fixed) or active, where the roll angle of the hull is taken as the process value for the PID controller which then controls the rotation of the fin around its \( z_s \)-axis.
Fin geometry¶
The fin geometry is defined by its root chord, tip chord, span, sweep angle along the quarter-chord and thickness ratio.
The origin of the sub-body coordinate system \( O_s x_s y_s z_s \) is by default at the quarter root chord length from the leading edge, but can be changed by the user, with the \( x_s \)-axis pointing forward towards the leading edge and the span of the fin oriented along the negative \( z_s \)-axis.
Fin lift force¶
The lift force from the fin is given by
where \( S \) is the foil area and \( V_r \) is the relative mean flow velocity over the foil.
The lift curve slope of the fin is given by
where \( a_0=0.9\times2\pi \) is the section lift curve slope, \( AR_e=2s^2/S \) is the effective aspect ratio and \( \Omega \) is the sweep angle of the quarter chord line.
Fin drag force¶
The drag force is given by
The drag coefficient is given by
where \( C_{D0}=2.5C_{F} \) is the drag coefficient at zero angle of attack based on the projected fin area and \( e_0=0.9 \) is the Oswald efficiency factor.
The frictional coefficient based on wetted surface area is given by
where \( Re_F \) is the Reynolds number based on fin mean chord.
Approximation of stall¶
The effect of stall can be approximated by multiplying the lift coefficient with the stall coefficient
where \( \alpha \) is the angle of attack and \( A \) and \( B \) are user defined parameters. The default values are \( A=-1.1 \) and \( B=1.5 \).
The figure below illustrates the effect of two different stall coefficients on the lift curve for a foil with an effective aspect ratio \( AR_e=6 \) and sweep angle \( \Omega=0 \).
Fin added mass¶
The added mass of the fin is given by
where \( c(z) \) is the local chord along the span \( s \). The added mass is treated as a point-mass at the centroid of the fin.
Rudder¶
Rudders generate lift and drag as a function of the relative inflow velocity between the rudder and the fluid. The fluid velocity is approximated by the undisturbed incident flow field minus the velocity of the rudder due to body motions. If a propeller is present in front of the rudder, the propeller slipstream is considered when calculating the velocity over the rudder. A user defined flow straightening factor is also considered, which approximates the straightening of the streamlines behind the stern, e.g. resulting in an increased effective angle of attack when turning.
Rudders can be either passive (fixed) or active, where an autopilot (PID controller) controls the rudder angle, i.e. the rudder rotation around its \( z_s \)-axis. The autopilot has 4 different modes:
- Heading control
- Course control
- Zig-zag manoeuvre
- Turning circle manoeuvre
It is possible to provide tabulated values for lift and drag coefficients as a function of the angle of attack. If the coefficients are not present, the following method will be used to evaluate lift and drag.
Rudder geometry¶
The rudder geometry is defined by its root chord, tip chord, span, sweep angle along the quarter-chord and thickness ratio.
The origin of the sub-body coordinate system \( O_s x_s y_s z_s \) is by default at the quarter root chord length from the leading edge, but can be changed by the user, with the \( x_s \)-axis pointing forward towards the leading edge and the span of the rudder oriented along the negative \( z_s \)-axis.
Rudder lift force¶
The lift force from the rudder is given by
where \( S \) is the projected rudder area, \( V_r \) is the relative mean flow velocity over the rudder and \( \alpha \) is the effective angle of attack.
The lift curve slope of the rudder is given by
where \( a_0=0.9\times2\pi \) is the section lift curve slope, \( AR_e \) is the effective aspect ratio and \( \Omega \) is the sweep angle of the quarter chord line.
Assuming the gap at the rudder root is small at \( \delta=0 \) and large at \( \delta_\text{max} \), the effective aspect ratio of the rudder is taken as
Rudder drag force¶
The drag force is given by
The drag coefficient is given by
where \( C_{D0}=2.5C_{F} \) is the drag coefficient at zero angle of attack based on the projected rudder area and \( e_0=0.9 \) is the Oswald efficiency factor.
The frictional coefficient based on wetted surface area is given by
where \( Re_F \) is the Reynolds number based on rudder mean chord.
Effects of the propeller slipstream¶
If the rudder is situated in the slipstream of a propeller, the velocity and extent of the slipstream at the position of the rudder is considered.
According to momentum theory, the mean axial flow velocity far downstream of the propeller is given by
where \( V_A \) is the advance velocity in the propeller plane and \( C_T \) is the thrust coefficient given by
The radius of the propeller slipstream far behind the propeller is given by
where \( r_0 \) is the propeller radius. The rudder, however, is normally situated a limited distance from the propeller where the slipstream contraction is not yet complete. The slipstream radius \( r_x \) and axial flow velocity \( V_x \) at a distance \( x \) downstream of the propeller can be approximated as
Turbulent mixing of the slipstream and the surrounding flow will increase the radius by \( \Delta r_x \), given by
leading to a corrected axial velocity:
The limited radius of the slipstream in the lateral direction also diminishes the rudder lift force, which can be taken into account by multiplying the lift by a factor \( \lambda \), given by
where \( f=2\left(\frac{2}{2+d/c}\right)^8 \) with \( d=\sqrt{\pi/4}(r_x+\Delta r_x) \).
It is also possible to follow another procedure to obtain the velocities on the rudder due to the presence of the propeller. Viscous simulations can be set up in XCHAP with self-propulsion on, for different drift angles and without the rudder. Once the velocities are extracted and averaged along the span of the rudder, the wake can be obtained as
The rwake values can be input as a function of the drift angle from a CSV file.
Flow straightening by the hull¶
The presence of the hull in front of the rudder has a straightening effect on the inflow to the rudder, affecting the geometric angle of attack given by \( \delta+\gamma \), where \( \delta \) is the rudder angle and \( \gamma \) is the cross flow angle due to ship motion and fluid velocity in the incident flow field. The cross flow angle is given by
where \( V_y \) is the relative fluid velocity perpendicular to the rudder.
The effective angle of attack is given by
where \( \kappa \) is a flow straightening factor. With \( \kappa=0 \) the flow is completely straightened and parallel with the vessel's centerline, and \( \kappa=1 \) means no flow straightening effect. This factor depends on the shape of the stern of the vessel. For single-screw vessels a typical value is 0.6. It is possible to input the straightening factor as a function of the angle of attack, reading it from file.
Rudder approximation of stall¶
In the same way as in the fin model, the effect of stall can be approximated by multiplying the lift coefficient with the stall coefficient:
where \( \alpha \) is the angle of attack and \( A \) and \( B \) are user defined parameters. See Approximation of stall for an illustration of the effect on the lift curve.
Rudder added mass¶
The added mass of the rudder is given by
where \( c(z) \) is the local chord along the span \( s \). The added mass is treated as a point-mass at the centroid of the rudder.
Engine¶
The engine model simulates the dynamics of a 2-stroke diesel engine which can take the torque limitation of the engine into consideration.
Engine dynamics¶
The engine rate \( n_E \) is given by the moment equation
where \( Q_E \) and \( Q_P \) are the engine and propeller torque respectively, \( I_E \) and \( I_P \) are the corresponding moments of inertia and the engine gear ratio \( r_g \) is defined as
where \( n_P \) is the propeller rate.
The engine torque is given by
where \( P_E \) is the engine power, limited by the maximum continuous rating \( P_\text{MCR} \).
Torque limitation¶
It is possible to consider the engine torque limitation by limiting the engine power \( P_E \) to the overload protection limit \( P_\text{OLP} \) and mean effective pressure limit \( P_\text{MEP} \):
where \( n_\text{MCR} \) is the engine rate at MCR. The constants \( \alpha=0.967 \) and \( \Gamma=2 \) are typical for low-speed diesel engines. The effect on the available engine power with torque limitation is illustrated below.
Engine control modes¶
The engine can be run in four different modes:
- Constant engine rate
- Target ship speed
- Target rate
- Target engine power
In the first mode, the dynamics of the engine is completely neglected. In modes 2–4, the engine power is controlled by a PID controller.
Propeller¶
The propeller model simulates a constant pitch propeller based on tabulated propeller open water characteristics as functions of propeller advance coefficient \( J \):
- Thrust coefficient, \( K_T \)
- Torque coefficient, \( K_Q \)
and propulsion characteristics as functions of ship speed \( V_S \):
- Thrust deduction factor, \( t \)
- Taylor wake fraction, \( w_T \)
- Relative rotative efficiency, \( \eta_R \)
Propeller rate¶
The propeller rate \( n_P \) is proportional to the engine rate \( n_E \), given the engine gear ratio \( r_g \):
The propeller model thus requires an engine model to be present, which considers the propeller moment of inertia \( I_P \), propeller torque \( Q_P \), engine gear ratio \( r_g \) and simulates the dynamics of the coupled system.
Propeller torque¶
The propeller torque is given by
where \( \rho \) is the fluid density, \( D \) is the propeller diameter, \( \eta_R \) is the relative rotative efficiency and \( K_Q \) is the propeller torque coefficient, being a function of the propeller advance coefficient \( J \) defined as
Here, \( V_A \) is the propeller advance velocity, which is calculated using the Taylor wake fraction:
where \( V_S \) is the ship speed.
Propeller thrust¶
The propeller thrust is given by
Thrust deduction¶
Thrust deduction results in a resistance increase \( \Delta R \):
where \( t \) is the thrust deduction factor.
Notes
- Thrust deduction is treated as an increase in resistance rather than a reduction of thrust.
Thruster¶
The thruster model simulates a thruster operating at constant rpm. It is possible to approximate the strut of the thruster and include the lift produced by it. The thruster can either be passive or active. In the case of an active thruster, this will work with an autopilot controlling the angle. It is possible to choose course keeping or constant heading, as well as turning circle or zig-zag tests.
Thruster geometry¶
The thruster geometry is defined by two elements, the strut and the propeller. The strut is defined by its root chord, tip chord, span, sweep angle along the quarter-chord and thickness ratio. The propeller is defined by the diameter.
The origin of the sub-body coordinate system \( O_s x_s y_s z_s \) is by default at the intersection between the strut rotation axis and the hull. The position of the propeller is defined with reference to that point.
The propeller part of the thruster is modelled following the same logic used for the propeller sub-body. For the lift-producing strut, a formulation following the one described for the rudder is implemented.
Planar forces¶
Before defining the forces generated by the thruster, some velocities need to be evaluated. With \( \delta \) the angle of the thruster and \( \alpha \) the angle of attack defined as
where \( \kappa \) and \( \gamma \) are the straightening factor and the flow angle on the thruster. With \( V_{x,R} \) and \( V_{y,R} \) the x and y velocities of the flow on the propeller plane, we define
We define the thrust loading coefficient as \( C_{Th} = (8K_T)/(\pi J^2) \) and the propeller induced velocity as \( U_a = V_a(-1 + \sqrt{1+C_{Th}}) / 2 \). We define the planar force on the y-axis as
where \( A_p \) is the area of the propeller disc. We can finally evaluate the in-plane components:
Wind propulsion systems¶
It is possible to include wind propulsion systems into MOTIONS. If this command is used, the
XFLOW:WIND command must be present as well, to define wind speed and
direction — see Wind. It is possible to include two wind propulsion systems:
Flettner rotors and rigid wings.
Flettner¶
The Flettner model simulates a Flettner rotor spinning at constant rps which produces lift and drag forces. It is possible to set the rotational direction of the rotor. Lift and drag forces are computed starting from \( C_L \) and \( C_D \). The coefficients can be read from file as a function of the angle of attack, or they are calculated following the simplified model described here. It is also possible to include the interaction between the rotors using a lifting line theory.
Flettner geometry¶
The Flettner rotor is described by the diameter, the Flettner height measured from the deck, and the
diameter of the end plate disc. The origin of the sub-body coordinate system \( O_s x_s y_s z_s \),
specified by the pos command, is placed at the intersection between the rotational axis of the rotor
and the deck.
Angle of attack¶
To compute lift and drag, the Flettner rotor is initially divided into a finite number of strips with height \( \Delta H \). For each strip, the apparent wind velocity \( \mathbf{U_{AW}} \) is evaluated at the center of the strip, taking into account the velocity of the ship:
The angle of attack is evaluated from the apparent wind direction, including the heading \( \beta \) as well:
Lift and drag¶
Lift and drag forces are calculated starting from lift and drag coefficients. If the coefficients are not given, they are calculated as:
where \( SR \) is the spin ratio defined as \( SR=(\Omega \cdot d/2)/U_w \), with \( \Omega=2\cdot\pi\,rps \) the rotational speed of the rotor, \( AR=H/d \) is the aspect ratio and \( d_e/d \) is the normalized end-plate diameter. The polynomial coefficients \( a_{ijk} \) and \( b_{ijk} \) are derived from CFD computations and tabulated.
The range of validity for the model is related to the values of the spin ratio and it is \( SR \in [1, 3] \). When the calculated value of \( SR \) exceeds the range of validity, the limiting value is taken instead.
Once the coefficients are evaluated for each strip it is possible to get the force, and then to integrate the forces from all the strips on the whole rotor. The forces are obtained as:
It is then possible to evaluate the force in the body-fixed coordinate system:
Wings¶
The wing model simulates a rigid sail. 2D lift and drag coefficients have to be provided for a number of sections of the wing. Using a lifting line theory, the lift and drag are evaluated for the 3D wing and the interaction between the sections and with other wings is calculated. A PID controller can be included to keep the sails at a constant angle of attack relative to the apparent wind direction.




