Next Article in Journal
Design of Hybrid-Electric Megayachts: The Impact of Operative Profile and Smart Berthing Infrastructures
Next Article in Special Issue
Increase in Stability of an X-Configured AUV through Hydrodynamic Design Iterations with the Definition of a New Stability Index to Include Effect of Gravity
Previous Article in Journal
Numerical Study of Hydrodynamics of Heavily Loaded Hard-Chine Hulls in Calm Water
Previous Article in Special Issue
Influence of Impeller Gap Drainage Width on the Performance of Low Specific Speed Centrifugal Pump
Order Article Reprints
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:

Hull Shape Design Optimization with Parameter Space and Model Reductions, and Self-Learning Mesh Morphing

Mathematics Area, mathLab, SISSA, Via Bonomea 265, I-34136 Trieste, Italy
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2021, 9(2), 185;
Received: 4 January 2021 / Revised: 3 February 2021 / Accepted: 7 February 2021 / Published: 11 February 2021


In the field of parametric partial differential equations, shape optimization represents a challenging problem due to the required computational resources. In this contribution, a data-driven framework involving multiple reduction techniques is proposed to reduce such computational burden. Proper orthogonal decomposition (POD) and active subspace genetic algorithm (ASGA) are applied for a dimensional reduction of the original (high fidelity) model and for an efficient genetic optimization based on active subspace property. The parameterization of the shape is applied directly to the computational mesh, propagating the generic deformation map applied to the surface (of the object to optimize) to the mesh nodes using a radial basis function (RBF) interpolation. Thus, topology and quality of the original mesh are preserved, enabling application of POD-based reduced order modeling techniques, and avoiding the necessity of additional meshing steps. Model order reduction is performed coupling POD and Gaussian process regression (GPR) in a data-driven fashion. The framework is validated on a benchmark ship.

1. Introduction

In the framework of parameterized partial differential equation (PDE) problems for engineering, reduced order models (ROMs) and optimization algorithms are two instruments that particularly benefit a synergic use. In several cases of engineering interest in which PDEs solution require considerable computational effort, ROMs enable in fact a remarkable reduction in the resources required for each calculation. There are of course several ways to reduce the dimensionality of discretized PDEs. The most naive approaches, such as coarsening the computational grids clearly have negative effects on the quality of the solutions. This is particularly true for problems characterized by complex physics and geometrical features, which in most cases require a very high number of degrees of freedom, ultimately resulting in expensive computations. In the context of an optimization algorithm execution, where many discretized PDE solutions must be computed, the overall computational load often becomes unaffordable. With only modest negative effects on the PDE solution accuracy, ROMs can be conveniently exploited to reduce the high dimensionality of the original discrete problem—to which we will herein refer to as full order model (FOM) or high fidelity model. ROM algorithms can be employed in several industrial design processes, and in particular to shape optimization, in which the objective of the computations is to find the best shape of a particular product or artifact. Such problems are in fact typically modeled through parametric PDEs, in which input parameters control the geometric features of the object at hand. ROMs efficiently approximate the numerical solution of the full order PDE with a suitable reduced surrogate, enabling drastic reduction in the computational burden of the overall optimization procedure.
There are of course several different algorithms which allow for an efficient reduction of the dimensionality of parametric problem. In the present contribution, we make use of a data-driven approach based on proper orthogonal decomposition (POD) [1,2]. The equation-free nature of such method is often an essential feature in the industrial sector, where modularity and solvers encapsulation play a fundamental role. Indeed, the data-driven POD based ROM employed in the present optimization framework can be coupled with any PDE solver, as the data integration is enforced through the output of interest of the full order problem. Similar reduced methods have been proposed in [3,4] for the shape optimization of a benchmark hull, while additional improvements have been made coupling the ROM with active subspace analysis and different shape parameterization algorithms in [5,6,7,8]. We refer the readers interested in parametric hull shape variations using ROMs to [9], while we mention [10,11] for design-space dimensionality reduction in shape optimization with POD. Moving from hulls to propellers, data-driven POD has also been successfully incorporated in the study of marine propellers efficiency [12,13] as well as hydroacoustics performance [14].
A further aspect of novelty of the optimization framework proposed is related to the parameterization of the geometry. In typical shape optimization cycles, the surface of the object under study is deformed before the domain discretization takes place. Thus, the meshing phase is repeated for any deformed entity. Such approach has the clear advantage of allowing for good control of the quality of the computational grid produced for each geometry tested. Yet, it suffers of two main problems: (i) the meshing step may be expensive, both because its CPU time might be comparable to the resolution of the problem itself, and because mesh generation is specially intensive in terms of human operator hours required; (ii) a different mesh for each geometry does not allow for the application of POD or several other ROM approaches, which require that the mesh topology, as well as the number of degrees of freedom of the discretized problem, are conserved across all the shapes tested. Thus, assuming a generic deformation map is available, which morphs the initial object surface—not the grid—we exploit such deformation to train a radial basis function (RBF) interpolation that will extend the surface deformation to the nodes of the PDE volumetric mesh. In this sense, the method is capable to learn and propagate any deformation to a given mesh. Properly selecting the RBF kernel, we can then obtain a smooth deformation in all the discretized domain, not only ensuring that the overall parameterization map preserves the initial mesh quality but also its topology. We remark that in this work, free-form deformation (FFD) is used to deform the surface of the object under study. Yet, we stress that the RBF extension methodology is completely independent from the parameterization method chosen for the object geometry. A similar approach has been recently investigated in [15].
The optimization algorithm used in this work is the recently developed active subspaces extension of the classical genetic algorithm called active subspace genetic algorithm (ASGA) [16], which performs the mutation and cross-over steps on a reduced dimensional space for a faster convergence.
All the algorithms used in this work are implemented in open source software libraries [17,18,19,20], which we will briefly introduce in the discussions of the corresponding numerical methods. In Figure 1 we depicted an outline of the whole numerical pipeline we are going to present, emphasizing the methods and the softwares used. One of the main goals of this contribution it that of testing the full pipeline composed by data-driven POD ROM, combined FFD-RBF shape parameterization algorithm and ASGA optimizer on a problem that can be both meaningful to the ship hydrodynamics community and easily reproducible. For such reason, the test case considered is that of the DTC hull [21], for which online tutorials are available to run fairly accurate flow simulations in fixed sink and trim conditions. Since in such set up, the hull optimizing resistance is a trivial, zero volume hull, the DTC benchmark hull is here optimized based on the total resistance coefficient C t . We organize the contribution as follows: Section 2 presents a deeper discussion about the parameterization of the object and of the computational grid; Section 3 describes the full order model and the reduced order one, while Section 4 is devoted to an algorithmic discussion about the optimization algorithm and its supporting mathematical tools. The final Section 5 and Section 6, show the numerical results obtained and present the conclusive summary, respectively.

2. Shape and Grid Parameterization

Whenever industrial design processes as the ones discussed in this work are aimed at improving, among other aspects, the geometric features of a particular artifact, a shape parameterization algorithm is a cornerstone of the whole optimization pipeline. Optimization tools, as well as the non-intrusive model reduction techniques employed in the present investigation, are in fact based on the parameterized PDEs paradigm introduced in the previous section. In such framework, a set of geometric input parameters affects the output of a parametric PDE through the deformation of its domain geometry. Thus, the shape parameterization algorithm role is that of mapping the variation of a set of numerical parameters, to the corresponding deformation of the PDE domain geometry. In other words, since optimization tools are mathematical algorithms which must be fed with numbers, the shape parameterization algorithms translate shape deformations into variations of the numeric quantities they need.

How to Combine Different Shape Parametrization Strategies

