You are on page 1of 20

ITTC – Recommended 7.

5-03
-02-03
Procedures and Guidelines Page 1 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

ITTC Quality System Manual

Recommended Procedures and Guidelines

Guideline

Practical Guidelines for Ship CFD Applications

7.5 Process Control

7.5-03 CFD

7.5-03-02 Resistance and Flow

7.5-03-02-03 Practical Guidelines for Ship CFD Applications

Edited /Updated Approved

Quality Systems Group of the 28th ITTC 27th ITTC 2014

Date 06/2017 Date 09/2014


ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 2 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

Table of Contents

3.1.2 RANS Models ............................ 12


1. INTRODUCTION ................................. 3
3.2 Near-wall Modelling ........................ 13
2. PRE-PROCESSING .............................. 4 3.3 Surface Roughness .......................... 14
2.1 Geometry ............................................ 4 3.4 Numerical Schemes ......................... 14
2.2 Computational Domain and 3.5 Free Surface ..................................... 15
Boundary Conditions ........................ 5
3.6 Time Step .......................................... 16
2.3 Grid ..................................................... 6
2.3.1 Structured Grids ........................... 6 3.7 Parallel Computing ......................... 16
2.3.2 Unstructured Grids ....................... 6 3.8 Convergence ..................................... 17
2.3.3 Hybrid Grids and Other
4. POST-PROCESSING ......................... 18
Techniques ................................... 7
2.3.4 Cell Types .................................... 7 4.1 Visualization..................................... 18
2.3.5 Grid Resolution ............................ 8 4.2 Verification and Validation ............ 18
2.3.6 Near-wall Region ......................... 9
5. REFERENCES .................................... 19
2.3.7 Grid Quality................................ 11
6. REFERENCES TO OTHER CFD
3. COMPUTATION ................................ 11 GUIDELINES ...................................... 19
3.1 Turbulence Models .......................... 11
3.1.1 Turbulent Scales ......................... 11
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 3 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

Practical Guidelines for Ship CFD Applications

03-03-01) and RANS calculations of nominal


wakes (7.5-03-03-02).
1. INTRODUCTION

