Skip to content

Resistance curve with the hybrid method at six speeds, with rudder (KCS)

This example computes the calm-water resistance of a container ship at six speeds with the hybrid method of SHIPFLOW. The ship is the KRISO Container Ship (KCS) at model scale. The model has its rudder but no propeller, and it is free to sink and trim. The results are compared with towing-tank measurements by the National Maritime Research Institute (NMRI) at Froude numbers from 0.108 to 0.282. These measurements were the reference case of the Tokyo 2015 CFD workshop. The comparison covers the total resistance, the sinkage and the trim.

The same case is computed with VoF, the other free-surface method of SHIPFLOW, in Resistance curve with VoF at six speeds, with rudder (KCS). This page compares the two methods part by part.

The hybrid method (PROGRAM(ALL)) uses two solvers. The potential-flow solver XPAN computes the free surface and the wave resistance. It also finds the sinkage and the trim of the hull. The RANS solver XCHAP then computes the viscous flow around the hull and the rudder at this sinkage and trim. XCHAP does not model the free surface. Instead, the hull is mirrored at the still-water plane (a double body). Each solver does the part it does best: the potential flow is fast for the waves, and RANS is accurate for the boundary layer. A resistance curve therefore takes minutes per speed instead of hours, with the same memory. The nominal wake in the propeller plane comes from the same computation. The hybrid method is specific to SHIPFLOW.

The example demonstrates:

  • the recommended set-up for a resistance curve with the hybrid method: one computation per speed, on the VFINE RANS grid, with default values for everything else;
  • when the potential flow should treat the transom as dry (HULL(TRANS)): a check of the stern wave at the transom, speed by speed;
  • what each resistance coefficient contains in the hybrid method and in VoF, and where the two methods differ;
  • the nominal wake from a resistance computation, with one extra line in the command file;
  • which RANS grid (MEDIUM, FINE or VFINE) is enough for which purpose, for example hull-form development, the wake or a validation study.

The measured case

The model was towed at constant speed in calm water. It was free to sink and trim, and it had the rudder but no propeller. This is Tokyo 2015 case 2.1, the same test as Gothenburg 2010 case 2.2b. The VoF example describes the test, its uncertainty and the speeds. The measured values are:

Fn CT·10³ Sinkage (cm) Trim (°)
0.108 3.796 ± 1.0 % −0.090 ± 8.2 % −0.017 ± 9.6 %
0.152 3.641 ± 1.0 % −0.275 ± 5.9 % −0.053 ± 6.8 %
0.195 3.475 ± 1.0 % −0.599 ± 3.9 % −0.097 ± 4.6 %
0.227 3.467 ± 1.0 % −0.944 ± 2.8 % −0.127 ± 3.3 %
0.260 3.711 ± 1.0 % −1.394 ± 1.9 % −0.169 ± 2.3 %
0.282 4.501 ± 1.0 % −1.702 ± 1.4 % −0.159 ± 1.8 %

CT = RT/(½ρU²S0), where S0 is the wetted surface at rest, including the rudder: S0 = 0.1803 Lpp² = 9.5519 m². The sinkage is the mean of the sinkage at the fore and aft perpendiculars, positive up. The trim is positive bow up. The ± values are the data uncertainty that NMRI gives for each value.

Deriving the inputs

The hull, the speeds and the water are the same as in the VoF example. Deriving the inputs there gives the details. In short:

  • The hull is read from an IGES file at full scale (LPP=230, ZORI=10.8).
  • The speed is given as the ship speed together with the model scale, VSHIP(VKNOT=24, SCALE=31.6). SHIPFLOW converts this to the model speed, U = 2.1964 m/s, and Fn = 0.260.
  • FLUID(FRESH, TEMPERATURE=11) gives the viscosity of the water in the test, 1.27·10⁻⁶ m²/s.
  • The six speeds are those of the test in whole knots at full scale: 10, 14, 18, 21, 24 and 26 knots. They agree with the speeds of the test within 0.3 %.