In this work, we make combined use of two general purpose shape parameterization algorithms to deform the three dimensional geometry of a ship hull, and accordingly update the volumetric grid used for ship hydrodynamics simulations in a fully automated fashion. More specifically, free form deformation (FFD) is first used to generate a family of deformations of the surface of a base hull. In a second step, radial basis functions (RBF) interpolation is used to propagate the hull surface deformation to the internal nodes of the fluid dynamic simulation computational grid. For visual reference, Figure 2 depicts the side view (on the left) and front view (on the right) of a container ship hull bow region. In the picture, several sections perpendicular to the hull longitudinal axis are indicated by red lines.
Despite an extensive discussion of FFD and RBF theoretical foundations is clearly beyond the scope of the present contribution, this section will introduce the key concept upon which both algorithms are based and describe their combined deployment in the framework of our optimization pipeline.
The first shape parameterization algorithm applied in this work is the free form deformation [22,23,24]. As mentioned, it is a general purpose algorithm, designed to be applied to arbitrarily shaped geometries. FFD is fundamentally made up of three different geometrical transformations, as illustrated in Figure 3. The first transformation ψ maps the physical domain Ω into a reference domain Ω ^ . In such domain, a lattice of points is generated, and are used as the control points of a set of smooth shape functions such as the Bernstein polynomials used in this work. Thus, once a displacement is prescribed to one or more of the control points in the lattice, the shape functions are used to propagate such displacement to all the points in the reference domain Ω . The smooth displacement field obtained, is the second and most important transformation T ^ in the FFD process. In the third, final step, the deformed reference domain is mapped back into the physical one by means of ψ 1 to obtain the resulting morphed geometry.
The current description suggests that the parameters μ of the final FFD map T ( · , μ ) are the displacements prescribed to one or more of the lattice control points. The procedure can account for both a variable number of lattice points and of displaced control points. For such reason, FFD deformations can be built with an arbitrary number of parameters.
We point out that the FFD algorithm results in a displacement law for each 3D space point within the control points lattice. Thus, it can be readily deployed to deform shapes specified through surface triangulations (such as STL geometries) and surface grids in general. In addition, it can be also used to directly deform volumetric grids used for fluid dynamic simulations. Yet, mainly for practical reasons, in this work we only make use of FFD to deform the STL surface triangulation describing the hull geometry. In fact, we must point out that if FFD has to be used to modify the volumetric mesh used for CFD simulations, the control points lattice dimensions must be much bigger than those needed when only deforming the hull surface, leading to infeasible optimization procedures. This is due to the fact that when deforming volumetric meshes, it is often convenient to distribute the deformations over a high number of cells, rather than concentrating all the displacements in a very confined region in which cells can get distorted or even inverted. But because FFD only affects points located within the control points lattice, this means that the latter must extend for a bigger volume. In addition, to maximize the volumetric mesh quality, the user must include more control points in the lattice to make sure that different deformation magnitudes are imposed in regions close to the hull and far from it. Such manual control over the local mesh deformation can often become quite cumbersome.
For such reasons, after the hull surface mesh has been modified by means of FFD, we resort to RBF to propagate the hull boundary displacements to the internal nodes of the volumetric mesh for CFD simulations. In a broader sense, RBF is an interpolation algorithm, in which linear combinations of radial bases are used to approximate a function with values prescribed only in a finite number of points, in every point of a domain. In the case of interest, the displacement field function prescribed on the points of the hull surface must be interpolated in the positions corresponding to every node of the volumetric mesh. Thus, the displacement obtained from the m surface nodes original position { s 1 , , s m } and the corresponding displaced position { s 1 , , s m } must be interpolated at the positions { v 1 , , v n } of the n volumetric mesh nodes. Such interpolation reads
d ( x ) = j = 1 m w j φ j ( x ) ,
where the radial bases φ j ( x ) = φ j ( | | x x j | | ) are functions that only depend on the distance between evaluation point x and control point x j . The weights w j are computed by imposing the interpolation constraints d ( s i ) = s i s i , after a radial basis has been centered at every constrained point ( x j = s j ). This results in the linear system
A X = B ,
A = φ 1 ( s 1 ) φ 1 ( s m ) φ m ( s 1 ) φ m ( s m ) , X = w 1 w m , B = s 1 s 1 s m s m .
Linear system (2) is solved in a pre-processing phase, and the weights computed are then used to compute the displacement of every node of the volumetric mesh by means of Equation (1). The latter operation can be conveniently carried out in a parallel fashion, and is highly efficient. On the other hand, A is a full m × m matrix which can make the solution of system (2) quite time and memory demanding when a large number of RBF control points are considered. That is why, in some cases only a portion of the surface mesh nodes are used as RBF control points, which limits the computational cost more than linearly, and in most cases has only modest effect on the morphing accuracy.
Both the FFD and RBF algorithms briefly described in this section have been implemented in the Python library for geometrical morphing PyGeM [17], which has been used to produce all the deformed geometries and computational grids used in this work. An example of the RBF application to volumetric mesh morphing described in this paragraph is presented in Figure 4. The figure illustrates all the steps involved in the procedure, which starts with (a) a first volumetric mesh around the hull, and (b) a surface mesh on the hull surface. In step (c) the latter mesh is then deformed and (d) the surface mesh displacement field is finally used to feed the RBF algorithm and propagate the boundary motion to the internal volumetric mesh nodes. As it can be appreciated in the illustration, to avoid distortion of the volumetric mesh symmetry plane, the surface mesh must include both sides of the hull. In the present work, the deformation of the surface mesh has been carried out by means of FFD. Yet, we remark that any deformation law which results in a one to one correspondence between original and deformed surface grids can be propagated to the nodes of the volumetric mesh with RBF interpolation.

3. The Mathematical Model for Incompressible Fluids

The computational gain of the proposed pipeline is obtained by using a model order reduction based on proper orthogonal decomposition (POD) to approximate the solution of the parametric PDEs describing the studied phenomenon. This technique assumes an initial solutions database produced by solving the full order model (FOM), for some values of the parameters. We refer to such solutions as high-fidelity solutions, or snapshots. Depending on the intrusiveness of the reduced order method, also the discrete operators of the numerical problem can be required. In this contribution, we propose a non-intrusive approach, constructing a reduced order model (ROM) within a data driven setting using the FOM snapshots and the corresponding parameter values (described in Section 2). This allows a modular structure where any numerical solver, also commercial, can be adopted, since the ROM relies only on input and output couples.
The following paragraphs present the full order model used in this work and the ROM constructed with it. We briefly describe the incompressible Reynolds Averaged Navier-Stokes (RANS) equations and its numerical solution in a finite volume framework, then we proceed with an algorithmic analysis of the proper orthogonal decomposition with Gaussian process regression (POD-GPR).

3.1. The Full Order Model: Incompressible Rans

The FOM used in this work is the Reynolds Averaged Navies–Stokes (RANS) model complemented by a Volume of Fluid (VOF) front capturing method to deal with the multi phase nature of the fluid surrounding the hull. The resulting govern equations are discretized by means of a Finite Volumes (FV) strategy implemented in the open source library openFOAM [25]. Such mathematical and numerical setup is nowadays adopted in many industrial naval contexts thanks to its robustness and accuracy. The test case considered is one of the tutorials of the library, which is designed to reproduce the DTC experiments reported in reference [21]. We here provide a minimal overall description of the model. We refer to the original documentation of the library for all the numerical and technical details.
The RANS equations model the turbulent incompressible flow, while the volume of fluid (VOF) technique [26] is applied to handle the biphase nature of the fluid (water and air). The equations governing our system are the following
u ¯ t + ( u ¯ · ) u ¯ · ( u ˜ u ˜ ) = 1 ρ p ¯ + · ν u ¯ + g , · u ¯ = 0 , α t + · ( u ¯ α ) = 0 ,
where u ¯ and u ˜ refer to the mean and fluctuating velocity after the RANS decomposition, respectively, p ¯ denotes the mean pressure, ρ is the density, ν the kinematic viscosity, and α is the discontinuous variable belonging to interval [ 0 , 1 ] representing the fraction of the second flow in the infinitesimal volume. Finally, vector g represents the body accelerations associated with gravity.
The first two equations are the continuity and momentum conservation, where the new term, the Reynolds stresses tensor u ˜ u ˜ , have to be modeled with additional equations in order to close the system. Among all the turbulence models available in literature, we use the SST k ω turbulence model [27]. The third equation represents the transport of the VOF variable α . Such variable controls also the density ρ and the kinematic viscosity ν , since they are defined using an algebraic formula expressing them as a convex combination of the corresponding properties of the two flows such that
ρ = α ρ air + ( 1 α ) ρ water , ν = α ν air + ( 1 α ) ν water .
To compute the steady solution in a discrete environment, we apply the finite volume (FV) approach. We set a pseudo–transient simulation, applying a first order implicit local scheme for the temporal discretization, while for the spatial scheme we apply the linear upwind one. Regarding the software, as mentioned the simulation is carried out using the C++ library OpenFOAM [25].