This guidelines describe recommendations For the applications covered by the present
and common practices for ship CFD applica- guidelines, the flow is mostly turbulent and the
tions in a general way. Separate specific guide- Reynolds numbers (Re) are of the order of 106
lines cover the CFD process for other applica- in model scale and 109 in full scale,
tions in detail. ρVL
Re = (0)
µ
In this guideline the CFD process is divided
into three steps: pre-processing, computation, where V is the ship speed, L the length be-
and post-processing. The pre-processing step in- tween the perpendiculars, ρ and µ are the
volves the definition of the geometry, the com- density and viscosity of the fluid, respectively.
putational domain, and the computational grid.
The choice of the governing equations to be The current guidelines are intended for ap-
solved, the most suitable numerical techniques plications with high Reynolds numbers, typical
to be used to solve them and the real computa- of ship hydrodynamics.
tional work are performed in the computational
For free surface flow simulations, where the
step. The post-processing step is the visualisa-
free surface between air and water is solved, the
tion, the analysis, and the verification and vali-
Froude numbers (Fr) are typically of the order
dation of the results.
of 0.1 and rarely above 1,
All these steps may be significantly different
V
for different naval hydrodynamic problems, Fr = (0)
gL
such as hull resistance, propulsion, manoeuvra-
bility, sea keeping, sail aerodynamics, etc. How- where g is the acceleration of gravity.
ever, the present document aims at providing
good practice guidelines, which can be applied Both air and water are typically assumed to
to most ship hydrodynamic applications. ITTC be incompressible, allowing uncoupling mo-
specific guidelines are available for ship re- mentum and continuity equations from the en-
sistance (7.5-03-02-04), self-propulsion (7.5- ergy equation. Therefore, velocity and pressure
fields can be computed independently from the
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 4 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

temperature field. This assumption remains Indicative tolerances for the geometry are
valid for Mach numbers (Ma) smaller than about ±10−5 L , where L is the ship length for the hull
0.3, for Re ~ 106 . This tolerance may need to be re-
duced when smaller scale appendages, such as
V
Ma = (0) rudder or propellers, are to be included in the
a
flow computations or when the flow computa-
tion requires smaller grid cells than the indica-
where a is the speed of sound.
tive CAD tolerance. Conversely, as this toler-
Finally, these guidelines are written assum- ance is based on the distance to the wall of the
ing that the solver is grid-based (either struc- first grid point (see §2.3.6) if wall functions are
tured or unstructured) and based on the Reyn- used the geometry tolerance can be increased
olds Averaged Navier-Stokes equations appropriately.
(RANSE), as found in most commercial and ac-
Due care and attention are required to re-
ademic CFD packages. Use of mesh-free meth-
solve geometry features such as trailing edges
ods is not covered in this guidelines. For a com-
that may be less than an order of magnitude
plete overview on the computational techniques,
larger than the geometry tolerance. Geometry
the reader is referred for example to Hirsch
features that are smaller than the geometric tol-
(1989 and 1990) and Ferziger & Peric (2002).
erance should be removed from the geometry
before it is exported. It is recommended that any
2. PRE-PROCESSING additional surfaces, curves or any other geomet-
rical entities that are produced within the pre-
2.1 Geometry processor software, be generated with the same
tolerance of the original geometry.
It is common practice to define the geometry
in a CAD (Computer Aided Design) software, The origin and orientation of the reference
which allows for a high control of the surfaces. coordinate system should be chosen with care
The geometry can be exported from the CAD because the equations of motion will be solved
software and imported into a CFD pre-processor with respect to this coordinate system and so
software (grid generator) with a range of for- will be the computation of forces, moments, etc.
mats. One format compatible with most com- Therefore, if the aim of the simulation is the es-
mercial software is IGES. The accuracy of the timation of a force (for example the resistance),
geometry should be checked to ensure that the it is recommended to have one coordinate axis
imported surface definitions are reasonably aligned with that force, this to minimize the pos-
smooth and connect within a given tolerance. sibility of mistakes and to have the opportunity
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 5 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

to monitor directly the quantity of interest, if an experimental data is known, the boundary con-
iterative procedure (in time, for example) is in- dition should be placed sufficiently far from any
volved. On the other hand, if body motion is in- solid wall in order to assume an undisturbed far
volved (as in the case of manoeuvring or sea field velocity. When significant lift force is gen-
keeping computations) the best choice of the erated with respect to the far field velocity di-
frame of reference could be driven by the re- rection, computing the correct deflection of the
quirement for the rigid body motion solver. upstream streamlines is critical to the correct
Moreover, in order to minimise chances of er- computation of the lift force. If L is the length of
rors, it is recommended that the same coordinate the lifting surface, the inlet face should be posi-
system is used in both the CAD software and the tioned at least 10L upstream of the lifting sur-
pre-processor software. face. Conversely, when the lift is negligible and
the body is streamlined, the inlet face can be po-
2.2 Computational Domain and Boundary sitioned as close as one length upstream the
Conditions body.

In ship hydrodynamics, most of the prob- Different boundary conditions can be used
lems involve external flows, i.e. the fluid is not on the outflow face, though the most robust op-
contained into physical boundaries. Therefore, tion is a Neumann condition (zero gradient) for
the computational domain, which represents the velocity and pressure. The distance between the
volume of fluid to be modelled, must be closed outflow face and the body mainly depends on
by additional surfaces that do not represent any the generation of lift and, for free surface com-
physical boundary. In the more general case, the putations, on the reflection of gravity waves.
tested object is completely surrounded by fluid. When large lift force is generated, the outlet face
In this case a prismatic computational domain should be at least 20L downstream the lifting
can be considered. However, different geome- surface, while for other cases the outlet face
tries could better suit different grid topologies. should be at least L downstream the geometry.
Therefore, the shape of the computational do-
The other non-physical boundaries of the do-
main should be dictated by the grid strategy in
main should also be placed at least L away from
place (see §2.3.1).
the geometry. For towing tank walls symmetry,
The computational domain should include imposed velocity or slip conditions can be used,
inflow and an outflow surfaces. A Dirichlet con- with symmetry the most commonly used.
dition, i.e. a known velocity field, should be im-
posed on the inflow boundary. When no specific
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 6 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

2.3 Grid O-O grids can be adapted more easily to a


rounded geometry. On the other hand, since the
Details on the grid generation process will
grid lines in the normal directions spread to the
largely depend on the solver and the type of grid
outer boundary in O-O grids, the grid resolution
that it can handle (structured multi-block, un-
in the wake region and the region away from the
structured, overset, etc.); here are some general
geometry tends to be lower than the H-O grids.
guidelines that apply to most solvers.
Therefore the choice of grid topology should be
based on the nature of the geometry and on con-
2.3.1 Structured Grids
sideration of which areas or features of the flow
Structured grids employ quadrilateral in 2D field are more important than others
and hexahedra in 3D and show regular connec-
tivity. Grid topology is the mapping relation be- 2.3.2 Unstructured Grids
tween the grid in the physical space (x, y, z) and
Unstructured grids do not show a defined to-
the computational space (i, j, k). The physical
pology and can be generated much more easily,
space can be mapped into one computational
resulting in a big advantage for unstructured
space or it can be broken down into several
grid technology. The cells can have several pos-
spaces. The latter approach is known as a multi-
sible shapes (tetrahedral, hexahedra and other
block approach.
polyhedral). However, the resolution of key
For grids made of a single block around a flow details such as boundary layers and wakes
single isolated geometry, O-O or H-O topology can lead to significantly higher number of cells
is adopted in most cases, although C-O and H-H than equivalent structured grids (see §2.3.4 and
§2.3.5) .
grids can be applied; see Thompson et al. (1985)
for examples of these topologies. In either topol- Unstructured solvers require typically more
ogy, the grid lines in the girth-direction are O- memory, are slightly slower and have less accu-
type. The longitudinal grid lines in O-O grids racy than an equivalent structured solver. This is
wrap around the geometry whereas those in H- due to the extra information needed to store and
O grids start from the inflow boundary and go process the grid connectivity and implementa-
through regions ahead of the geometry, side of tion complexities that prevent the use of higher-
and aft of it. Thus, when the total number of grid order schemes.
points and the number of grid points along the
lines in the normal and in the girth directions are
fixed, O-O grids can accommodate more grid
points along a geometry than H-O grids. Also,
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 7 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

2.3.3 Hybrid Grids and Other Techniques occur at the interfaces or overlapping regions if
the interpolation scheme is unable to resolve
Hybrid grids can use both structured and un- correctly the change in grid. This can be allevi-
structured grids in different parts of the domain. ated by ensuring that the local change in the grid
Non-conformal grids are those where the points across the non-conformal region is minimized
or cells on a surface do not match. Non-confor- with similar grid resolution and spacing used for
mal grids are often used at the boundaries be- both grid regions. Non-conformal grids can also
tween blocks discretized with different grid den- use different cell types to assist the grid genera-
sities, or on moving (sliding) grids. These types tion process, for example a grid for a detailed
of grids are often required for wake flow analy- rudder with skeg and end plates can be produced
sis where it is important to capture small flow using a local prism/tetrahedral grid which is em-
features. bedded inside a multiblock grid for the hull.

The flow solution algorithm must use special Overset grids are formed by blocks that
coding in order to interpolate between the non- overlap in space. These grids are particularly
connected grids. For some methods this interpo- convenient when the different blocks experience
lation scheme may be defined by interfaces, a relative motion and therefore the overlapping
where the interpolation method is defined across changes with time. For instance, overset grids
grid boundary surfaces, for other methods the can be used for ship propulsion where one grid
interpolation scheme is defined by overlaps, is used for the hull and another is used for the
where the interpolation is defined across local propeller.
grid volumes. For both of these types of interpo-
lation schemes the formal order of accuracy is 2.3.4 Cell Types
likely to be reduced, especially when there are
large differences between the grid resolutions Quadrilateral (2D, 4-sided) and hexahedral
and topologies of donor and receptor grids. (3D, 6-sided) cells are supported by almost all
However, this type of approach can be used to CFD codes. Topological attributes of these cells
considerably simplify the grid generation pro- – presence of opposing faces, and relative loca-
cess so that locally better quality grids can be tions of cell centres and face centres – have been
produced around the various geometry compo- found to be beneficial to spatial accuracy of nu-
nents and assembled together to form a com- merical solutions. In structured grid-based solv-
plete grid. ers, the presence of stencils (e.g., i, j, k coordi-
nates in the computational domain) readily ac-
Non-conformal grids should be used with commodates high-order discretization schemes
care because undesirable wave reflections can (e.g., fifth-order convection scheme) that can
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 8 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

enhance spatial accuracy. They are also efficient Which cell types to use for a given problem
in terms of usage of cells, since they can be clus- really depends on many factors such as the
tered and/or stretched as needed to economically solver (what cell types can the solver support),
increase the resolution in particular regions objective of the computation (do fine details of
(such as boundary layers, or region where large the flow need to be resolved?) and hardware re-
velocity gradients occur). The main shortcom- sources (are computational resources available
ing of these structured grid cells is that it is often to run cases involving large grids?). For rela-
very hard to generate high-quality grids for tively simple geometries, consider using a high-
complex geometries. quality hexahedral grid. However, if body-mo-
tion (e.g. free sinkage and trim) is involved, con-
Unstructured grids give more flexibility in sider using overset grids if your CFD solver in-
the choice of cell types, simplifying grid gener- cludes this capability.
ation for complex geometries. The majority of
unstructured CFD solvers allow use of arbitrary For complex geometries (e.g. a fully-ap-
polyhedral cells such as quadrilaterals and trian- pended ship) for which a high-quality structured
gles in 2D; and hexahedra, tetrahedra, wedges, grid is difficult to generate, consider using an
pyramids and prisms in 3D to name a few, and unstructured grid (preferably a hybrid unstruc-
combination of all them (hybrid grids). In a typ- tured grid) or overlapping grids.
ical unstructured grid, the boundary layer is dis-
Avoid using tetrahedral cells for boundary
cretized using a prism grid grown out of a trian-
layers, near the free surface, and in the regions
gular grid on the wall, and a tetrahedral grid is
where high resolution is required. The use of
used elsewhere away from wall. Compared to
hexahedral or prismatic cells would result in
typical structured grids, gridding time can be
higher accuracy and better convergence rates.
dramatically reduced with unstructured grids.
Spatial accuracy for unstructured grid cells such
2.3.5 Grid Resolution
as triangles, tetrahedra, and pyramids can be
lower than that for quadrilateral and hexahedral The number of grid points, and therefore the
cells. Unstructured grids usually require a larger resolution of the grid, should be decided based
number of computational points than structured on the chosen turbulence model and on the tem-
grids in order to achieve a comparable accuracy. poral and spatial scales of the flow features of
Furthermore, spatial accuracy of the majority of interest. In the following some practical guide-
unstructured grid finite volume solvers is lim- lines are provided but interested readers can find
ited to second order. in Pope (2000) and Sagaut (2006) more rigorous
discussion based on the physics of the resolved
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 9 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

time and statistical averages of the flow field, structure can enable more efficient use of com-
and the modelled turbulent fluctuations. puting resources but at the expense of increased
grid generation time and complexity.
Whenever possible, use hyperbolic grid gen-
erators to guarantee as much as possible an or- In free surface flow simulations, when the
thogonal grid near the wall. Grids orthogonal to free surface is modelled, always use orthogonal
the domain boundaries, where the boundary grids to resolve it if possible. Use no less than
conditions are imposed, are recommended. For 40 grid points to resolve the shortest wave
some boundary conditions, such as symmetry length when a second-order spatial accuracy is
and wall conditions, this orthogonality condition used, though this condition may be extremely
may be mandatory for some solvers. expensive and unnecessary for low Froude num-
ber flows. The same resolution can be achieved
Provide refinement where flow features of with different spatial accuracies varying linearly
interest are expected, in accordance with the size the spatial resolution. For instance, for a fourth-
of the feature to be simulated. Where the flow order spatial resolution, using 20 grid points is
features of interest are not known before-hand, equivalent to using 40 grid points with a second-
it may be necessary to use an iterative process to order spatial resolution.
establish the existence of the key flow features
for a given geometry. This requires obtaining 2.3.6 Near-wall Region
and examining an initial flow solution, and sub-
sequent grid refinement in the regions of interest. The number of grid points within the bound-
This process should be carried out until some ary layer is determined by the level of accuracy
measure of grid refinement is satisfied to ensure required, the turbulence model chosen, and
that flow features are sufficiently resolved. whether wall functions are used.

If overset grids are used, check that overlap Guidelines are provided in terms of the non-
is sufficient for the number of fringes that are dimensional wall distance of the first point from
needed in the code and the order of accuracy. If
the wall, y + . We define
motions are computed, this requirement holds
for all time steps.
Friction velocity:
Ensure sufficient resolution where high cur-
vature geometry is present, especially around τw
u* = (0)
leading and trailing edges. An appropriate grid ρ
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 10 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

Non-dimensional wall velocity:


Points
Expan- within
First point
u sion ratio boundary
u+ = (0) layer
u*
Near y+ ≤ 1 1.2 20
Non-dimensional wall distance: wall

ρ u* Wall 30 < y + < 100. 1.2 15


+
y =  y (0) func-
µ tions

Table 1. Recommended values for grid design at the


where τ w is the skin friction on the wall, u the
wall.

local streamwise velocity component, and y is


the wall-normal coordinate. Once the desired y + has been chosen (either

A near-wall turbulence model resolving the to comply with wall function requirements or to
laminar sub-layer needs at least 3 points inside resolve the boundary layer), the distance y of
the first point from the wall can be computed as
it, which using y + = 2 results in an expansion
follows:
ratio of 1.5, the largest acceptable, but a maxi-
y+ L
mum value closer to 1.2 is recommended. In y =  (0)
C
ReL   f
most cases a y + ≤ 1 will be used with expansion 2

ratios around 1.1. Wall functions start farther


where C f is the friction coefficient, which can
out in regions of smaller velocity gradients and
can use larger expansion ratios, as large as 1.2 be estimated a priori considering an equivalent
for coarse grids. When direct integration is used boundary layer on a flat plate with zero pressure
the total number of points within the boundary gradient. In particular, for laminar flow condi-
layer can be very large, more than 20, while tions
when wall functions are used, then less than 15
1.328
grid points could suffice. For wall functions, it Cf = (0)
is recommended that the first point from the wall ReL
is well within the logarithmic layer of the
for transitional flow conditions
+
boundary layer, therefore: 30 < y < 100. Table

1 summarizes the recommended values.


ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 11 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

Since Eqs. (7-12) are only generic approxi-


0.455 1700
=Cf − (0)
ln ( ReL ) 
2.58
ReL mations, y + should always be checked a poste-

riori once the solutions are obtained and if nec-


for turbulent flow on a smooth surface essary the grids should be modified accordingly.

0.455
Cf = (0) 2.3.7 Grid Quality
ln ( ReL ) 
2.58

Check the grid quality to guarantee that all


volumes are positive (positive Jacobian in struc-
and for fully turbulent flow on a rough surface
tured grids), skewness and aspect ratio are ac-
with roughness height ε
ceptable, and that orthogonality is nearly satis-
1 fied in most places.
Cf = 2.5
(0)
  ε 
1.89 − 1.62 ln  L   Typically the 3x3 determinant for structured
  
grids should be greater than 0.3, as a measure of
See §3.3 for more details on the roughness the Jacobian and associated skewness. However,
height. it may be necessary to have a few small cells
where the 3x3 determinant is no better than 0.15.
Equations (8-11) do not take into account the For these cases it may be necessary to use a
surface curvature and the pressure gradient. For smaller time step or increased under-relaxation
the friction coefficient over a ship hull, the 1957’ in order to achieve converged results.
ITTC formulation allows a better approximation
of full scale friction resistance from model scale
friction resistance: 3. COMPUTATION

0.075 3.1 Turbulence Models


Cf = (0)
log10 ( ReL ) − 2 
2

3.1.1 Turbulent Scales

It should be noted that Eq. (12), though As mentioned in the Introduction, these
widely used and accepted, was developed for guidelines assume that the incompressible Na-
typical hull forms in existence before 1957 and vier-Stokes equations for Newtonian fluids are
thus it may not produce good results for modern solved. The Reynolds number range is such that
and unconventional hull forms. laminar to turbulent transition occurs and turbu-
lent flow must be modelled. In the present guide
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 12 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

it is assumed that the turbulence is modelled Detached Eddy Simulation (DES) is a hybrid
with a RANS approach, where the instantaneous method that reduces the required computational
velocity is split into the sum of its statistical av- effort by solving the (unsteady) RANS equa-
erage and a turbulent fluctuation which is mod- tions in the near-wall region and applying LES
elled by the turbulence model. It has to be high- in the rest of the domain.
lighted that, when dealing with unsteady flow
fields, it is assumed that a clear separation be- 3.1.2 RANS Models
tween the time scales of the mean motion and
Turbulence modelling has been an important
time scales of turbulent motion exists. The fun-
research topic over the past decades. A large
damental assumption in unsteady RANS com-
number of models have been proposed, tested
putations is that the averaging time is bigger
and applied, but no universal model has been de-
than turbulent time scales (which are averaged)
veloped. Thus one is forced to choose the best
but much smaller than mean flow time scales
model available for each specific application.
(which are solved).
The majority of turbulence models are based on
It is worth noting more computationally de- the so-called Boussinesq hypothesis, which de-
manding approaches are becoming more and fines a turbulent or eddy viscosity (as opposed
more common in recent years. Direct Numerical to the molecular viscosity) to account for the ef-
Simulation (DNS) solves the Navier-Stokes fect the turbulence motion has on the mean flow.
equations to the resolution of the smallest turbu- For a detailed description of turbulence models,
lent scales but needs grids and time resolution see for example Wilcox (2006).
which are not yet achievable for high Reynolds
Zero-equation, or algebraic models express
numbers, such as those typical of ship hydrody-
the eddy viscosity in terms of the mean flow var-
namic applications.
iables and mean flow gradients without solving
Large Eddy Simulation (LES) does not aver- any additional equations. They are hardly ever
age the Navier-Stokes equations in time, but fil- used in ship hydrodynamic applications.
ters them in space. This results in transient com-
One-equation models solve one additional
putations on extremely dense grids as they aim
equation (i.e. in addition to the momentum and
to resolve the larger turbulence scales and mod-
mass conservation equations) for the eddy vis-
elling the scales smaller than the grid resolution.
cosity. Regularly used in ship hydrodynamics
LES is used currently for highly demanding
are models by Menter and by Spalart-Allmaras.
flows where the transient nature of the turbu-
These models are sometimes extended with a
lence needs to be resolved to smaller scales, like
in the case of acoustic noise.
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 13 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

correction for vortical flow, to improve wake 3.2 Near-wall Modelling


field predictions.
In the near-wall region flow variables have
Two-equation models solve two additional very large normal gradients. In the viscous sub-
equations for the eddy viscosity, one for the tur- layer, viscous effects suppress turbulent fluctu-
bulence kinetic energy (k), and one for its dissi- ations and have a dominant role in momentum
pation rate (typically ε or ω). These models have transfer. This requires proper modelling of the
shown to be able to give accurate predictions in near-wall region. Two approaches are available:
ship hydrodynamics, especially certain versions
of the k − ω model and are by far the most ap- 1. use of near-wall turbulence models that are
plied ones (80% of the submissions for the able to resolve the flow all the way down to
Gothenburg 2010 Workshop, see Larsson et al., the wall;
2013). 2. use of wall functions, semi-empirical formu-
lae that used to bridge the solution variables
An important class of turbulence models, not in the fully turbulent log-law region and the
based on the Boussinesq hypothesis, are the corresponding quantities on the wall, without
Reynolds-stress models, and versions thereof. actually resolving the flow in between (i.e.
Rather than introducing an eddy-viscosity, they the viscous-affected sub-layer).
aim to solve the equations for the six Reynolds
stress components directly. Apart from that, ad- Resolving flow by a near-wall model is a
ditional equations have to be solved, since terms more rational approach. However, it requires
in these equations require modelling as well. grid nodes highly refined towards walls (y+=1 as
Consequently Reynolds-stress models are more discussed in §2.3.6). This often leads to ex-
computationally intensive, and often harder to tremely high aspect ratio for the near-wall grid
converge, compared to one or two-equation cells, not only resulting in large grids but also
models. However, they contain more physics posing numerical instability problems in the so-
and are therefore be able to capture flow features lution procedure, making the computations sub-
that cannot be solved by eddy-viscosity models. stantially heavy. This is especially the case for
Explicit algebraic Reynolds stress models are full scale calculations.
based on the algebraic expressions for each
Using wall functions eases the need of ex-
stress component which can be determined from
treme refinements near the wall. In terms of y+
two equation turbulence models. They are con-
value, it suffices to have the first grid node in the
sidered to be a reasonable compromise between
range 30<y+<100 (see §2.3.5). However, wall
complexity and performance.
functions are based on two-dimensional flow
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 14 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

typically at zero pressure gradients and it is are used, then different functions for Δu + are
well-known that these analytical expressions be-
used depending on the range of ks and the types
come less valid, or even invalid, with increasing
adverse pressure gradients. Though corrections of roughness, such as sand grains or spheres. In-
exist for wall functions in the presence of pres- terested readers are invited to consult Schlicht-
sure gradients, these make the wall functions ing and Gersten (2000). No general guidelines
less stable. Thus it is a trade-off between accu- can yet be given for wall-resolved boundary lay-
racy and computational effort. Wall functions ers. However, the roughness profile is typically
should be avoided if possible, and used with care not resolved, the blockage effect of the rough-
when necessary. ness is taken into account using a modified wall
+
= y + + k s / 2 , and therefore the wall-
unit, ymod
3.3 Surface Roughness

The flow in the boundary layer is not af- adjacent cell should be higher than ks .
fected by the surface roughness when the phys-

ical roughness height ks is small compared to 3.4 Numerical Schemes

the thickness of the laminar sublayer. In partic- In the majority of industrial CFD codes, dif-
ular, the effect of the surface roughness is negli- fusion terms in the governing equations are dis-
cretized using a second-order (central differenc-
gible when ks is lower than approximately
ing) scheme by default. Thus, spatial accuracy is
2ν / u * , in this case the surface is said hydrody- largely determined by discretization scheme
namically smooth. For hydrodynamically rough used for convection terms.
surfaces, the logarithmic Law of the Wall is
The first-order upwind (FOU) scheme, of-
modified adding a term, Δu + , which is a func-
fered in many commercial CFD codes often as a
tion of ks . Unfortunately this function depends default scheme, is very stable. However, it intro-
duces large numerical (artificial) diffusion - that
on the type of roughness and no universal for-
is why it is so stable. Its use can only be justified
mulation is known.
when the physical diffusion (turbulent + molec-
In most ship CFD applications, surfaces are ular) is much higher than the introduced numer-
assumed to be hydraulically smooth. Otherwise ical diffusion. This is true within the boundary
the effect of the roughness can be modelled ei- layer, allowing use of hybrid schemes that use
ther modifying the wall functions or the turbu- lower order near the wall and higher order far-
lence boundary conditions. When wall functions ther out.
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 15 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

The majority of high-order convection dis- numerical simulation (DNS) for its low-dissipa-
cretization schemes in popular use today for- tion that is critical to accurately resolve turbu-
mally have a second-order of accuracy with an lent structures. However, CD scheme is inher-
upwind bias. All these second-order upwind ently unstable, raising convergence issues for
(SOU) schemes differ from one another in terms cases involving fine grids and small effective
of the flux limiter used to suppress unphysical viscosity (large local Reynolds number). One
oscillations in the solutions. Still higher-order should consider using a stabilized form of cen-
schemes such as fifth-order scheme exist; how- tral differencing.
ever, not all CFD solvers offer such higher-order
schemes. Moreover, it has to be taken into ac- 3.5 Free Surface
count that higher order schemes are, in general,
There are two major categories in free sur-
less robust than first or second order accurate
face models. For interface fitting approaches the
schemes. Therefore, their use should be consid-
numerical grid is conformed to the free surface
ered with special care. These schemes can be
shape. Interface capturing approaches define the
used in regions of high-quality grid (near or-
free surface as an iso-surface of a marker func-
thogonal, low aspect ratio, low expansion ratio),
tion and thus the grid does not have to conform
like in Cartesian overset refinements, while
to the free surface.
lower-order schemes can be used in others re-
gions. Higher-order schemes are standard in im- In general, the interface fitting approach is
mersed boundary methods in Cartesian grids. more accurate and efficient than the capturing
approach, since free surface boundary condi-
The SOU scheme is both reasonably accu-
tions can be applied in the exact free surface lo-
rate and robust, and for that reason is an indus-
cation. Therefore the interface fitting model
trial workhorse for convection discretization in
may be selected whenever possible. However, it
body-fitted approaches. The SOU scheme is
should be noted that a deformation/re-gridding
therefore recommended for all convection-dif-
procedure is essential in order to keep the grid-
fusion transport equations.
lines following the deformation of the free sur-
First order accurate schemes in time may be face. This may cause severe distortion of grid-
used only if a steady-state is sought. lines even though the initial grid conforming to
the undisturbed free surface has a good quality.
Although outside the scope of the present
guidelines, it is worth mentioning that second- Difficulties in grid generation and/or re-
order central differencing (CD) scheme is often gridding can be avoided with interface capturing
used in large eddy simulation (LES) and direct approaches. Also, for large deformation of free
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 16 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

surface, such as overturning or breaking waves, particle of fluid within a time interval equal to
interface capturing methods should be used the time step:
since surface-tracking methods cannot resolve
u Δt
the change in surface topology. Since the cap- < Cmax (0)
turing methods demand finer grid resolution Δx
near the interface, grid generation requires more where |𝑢𝑢�| is the local velocity, Δt is the time
attention. The choice of level-set method or vol- step, and Δx is the linear cell size in the flow
ume-of-fluid method in for capturing approach
has little impact in the final solutions. Although direction. In explicit solvers, where Cmax < 1 ,
the numerical methods are different, well imple- the CFL condition is more demanding than in
mented flow solvers provide similar results for
both models. implicit solvers, where Cmax can be larger than

1. In this case the time step is decided by the


When a volume-of-fluid method is used, the
flow features. As a rule of thumb:
volume fraction equation requires special care,
since the transported quantity is essentially a
• for periodic phenomena (e.g. roll decay, vor-
step function across the free surface, and tradi-
tex shedding, incoming waves etc.) use at
tional convection schemes designed for convec-
least 100 time steps per period;
tion-diffusion equations perform poorly in this
• for complex unsteady phenomena (e.g. wet-
case. Though geometric reconstruction offers
ted transom instabilities), use at least 20 time
the best possible solution, it is expensive and
steps per period for the highest frequency to
frequently pure transport is used, which does not
be resolved;
guarantee a sharp interface throughout the com-
• for rotating propellers use at least 180 time
putation. It has been found that convection
steps per revolution;
schemes with some degree of downwind bias re-
• ∆t must be smaller than 0.01 L/U if one or
solve the sharp interface much better.
two equation turbulence models are used,
while it should be smaller than 0.001 L/U if
3.6 Time Step
Reynolds stress turbulence model is used.
In explicit solvers the time step is chosen to
satisfy the Courant–Friedrichs–Lewy (CFL) 3.7 Parallel Computing
condition or to resolve the flow features of in-
In modern computers, as a rule of thumb
terest, whatever results smaller. The CFL condi-
choose the number of cores so that you use from
tion is a condition on the CFL number, which
50,000 to 500,000 grid points per core. In some
represents the number of points travelled by a
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 17 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

cases fewer points per core can be used if the due to the convergence should always be esti-
CFD code scales well to obtain faster turna- mated with a verification procedure.
round, or more points per core if processor
Convergence should be achieved for both
memory allows it and turnaround time is not
steady-state and transient computations. In the
critical.
case of implicit transient computations, conver-
To maximize performance, try to distribute gence must be evaluated at each time step.
the load evenly between nodes. For instance, if
The level of convergence should be assessed
running in a Linux cluster with 2 quad-core pro-
by the history of residual variations for the mass
cessors (8 cores) per node, and your case needs
and momentum equations. Residuals indicate
10 cores, you can distribute your load in two
how far the present approximate solution is
nodes using 8-2 or 5-5 configurations. The sec-
away from perfect conservation of mass and
ond balances the load per node better since it
momentum. Thus the residual for a discretized
provides more memory bandwidth per process.
equation is defined as the L1-Norm of the imbal-
Modern workstations with shared memory ance between the left and the right hand side of
are available with up to 64 processors, though that equation over all the computational points.
much larger specialized systems are produced. Usually the residual is scaled by a reference
High-performance clusters are typically cheaper value. Sometimes the L2-Norm or L∞-Norm are
per processor for large systems (thousands of used to define the residual.
cores) but use distributed memory. Shared-
CFD users do not need to worry about the
memory systems allow all processors access all
definition of residuals, as they are often pre-de-
memory, resulting in easier programming and
fined by code developers. Instead, attention
better scalability of most applications. On the
should be paid to the selection of convergence
other hand, distributed memory systems provide
criteria. The recommended criterion is the drop
massive number of processors for very large
of scaled residuals by at least three orders of
computations.
magnitude off their initial values. However it is
acknowledged that due to complexity of some
3.8 Convergence
problems or oscillatory convergence this crite-
A number of convergence criteria should be rion may not be satisfied. In such cases, the con-
defined and examined in order to ensure reliable vergence of forces and moments, and the con-
convergence of solution. While different levels vergence of the unknowns in key regions of the
of convergence are acceptable, the uncertainty flow field (e.g. at propeller plane for nominal
wake calculations) can be monitored.
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 18 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

4. POST-PROCESSING experimental data is necessary to estimate the


modelling error.
4.1 Visualization
The ITTC procedure 7.5-03-01-01 provides
A number of post processing plots should be “methodology and procedures for estimating the
used as a minimum sub-set of information to en- uncertainty in a simulation result”. The proce-
sure that the correct settings have been used for dure includes a verification procedure for the es-
each computation. This should include contour timation of the numerical uncertainty, and a val-
plots of the pressure coefficient, skin friction co- idation procedure for the estimation of the mod-
efficient and y+ on the geometry surface, and elling error.
vector plots of the boundary layer profiles along
Any numerical results should be considered
the geometry.
together with its numerical uncertainty. This be-
Reasonable checks should be carried out to comes of critical importance when different de-
ensure that the solution is physically sound and sign solutions are ranked based on the CFD re-
that it does not show the footprint of the grid. sults, since the uncertainty reflects, and allows
the computation of, the probability that the rank-
4.2 Verification and Validation ing is correct.

The verification and validation of numerical The estimate of the uncertainty must be
simulations is an essential tool for the interpre- based on a verification and validation proce-
tation of the results and the identifications of dures but it can be assumed that the uncertainty
those aspects of the simulation that can be im- does not change significantly with small
proved. changes of the boundary and initial conditions.
Therefore, once the uncertainty has been esti-
The numerical uncertainty is due to the nu- mated for one simulation, this can often be used
merical error introduced by the method used to as a reasonable estimate of the uncertainty of
solve the chosen set of equations with the given similar simulations. For example, if a parameter
boundary and initial conditions, while the mod- study on the hull geometry is performed, verifi-
elling uncertainty is associated to the modelling cation can be performed for only one or few val-
error, which is the difference between the exact ues of such parameter. Care should be taken on
solution of this set of equations and the reality. these extrapolations that no significant changes
The numerical uncertainty can be estimated per- on the flow field are observed between similar
forming a set of numerical simulations, while cases.
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 19 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

It must be noted that the difference between Pope, S. (2000) Turbulent Flows, Cambridge
the uncertainties of different quantities com- University Press.
puted with the same simulation can be higher
Sagaut, P. (2006) Large Eddy Simulation for In-
than one order of magnitude. For instance, the
compressible Flows, an Introduction,
uncertainty of the ship resistance is expected to
Springer.
be significantly lower than the uncertainty of the
local flow speed in one point of the domain. Schlichting, H., and Gersten, K. (2000) Bound-
Also, the higher the order of the derivatives of ary-layer theory, Springer.
the primitive unknowns, the higher the uncer-
tainty expected. For instance, the uncertainty on Wilcox, D.C. (2006) Turbulence Modeling for
the velocity is expected to be lower than the un- CFD (Third Edition), DCW Industries.
certainty on the vorticity. Therefore, the uncer-
Larsson, L., Stern F., Vissonneau, M. (2013)
tainty must be estimated for every quantitative
Numerical Ship Hydrodynamics: An assess-
result gathered from the simulation.
ment of the Gothenburg 2010 Workshop,
Springer.
5. REFERENCES

Hirsch, C. (1989) Numerical computation of in- 6. REFERENCES TO OTHER CFD


ternal and external flows: Fundamentals of GUIDELINES
numerical discretization, Wiley–Blackwell.
AIAA, 1988, AIAA guide for the verification
Hirsch, C. (1990) Numerical computation of in- and validation of computational fluid dy-
ternal and external flows: Computational namics simulations, AIAA G-077-1998.
methods for inviscid and viscous flows,
ASME Committee PTC-61, 2009, ANSI Stand-
Wiley–Blackwell.
ard V&V 20. ASME Guide on Verification
Ferziger, J.H. and Peric, M. (2002) Computa- and Validation in Computational Fluid Dy-
tional Methods for Fluid Dynamics, namics and Heat Transfer.
Springer.
ERCOFTAC Best Practice Guidelines.
Thompson, J.F., Warsi Z.U.A., Mastin, C.W. http://www.ercoftac.org/publications/ercof-
(1985) Numerical Grid Generation: Founda- tac_best_practice_guidelines/
tions and Applications.
ITTC – Recommended 7.5-03
-02-03
Procedures and Guidelines Page 20 of 20

Practical Guidelines for Ship CFD Ap- Effective Date Revision


plications 2014 01

ITTC Recommended Procedures and Guide- ITTC Recommended Procedures and Guide-
lines. Uncertainty analysis in CFD, Guide- lines. Practical Guidelines for Ship Re-
lines for RANS codes, No. 7.5-03-01-02 sistance CFD, No. 7.5-03-02-04 (2014).
(1999).
ITTC Recommended Procedures and Guide-
ITTC Recommended Procedures and Guide- lines. Practical Guidelines for Ship Self-Pro-
lines. CFD User’s Guide, No. 7.5-03-01-03 pulsion CFD No. 7.5-03-03-01 (2014).
(1999).
ITTC Recommended Procedures and Guide-
ITTC Recommended Procedures and Guide- lines. Practical Guidelines for RANS Calcu-
lines. CFD Verification, No. 7.5-03-01-04 lation of Nominal Wakes, No. 7.5-03-03-02
(1999). (2014).

ITTC Recommended Procedures and Guide-


lines. Uncertainty Analysis in CFD Verifica-
tion and Validation. Methodology and Pro-
cedures, No. 7.5-03-01-01 (2008).

You might also like