Propeller position and size. These are given on PROPELLER in full-scale metres, like the hull, as in the self-propulsion example. XSH=4.025 puts the propeller plane 0.0175 Lpp forward of the aft perpendicular. ZSH=4.108 is the height of the shaft above the base line. The diameter is DPROP = 0.250 · 31.6 = 7.9, and the hub diameter is DHUB = 0.18 · 7.9 = 1.422.

Transom. The lower edge of the transom is 0.50 m above the waterline at rest at full scale. At model scale this is 15.8 mm, or 0.0022 Lpp. The transom is therefore dry when the ship is at rest. Whether the stern wave reaches it at speed decides TRANS on HULL (see The transom).

Wetted surface. On this page, all resistance coefficients use the wetted surface S0 of the test, as the measurement does. They include the hull and the rudder. The SHIPFLOW output uses its own wetted surface at rest, S = 0.1807 Lpp² (the S line of <case>_OUTPUT). To compare the output with the test, multiply the coefficients by S/S0 = 1.002.

The command file

The command file is examples/kcs_resistance_hybrid, here for 24 knots. The RANS computation has 5 456 832 cells for one side of the hull, and the potential-flow computation has 10 671 panels. For the other speeds of the test, change VKNOT on VSHIP, with one computation per speed. At 10 and 14 knots, leave TRANS out: hull ( mono, fine ). The transom explains why, and how to decide for another hull.

Resources: about 30 GB of memory. The computations of the command file ran on 24 cores (PARALLEL(NPROC=24)). Each speed took 8 to 10 min, and the six speeds took 54 min in total. Any number of cores can be used, but fewer cores take longer. For a smaller machine, see Choosing the RANS grid.

xflow
  titl   ( titl="KCS resistance, hybrid (potential flow and double body), with rudder, free sinkage and trim, Tokyo 2015 case 2.1, 24 knots" )
  prog   ( all )
  hull   ( mono, fine, trans )
  offs   ( iges="geometry/kcs_g2010.igs", zori=10.8, lpp=230 )
  vshi   ( vknot=24, scale=31.6 )
  fluid  ( fresh, temperature=11 )
  prop   ( id="KCS_prop", xsh=4.025, zsh=4.108, dprop=7.9, dhub=1.422 )
  rudder ( id="rudder", tp2f, rmax=0.5, section=["NACA0018","NACA0018"],
           span=11.9, s=[0,1], c=[6.2,5], orig=[0.000,0.000,12.0], xle=[2.6,2.0] )
end
xgrid
  size ( vfine )
end
xchap
  parallel ( nproc=24 )
end

Why each setting

PROGRAM(ALL) selects the hybrid method. XPAN computes the potential flow with the free surface. It finds the sinkage and the trim at which the hull is in balance. XCHAP then computes the viscous flow around the hull at this sinkage and trim, as a double body. The total resistance is the viscous resistance from XCHAP plus the wave resistance from XPAN.

HULL(MONO, FINE) describes a single-screw hull. FINE sets the panel density in XPAN (BDENS = FDENS = 1.0). Without FINE, SHIPFLOW uses MEDIUM (0.8). FINE also sets the base size of the RANS grid, and XGRID SIZE (VFINE) makes this grid finer. (VFINE cannot be given on HULL.)

With TRANS (here from 18 knots), XPAN adds free-surface panels behind the transom. The flow leaves the lower edge of the transom, and the stern wave starts there. Without TRANS (here at 10 and 14 knots), the potential flow follows the hull all the way to its stern end, and the water leaves the hull under the stern overhang. See The transom.

OFFSET, VSHIP and FLUID give the hull, the speed and the water; see Deriving the inputs.

PROPELLER gives the position and the diameter of the propeller, without a propeller model. With this line, XCHAP computes the nominal wake in the propeller plane (WAKE is on by default); see The nominal wake. The resistance does not need this line, and the line does not change the resistance.

RUDDER is the rudder of the test, the same as in the VoF example (see RUDDER there). It has NACA 0018 sections, which are among the wing sections supplied with SHIPFLOW. The tip is flat (TP2F), and the rudder grid is thinner than the default (RMAX=0.5). The rudder is part of the RANS computation. The measured resistance includes the rudder, and so does the computed resistance.

