Theory¶
This chapter summarizes the theoretical background of the program.
Coordinate systems¶
Six different coordinate systems are defined as follows:
-
An earth-fixed Cartesian right-handed coordinate system \( Oxyz \) with the origin at an arbitrary position at the calm free surface. The \( z \)-axis is pointing upwards and perpendicular to the horizontal plane. This coordinate system is used when formulating the equations governing the fluid flow, free surface evolution and incoming waves.
-
A body-fixed coordinate system \( O_b x_b y_b z_b \) with its origin at the center of gravity of the body. In normal situations, i.e. when no specific initial position of the body is given as input, the origin of the body-fixed coordinate system will be placed at \( (x,y) = (0,0) \) in the earth-fixed coordinate system.
-
An offset coordinate system \( O_o x_o y_o z_o \) in which the offset file (or imported mesh) is described. Its origin is expected to be at the baseline, aft perpendicular, with the \( x_o \)-axis pointing towards the bow and the \( z_o \)-axis pointing upwards.
-
A computational coordinate system \( O_c x_c y_c z_c \) which is a horizontally aligned body-fixed coordinate system with its origin on the horizontal plane, vertically below or above the center of gravity of the body and the \( x_c \)-axis pointing towards the bow.
-
An initial coordinate system \( O_i x_i y_i z_i \), where \( x_i \), \( y_i \) and \( z_i \) have the same orientation as the offset coordinate system. \( O_i \) is at the water plane and \( x_i \) is in the middle between the aft and fore perpendiculars, i.e. \( L_{pp}/2 \).
-
A body-fixed sub-body coordinate system \( O_s x_s y_s z_s \) with its origin and orientation defined by the user in the offset coordinate system \( O_o x_o y_o z_o \). If no rotation is applied, it is aligned with the axes of the offset coordinate system.
Potential flow¶
The theoretical starting point in this section is the assumption that there exists a scalar quantity \( \phi \) describing the motions of the fluid. We will refer to this scalar quantity as the velocity potential. The assumption is based on the hypothesis of an inviscid, incompressible and irrotational fluid such that the velocity potential can be defined implicitly by setting its gradient equal to the fluid velocity \( \vec{u}(x,y,z) \):
where \( u \), \( v \) and \( w \) are the fluid velocity components in the \( x \)-, \( y \)- and \( z \)-direction, respectively, in the earth-fixed Cartesian right-handed coordinate system \( Oxyz \). By substituting the above into the incompressible continuity equation
we obtain
which is the Laplace equation for the velocity potential; a linear partial differential equation and the governing equation in potential flow.
Fluid domain¶
In its simplest case, a free surface flow problem is bounded only by the free surface, implying that the free surface extends to infinity and that the depth is infinite. However, the case that we are interested in includes an additional boundary due to the presence of the (floating) body as well as the (optional) existence of a bottom boundary at finite depth.
Moreover, the horizontal extent of the free surface boundary is truncated under the assumption that it is part of a larger domain in which it is assumed that the flow is known a priori.
On this basis, we define a compact (nested) domain bounded by the surface \( S \), which includes the truncated free surface \( S_f \), the wetted part of the body surface \( S_b \) and the bottom surface \( S_t \).
Furthermore, if the body is moving in the horizontal direction, the compact domain follows the horizontal position of the body center of gravity.
Boundary conditions¶
The governing equation in potential flow, the Laplace equation for the velocity potential, is a linear partial differential equation and nonlinearities in the problem are introduced by the boundary conditions. In this section, the boundary conditions for the free surface and the body are presented.
The kinematic free surface boundary condition¶
The kinematic free surface boundary condition says that a fluid particle on the free surface will always belong to the free surface, i.e. no flow through the surface. Consider the earth-fixed Cartesian right-handed system \( Oxyz \) with the origin at an arbitrary position at the calm free surface level and the \( z \)-axis pointing upward.
The kinematic boundary condition is given by
where \( \vec{x} = (x,y,z) \) is the position of a fluid particle on the free surface.
The dynamic free surface boundary condition¶
The dynamic free surface boundary condition requires equilibrium between the hydrodynamic and hydrostatic pressure and that there is no jump in pressure across the surface, i.e. the pressure at the surface is equal to the atmospheric pressure.
The dynamic free surface boundary condition is given by
where \( g \) is the gravitational acceleration, \( p_a \) is the atmospheric pressure and \( \rho \) is the fluid density. The material derivative is defined as
The body surface boundary condition¶
The body surface boundary condition imposes the intuitive condition of no fluid flow through the body surface. Because of the absence of viscosity in the fluid, the condition does not restrict the tangential velocity on the surface. In fact, a tangential velocity is expected and so the condition specifies that the fluid velocity in the normal direction of the body surface is equal to zero.
Thus, on the rigid body surface, a Neumann type impermeability condition is given:
in which \( \vec{n} \) is the unit normal vector pointing into the fluid domain, \( \vec{v} \) and \( \vec{\omega} \) are the translatory and angular velocities of the rigid body respectively and \( \vec{r} \) is the radius vector from the body center of rotation.
Manoeuvring forces¶
The manoeuvring forces are treated as additional forces to those computed by the potential flow solution and any other forces from, e.g. sub-bodies.
If a water current is defined, the velocities \( u \) and \( v \) of the manoeuvring models below are the velocities through the water.
The corresponding input is described under
XFLOW:MANOEUVRING.
Bis system¶
The bis system is based on the use of the ship length \( L \) to non-dimensionalize length. In combination with the acceleration due to gravity \( g \), time is non-dimensionalized with \( \sqrt{L/g} \) and subsequently speed is non-dimensionalized with \( \sqrt{Lg} \). Further, mass is non-dimensionalized with \( \rho\nabla \), where \( \nabla \) is the volume displacement and force is subsequently non-dimensionalized with \( \rho\nabla g \), moment with \( \rho\nabla g L \), and so on.
Non-dimensional quantities are here denoted by \( (\cdot)'' \).
Implementation¶
The following non-dimensional manoeuvring forces are currently available:
where \( X'' \), \( Y'' \) and \( N'' \) are the non-dimensional surge, sway and yaw forces and moment, respectively, and \( u'' \), \( v'' \) and \( r'' \) are the non-dimensional surge, sway and yaw velocities, respectively, according to the bis system.
\( Y_{nl} \) is a nonlinear side-force term due to cross-flow drag, given by
where \( T(x) \) is the mean draught, \( C_d \) is a hull cross-flow drag force coefficient, and \( v(x) \) is the local sway velocity.
\( N_{nl} \) is a corresponding nonlinear yaw-moment term given by
Here, \( x_\text{lev}(x)=(x_{cg}-x)+x_\text{cdlev} \) is the local longitudinal distance to the center of gravity plus a user specified lever-offset, \( x_\text{cdlev} \).
\( N_{M} \) is the Munk moment, given by
where \( A_{22} \) and \( A_{11} \) are added mass in sway and surge, respectively, and \( \beta \) is the drift angle defined as:
This moment is evaluated automatically at the beginning of the simulations and is subtracted in order to avoid double-counting since it is also an inherent part of the potential flow solution.
The longitudinal force \( X'' \) represents induced resistance added to the resistance modeled by the solver, i.e. wave resistance from the potential flow solution and friction resistance from the ITTC-57 friction line.
The side force \( Y'' \) represents hull generated forces due to lift and cross-flow drag.
Prime system¶
The prime system is based on the use of ship length \( L \) to non-dimensionalize length and a reference speed \( U_\text{ref} \) to non-dimensionalize speed. Further, using the ship draught \( T \), force is non-dimensionalized with \( \frac{1}{2} \rho L_\text{pp} T U_\text{ref}^2 \). Subsequently, moment is non-dimensionalized with \( \frac{1}{2} \rho L_\text{pp}^2 T U_\text{ref}^2 \). Mass is non-dimensionalized with \( \frac{1}{2} \rho L_\text{pp}^2 T \).
Non-dimensional quantities are here denoted by \( (\cdot)' \).
Implementation¶
The following non-dimensional manoeuvring forces are currently available:
where \( X' \), \( Y' \) and \( N' \) are the non-dimensional surge, sway and yaw forces and moment, respectively, and \( v' \) and \( r' \) are the non-dimensional sway and yaw velocities, respectively, according to the prime system.
\( N_{M} \) is the Munk moment, given by
where \( A_{22} \) and \( A_{11} \) are added mass in sway and surge, respectively, and \( \beta \) is the drift angle defined as:
This moment can be evaluated automatically at the beginning of the simulations or it can be input manually, and it is subtracted in order to avoid double-counting since it is also an inherent part of the potential flow solution.
Wind¶
A model for the wind can be included in the computations. This has to be present when wind propulsion systems are present, as described in Wind propulsion systems. It can include drag forces generated by the interaction between the hull and the wind.
The corresponding input is described under XFLOW:WIND.
The shape of the wind profile can be set as logarithmic, power law or constant. The wind profile for the logarithmic law is defined as
where \( v_{ref} \) is the wind velocity at the reference height \( z_{ref} \). If not specified, \( z_\text{ref} \) is set to 10 m.
The wind speed for the power law is defined as
A typical value for the exponent \( \alpha \) over open water is 1/9, which is also the default value.
An unsteady spatio-temporal wind model is also implemented. The unsteady wind model is based on the
Ochi and Shin over-water wind turbulence model and a \( \cos^2 \) spreading function for horizontal
and vertical variation. tmax is the required input for the unsteady wind model, which specifies the
maximum time period of the wind components (default value is 300 seconds).
The wind model can also be used to evaluate the forces from the interaction between the wind and the part of the hull above the free surface. The longitudinal and transversal area of the ship are needed for the calculation. The code needs the coefficients \( C_X \), \( C_Y \), \( C_K \), \( C_N \) of the forces along the x and y axis and of the moments around the x and z axis. The coefficients are defined as follows:
Water current¶
A steady, uniform water current can be included in the computations. The corresponding input is
described under XFLOW:CURRENT.
The current velocity is horizontal and the same at every position and depth:
where \( U_c \) is the current speed and \( \theta_c \) is the direction the current is coming from, both in the earth-fixed coordinate system \( Oxyz \).
The current is part of the potential flow solution. Its velocity potential is
and the total velocity potential \( \phi \) satisfies the boundary conditions given above. The term proportional to time makes the pressure zero on the undisturbed free surface \( z=0 \), so the current alone does not change the calm water level.
Only the flow relative to the body enters the boundary conditions and the pressure. A body that moves over ground with the velocity \( \vec{V} \) moves through the water with the velocity
and a body held in a current is subject to the same flow, forces, sinkage and trim as the same body moving through still water with the velocity \( -\vec{U}_c \).
Regular and irregular incident waves are carried by the current. The wave length is the one given in the input, and the encounter frequency becomes
where \( \omega \) is the wave frequency without a current and \( \vec{k} \) is the wave number vector, which points in the direction the waves travel. An incident wave field from the HOS3 solver is not carried by the current.
The force models that are added to the potential flow solution use the velocity through the water \( \vec{V}_w \):
- the manoeuvring forces,
- the friction (
XPTD:FRICTION), - the additional surge, sway and heave damping (
XFLOW:DAMPING), - the rudder, fin, skeg, bilge keel, propeller and thruster (Sub-body Force Models), whose inflow includes the current.
The wind forces and the wind propulsion systems use the velocity over ground, and the towing
springs (XFLOW:TOWING) act on the position over ground.