2.1. Reference Model
The initial step in creating the hull model was constructing a prototype based on a simple design. A single chine was incorporated into the hull to enhance the ship’s speed. This design utilized the spray effect generated by water flowing past the hull, causing it to curve around the ship’s side and serve as a lifting force. Incorporating a chine was motivated by the specific objective of designing the ship for rapid patrol, making it a key element in achieving increased speed. The 3D reference patrol boat model of MV. Barracuda and the main size of the ship can be seen in
Table 1 and
Figure 1. The linesplan and general arrangement are illustrated in
Figure 2 and
Figure 3. The body plan comprehensively depicts the ship from a longitudinal perspective (side and bottom views) and a transverse angle (front view). The ship was designed for six passengers and had six pieces of baggage and cargo.
Modifications to the deckhouse are undertaken to achieve the minimum height required for the designed patrol boat to possess anti-capsizing capability. This study utilized reference variations for superstructure heights in the load test, drawing from previous studies conducted by Trimulyono et al. [
3]. Four types of deckhouse heights were considered, each differing in superstructure height by 5%, 10%, and 15% from the original height of 2.01 m. Consequently, each model featured an additional height of 0.1 m.
Moreover, roll period tests will be conducted on vessels with deckhouse heights of 2.07 m, 2.06 m, and 2.04 m. The vessel with a deckhouse height of 2.01 m yielded unsatisfactory analysis results, failing to meet the criteria for an anti-capsized ship. On the other hand, a deckhouse height of 2.11 m demonstrated favorable stability analysis and is classified as an anti-capsized ship. This classification is based on the positive lever value observed in the
GZ curve at a heel angle of 180°. Modifications in the deckhouse height will induce changes in construction weight, resulting in corresponding modifications in the lightweight tonnage (LWT) data, as depicted in
Table 2. It can be found that the increase in deckhouse height caused a slight increase in construction weight. In addition, the equipment weight consists of the components of the ship’s equipment, which includes propellers, main engines, shafts, cargo boxes, navigation equipment, and other equipment.
The
GZ curve data acquired will undergo further analysis to ascertain the metacenter height (
GM) value at a tilt angle of 170°, validating the deckhouse. The calculation of the
GM value aims to determine whether the designed ship falls into the positive, negative, or indifferent stability category. The formula used to derive the
GM value is grounded in the principles of hydrostatics and stability. It is assumed that the diverse
GM values obtained will impact the rolling period of the vessel. Using Equation (1), the
GM value data will be computed for the rolling period in Equation (2). This function aids in determining whether the ship possesses a negative
GM value [
15,
16].
where
GM is the point value gravity to metacenter point;
GZ is the righting lever value; and sin
θ is the heel angle. For the rolling period, the
k value is based on the gyration radius from the vessel, and
g is the gravity.
2.2. Simulation Setup and Domain
The computational domain for CFD setup, the self-righting moment, was simulated with roll decay analysis to prove that the boat could return to an upright condition after rolling at a high angle. Roll decay simulation was conducted in this study using commercial CFD software, Siemens Star-CCM+ version 16.04. In the modeling stage, 3D software was used for the full-scale hull modeling of MV. Barracuda based on the linesplan data in
Figure 3. The first step is to import the geometry of the 3D ship model that has been designed using the modeling application into STAR-CCM+. The meshing method performed in this study uses overset meshing, which has two roles of geometry: the virtual tank (domain) and the overset that envelops the object as an acceptor. To ensure a smooth roll decay simulation, overlap refinement was applied between two regions. A free surface refinement was also used near the water’s surface to precisely distinguish between the water and air phases. For mesh generation, the automatic mesh tool in Star CCM+ was utilized, specifically employing a trimmed cell mesh and a surface remesher. This tool uses the Cartesian cut cell method for meshing.
In this instance, the integral form of the Unsteady Reynolds-Averaged Navier–Stokes (URANS) equations was discretized using the finite volume method (FVM). A second-order convection scheme was applied to handle the convective terms. A first-order approach was employed in terms of temporal discretization for the time-domain solution. The continuity and momentum were interconnected through a predictor–corrector scheme. The flow equations were addressed in an uncoupled manner. The entire solution process was executed utilizing the semi-implicit method for pressure-linked equations (SIMPLE) algorithm.
The turbulence impact within the boundary layer region was simulated employing the shear stress transport (SST) model [
17], which integrates a
k-ɛ model in the far field with a
k-ω model near the wall. The y+ treatment scheme was applied for the boundary layer region, either on fine grids (when y+ < 5) or coarse grids (when y+ > 30). The volume of fluid (VoF) method, as introduced by Hirt and Nichols [
18], was utilized to account for the free surface. VoF defines two phases of the fluid (water and air) by assigning a scalar value of 0 to air and 1 to water in each cell. The interface between the two fluid phases (cells containing water and air) is 0.5. Flat wave modules with zero velocity were employed to represent fluid in the computational domain without waves when the boat was at zero velocity.
The DFBI module was employed in the roll decay simulation to model the boat’s two degrees of freedom: roll and heave. This module calculates the forces, moments, and gravitational forces exerted on the hull surface, and it solves the governing equation to ascertain the new position at each time step.
Figure 4 illustrates the two designated areas, overset and background, utilized in this research. The depiction of the domain used is based on prior research [
3], which investigated roll decay capabilities using the CFD overset meshing method. The study outlined the background domain size and overset as the simulation sites. A virtual tank, acting as a damping system akin to a water damper, will mitigate the external effects of rotational waves on the relevant boundary, facilitating a more natural application of roll response analysis. The dimensions of the virtual tank and overset are detailed in
Table 3, and the visual representation of the domain in
Figure 4 is adapted from the earlier study [
3]. This study demonstrated that the roll decay of the 1-DoF model yielded highly accurate predictions for significant initial roll angles (13.5° and 15°). For simulations with a 4° initial angle, the coefficients derived from the 6 DoF simulation precisely matched the experimental curve [
19]. The upcoming simulation will incorporate three mesh variations with varying cell numbers.
Table 4 and
Figure 5 illustrate the three mesh types under different density conditions: fine, medium, and coarse.
Fourier series (FS) analysis was used to quantify the results of the roll decay simulation, which considered the unsteady time series of roll amplitude. This analysis converted the time-domain results into frequency-domain results [
20]. It was undertaken for the three mesh configurations, which were fine, medium, and coarse. Next, the roll response in the frequency domain for different mesh configurations was compared. Each unsteady history
φ(
t) could be represented by a Fourier series in time, as shown in Equation (3).
where
φn is the nth harmonic amplitude and
γn is the corresponding phase, which can be determined by Equations (4) and (5).
where:
where the 0th harmonic amplitude
φ0 is the average value of the time history of
φ(
t).
The verification process employed the grid convergence index (GCI) analysis [
21]. The GCI is typically expressed as a percentage, and a lower GCI indicates better mesh convergence, meaning that further mesh refinement would lead to smaller changes in the solution. The GCI method is valuable because it provides a standardized way to report the uncertainty due to grid discretization. Valuing CFD simulations and ensuring the numerical results are reliable is critical. The adapted discretization check involves comparing meshing results and determining the amount of error. The results become closer to the original as the meshing amount increases. This approach relies on an extrapolation method. It involves initially determining the order of convergence (
p) value and then using the exact amplitude result to find the discretization error value. This value can be calculated using a formula based on Richardson extrapolation [
22].
Equations (9)–(13) are used to calculate the results of the comparison mesh and the estimated error in the simulation.
is approximate relative error.
S1,
S2, and
S3 are the frequency-domain roll responses obtained from the fine, medium, and coarse configurations. In addition,
R is the convergence ratio, which is monotonic for 0 <
R < 1, oscillatory convergence for −1 <
R < 0, and a divergent solution (
R) is ranged
R < 1 or
R > 1. In this case, the convergence ratio (
R) is set to monotonic type with a value of 0.4463. Moreover,
p is the order of accuracy,
φ is Fourier series in time, and the refinement ratio (
r) is set 2.