XGRID SIZE (VFINE) makes the RANS grid one step finer than the default, FINE, as in the self-propulsion examples. The grid has 5.5 million cells for one side of the hull and the rudder. The grid changes only the viscous resistance. The potential flow is the same on every grid, so the wave resistance, the sinkage and the trim are also the same. MEDIUM and FINE need less memory and time. Choosing the RANS grid shows what they give and for which purposes they are enough.

PARALLEL(NPROC=24) runs XCHAP on 24 processes. Any number that the machine has will work.

What is not in the command file:

  • No FREE or XPAN commands. With PROGRAM(ALL), the hull is free to sink and trim by default. XPAN repeats the non-linear free-surface computation, together with the sinkage and the trim, until they converge (7 iterations at 24 knots). The RANS grid is then made around the hull at this sinkage and trim.
  • No CONTROL(MAXITER). The double body converges fast. XCHAP stops when its convergence criterion is met, here after about 110 iterations.
  • No SYMMETRY. Without a working propeller, the default is symmetry about the xz-plane. Only one side of the hull and the rudder is computed.
  • No WAKE. It is on whenever PROPELLER gives the diameter and the shaft position.
  • The turbulence model is the default, EASM on the hull. On RUDDER, the angle, the open root, the side and the rudder grid are the defaults, as in the VoF example.

Results and comparison with the measurement

The results on this page were computed with SHIPFLOW 9.0.01.

Fn TRANS CT·10³ measured computed difference Sinkage (cm) measured computed Trim (°) measured computed
0.108 no 3.796 3.754 −1.1 % −0.090 −0.205 −0.017 −0.010
0.152 no 3.641 3.641 0.0 % −0.275 −0.401 −0.053 −0.027
0.195 yes 3.475 3.589 +3.3 % −0.599 −0.698 −0.097 −0.046
0.227 yes 3.467 3.628 +4.7 % −0.944 −0.986 −0.127 −0.062
0.260 yes 3.711 3.761 +1.3 % −1.394 −1.291 −0.169 −0.084
0.282 yes 4.501 4.441 −1.3 % −1.702 −1.544 −0.159 −0.040

At Fn = 0.26 the computed resistance has two parts. The viscous resistance from XCHAP is CV = 3.283·10⁻³. Of this, the friction is 2.885·10⁻³ and the viscous pressure resistance is 0.398·10⁻³. The wave resistance from XPAN is CW = 0.478·10⁻³. The rudder carries 0.098·10⁻³ of the total, or 2.6 %.

Resistance coefficient, sinkage and trim against the Froude number, measured with the data uncertainty, computed with the hybrid method and with VoF

The upper panel shows the total resistance coefficient CT (on S0) against the Froude number. The lower panels show the sinkage (cm, positive up) and the trim (degrees, positive bow up). The open circles are the measurement. Their bars show ± the data uncertainty UD. The blue squares are the hybrid computation with the command file of this page, with TRANS from 18 knots. The orange triangles are the VoF computation of the same hull and rudder, from the VoF example.

The grey band is ±3 % around the measured CT. A computed CT inside this band is accurate enough for most practical purposes. The ±3 % is a judgement of the accuracy that is needed from a resistance computation. In the ITTC procedure for CFD validation, such a value is called the validation requirement, Ureqd (ITTC 2017). The same band is shown in the VoF example.

To read from it:

  1. The computed resistance curve has the same shape as the measured one. It shows the hollow at Fn 0.2 to 0.23 and the steep rise above the design speed. At four of the six speeds, the computed CT is inside the ±3 % band. At the design speed it is 1.3 % above the measurement, at the highest speed 1.3 % below, and at the two lowest speeds within 1.1 %. In the hollow, at Fn = 0.195 and 0.227, it is 3.3 and 4.7 % above; Hybrid and VoF explains why. On average over the six speeds, the difference is 2.0 %. For the submissions to the Tokyo 2015 workshop it is 2.0 % (Kim, in Hino et al. 2020), and for the VoF example 1.5 %.
  2. The sinkage agrees with the VoF computation within 0.6 mm up to Fn = 0.227. At the two highest speeds the hull sinks 1.4 and 2.1 mm less than in VoF, and 7 to 9 % less than in the measurement. At the low speeds, both computations sink more than measured. The workshop submissions show the same (see the VoF example, item 3).
  3. The trim follows the measured trend, at about half its size. The computed trim is about half of the measured trim up to the design speed, and a quarter of it at the highest speed. The potential flow finds the trim without viscosity, and from 18 knots the dry transom of TRANS changes the pressure at the stern (see The transom). For the trim and for the flow at the transom, the VoF computation is the reference.