3.2. The Reduced Order Model: POD-GPR

POD is a linear dimensional reduction technique capable to construct a reduced order model from a set of high-fidelity snapshots. Such space is spanned by (typically few) basis functions, that are computed by minimizing the error between the original snapshots and their orthogonal projection [28]. In a parametric context, it enables—provided a proper set of parameter samples—the possibility to approximate the solution manifold in a very efficient way. Formally, we define the set of parameters { μ i } i = 1 M such that μ i P R p for i = 1 , , M . For each parameter, the solution is computed using the FOM. Let N be number of degrees of freedom of the full simulation, we obtain the solutions x i X i N for i = 1 , , M . Since the finite volume space is created only once and then it is deformed, all the geometric configurations have the same dimensionality even if they belong to different spaces. The vectorial solutions are arranged as columns of the snapshots matrix, such that
X = | | x 1 x M | | R N × M .
The basis of the POD space, composed by the so called POD modes, is computed using the singular value decomposition (SVD) of the snapshots matrix X = U Σ V * . The unitary matrix U R N × M contains the left-singular vectors of X , which are the POD modes. Moreover the diagonal matrix Σ = diag ( λ 1 , , λ M ) , where λ 1 λ 2 λ M , contains the singular values, which indicate the energetic contribution of the corresponding modes. By looking at the spectral decay we can retain the first N most energetic modes, which span the optimal space of dimension N.
Such basis can be exploited in a Galerkin projection framework [29,30,31], in an hybrid framework combining data-driven methods with projection [32,33], or used to project onto the reduced space the initial snapshots. Thus we can approximate the snapshots x j as a linear combination of the modes as
x j = i = 1 M c j i ψ i i = 1 N c j i ψ i for j = 1 , , M ,
where ψ i refers to the i-th POD mode. The coefficients c j i of the linear combination represent the low-dimensional solution and are usually called modal coefficients. Using the matrix notation, to compute such coefficients it is sufficient a matrix multiplication C = U N T X , where the columns of C are the vectors c j R N for j = 1 , , N , the matrix U N R N × N contains the first N POD basis and the superscript T indicates the matrix transpose.
The new pairs ( μ i , c i ) , for i = 1 , , M , we can be exploited in order to find a function f : P R N capable to predict the modal coefficients for untested parameters. Several options are available in literature to reach this goal: for instance n-dimensional linear interpolator [34,35], radial basis functions (RBF) interpolator [36], artificial neural networks [37], Gaussian process regression [38,39]. As anticipated, in this work we apply a GPR [40], fitting the distribution of the modal coefficients with a multivariate Gaussian distribution, such that
f ( μ ) GP ( m ( μ ) , K ( μ , μ ) ) ,
where m ( · ) and K ( · , · ) indicate the mean and the covariance of the distribution, respectively. Given a covariance function, an optimization step is required to set the corresponding hyperparameters. In this contribution we use the squared exponential covariance defined as K ( x i , x j ) = σ 2 exp x i x j 2 2 l . Once the hyperparameters ( σ and l) of the covariance kernel have been fit to the input dataset, we can query such distribution to predict the new modal coefficients. Finally the modal coefficients are projected back to the high-dimensional vector space R N using (7). It is easy to note the differences from the computational point of view between FOM and ROM—whereas in the full order model it is required to solve a non-linear problem of dimension N , in the reduced order model to predict the solution we just need to query a distribution and perform a matrix multiplication. From the computational perspective, in fact the cost of the ROM is mainly due to its construction and not to the prediction phase: relying on the SVD, the method shows an algorithmic complexity of O ( min ( N , M ) N M ) . Thus, dealing with complex FOM as the one presented in this work, POD space construction can be neglected in the overall computational need.
On the technical side, we construct and exploit the POD-GPR model using EZyRB [19], an open source Python package which deals with several data-driven model order reduction techniques, exploiting the library GPy [20] for the GPR implementation.

4. Optimization Procedure with Built-In Parameters Reduction

In this work we make use of the active subspaces extension of the genetic algorithm (ASGA) introduced in [16]. Such optimization method has been selected as it outperforms standard GA, especially when high-dimensional target functions are considered. Its performance have been proved both for classical academic benchmark functions and for industrial CFD test cases.
The following sections report a description of both the classical genetic algorithm and the active subspaces technique main features. Finally, we will discuss how the two algorithms have been combined to obtain an efficient optimization procedure.

4.1. Genetic Algorithm

Genetic algorithm (GA) is an optimization algorithm, first introduced by Holland in [41]. Inspired by natural selection, it falls into the category of population based search algorithms. For a detailed discussion of the method and its several modifications we refer the interested reader to [42,43,44]. Here, we briefly present the simplest genetic algorithm, which is composed by three fundamental steps: selection, reproduction, and mutation. Such phases are illustrated in Figure 5—which also includes yellow boxes which will be discussed in the following sections.
The algorithm starts with a random population S 0 composed of T individuals, each one having r genes. In the selection step the individuals with the best fitness value, for instance S 0 ( 1 ) and S 0 ( 2 ) , are retained. During the reproduction phase, an offspring Q is produced from these two individuals with a crossover probability P C . Then, in the last step Q undergoes a mutation with probability P M , generating Q . This new offspring Q is added in the new population S 1 together with the best individuals of S 0 . The three steps are repeated until a predetermined computation budget is reached.

4.2. Active Subspaces

The active subspaces (AS) [45,46,47] property is an emerging technique for dimension reduction of parameterized problems. Let us initially assume that the input/output relationship of the problem under study is represented by function f ( μ ) : Ω R n R . The reduction is performed by computing a linear transformation of the original parameters μ M = A μ , in which A is an M × n matrix, and M < n . In the last years AS has been extended to vector-valued output functions [46], and to nonlinear transformations of the input parameters using the kernel-based active subspaces (KAS) method [48]. AS has been also coupled with reduced order methods such as POD-Galerkin [49] in cardiovascular studies, and POD with interpolation [50] and dynamic mode decomposition [51] for CFD applications. Application to multi-fidelity approximations of scalar functions are also presented in [52,53].
The matrix A is computed based on the second moment matrix C of the target function f gradient. The latter matrix is defined as
C : = E [ μ f μ f T ] = ( μ f ) ( μ f ) T ρ d μ ,
where with E [ · ] we denote the expected value, μ f f ( μ ) R n , and ρ : R n R + is a probability density function representing the uncertainty in the input parameters. The gradients appearing in C are typically approximated [45] with local linear models, global linear models, GP regression, or finite difference. The second moment matrix C is constructed with a Monte Carlo procedure. We proceed by decomposing the uncentered covariance matrix as C = W Λ W T , where Λ is the diagonal eigenvalues matrix (arranged in descending order) and W is the orthogonal matrix containing the corresponding eigenvectors. To bound the error on the numerical approximation associated with Monte Carlo simulations, we make use of the gap between the eigenvalues. Looking at the energy decay, we can select a scalar M < n and decompose Λ and W as
Λ = Λ 1 Λ 2 , W = W 1 W 2 , W 1 R n × M ,
where M is the dimension of the active subspace–which can also be prescribed a priori. The decomposition described is exploited to map the input parameters onto a reduced space. Thus, the principal eigenspace corresponding to the first M eigenvalue defines the active subspace of dimension M. In particular we define the active variable as μ M : = W 1 T μ R M and the inactive variable as η : = W 2 T μ R n M .
Exploiting the higher efficiency of most interpolation strategy in lower dimensional spaces, we can now approximate f using a response surface over the active subspace, namely
g ( μ M = W 1 T μ ) f ( μ ) , μ M P : = { W 1 T μ | μ Ω } ,
where P is the polytope in R M (the ranges of the parameters are intervals) defined by the AS.
The active subspaces technique and several other methods for parameter spaces reduction are implemented in the ATHENA1 Python package [18].

4.3. Active Subspaces-Based Genetic Algorithm

We enhance the classical GA by adding two fundamental steps before the reproduction and after the mutation phase. These involve the application of the projection of the current population onto its active subspace, given a prescribed dimension. So, the idea is to perform the crossover and the random mutation in the smaller dimension space. Such space in fact only includes the directions in which the highest variation of the fitness function f is observed.
By a mathematical standpoint, we add the following operations to the GA: let W 1 be the eigenvectors defining the active subspace of the current population, say S 0 . We project its best individuals onto the current active subspace with
s 0 ( 1 ) = W 1 T S 0 ( 1 ) , s 0 ( 2 ) = W 1 T S 0 ( 2 ) ,
where s 0 ( 1 ) and s 0 ( 2 ) are the reduced individuals. The reproduction and mutation steps are performed as usual. The only difference is that in the described framework they conveniently are carried out within a smaller dimension space, where reduced number of genes is exploited for speed up purposes. After these phases are completed, we obtain the offspring q and q , respectively. Finally, the back mapping from the active subspace to the full space is performed by sampling the inactive variable η in order to obtain
Q = W 1 q + W 2 η , with 1 Q 1 ,
where 1 denotes a vector with all components equal to 1—the original parameters are usually rescaled in [ 1 , 1 ] n before applying AS—. We remark that there is in principle the possibility that multiple points in the full space are mapped onto the same reduced point in the active subspace. Hence, the number B of individuals resulting from the back mapping is an hyperparameter which can be prescribed a priori. For the specifics about this procedure please refer to [16]. In Figure 5 we emphasized with yellow boxes the new fundamental steps represented by Equations (12) and (13). For the actual implementation of the genetic algorithm part we used DEAP [54].

5. Numerical Results

In this section, we describe the application of the proposed optimization pipeline to the DTC hull surface. Table 1 shows the main particulars in the design loading condition at model scale (which is set to 1:59.407). This will provide a test case which closely simulates a typical workflow for industrial hull design problems. Figure 6 shows the original CAD geometry of the hull used in this work, where we marked 21 longitudinal sections which divide the ship into 20 equispaced chunks. Such 21 slices will be referred to as sections during the results discussion, and are numbered from 1 to 21 going from the ship stern to its bow.
The structure of this section mirrors that of the whole article, reporting the intermediate results of all the methods employed throughout the optimization pipeline.

5.1. Self-Learning Mesh Morphing Parameters

To set up the FFD hull surface deformation, we position the control points lattice in order to control the immersed part of the ship prow region. The equispaced control points are positioned as follows:
  • x axis: 7 points layers located on sections 10, 12, 14, 16, 18, 20, 22;
  • y axis: 11 points layers that cover the whole hull beam, with the second and the second-to-last positioned on the lateral walls of the ship;
  • z axis: 7 points layers that cover the whole hull draft, aligning the 2nd and the 5th of them to the hull bottom and to the waterline, respectively.
As can be appreciated by the values reported, to distribute the FFD control points, we have made use of an additional 22nd virtual section located ahead of the bow. The motion of the 7 × 11 × 7 = 539 points is governed by only 10 parameters, which are described in Table 2. We point out that the displacement of all the boundary points in the x and z direction is set to zero so as to enforce surface continuity. In addition, the displacement of the points on the internal x and z layers closest to the boundary ones is also set to zero so as to enforce continuity of all surface derivatives. Finally, the hull symmetry along y direction is ensured by selecting symmetric values for parameters associated to x and z displacements, as well as antisymmetric values for parameters associated to y displacements (the latter points are also indicated in the table by the corresponding footnote).
Once defined the geometric parameters μ = [ μ 0 , , μ 9 ] , we set the parametric space to P = [ 0.2 , 0.2 ] 10 . The parameter space boundary values are selected so as to obtain feasible deformations from an engineering point of view and, at same time, to explore a large variety of possible shapes. Figure 7 shows the two “extreme” hull deformations, obtained setting all the parameters equal to the lower and upper bound of the space, respectively.
The FFD deformation of the hull points has been extended to the nodes of the volumetric grid for the CFD simulations making use of the Beckert-Wendland radial basis function kernel [55], defined as follows
φ j ( | | x x j | | ) = 1 | | x x j | | R + 4 1 + 4 | | x x j | | R ,
where R > 0 is a prescribed finite radius and the ( · ) + symbol indicates the positive part.
The output of the OpenFOAM library checkMesh utility has been used to assess the quality of the grids obtained with the combined FFD/RBF methodology. Figure 8 presents some of the main quality indicators of the 200 meshes generated for the present campaign, as computed by checkMesh. In particular, the indicators considered are minimum face area (top left plot), minimum cell volume (top right plot), maximum mesh non-orthogonality (bottom left plot) and average mesh non-orthogonality (bottom right plot). In all the diagrams, the vertical axis refers to the mesh quality indicator considered, while the variable associated with the horizontal axis is the index corresponding to each of the 200 volumetric meshes produced for the simulation campaign.
The minimum face area and minimum cell volume results indicate that the morphing procedure does not produce negative cells or faces which would impair the simulations. In fact, the average of both indicators across the 200 grids produced is extremely close to the corresponding value of the original grid. The lowest value of minimum face area observed in the 200 grids generated is less than 0.1 % off the original value, while the lowest value of minimum cell volume observed is merely 0.01 % off the original mesh minimum cell volume. Such trend is confirmed by the maximum non-orthogonality values reported in the bottom left diagram. In the plot, is possible to appreciate that the average over the 200 grids produced falls exactly on value of the original mesh, and the highest difference with respect to the original mesh non-orthogonality is merely 0.05 % . These values ensured that all the simulations in the present campaign could be completed in fully automated fashion without crashes were reported or significant issues were observed. The results reported in the bottom right plot indicate that the effect of the mesh morphing algorithm proposed is that of increasing the grid average non-orthogonality values. This is somewhat expected, as the original volumetric grid in this work was generated making use of the snappyHexMesh tool of the OpenFOAM library. In such framework, most of the cells in the internal regions of the domain are substantially the result of an octree refinement of an original block mesh aligned with the coordinate axes. It is clear that the RBF procedure described in Section 2 does quite clearly alter in a non negligible way the orthogonal angles of a portion of the hexahedral cells produced by snappyHexMesh. Yet, the average increase in the average mesh non-orthogonality index is 2 % , while the maximum increase observed is 7.2 % , which are values that should not significantly affect the results of the simulations.

5.2. Reduced Order Model Construction

We set the full order model in scale 1:59.407, keeping it unaltered from the original work mainly for validation purpose. The computational domain, that is a parallelepiped of dimension [ 26 , 16 ] × [ 19 , 0 ] × [ 16 , 4 ] along x , y and z directions is discretized in 8.5 × 10 5 cells, with anisotropic vertical refinements located particular in the free-surface region, in order to avoid a too diffusive treatment of the VOF variable. Boundaries of such domain are imposed as follows:
  • at the inlet we set constant velocity, fixed flux condition for the pressure and a fixed profile for the VOF variable;
  • at the outlet we set constant average velocity, zero-gradient condition for the pressure and variable height flow rate condition for VOF variable;
  • at the bottom and lateral planes, we impose symmetric conditions for all the quantities;
  • at the top plane, we set a pressure inlet outlet velocity condition for the velocity and nil pressure; VOF variable is fixed to 1 (air);
  • at the hull surface, we impose no-slip condition for velocity, fixed flux condition for the pressure and zero-gradient condition for VOF variable.