Where to find the results:

  • <case>_OUTPUT: the wave resistance and the attitude in the XPAN part, and the viscous and the total resistance in the XCHAP part. In the XPAN part, CW is the wave resistance, ZSINK the sinkage at Lpp/2 as a fraction of Lpp, and TRIMAN the trim angle.
  • <case>_RUN_DIR/<case>_SUMMARY: the viscous and the total resistance.
  • <case>_RUN_DIR/<case>_FORCELOG: the force on the rudder alone, in the rudder columns. It is for one side, divided by ρU²Lpp².
  • <case>_REPORT/<case>_report.html: the report, with the wave profile along the hull, the wave pattern, the pressure on the hull and the nominal wake.

The transom

The KCS has a transom stern that is dry at rest: the lower edge of the transom is 0.0022 Lpp above the waterline. Whether the transom is dry at speed depends on the stern wave, and so on the Froude number. The potential flow has two models for the stern:

  • Without TRANS, the potential flow follows the hull to its stern end, and the free surface closes behind the hull. The water leaves the hull where the hull leaves the water, under the stern overhang. This is the model of a transom that the stern wave does not reach.
  • With TRANS, the free surface starts at the lower edge of the transom, and the stern wave starts there. This is the model of a transom that runs dry at speed: the water leaves the transom edge cleanly.

Neither model contains the water on a wet transom. The potential flow has no viscosity and no breaking stern wave, so a partly wet transom is an approximation with either setting. The choice follows the stern wave:

  1. At low Froude numbers the waves are small. The stern wave does not build up enough to reach a transom that is above the waterline at rest. The transom is dry, and the potential flow without TRANS leaves the hull under the overhang by itself. TRANS is not needed. A transom that is immersed at rest runs largely or partly wetted at these speeds; then TRANS is left out as well.
  2. As the Froude number increases, the waves become longer and higher. Through the interference of the wave system, the stern wave reaches the transom and submerges it more and more. On a slender hull with a wide transom and nearly horizontal buttock lines, as the KCS, the transom does not run fully wetted. Then TRANS models the stern wave from the transom edge.

For the KCS the change is between 14 and 18 knots, at Fn ≈ 0.17. The command file therefore has no TRANS at 10 and 14 knots and TRANS from 18 knots. The check that finds this for another hull is given below. To show what the setting changes, every speed was computed with and without TRANS on the grid of the command file.

With and without TRANS

Fn CT difference, with TRANS without TRANS Trim, % of the measured, with TRANS without TRANS
0.108 −3.3 % −1.1 % 65 % 59 %
0.152 −0.7 % 0.0 % 45 % 51 %
0.195 +3.3 % +2.5 % 47 % 66 %
0.227 +4.7 % +3.1 % 49 % 80 %
0.260 +1.3 % −0.8 % 50 % 87 %
0.282 −1.3 % −4.4 % 25 % 83 %

Resistance coefficient, sinkage and trim against the Froude number, computed with the hybrid method with and without TRANS, with VoF, and measured

The panels are the same as in the first figure. The grey dashed squares are the hybrid computation with TRANS at every speed. The blue diamonds are the computation without TRANS at every speed. The command file takes the blue diamonds at 10 and 14 knots and the grey squares from 18 knots.

To read from it:

  1. The total resistance changes by 1 to 3 %. This is about as much as the RANS grid changes it (see Choosing the RANS grid). TRANS changes only the wave resistance (see Hybrid and VoF, item 4). At 10 and 14 knots, the computation without TRANS is closer to the measurement. From 18 knots, each setting is closer at some speeds. The total resistance alone does not decide the setting; the stern wave does.
  2. The sinkage is closer to the measurement and to VoF with TRANS from 18 knots. There, the hull sinks 0.3 to 2.1 mm less than in the VoF computation with TRANS, and 0.5 to 3.1 mm less without. At 10 and 14 knots the two settings give the same sinkage within 0.02 mm.
  3. The trim is closer to the measurement without TRANS. From 18 knots, the trim without TRANS is 66 to 87 % of the measured trim, with TRANS 25 to 50 %. With TRANS, the water leaves the transom edge, so the pressure on the stern is lower than when the water climbs the transom, and the stern sinks less. The trim is small: 0.1 to 0.17° at the high speeds and a few hundredths of a degree at the low speeds. For the trim and for the flow at a wet transom, the VoF computation is the reference.

The transom in the VoF example

Transom submergence against the Froude number, in the VoF example and in the potential flow of the hybrid computation without TRANS

The figure shows the transom submergence. This is the depth of the water above the lower edge of the transom at speed, on the centre plane, at model scale. A value below zero means that the water leaves the hull before it reaches the transom, so the transom is dry. The numbers next to the points are the transom Froude numbers in the VoF example (see below).

To read from it:

  1. In the VoF example, the transom is dry at 10 knots and only just reached by the water at 14 knots. From 18 knots, the stern wave climbs up the transom. The submergence grows from 15 mm at 18 knots to 38 mm at 26 knots.
  2. At these speeds the transom is partly wet, not dry. The transom Froude number is FnT = U/√(g d), where d is the submergence. Here it is 3.9 to 4.4. Model tests of transom sterns show that the transom runs dry when the transom Froude number is above about 5 (Robards and Doctors 2003, Maki et al. 2006). Below this value the transom is partly wet. The wet part becomes smaller as the speed increases (Doctors et al. 2007).
  3. The hybrid computation without TRANS gives nearly the same submergence. Without TRANS, the potential flow follows the hull to its stern end, and the free surface closes behind the hull. The submergence is the height of the water where it leaves the hull, measured from the transom edge. At 10 knots the water leaves the hull under the overhang of the stern. This is before the transom and below its edge.

The VoF computation confirms the choice. The transom is dry at 10 knots, just touched by the water at 14 knots, and partly wet from 18 knots, where the water climbs 15 to 38 mm up the transom. At 14 knots the two settings differ by 0.7 % in CT; the command file leaves TRANS out there, as at 10 knots.

TRANS for another hull

The decision needs the stern wave at the transom at the speed of interest. When a VoF computation of the hull is available, read the submergence of the transom from it, as in the figure above. Otherwise compute the speed without TRANS and read it from the potential flow in three steps. Use the same unit for all heights, for example fractions of Lpp.

  1. Find the height of the water where it leaves the hull. This is the last point on the hull in the wave profile of the report, <case>_REPORT/img/01_xpan_profile_fs.dat. The file gives x/Lpp (from the fore perpendicular) and z/Lpp.
  2. Find the height of the transom edge at speed. The ship sinks and trims, so the edge moves. Its height is h0 + s − lT tan θ, where:
    • h0 is the height of the edge above the waterline at rest (negative for an immersed edge);
    • s is the sinkage at Lpp/2 (ZSINK, positive up);
    • θ is the trim angle (TRIMAN, positive bow up);
    • lT is the distance from Lpp/2 back to the transom.
  3. Subtract the height of the transom edge (step 2) from the height of the water (step 1). The result is the submergence d.

Then:

  • d is zero or negative. The water does not reach the transom. The transom is dry, and the computation without TRANS is the right model.
  • d is positive. The stern wave reaches the transom. The transom Froude number FnT = U/√(g d) estimates the flow behind it. Model tests of transom sterns show that the transom runs dry when FnT is above about 5 (Robards and Doctors 2003, Maki et al. 2006). Below this value the transom is partly wet, and the wet part becomes smaller as the speed increases (Doctors et al. 2007).
    • FnT above 5: the water leaves the transom edge cleanly. Use TRANS.
    • FnT below 5 on a slender hull with a wide transom and nearly horizontal buttock lines, as the KCS: use TRANS. The transom does not run fully wetted, and TRANS gives the resistance and the sinkage within the accuracy of the method, as the table above shows.
    • FnT well below 5 on a transom that is immersed at rest, as on a tanker or a bulk carrier at low speed: the transom runs largely wetted. Leave TRANS out. For the flow at a wet transom itself, the VoF computation is the reference.