The adopted solver is interFoam, which is able to solve the Navier Stokes equations for two incompressible, isothermal immiscible fluids. Time discretization uses a first order implicit scheme with local-step, since we are interested to the steady solution. For the spatial discretization, we apply a Gaussian integration using second order upwind scheme for divergence operators and linear interpolation for gradient and laplacian operator. By imposing a inlet velocity of 1.668 m / s , the Froude number is around 0.22 . The time required to converge to the steady solution within such setting on a parallel machine (32 processors) is approximately 2 h.
For the construction of the reduced order model, we randomly sample the parametric space with uniform distribution. We performed 203 simulations with the full order model, collecting the corresponding pressure and shear stress distributions (the latter implicitly containing the distribution of the VOF variable) over the hull surface. Thus, only the surface fields are considered at the reduced level. We then flatten the shear stress vector field in order to construct two snapshots matrices, one for the pressure and one for the stress. Both are then decomposed using POD technique. The number of modes considered is fixed to 20. Approximating the manifold with the GPR method, we obtain two different POD-GPR model that approximate the pressure field and the shear stress field. Such quantities are used for the computation of the objective function during the optimization procedure.
Even if the difference of hardware used for full order model simulations and for reduced order approximation limits the possible speedup obtained—a HPC facilities versus an ordinary personal computer—, we achieve satisfactory computational gain. In fact, whereas the FOM lasts approximately two hours, the ROM approximation only consisting in two distribution queries and two matrix multiplications, takes less than 1 s in a single-processor environment. Such results are very effective in the framework of an iterative process, as the optimization pipeline here proposed. The overall time is in fact mainly constituted by the initial FOM simulations needed for the offline database, while the ROM approximation can be considered negligible from the computational point of view. Moreover, it can be performed on significantly less powerful machines.
Adopting data-driven methodologies rather than projection-based ones has different advantages which we have already discussed, but shows also some drawback in the error bounding. For an a posteriori quantification of the ROM accuracy we need then to validate the approximated optimal result by carrying out a FOM simulation. We remark that we consider the output of such simulation as truth solution. This requires an additional computational cost, but allow also for an effective refinement of the ROM. Once a geometrical configuration is validated in such fashion, depending on the error observed we can add this last snapshot to the database and re-build the ROMs.

5.3. Optimization Procedure

We first define the objective function we applied to the optimization procedure. The quantity to minimize is the total resistance coefficient C t , which is defined as
min μ C t min μ Ω ( μ ) τ x ρ p n x 1 2 ρ V 2 S ,
where τ x is the x-component of the shear stress, ρ is the fluid density, p indicates the pressure, n x the x-component of the surface normal, V and S = Δ 2 / 3 the reference fluid velocity and the reference surface, respectively. As reported, the CFD simulations have been carried out in fixed sink and trim conditions. Thus, the specific reference surface used to obtain C t has been selected to penalize hulls obtaining resistance gains through immersed volume reduction. All the geometrical quantities, as well as the normals and the reference surface depend by the imposed deformation. Thus, to evaluate the C t for any design, we deform the hull surface using the FFD map, then project the ROM approximated fields—pressure and shear stress—on it to numerically compute the integral defined in Equation (15).
Regarding the ASGA hyperparameters, we set the probability of crossover and mutation as P C = P M = 0.5 . For each solutions database we perform an optimization run with ASGA composed by 150 generations, with an initial random population of 100 individuals and an offspring of 20 individuals. The number of points returned by the AS back mapping is B = 2 , while the dimension of the AS is set to 1 for every population. The covariance matrix for the active subspace computation is approximated using local linear models [45].
For each optimum found by ASGA we run a new high-fidelity simulation for validating the approximated C t , adding the high-fidelity snapshots to the database in order to refine the POD-GPR model. In Figure 9 we show the comparison of all the runs. The third and last optimization reached a reduction of ∼1.4% of the C t coefficient compared to the original shape.
Figure 10 presents the frontal sections of the optimal shape compared to the undeformed one, showing a volumetric increment in the frontal part which balances the reduction near the central zone. The a posteriori validation confirmed the positive trend: the C t coefficient of the optimal shape is 1.2 % less, with a relative error of the ROM model of 0.18 % . As is appreciable in Figure 10, the optimal hull has a wider section in the region immediately downstream with respect to the bulbous bow, while it appears slightly narrower in the middle ship sections. The immersed volume of the optimized hull is only 0.08 % different from that of the original hull, which suggests that the C t reduction obtained is the result of a total resistance reduction. A possible interpretation of such a resistance decrease is that having a more streamlined hull along the longitudinal direction, is likely able to reduce the extent and dimension of the separation bubble located on the side of the bulbous bow, and corresponding to the dark blue strip visible in the wall shear stress contours presented in Figure 11 and Figure 12. As a consequence, the optimal hull presents slightly lower pressures with respect to the original hull, in the region located downstream of the bulbous bow. Such a minimal reduction is hardly noticeable in the pressure contour plots presented in Figure 13 and Figure 14. More appreciable differences are visible instead in the free surface elevation plot presented in Figure 15. Reducing the extent of the aforementioned detachment bubble, the shape modification leading to the optimal hull has the effect of moving forward the trough which follows the bow. This indicates that the pressures in the bow region are reduced, which results in a net decrease of the resistance pressure component. In fact, this leads to a 4.92 % reduction in the pressure component of the resistance, against a more modest 0.55 % reduction of viscous resistance. Yet, considering that the latter component accounts for approximately 83 % of the total resistance, this translates into the 1.2 % reduction reported. Finally, to exclude the possibility that the differences observed in the total resistance coefficient values are a result of possible discretization error due to the mesh morphing procedure, we report that the average and maximum values of wall y + of the optimized hull do not significantly differ from those obtained with the original one. The average and maximum wall y + values for the original hull simulation are 6.18426 and 99.5631 , respectively, while the corresponding average and maximum values for the optimized hull are 6.19071 and 99.6255 , respectively. We point out that the y + maxima here reported for the DTC tutorial appear outside of the range prescribed for the turbulence model here used. Yet, the accuracy of the DTC tutorial results suggests that maxima y + is likely located outside the water. In fact, considering the small density of air with respect to water, the impact of the resulting inaccurate estimation of surface derivatives is minimal.
We remark that the POD-GPR model approximates the distribution of the output of interest, not the objective function—which is computed using the predicted fields. For this reason, we can also compare the pressure and shear stresses over the optimal hull with respect to the undeformed one. Figure 11 and Figure 13 present the graphical investigations about the ROM approximation error distribution over the undeformed hull, both for pressure and stresses distributions. For a more realistic comparison, we specify that the FOM snapshots referring to the undeformed geometry has been removed from the database, emulating the approximation any untested parameter. We proceed in the same way also for the optimal shape (Figure 12 and Figure 14), not only to measure the accuracy of the POD-GPR model, but also for investigating the reasons of the C t reduction from a physical perspective. The absolute error is quite small, but it is possible to note that for both the fields it is mainly concentrated along the free-surface.
Comparing the original hull with the optimal one we emphasize that the optimal shape seems to be able to slightly reduce the height of the wave created by its body, inducing a reduction of the wet surface. The friction resistance computed as the integral of the x component of shear stresses over the two hulls shows in fact this marginal gain: the 12.76 N of the original ship becomes 12.69 N in the optimal configuration. However, the main contribution of the resistance reduction comes from the pressure resistance. While in the original shape we measure 2.64 N , in the optimized such quantity decreases to 2.51 N .

6. Conclusions

In this work we presented a complete numerical pipeline for the hull shape design optimization of the DTC benchmark hull. We proposed a self-learning geometrical deformation technique, where different morphing methods are coupled together to propagate surface deformations to volumetric meshes. Though in this work we used a FFD approach for the CAD modifications, we emphasize that our methodology can exploit any surface deformation. The optimization procedure is based on a coupling between active subspaces and genetic algorithm, called ASGA. For the evaluation of the total resistance coefficient for new untested parameters we exploits the non-intrusive data driven reduced order method called POD-GPR. This results in a great computational saving for the computation of the pressure and viscous forces fields, while preserving a good accuracy. We performed 3 optimization runs, with high-fidelity validation of the approximated optimum and enrichment of the solutions database to increase the accuracy of the ROM in its neighborhood. We obtained a reduction of the total resistance coefficient equal to 1.2 % with respect to the original reference hull.
In the future, further investigations will be carried out to study a dynamic selection of the active subspace dimension, and a varying number of points returned by the back mapping procedure. Further improvements in the shape parameterization algorithms could be obtained improving the efficiency of the RBF weights computation. This could be obtained with a smarter selection of the RBF control points or, in a more invasive fashion, by resorting to fast algorithms—such as Fast Multipole Method—for the computation of the control points mutual distances.

Author Contributions

Methodology, N.D., M.T., A.M., G.R.; software, N.D., M.T., A.M.; investigation, N.D., M.T., A.M.; writing—original draft, N.D., M.T., A.M.; writing—review and editing, N.D., M.T., A.M., G.R.; visualization, N.D., M.T., A.M.; supervision, G.R. All authors have read and agreed to the published version of the manuscript.