For the KCS, the check without TRANS gives:

Knots 10 14 18 21 24 26
Fn 0.108 0.152 0.195 0.227 0.260 0.282
d (mm, model scale) −4.6 +3.9 +12.2 +19.4 +25.8 +44.5
FnT dry 6.6 4.8 4.4 4.4 3.6

At 10 knots the water leaves the hull under the overhang, 5 mm below the transom edge. At 14 knots it just touches the edge (0.0005 Lpp), and the setting makes little difference. From 18 knots the stern wave reaches the transom, and TRANS is used. The choice can change between two speeds of a curve, as here between 14 and 18 knots. Computing the speeds next to the change both with and without TRANS shows how much the choice matters.

The nominal wake

Total wake fraction in the propeller plane at Fn 0.26, seen from behind, from the report of the computation

The figure is the SHIPFLOW plot from the report of the computation at 24 knots. It shows the total wake fraction w = 1 − V/V0 in the propeller plane, seen from behind. The angle is measured clockwise from the top. The circles show the radii r/R from 0.2 to 1.4, and the thick circle is the propeller radius. The wake is deepest in the sector above the shaft and at the inner radii. Here the slow flow of the boundary layer comes down from the stern. The two lobes below the hub are caused by the bilge vortices.

Nominal wake over the propeller disc, Fn = 0.26
Mean total wake fraction w 0.300
Mean axial wake fraction wa 0.305

The nominal wake comes with the resistance at no extra cost. The PROPELLER line with the position and the diameter of the propeller is all that is needed, and the computation time is the same. The nominal wake is an important input for many other tasks:

  • It is the inflow for the propeller design. A wake-adapted propeller is designed for how the wake varies around the circumference.
  • It shows the quality of the hull form at the stern: a deep or uneven wake, strong bilge vortices, or a risk of flow separation. The variation of the wake that the propeller meets in one revolution drives vibration and cavitation.
  • It is the reference for the effective wake of the self-propelled ship.

The mean wake fractions are in <case>_OUTPUT (Wn, Wn_a). The distribution over the propeller disc, with the velocity components and the wake fractions, is in <case>_RUN_DIR/<case>_<ID>_flow_field.html and .csv. The figures are in the report. The self-propulsion examples start from the same flow; see Self-propulsion hybrid with complete propulsive factors: resistance, POW and self-propulsion from one file (KCS).

Hybrid and VoF. The VoF example computes the nominal wake of the same hull with the free surface, at the viscous-flow sinkage and trim: w = 0.289 at 24 knots, against 0.300 here. The two wakes have the same features, the deep sector above the shaft and the two lobes of the bilge vortices. The double body is 0.01 deeper on average. It has no stern wave, the still-water plane is a plane of symmetry, and the hull sits at the potential-flow attitude, with about half the trim. All three change the flow at the stern a little. For the propeller design and for comparing hull forms, the hybrid wake is sufficient. For the final check of a design, a VoF computation is recommended, since it runs at the more correct sinkage and trim. This holds above all for light loading conditions, such as ballast, where the free surface is close to the propeller plane and the wake can be influenced by it.

Hybrid and VoF

The two methods split the total resistance into different parts:

  • Hybrid: CT = CF + CPV + CW. The friction CF and the viscous pressure resistance CPV come from the RANS computation of the double body. The wave resistance CW comes from the potential flow.
  • VoF: CT = CF + CP. The pressure resistance CP contains both the viscous pressure resistance and the wave resistance.

Resistance coefficients of the hybrid computation with TRANS at every speed and of VoF, at the six speeds, with the measured total

Resistance coefficients of the hybrid computation without TRANS at every speed and of VoF, at the six speeds, with the measured total