This work was partially supported by an industrial Ph.D. grant sponsored by Fincantieri S.p.A., and partially funded by the project UBE2-“Underwater blue efficiency 2” funded by Regione FVG, POR-FESR 2014-2020, Piano Operativo Regionale Fondo Europeo per lo Sviluppo Regionale. It was also partially supported by European Union Funding for Research and Innovation— Horizon 2020 Program—in the framework of European Research Council Executive Agency: H2020 ERC CoG 2015 AROMA-CFD project 681447 “Advanced Reduced Order Methods with Applications in Computational Fluid Dynamics” P.I. Gianluigi Rozza.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.


The following abbreviations are used in this manuscript:
ASActive subspaces
ASGAActive subspaces genetic algorithm
CADComputer-aided design
CFDComputational fluid dynamics
FFDFree form deformation
FOMFull order model
GAGenetic algorithm
GPRGaussian process regression
HPCHigh performance computing
PDEPartial differential equation
PODProper orthogonal decomposition
POD-GPRProper orthogonal decomposition with Gaussian process regression
RBFRadial basis functions
RANSReynolds averaged Navier–Stokes
ROMReduced order method
STLStereolithography tesselation language
VOFVolume of fluid


  1. Salmoiraghi, F.; Ballarin, F.; Corsi, G.; Mola, A.; Tezzele, M.; Rozza, G. Advances in geometrical parametrization and reduced order models and methods for computational fluid dynamics problems in applied sciences and engineering: Overview and perspectives. In Proceedings of the ECCOMAS Congress 2016—7th European Congress on Computational Methods in Applied Sciences and Engineering, Crete, Greece, 5–10 June 2016; pp. 1013–1031. [Google Scholar]
  2. Rozza, G.; Malik, M.H.; Demo, N.; Tezzele, M.; Girfoglio, M.; Stabile, G.; Mola, A. Advances in Reduced Order Methods for Parametric Industrial Problems in Computational Fluid Dynamics. In Proceedings of the ECCOMAS ECFD 7—6th European Conference on Computational Mechanics (ECCM 6) and 7th European Conference on Computational Fluid Dynamics (ECFD 7); Owen, R., de Borst, R., Reese, J., Chris, P., Eds.; ECCOMAS: Glasgow, UK, 2018; pp. 59–76. [Google Scholar]
  3. Demo, N.; Tezzele, M.; Gustin, G.; Lavini, G.; Rozza, G. Shape optimization by means of proper orthogonal decomposition and dynamic mode decomposition. In Proceedings of the Technology and Science for the Ships of the Future: Proceedings of NAV 2018: 19th International Conference on Ship & Maritime Research, 20–22 June 2018; IOS Press: Amsterdam, The Netherlands, 2018; pp. 212–219. [Google Scholar]
  4. Demo, N.; Ortali, G.; Gustin, G.; Rozza, G.; Lavini, G. An efficient computational framework for naval shape design and optimization problems by means of data-driven reduced order modeling techniques. Boll. Dell’Unione Mat. Ital. 2020, 1–20. [Google Scholar] [CrossRef]
  5. Tezzele, M.; Salmoiraghi, F.; Mola, A.; Rozza, G. Dimension reduction in heterogeneous parametric spaces with application to naval engineering shape design problems. Adv. Model. Simul. Eng. Sci. 2018, 5, 25. [Google Scholar] [CrossRef] [PubMed][Green Version]
  6. Demo, N.; Tezzele, M.; Mola, A.; Rozza, G. An efficient shape parametrisation by free-form deformation enhanced by active subspace for hull hydrodynamic ship design problems in open source environment. In Proceedings of the ISOPE 2018: The 28th International Ocean and Polar Engineering Conference, Sapporo, Japan, 10–15 June 2018; Volume 3, pp. 565–572. [Google Scholar]
  7. Demo, N.; Tezzele, M.; Mola, A.; Rozza, G. A complete data-driven framework for the efficient solution of parametric shape design and optimisation in naval engineering problems. In Proceedings of the MARINE 2019: VIII International Conference on Computational Methods in Marine Engineering, Gothenburg, Sweden, 13–15 May 2019; Bensow, R., Ringsberg, J., Eds.; European Community on Computational Methods in Applied Sciences: Gothenburg, Sweden, 2019; pp. 111–121. [Google Scholar]
  8. Tezzele, M.; Demo, N.; Rozza, G. Shape optimization through proper orthogonal decomposition with interpolation and dynamic mode decomposition enhanced by active subspaces. In Proceedings of the MARINE 2019: VIII International Conference on Computational Methods in Marine Engineering, Gothenburg, Sweden, 13–15 May 2019; Bensow, R., Ringsberg, J., Eds.; European Community on Computational Methods in Applied Sciences: Gothenburg, Sweden, 2019; pp. 122–133. [Google Scholar]
  9. Villa, D.; Gaggero, S.; Coppede, A.; Vernengo, G. Parametric hull shape variations by Reduced Order Model based geometric transformation. Ocean. Eng. 2020, 216, 107826. [Google Scholar] [CrossRef]
  10. Diez, M.; Campana, E.F.; Stern, F. Design-space dimensionality reduction in shape optimization by Karhunen–Loève expansion. Comput. Methods Appl. Mech. Eng. 2015, 283, 1525–1544. [Google Scholar] [CrossRef]
  11. Serani, A.; Campana, E.F.; Diez, M.; Stern, F. Towards augmented design-space exploration via combined geometry and physics based Karhunen-Loève expansion. In Proceedings of the 18th AIAA/ISSMO Multidisciplinary Analysis and Optimization Conference, Denver, CO, USA, 5–9 June 2017; p. 3665. [Google Scholar]
  12. Mola, A.; Tezzele, M.; Gadalla, M.; Valdenazzi, F.; Grassi, D.; Padovan, R.; Rozza, G. Efficient reduction in shape parameter space dimension for ship propeller blade design. In Proceedings of the MARINE 2019: VIII International Conference on Computational Methods in Marine Engineering, Göteborg, Sweden, 13–15 May 2019; Bensow, R., Ringsberg, J., Eds.; pp. 201–212. [Google Scholar]
  13. Gaggero, S.; Vernengo, G.; Villa, D.; Bonfiglio, L. A reduced order approach for optimal design of efficient marine propellers. Ships Offshore Struct. 2020, 15, 200–214. [Google Scholar] [CrossRef]
  14. Gadalla, M.; Cianferra, M.; Tezzele, M.; Stabile, G.; Mola, A.; Rozza, G. On the comparison of LES data-driven reduced order approaches for hydroacoustic analysis. Comput. Fluids 2021, 216, 104819. [Google Scholar] [CrossRef]
  15. Jeong, K.L.; Jeong, S.M. A Mesh Deformation Method for CFD-Based Hull form Optimization. J. Mar. Sci. Eng. 2020, 8, 473. [Google Scholar] [CrossRef]
  16. Demo, N.; Tezzele, M.; Rozza, G. A supervised learning approach involving active subspaces for an efficient genetic algorithm in high-dimensional optimization problems. arXiv 2020, arXiv:2006.07282. [Google Scholar]
  17. Tezzele, M.; Demo, N.; Mola, A.; Rozza, G. PyGeM: Python Geometrical Morphing. In Software Impacts; Elsevier: Amsterdam, The Netherlands, 2020; Volume 7, p. 100047. [Google Scholar] [CrossRef]
  18. Romor, F.; Tezzele, M.; Rozza, G. ATHENA: Advanced Techniques for High dimensional parameter spaces to Enhance Numerical Analysis. 2020; Submitted. [Google Scholar]
  19. Demo, N.; Tezzele, M.; Rozza, G. EZyRB: Easy Reduced Basis method. J. Open Source Softw. 2018, 3, 661. [Google Scholar] [CrossRef][Green Version]
  20. GPy. GPy: A Gaussian Process Framework in Python. 2012. Available online: (accessed on 1 January 2020).
  21. Moctar, O.E.; Shigunov, V.; Zorn, T. Duisburg Test Case: Post-panamax container ship for benchmarking. Ship Technol. Res. 2012, 59, 50–64. [Google Scholar] [CrossRef]
  22. Sederberg, T.; Parry, S. Free-Form Deformation of solid geometric models. In Proceedings of the SIGGRAPH—Special Interest Group on GRAPHics and Interactive Techniques; SIGGRAPH: Dallas, TX, USA, 1986; pp. 151–159. Available online: (accessed on 1 January 2020).
  23. Lassila, T.; Rozza, G. Parametric free-form shape design with PDE models and reduced basis method. Comput. Methods Appl. Mech. Eng. 2010, 199, 1583–1592. [Google Scholar] [CrossRef][Green Version]
  24. Sieger, D.; Menzel, S.; Botsch, M. On shape deformation techniques for simulation-based design optimization. In New Challenges in Grid Generation and Adaptivity for Scientific Computing; Springer: Berlin/Heidelberg, Germany, 2015; pp. 281–303. [Google Scholar]
  25. OpenCFD. OpenFOAM—The Open Source CFD Toolbox—User’s Guide, 6th ed.; OpenCFD Ltd.: London, UK, 2018. [Google Scholar]
  26. Hirt, C.; Nichols, B. Volume of fluid (VOF) method for the dynamics of free boundaries. J. Comput. Phys. 1981, 39, 201–225. [Google Scholar] [CrossRef]
  27. Menter, F. Zonal two equation k-w turbulence models for aerodynamic flows. In Proceedings of the 23rd Fluid Dynamics, Plasmadynamics, and Lasers Conference, Orlando, FL, USA, 6–9 July 1993; p. 2906. [Google Scholar] [CrossRef]
  28. Volkwein, S. Proper Orthogonal Decomposition: Theory and Reduced-Order Modelling. In Lecture Notes; University of Konstanz: Konstanz, Germany, 2012. [Google Scholar]
  29. Strazzullo, M.; Ballarin, F.; Rozza, G. POD–Galerkin Model Order Reduction for Parametrized Time Dependent Linear Quadratic Optimal Control Problems in Saddle Point Formulation. J. Sci. Comput. 2020, 83, 55. [Google Scholar] [CrossRef]
  30. Girfoglio, M.; Quaini, A.; Rozza, G. A POD-Galerkin reduced order model for a LES filtering approach. arXiv 2020, arXiv:2009.13593. [Google Scholar]
  31. Hesthaven, J.S.; Rozza, G.; Stamm, B. Certified Reduced Basis Methods for Parametrized Partial Differential Equations, 1st ed.; Springer Briefs in Mathematics; Springer: Cham, Switzerland, 2015; p. 135. [Google Scholar] [CrossRef][Green Version]
  32. Hijazi, S.; Stabile, G.; Mola, A.; Rozza, G. Data-Driven POD–Galerkin reduced order model for turbulent flows. J. Comput. Phys. 2020, 416, 109513. [Google Scholar] [CrossRef]
  33. Georgaka, S.; Stabile, G.; Star, K.; Rozza, G.; Bluck, M.J. A hybrid reduced order method for modelling turbulent heat transfer problems. Comput. Fluids 2020, 208, 104615. [Google Scholar] [CrossRef]
  34. Salmoiraghi, F.; Scardigli, A.; Telib, H.; Rozza, G. Free-form deformation, mesh morphing and reduced-order methods: Enablers for efficient aerodynamic shape optimisation. Int. J. Comput. Fluid Dyn. 2018, 32, 233–247. [Google Scholar] [CrossRef]
  35. Garotta, F.; Demo, N.; Tezzele, M.; Carraturo, M.; Reali, A.; Rozza, G. Reduced Order Isogeometric Analysis Approach for PDEs in Parametrized Domains. In Quantification of Uncertainty: Improving Efficiency and Technology: QUIET Selected Contributions; D’Elia, M., Gunzburger, M., Rozza, G., Eds.; Lecture Notes in Computational Science and Engineering; Springer: Cham, Switzerland, 2020; Volume 137, pp. 153–170. [Google Scholar] [CrossRef]
  36. Tezzele, M.; Demo, N.; Mola, A.; Rozza, G. An integrated data-driven computational pipeline with model order reduction for industrial and applied mathematics. Spec. Vol. ECMI 2020, in press. [Google Scholar]
  37. Wang, Q.; Hesthaven, J.S.; Ray, D. Non-intrusive reduced order modeling of unsteady flows using artificial neural networks with application to a combustion problem. J. Comput. Phys. 2019, 384, 289–307. [Google Scholar] [CrossRef][Green Version]
  38. Ortali, G.; Demo, N.; Rozza, G. Gaussian process approach within a data-driven POD framework for fluid dynamics engineering problems. arXiv 2020, arXiv:2012.01989. [Google Scholar]
  39. Guo, M.; Hesthaven, J.S. Reduced order modeling for nonlinear structural analysis using Gaussian process regression. Comput. Methods Appl. Mech. Eng. 2018, 341, 807–826. [Google Scholar] [CrossRef]
  40. Williams, C.K.; Rasmussen, C.E. Gaussian Processes for Machine Learning; Adaptive Computation and Machine Learning Series; MIT Press: Cambridge, MA, USA, 2006. [Google Scholar]
  41. Holland, J.H. Genetic algorithms and the optimal allocation of trials. SIAM J. Comput. 1973, 2, 88–105. [Google Scholar] [CrossRef]
  42. Katoch, S.; Chauhan, S.S.; Kumar, V. A review on genetic algorithm: Past, present, and future. Multimed. Tools Appl. 2020, 1–36. [Google Scholar] [CrossRef]
  43. El-Mihoub, T.A.; Hopgood, A.A.; Nolle, L.; Battersby, A. Hybrid Genetic Algorithms: A Review. Eng. Lett. 2006, 13, 124–137. [Google Scholar]
  44. Sivaraj, R.; Ravichandran, T. A review of selection methods in genetic algorithm. Int. J. Eng. Sci. Technol. 2011, 3, 3792–3797. [Google Scholar]
  45. Constantine, P.G. Active Subspaces: Emerging Ideas for Dimension Reduction in Parameter Studies; SIAM Spotlights: Philadelphia, PA, USA, 2015; Volume 2. [Google Scholar]
  46. Zahm, O.; Constantine, P.G.; Prieur, C.; Marzouk, Y.M. Gradient-based dimension reduction of multivariate vector-valued functions. SIAM J. Sci. Comput. 2020, 42, A534–A558. [Google Scholar] [CrossRef][Green Version]
  47. Rozza, G.; Hess, M.; Stabile, G.; Tezzele, M.; Ballarin, F. Basic Ideas and Tools for Projection-Based Model Reduction of Parametric Partial Differential Equations. In Model Order Reduction; Benner, P., Grivet-Talocia, S., Quarteroni, A., Rozza, G., Schilders, W.H.A., Silveira, L.M., Eds.; De Gruyter: Berlin, Germany; Boston, MA, USA, 2020; Volume 2, Chapter 1; pp. 1–47. [Google Scholar] [CrossRef]
  48. Romor, F.; Tezzele, M.; Lario, A.; Rozza, G. Kernel-based Active Subspaces with application to CFD parametric problems using Discontinuous Galerkin method. arXiv 2020, arXiv:2008.12083. [Google Scholar]
  49. Tezzele, M.; Ballarin, F.; Rozza, G. Combined parameter and model reduction of cardiovascular problems by means of active subspaces and POD-Galerkin methods. In Mathematical and Numerical Modeling of the Cardiovascular System and Applications; Boffi, D., Pavarino, L.F., Rozza, G., Scacchi, S., Vergara, C., Eds.; SEMA-SIMAI Series; Springer: Berlin/Heidelberg, Germany, 2018; Volume 16, pp. 185–207. [Google Scholar] [CrossRef][Green Version]
  50. Demo, N.; Tezzele, M.; Rozza, G. A non-intrusive approach for reconstruction of POD modal coefficients through active subspaces. C. R. MÉcanique L’AcadÉmie Des. Sci. 2019, 347, 873–881. [Google Scholar] [CrossRef]
  51. Tezzele, M.; Demo, N.; Stabile, G.; Mola, A.; Rozza, G. Enhancing CFD predictions in shape design problems by model and parameter space reduction. Adv. Model. Simul. Eng. Sci. 2020, 7. [Google Scholar] [CrossRef]
  52. Romor, F.; Tezzele, M.; Rozza, G. Multi-fidelity data fusion for the approximation of scalar functions with low intrinsic dimensionality through active subspaces. arXiv 2020, arXiv:2010.08349. [Google Scholar]
  53. Liu, B.; Lin, G. High-Dimensional Nonlinear Multi-Fidelity Model with Gradient-Free Active Subspace Method. Commun. Comput. Phys. 2020, 28, 1937–1969. [Google Scholar] [CrossRef]
  54. Fortin, F.A.; De Rainville, F.M.; Gardner, M.A.; Parizeau, M.; Gagné, C. DEAP: Evolutionary algorithms made easy. J. Mach. Learn. Res. 2012, 13, 2171–2175. [Google Scholar]
  55. Beckert, A.; Wendland, H. Multivariate interpolation for fluid-structure-interaction problems using radial basis functions. Aerosp. Sci. Technol. 2001, 5, 125–134. [Google Scholar] [CrossRef]