The first figure shows the hybrid computation of the command file, with TRANS from 18 knots. The second figure shows the same computations without TRANS at every speed, so the two figures are the same at 10 and 14 knots. At each speed, the left bar is the hybrid computation and the right bar is VoF. The friction is grey, the viscous pressure resistance blue and the wave resistance orange. The VoF pressure resistance is hatched, because it contains both. The black mark is the measured CT. The lower panel shows only the pressure resistance. There, the black marks are the measured CT minus the friction of each method.

To read from them:

  1. The friction of the double body is lower than in VoF, by 0.5 % at 14 knots and 1.7 % at 26 knots; the difference grows with the speed. The double body is wet only up to the still-water plane. It does not see the waves along the hull or the water on the transom.
  2. The waves cause most of the difference. At 14 and 24 knots, the potential flow gives about the same wave resistance as VoF. In the hollow of the curve, at 18 and 21 knots, it gives more, and at 26 knots less.
  3. At the highest speed the two effects add up, and the hybrid computation is 1.3 % below the measurement. In the hollow they partly cancel. There the hybrid computation is 3 to 5 % above the measurement, and VoF within 1 %.
  4. TRANS changes only the wave resistance. The viscous resistance stays the same.

Sinkage and trim

The potential flow finds the sinkage and the trim without viscosity. The viscous flow of the double body is then computed at this sinkage and trim. VoF finds the sinkage and the trim in the viscous flow, with the free surface.

The effects that the potential flow does not contain act mostly at the stern. These are the boundary layer, the lower stern wave in a viscous flow, and the water on a wet transom. They change the pressure on the afterbody, and this pressure decides the trim. They change the pressure along the middle of the hull much less, and this pressure decides the sinkage. This is why the sinkage of the two methods agrees within 0.6 mm up to Fn = 0.227, while the trim differs more. The transom model explains much of this difference in the trim.

What it costs

Hybrid, this example VoF, the VoF example
Cells (RANS) 5.5 million 4.7 million
Memory 30 GB 32 GB
Time per speed 8 to 10 min on 24 cores 1 to 3 h on 24 cores
Six speeds 54 min about 11 h
Nominal wake with the PROPELLER line with the PROPELLER line

On the same number of cores, the hybrid computation takes 6 to 23 times less time per speed than the VoF computation, with the same memory. The whole resistance curve takes less than the shortest single VoF computation. On the MEDIUM grid the curve takes about 25 min (see Choosing the RANS grid).

This makes the hybrid method the method for comparing designs and variants, where many resistance curves and wakes are needed. VoF is the method for the final check of a design, for the trim and for the flow at the transom.

Choosing the RANS grid

The command file uses the VFINE grid for the viscous flow. Not every computation needs it. A coarser grid needs less memory and time, and for many purposes it is enough.

The grid is set with XGRID(SIZE) before XCHAP. Use size ( medium ) for MEDIUM. Without the XGRID lines, the default grid FINE is used. The potential flow is the same on every grid. This means that the wave resistance, the sinkage and the trim are also the same. The grid changes only the viscous resistance and the wake.

Every speed was computed on all three grids with the settings of the command file, TRANS from 18 knots. (TRANS does not change the viscous resistance; see Hybrid and VoF, item 4.) The nominal wake at 24 knots is from the same computations.

Resistance coefficient against the Froude number on three RANS grids, measured with the data uncertainty, and the difference of each grid from VFINE

Total wake fraction in the propeller plane at Fn 0.26 on the MEDIUM, FINE and VFINE grids, from the reports of the computations

Grid Cells Memory Time per speed Six speeds CT against VFINE CT, mean difference from the measurement Wake fraction w, 24 knots
MEDIUM 2.0 million 13 GB 3 to 6 min about 25 min +1 to +2 % 2.7 % 0.297
FINE 3.3 million 20 GB 4 to 10 min about 35 min +3 % 4.2 % 0.307
VFINE (the command file) 5.5 million 30 GB 8 to 10 min 54 min 2.0 % 0.300

The times are on 24 cores. To read from them:

  1. The grid shifts the whole resistance curve by nearly the same amount at every speed. MEDIUM is 1 to 2 % above VFINE, and FINE is 3 % above. The shape of the curve, with the hollow and the steep rise, is the same on all three grids.
  2. The nominal wake has the same features on all three grids. The wake is deepest above the shaft, with a peak of 0.63 at 0.7 R. The bilge vortices form two lobes below the hub. The mean wake fraction differs by 0.01 or less between the grids. The details of the distribution differ by a few hundredths.
  3. A finer grid is not always closer to VFINE. MEDIUM is closer to VFINE than FINE is, both in the resistance and in the wake. The three grids differ by up to 3 % in the resistance. This spread is the uncertainty that the grid adds to the viscous resistance.

The hull mesh of XGRID 8. The VoF example makes the hull grid with XGRID 8 (XGRID CONTROL(XGR8)) and fits the rudder grid to it (APPEND). The same setting on the double body of this command file, at 24 knots on VFINE, gives 5.7 million cells and CT = 3.743·10⁻³ (+0.9 %): the viscous resistance is 0.5 % below that of the default mesher, the wave resistance, the sinkage and the trim are the same (the potential flow), and the mean wake fraction is 0.301 against 0.300. Either mesher serves for the double body; the command file keeps the default. With VOF, XGRID 8 is the mesher to use.

Which grid for which purpose

Purpose Grid
Hull-form development: comparing variants of a hull, the effect of a change in the form, a first resistance curve MEDIUM, the same grid for every variant
The nominal wake for a first propeller design, and to judge the flow at the stern MEDIUM or FINE
The wake distribution for a wake-adapted propeller, or for the variation in one revolution (vibration, cavitation) VFINE
The resistance level: a power prediction, a comparison with a model test, the start of a self-propulsion computation VFINE
A validation study VFINE, with MEDIUM and FINE to show the grid uncertainty, as on this page
The trim, the flow at a wet transom, the final check of a design VoF, see the VoF example
  • Hull-form development compares results on the same grid. On MEDIUM, the resistance follows VFINE within 2 % at every speed. The differences between speeds, and between variants on the same grid, are therefore much the same as on VFINE. MEDIUM needs half the time and less than half of the memory. A resistance curve with the nominal wake takes about 25 minutes on a workstation. At the stern, the grid has a larger effect on the viscous pressure resistance. The last candidates of a change at the stern are therefore best checked on VFINE.
  • The nominal wake: every grid gives the mean wake fraction and the main features of the stern flow. For a propeller designed for the wake distribution, or for the variation over one revolution, use the finest grid that is affordable.
  • The resistance level: the grid uncertainty goes directly into a power prediction. Here, VFINE gives the level closest to the measurement. It is also the grid of the self-propulsion examples; see Self-propulsion hybrid with complete propulsive factors: resistance, POW and self-propulsion from one file (KCS).

References

  • Tokyo 2015 Workshop on CFD in Ship Hydrodynamics, KCS test case 2.1 (resistance, sinkage and trim in calm water with the rudder, six speeds), NMRI.
  • Kim, J.: Evaluation of Resistance, Sinkage, Trim and Self-propulsion Predictions for KCS, in Hino et al. (eds.), below.
  • Hino, T., Stern, F., Larsson, L., Visonneau, M., Hirata, N., Kim, J. (eds.): Numerical Ship Hydrodynamics: An Assessment of the Tokyo 2015 Workshop, Lecture Notes in Applied and Computational Mechanics 94, Springer, 2020.
  • ITTC: Uncertainty Analysis in CFD Verification and Validation, Methodology and Procedures, Recommended Procedures and Guidelines 7.5-03-01-01, Rev. 03, 2017.
  • Robards, S.W., Doctors, L.J.: Transom-hollow prediction for high-speed displacement vessels, Proc. 7th International Conference on Fast Sea Transportation (FAST 2003), Ischia, 2003.
  • Maki, K.J., Doctors, L.J., Beck, R.F., Troesch, A.W.: Transom-stern flow for high-speed craft, Australian Journal of Mechanical Engineering 3(2), 2006.
  • Doctors, L.J., MacFarlane, G.J., Young, R.: A study of transom-stern ventilation, International Shipbuilding Progress 54(2–3), 145–163, 2007.