Freely available at (accessed date 1 January 2020).
Imposed for y symmetry conservation.
Figure 1. Illustration of the key steps of the proposed optimization pipeline with the methods and the softwares used.
Figure 1. Illustration of the key steps of the proposed optimization pipeline with the methods and the softwares used.
Jmse 09 00185 g001
Figure 2. Side view (left) and front view (right) of a typical container ship hull bow region.
Figure 2. Side view (left) and front view (right) of a typical container ship hull bow region.
Jmse 09 00185 g002
Figure 3. A two dimensional sketch of the free form deformation (FFD) procedure applied to the surface of a container ship hull, including the three transformations ψ , T ^ ( · , μ ) and ψ 1 composing the process.
Figure 3. A two dimensional sketch of the free form deformation (FFD) procedure applied to the surface of a container ship hull, including the three transformations ψ , T ^ ( · , μ ) and ψ 1 composing the process.
Jmse 09 00185 g003
Figure 4. A section view example illustrating the radial basis functions (RBF) morphing steps carried out to propagate the hull surface deformations to a volumetric mesh for ship hydrodynamics simulations.
Figure 4. A section view example illustrating the radial basis functions (RBF) morphing steps carried out to propagate the hull surface deformations to a volumetric mesh for ship hydrodynamics simulations.
Jmse 09 00185 g004
Figure 5. Active subspaces-based genetic algorithm scheme. The main step of the classical genetic algorithm (GA) are depicted from top to bottom. The yellow boxes represent projections onto and from lower dimension active subspace. Thus, they are specific to ASGA.
Figure 5. Active subspaces-based genetic algorithm scheme. The main step of the classical genetic algorithm (GA) are depicted from top to bottom. The yellow boxes represent projections onto and from lower dimension active subspace. Thus, they are specific to ASGA.
Jmse 09 00185 g005
Figure 6. The surface of the DTC hull. The highlighted sections divide the ship into 20 equispaced chunks at the free-surface level.
Figure 6. The surface of the DTC hull. The highlighted sections divide the ship into 20 equispaced chunks at the free-surface level.
Jmse 09 00185 g006
Figure 7. Visual examples of hull deformation with μ = [ 0.2 ] 10 (on left) and μ = [ 0.2 ] 10 (on right). The red surface refers to the deformed ships, while the blue one is the original hull.
Figure 7. Visual examples of hull deformation with μ = [ 0.2 ] 10 (on left) and μ = [ 0.2 ] 10 (on right). The red surface refers to the deformed ships, while the blue one is the original hull.
Jmse 09 00185 g007
Figure 8. Values of the main mesh quality indicators as reported by checkMesh utility of OpenFOAM library, as a function of the index corresponding to each of the 200 volumetric meshes produced for the simulation campaign.
Figure 8. Values of the main mesh quality indicators as reported by checkMesh utility of OpenFOAM library, as a function of the index corresponding to each of the 200 volumetric meshes produced for the simulation campaign.
Jmse 09 00185 g008
Figure 9. ASGA runs. The reduction of the C t is to be intended with respect to the undeformed reference hull.
Figure 9. ASGA runs. The reduction of the C t is to be intended with respect to the undeformed reference hull.
Jmse 09 00185 g009
Figure 10. The sections (from 10 to 20) of the original ship in blue and of the optimized one in red.
Figure 10. The sections (from 10 to 20) of the original ship in blue and of the optimized one in red.
Jmse 09 00185 g010
Figure 11. Distribution of the shear stresses measured in Pascal over the undeformed hull: the ull order model (FOM) validation (top) is compared to the reduced order model (ROM) approximation (middle) and the absolute error is shown (bottom).
Figure 11. Distribution of the shear stresses measured in Pascal over the undeformed hull: the ull order model (FOM) validation (top) is compared to the reduced order model (ROM) approximation (middle) and the absolute error is shown (bottom).
Jmse 09 00185 g011
Figure 12. Distribution of the shear stresses measured in Pascal over the optimal hull: the FOM validation (top) is compared to the ROM approximation (middle) and the absolute error is shown (bottom).
Figure 12. Distribution of the shear stresses measured in Pascal over the optimal hull: the FOM validation (top) is compared to the ROM approximation (middle) and the absolute error is shown (bottom).
Jmse 09 00185 g012
Figure 13. Distribution of pressure measured in Pascal over the undeformed hull: the FOM validation (left) is compared to the ROM approximation (center) and the absolute error is shown (right).
Figure 13. Distribution of pressure measured in Pascal over the undeformed hull: the FOM validation (left) is compared to the ROM approximation (center) and the absolute error is shown (right).
Jmse 09 00185 g013
Figure 14. Distribution of the pressure measured in Pascal over the optimal hull: the FOM validation (left) is compared to the ROM approximation (center) and the absolute error is shown (right).
Figure 14. Distribution of the pressure measured in Pascal over the optimal hull: the FOM validation (left) is compared to the ROM approximation (center) and the absolute error is shown (right).
Jmse 09 00185 g014
Figure 15. Contours of free surface elevation field around the original hull (top half) and optimal (bottom half).
Figure 15. Contours of free surface elevation field around the original hull (top half) and optimal (bottom half).
Jmse 09 00185 g015
Table 1. Main quantities of the DTC at scale model.
Table 1. Main quantities of the DTC at scale model.
Length between perpendiculars L p p [ m ] 5.976
Waterline breadth B w l [ m ] 0.859
Draught midships T m [ m ] 0.244
Volume displacement V [ m 3 ] 0.827
Block coefficient C B 0.661
Table 2. FFD control points displacement. The indices refer to the relative position of the points within the lattice. The layers order, which starts from 0, is maintained consistent with the reference system. The intervals indicated by the—symbol are inclusive.
Table 2. FFD control points displacement. The indices refer to the relative position of the points within the lattice. The layers order, which starts from 0, is maintained consistent with the reference system. The intervals indicated by the—symbol are inclusive.
Lattice PointsParameterDisplacement Direction
Index xIndex yIndex z
202–4 μ 0 x
2102–4 μ 0 x
302–4 μ 1 x
3102–4 μ 1 x
402–4 μ 2 x
4102–4 μ 2 x
42–42 μ 3 y
46–82 μ 3 2y
42–43 μ 4 y
46–83 μ 4 2y
42–44 μ 5 y
46–84 μ 5 2y
32–42 μ 6 y
36–82 μ 6 2y
52–43 μ 7 y
56–83 μ 7 2y
40–12 μ 8 z
49–102 μ 8 z
503 μ 9 z
5103 μ 9 z
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Demo, N.; Tezzele, M.; Mola, A.; Rozza, G. Hull Shape Design Optimization with Parameter Space and Model Reductions, and Self-Learning Mesh Morphing. J. Mar. Sci. Eng. 2021, 9, 185.

AMA Style

Demo N, Tezzele M, Mola A, Rozza G. Hull Shape Design Optimization with Parameter Space and Model Reductions, and Self-Learning Mesh Morphing. Journal of Marine Science and Engineering. 2021; 9(2):185.

Chicago/Turabian Style

Demo, Nicola, Marco Tezzele, Andrea Mola, and Gianluigi Rozza. 2021. "Hull Shape Design Optimization with Parameter Space and Model Reductions, and Self-Learning Mesh Morphing" Journal of Marine Science and Engineering 9, no. 2: 185.

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop