Abstract
A sequentially coupled shape and topology optimization framework is presented in which the outer geometry and the internal topological layout of beamtype structures are optimized simultaneously. The outer geometry of the beamtype structures is parametrically described by nonuniform rational Bsplines (NURBS), which guarantees a highly accurate description of the structural shape and enable an efficient control of the design domain with only a few control points. The computational efficiency of the coupled optimization approach is assured by applying a gradientbased optimization algorithm, for which the sensitivities are derived in closed form. The formulation of the coupled optimization approach is tailored toward 2.5D and full 3D representations of beam structures used in engineering applications. The 2.5D beam model, which has been taken from the literature, uses standard beam elements to simulate the beam response in the longitudinal direction, whereby the crosssectional properties of the beam elements are calculated from additional 2D finite element method (FEM) analyses. A comparison study of a cantilever beam problem subjected to pure shape optimization and pure topology optimization illustrates that the 2.5D and 3D beam models lead to similar shape and topology designs, but that the 2.5D beam model has a significantly higher computational efficiency. Specifically, the computational times for the 2.5D model are about a factor 70 (shape optimization) and 1.4 (topology optimization) lower than for the 3D model, which indicates that in the coupled optimization approach the optimization of the shape provides the largest contribution to the higher computational efficiency of the 2.5D model. The coupled shape and topology optimization analysis subsequently performed on the 2.5D cantilever beam model demonstrates that the specific order at which the alternating shape and topology optimization increments are performed in the staggered update procedure turns out to have some influence on the computational speed and the value of the minimal compliance computed. Despite these differences, the final beam structures following from the different staggered update procedures illustrate how shape and topology can be efficiently optimized in an integrated, coupled fashion.
Introduction
Beamtype structures are widely used as loadcarrying components in the fields of architectural, civil, aerospace and mechanical engineering, among others. Their structural performance can be optimized by minimizing the stresses and displacements generated under the applied loading and boundary conditions, thereby accounting for predefined design constraints on the geometry and the internal material distribution. On the one hand, this requires the application of shape optimization techniques [1, 7, 21, 26], in which the outer shape of the structure is parametrized and optimized using shape design variables, such as the spline curves applied for the geometrical description or the nodal coordinates of the underlying finite element method (FEM) model [15]. On the other hand, topology optimization may be applied to optimally place the material within a given design domain, which, for example, can be accomplished by using the socalled SIMP (Solid Isotropic Material with Penalization) approach [2, 18, 23]. In this method, the relative material density assigned to each finite element can take values between zero (a void) and unity (a solid) and is directly related to the element stiffness by means of a penalization factor. Correspondingly, the optimized material distribution can be found by minimizing the structural compliance within the design domain.
Due to the nature of the SIMP method, however, the optimization of the material distribution is bounded by the specific choice of the design domain. For obtaining more optimized solutions and to develop insight into the effect of the design domain on the topology optimization procedure, it is necessary that the design domain can vary during the process of topology optimization. This can be accomplished by a coupled shape and topology optimization approach. In addition, in the design of aeroelastic beamtype structures, such as wind turbine blades and aircraft wings, the aerodynamic performance (e.g., lift force or energy output) is usually considered to be the most important design objective [14, 17, 22]. Because the optimization of the aerodynamic performance requires a parametrization of the outer shape of the structure, a coupled shape and topology approach offers a useful tool to simultaneously optimize the aerodynamic and structural performances of aeroelastic beamtype structures. Accordingly, in the present communication, a coupled shape and topology optimization formulation is presented for 2.5D and 3D beam models, using the optimization framework recently presented in [30] as a basis. This optimization framework incorporates the shape design variables of the design domain in the SIMP topology optimization method, whereby the interactions between shape and topology variations of the design domain are taken into account through performing the corresponding optimization steps in a sequential manner using a socalled staggered update scheme. The optimization process is performed in a computationally efficient fashion by applying a gradientbased optimization algorithm.
Although shape and topology optimization of beamtype structures can be performed using 3D finite element models, for relatively slender beamtype structures, such as wind turbine blades, it is computationally more economical to use the reduced 2.5D approach proposed by [12], see also [3,4,5,6, 11]. In this approach, standard beam elements are employed to simulate the structural response in the longitudinal direction, whereby the crosssectional properties of the beam element are calculated from additional 2D FEM analyses. The present communication investigates the applicability and performance of 2.5D beam modeling in the context of coupled shape and topology optimization, by comparing the computational results and efficiency with those obtained from 3D beam models. The geometries of the 2.5D and 3D beam models are parametrically described using nonuniform rational Bsplines (NURBS) [19], which guarantees a highly accurate description of the shape boundaries by means of smooth basis functions with compact support and enables an efficient control of the design domain with only a few control points [15, 30]. In the comparison study of the 3D and 2.5D beam models, for simplicity, the loading applied in the boundary value problems considered is taken as independent of the beam outer shape. Nevertheless, it is emphasized that the presented optimization framework allows for a relatively straightforward incorporation of shapedependent loads and constraints. For example, the proposed optimization method has been recently applied for the aerostructural design of a horizontalaxis wind turbine (HAWT) rotor blade, thereby accounting for the shapedependent aerodynamic loads and rotor power coefficient [28].
The paper is organized as follows. Section 2 discusses the parametrization of the geometry design model by means of NURBS, thereby distinguishing between 1D curves, 2D surfaces and 3D solids. In Sect. 3, the structural analysis of 3D and 2.5D beam models is reviewed. The FEM formulations presented in this section are used as input for the derivation of the coupled shape and topology framework provided in Sects. 4 and 5, whereby Sect. 4 gives the general formulation and Sect. 5 presents the parameter sensitivities defining the gradientbased optimization algorithm. Subsequently, in Sect. 6, the optimization framework is applied in a comparison study of a cantilever beam problem modeled by 2.5D beam elements and 3D beam elements. Finally, Sect. 7 provides the main conclusions of the study.
Geometry design model
During the optimization procedure, an efficient control of the outer shape of the structure is enabled by using NURBS. Detailed information on the theory of NURBS can be found in [19]. In the present section, the formulation of the NURBS curves, surfaces, and solids is provided in matrix form for 1D, 2D and 3D design models, respectively, which will be subsequently used in Sect. 5 as input for the analytical derivation of the shape sensitivities.
NURBS curve
A NURBS curve is a piecewise polynomial curve composed of Bspline basis functions. The definition of such a basis function is based on a set of nondecreasing real numbers in a parametric space, defined by a socalled knot vector
where each real number \(\zeta _{k}\) reflects a knot with k being the knot index, l is the number of basis functions that comprises the Bspline, and r is the polynomial order of the Bspline. With the knot index k running from 1 to l, the Bspline basis functions \(L_{k,r}\) are defined recursively for an arbitrary value of \(\zeta \), i.e.,
and can be conveniently stored in a vector as
The socalled control points define the geometry of the structure, and their locations during the optimization procedure may change. Together with the corresponding weights, the control points are stored in a matrix as
where \(C_k \in \{X_{k}, Y_{k}, Z_{k} \}\), in which \(X_{k}\), \(Y_{k}\), \(Z_{k}\) with \(k=1,2,\ldots ,l\), are the x, y and zcoordinates of the control points and \(\omega _{k}\) is the corresponding weight. Accordingly, the coordinates of an arbitrary point \(\mathbf{p} =[x,y,z]^T\) of the NURBS curve are determined by
with the weights of the control points assembled as
NURBS surface
In order to construct a NURBS surface in a 2D parametric domain, the coordinates characterizing the basis functions are stored in two knot vectors, i.e.,
where i, j are the knot indexes, n, m are the number of basis functions and p, q are the polynomial orders. The basis functions \(N_{i,p}\) and \(M_{j,q}\) in the \(\xi \) and \(\eta \)directions can be obtained in a similar fashion as shown in Eq. (2). These basis functions are stored in the vectors \(\mathbf{N} _{\text{b}}\) and \(\mathbf{M} _{\text{b}}\) as
and
For generality, the 2D net of control points defining a NURBS surface is obtained here from the 3D grid of control points describing a NURBS solid. This is done by selecting a single layer of control points from the grid of control points describing the NURBS solid. Accordingly, by considering the directions of the knot vectors \(\varvec{\varXi }\), \(\varvec{H}\) and \(\varvec{Z}\) in the parametric domain to correspond to the x, y and zdirections in the physical domain, the net of control points becomes
with \(C_{i,j,k} \in \{ X_{i,j,k},Y_{i,j,k},Z_{i,j,k} \}\), where \(X_{i,j,k}\), \(Y_{i,j,k}\) and \(Z_{i,j,k}\) represent the x, y and zcoordinates of the control points, respectively. Here, the first two indices vary as \(i=1,2,\ldots ,n\), \(j=1,2,\ldots ,m\), while k is kept fixed as it refers to a specific layer of the 3D grid of control points. The resulting NURBS surface is defined by the tensor product of the 2D net of control points and the basis functions \(\mathbf{N} _{\text{b}}\) and \(\mathbf{M} _{\text{b}}\). As such, an arbitrary point \(\mathbf{p} \) of the NURBS surface can be calculated as
with the weights of the control points as
where \(k \in \{1,2,\ldots ,l \}\), and \(\mathbf{P} ^{\text {2D}}_{k,C}\) follows from Eq. (10).
NURBS solid
Although a NURBS solid can be defined in a similar fashion as the NURBS curve and surface, it is relatively straightforward to formulate the NURBS solid by applying projections of NURBS surfaces. Using the 2D control net, Eq. (10), and the NURBS surface basis functions \(\mathbf{N} _{\text{b}}\) and \(\mathbf{M} _{\text{b}}\) given by Eqs. (8) and (9), a matrix \(\mathbf{R} ^{\text {3D}}_C \) can be constructed as
where \(C \in \{X, Y, Z \}\) represents the x, y and zcoordinates of the control points. With Eq. (13), an arbitrary point \(\mathbf{p} \) of the NURBS solid is described by
with
where \(\varvec{\varOmega }^{\text {2D}}_k\) (with \(k=1,2,\ldots ,l\)) is defined by Eq. (12), and \(\mathbf{N} _{\text{b}}^{\text {T}}\), \(\mathbf{M} _{\text{b}}^{\text {T}}\) and \(\mathbf{L} _{\text{b}}^{\text {T}}\) are the basis functions in the three directions of the NURBS solid.
Structural analysis model
Consider the 3D beamtype structure shown in Fig. 1a, which will be used for demonstrating specific features of the shape and topology optimization procedure. The beam is modeled by means of the FEM, whereby two types of element discretization are adopted, namely (i) a discretization by 3D continuum elements, see Fig. 1b, and (ii) a discretization by 1D beam elements in the longitudinal direction of the beam, combined with additional 2D continuum elements for a detailed modeling of the crosssectional properties of a beam element, see Fig. 1c. For brevity, in the following these two types of discretization will be denoted as the “3D beam model” and the “2.5D beam model”, respectively.
The finite element discretizations for the 3D and 2.5D beam models are obtained by projecting a fixed, auxiliary mesh, defined in the parametric domain, onto the actual mesh in the physical domain, using Eqs. (5), (11), and (14) for 1D, 2D and 3D finite elements. This projection is schematically illustrated in Fig. 2, and enables obtaining an explicit relationship between the structural response of the beam structure and the parameters that control the geometry, i.e., the NURBS control points. Accordingly, analytical expressions can be derived for the parameter sensitivities governing the structural shape optimization, which will be presented in Sect. 5.
3D beam model
Given the knot vectors, the control points with their weights, and a fixed auxiliary mesh in the parametric domain, the discretization of the 3D finite element model is carried out by projecting the nodal coordinates \((\xi _n,\eta _n,\zeta _n)\) of the fixed, auxiliary mesh onto the nodal coordinates \((x_n,y_n,z_n)\) of the actual mesh in the physical domain, in correspondence with Eq. (14). Hence, for each isoparametric element e, its nodal coordinates can be cast into a vector:
where the coordinates \(\mathbf{p} _n\) of node n, with \(n=1,2,\ldots ,n_e\), are obtained from Eq. (14), with \(n_e\) the total number of nodes of element e. The location of an arbitrary point \(\hat{\mathbf{p }}_e=[x,y,z]^{\text {T}}\) within the finite element e can be obtained from an interpolation of the coordinates of the element nodes \(\bar{\mathbf{p }}_e\) as:
with
where \(N_n\), with \(n=1,2,\ldots ,n_e\), are the polynomial interpolation functions of the element, and \(\mathbf{I} _d\) represents the \(d \times d\) identity matrix, with d the number of degrees of freedom of the element node. By introducing the gradient operator \(\varvec{\partial }=[{\partial }/{\partial \xi _e},{\partial }/ {\partial \eta _e},{\partial }/{\partial \zeta _e}]^{\text {T}}\), the Jacobian matrix of element e follows as
Inserting Eq. (17) into Eq. (19), the Jacobian matrix \(\mathbf{J} _e\) can be directly expressed in terms of the nodal coordinates \(\bar{\mathbf{p }}_e\), i.e.,
with
where \(\bar{\mathbf{p }}_e\) is given by Eq. (16). When denoting the displacement vector for an arbitrary point of the structure as \(\mathbf{s} =[s_x,s_y,s_z ]^{\text {T}}\), the corresponding strain vector \(\varvec{\epsilon }=[ \epsilon _{xx}, \epsilon _{yy}, 2\epsilon _{xy}, 2\epsilon _{xz}, 2\epsilon _{yz}, \epsilon _{zz} ]^{\text {T}}\) can be calculated as \( \varvec{\epsilon }=\mathbf{B} \mathbf{s} \), with the matrix \(\mathbf{B} \) given by:
At the element level, the matrix \(\mathbf{B} _e\) can be expressed as [5]
with
where the index c refers to the column of the inverse of the Jacobian matrix, Eq. (20). Using Eqs. (16) to (24), the stiffness matrix \(\mathbf{k} _e\) of the isoparametric 3D element is computed as
with \(\mathbf{J} _e\) the determinant of the Jacobian matrix \(\mathbf{J} _e\). Here, the \(6 \times 6\) matrix \(\mathbf{Q} _e\) incorporates the constitutive properties of the element. In accordance with the SIMP approach used for topology optimization, the stiffness matrix is scaled by the relative density of the element via a powerlaw expression [2, 18, 23]
where \(\rho _e\) is the relative density of element e, p is a penalization factor with a typical value of 3 [2] that is also adopted in the present work, and \(\mathbf{Q} \) represents the constitutive behavior in a material point—taken here as linearelastic—in accordance with \(\varvec{\sigma }=\mathbf{Q} \varvec{\epsilon }\), with the stress given by \(\varvec{\sigma }=[ \sigma _{xx}, \sigma _{yy}, \sigma _{xy}, \sigma _{xz}, \sigma _{yz}, \sigma _{zz} ]^{\text {T}}\). Finally, the global stiffness matrix \(\mathbf{K} \) is found by assembling the element stiffness matrices:
with N the total number of elements and the sum operator representing the assembly procedure typically used in the finite element method. The global displacement vector \(\mathbf{u} \) is obtained by solving the system of equilibrium equations
where \(\mathbf{f} \) is the global force vector.
2.5D beam model
For the 2.5D beam model, standard 1D beam elements are used to discretize the beam in the longitudinal direction, while the crosssectional properties of the beam elements are calculated from additional 2D FEM analyses. In this section, the 2.5D FEM approach originally presented in [12] is reviewed, see also [3,4,5,6, 11] for more details; these expressions serve as input for the computation of the shape and topology sensitivities used in the gradientbased optimization algorithm, see Sect. 5.
Beam finite element model
In the beam FEM model, the deformations are described by translations \(\varvec{\chi }=[ \chi _x, \chi _y, \chi _z ]^{\text {T}}\) and rotations \(\varvec{\varphi }=[ \varphi _x, \varphi _y, \varphi _z ]^{\text {T}}\) of a crosssectional reference point. These deformations are grouped into a single vector as \(\mathbf{r} =[ \varvec{\chi }^{\text {T}}, \varvec{\varphi }^{\text {T}} ]^{\text {T}}\). In addition, the shear strains in the x and ydirections and the normal strain in the zdirection are assembled as \(\varvec{\tau }=[ \tau _x, \tau _y, \tau _z ]^{\text {T}}\), and the curvatures about the three directions are given by \(\varvec{\kappa }=[ \kappa _x, \kappa _y, \kappa _z ]^{\text {T}}\). The above two deformation measures can be assembled into a single vector as \(\varvec{\psi }=[ \varvec{\tau }^{\text {T}}, \varvec{\kappa }^{\text {T}} ]^{\text {T}}\). Accordingly, the straindisplacement relation becomes \(\varvec{\psi }=\bar{\mathbf{B }} \mathbf{r} \), with the operator \(\bar{\mathbf{B }}\) given by
with
Further, \(\mathbf{I} _6\) is the \(6\times 6\) identity matrix, \(\mathbf{0} _3\) is the \(3 \times 3\) matrix null matrix, and the zdirection corresponds to the longitudinal direction of the beam, see Fig. 1.
From the strains and curvatures, the normal force and shear forces \(\mathbf{T} =[ T_x, T_y, T_z ]^{\text {T}}\) and bending moment and torsional moments \(\mathbf{M} =[ M_x, M_y, M_z ]^{\text {T}}\) can be determined as follows:
with \(\varvec{\theta }=[ \mathbf{T} ^{\text {T}}, \mathbf{M} ^{\text {T}} ]^{\text {T}}\) and \(\mathbf{K} ^{\text {s}}\) representing the stiffness matrix of the beam cross section.
Analogous to Eq.(28) for a 3D beam model, the equilibrium equations for a 2.5D beam model are defined by
with
where the stiffness \(\mathbf{k} _e^{\text {b}},\) of the 1D beam element is computed as
Here, \(\bar{\mathbf{K }}\) is the global stiffness matrix, \(\bar{\mathbf{u }}\) contains the nodal displacements and rotations of the beam, \(\mathbf{N} _e\) includes the interpolation functions for the beam displacements and rotations, the operator \(\mathbf{B} _e\) for each element e is given by Eq. (29), and \(\bar{\mathbf{J }}_e\) represents the determinant of the Jacobian matrix, with \(\bar{\mathbf{J }}_e\) expressed as
where \(\partial z/\partial \zeta _e\) is calculated from Eq. (17) using the beam interpolation functions. The derivation of the crosssectional stiffness matrix \(\mathbf{K} ^{\text {s}}_e\) of the beam element, which appears in Eq. (34), is discussed in Sect. 3.2.2 below.
Crosssectional stiffness
The displacements \(\mathbf{s} \) of an arbitrary point of the beam cross section can be expressed in terms of the rigidbody displacements and rotations \(\mathbf{r} \) of the crosssectional reference point, complemented by the inplane and outofplane warping displacements \(\mathbf{s} ^{\text {w}}\) associated with the deformation of the cross section, i.e.,
with
where x, y, and z are the coordinates of the specific location in the cross section, with x and y defined with respect to the location of the crosssectional reference point. Using a FEM model for the cross section, the warping displacements \(\mathbf{s} ^{\text {w}}\) are discretized as
where \(\mathbf{N} \) contains the interpolation functions of the crosssectional finite element and \(\hat{\mathbf{u }}\) represents the vector with the nodal warping displacements of the element. As will be shown below, it is convenient to isolate the partial derivative terms \(\partial / \partial z\) in the straindisplacement relation, which is done by combining \( \varvec{\epsilon }=\mathbf{B} \mathbf{s} \) with Eq. (22), resulting in
with
and
Substituting Eq. (38) into Eq. (36), and inserting the result into Eq. (39) leads to
which uses the relation [5]
with \(\mathbf{T} _r\) given by Eq. (30). Invoking the kinematic relation \(\varvec{\psi }=\bar{\mathbf{B }} \mathbf{r} \) with \(\bar{\mathbf{B }}\) given by Eqs. (29), (42) finally turns into
As a next step, the equilibrium equations for the beam cross section need to be formulated. In accordance with the variational framework presented in [3,4,5,6], equilibrium is described in terms of \(\hat{\mathbf{u }}\), \(\varvec{\psi }\) and \(\varvec{\theta }\) by the following set of partial differential equations:
with
Note that the generalized loads \(\varvec{\theta }\) given by Eq. (31) are related to the stress components by \(\varvec{\theta }= \int _A \mathbf{Z} ^{\text {T}} \varvec{\sigma }_b \mathrm{d}A\), with \(\mathbf{Z} \) given by Eq. (37) and the stress \(\varvec{\sigma }_b\) presented by \(\varvec{\sigma }_b=[\sigma _{xz},\sigma _{yz},\sigma _{zz}]^{\text {T}}\). Further, the matrices \(\mathbf{A} \), \(\mathbf{R} \), \(\mathbf{E} \), \(\mathbf{C} \), \(\mathbf{L} \) and \(\mathbf{M} \) presented by Eq. (46) are determined from the FEM model at crosssectional level. In Eq. (46), the matrix \(\mathbf{Z} _e\) is obtained from Eq. (37), whereby the x and ycoordinates within a crosssectional element are calculated from combining the element interpolation functions with the nodal coordinates of the element. The nodal coordinates of an arbitrary crosssectional finite element e are computed via Eq. (16), where \(\mathbf{p} _n\) represents the nodal coordinates determined from Eq. (11), with the zcoordinate of the control points \(Z_{i,j,k}\) in Eq. (10) set to zero. Furthermore, the matrix \(\mathbf{S} _e \) is computed from Eq. (41), and \(\mathbf{Q} _e\) follows from Eq. (26), in which \(\rho _e\) refers to the relative material density in finite element e, and \(\hat{\mathbf{J }}_e\) is the determinant of the Jacobian matrix of the element. The Jacobian matrix has the usual form
which, by invoking Eqs. (10), (11), (16), (17), (18) and (19), can be expressed as a function of the element nodal coordinates (and thus as function of the NURBS control points):
with the derivative operator \(\varvec{\hat{\partial }}= [{\partial }/{\partial \xi _e},{\partial }/{\partial \eta _e},0]^{\text {T}}\) and the matrix \(\bar{\mathbf{P }}_e\) given by Eq. (21). After computing the inverse of the Jacobian matrix Eq. (48), the matrix \(\hat{\mathbf{B }}_e\) appearing in Eq. (46) can be developed from Eq. (40) as
where
In order to eliminate the rigid body motions and to ensure that the crosssectional warping displacements satisfy the orthogonality conditions formulated in Ladevèze and Simmonds [16], El Fatmi [8] and Genoese et al. [10], the following constraint equations need to be satisfied:
with
where \(n_n\) is the total number of element nodes in the FEM mesh and \(\mathbf{Z} _{n}\) is obtained by inserting the nodal coordinates of node n in Eq. (37). Formulating Eq. (45) in matrixvector notation and incorporating the constraint relations, Eq. (51), results in the system of equilibrium equations [6]
with
where \(\mathbf{w} _1=[ \hat{\mathbf{u }}^{\text {T}}, \varvec{\psi }^{\text {T}}, \varvec{\lambda }_1^{\text {T}} ]^{\text {T}}\) and \(\mathbf{w} _2= [ \partial \hat{\mathbf{u }}^{\text {T}} / \partial z, \partial \varvec{\psi }^{\text {T}} / \partial z, \varvec{\lambda }_2^{\text {T}} ]^{\text {T}}\), are the solution vectors, in which \(\varvec{\lambda }_1\) and \(\varvec{\lambda }_2\) are Langrange multipliers that relate to the constraint equations, Eq. (51). In addition, the force vectors are formulated as \(\mathbf{f} _1=[ \mathbf{0} ^{\text {T}}, \varvec{\theta }^{\text {T}}, \mathbf{0} ^{\text {T}} ]^{\text {T}}\) and \(\mathbf{f} _2=[ \mathbf{0} ^{\text {T}}, ( \mathbf{T} _r^{\text {T}} \varvec{\theta } )^{\text {T}}, \mathbf{0} ^{\text {T}} ]^{\text {T}}\), the matrices \(\mathbf{A} \), \(\mathbf{R} \), \(\mathbf{E} \), \(\mathbf{C} \), \(\mathbf{L} \) can be calculated from Eq. (46), and the matrix \(\mathbf{D} \) is presented by Eq. (52).
For computational convenience, a \(6 \times 6\) matrix \(\mathbf{W} \) is constructed by columnwise assembling the solutions of Eq. (53) for 6 different righthand sides, which are distinguished by successively setting one specific entry of \(\varvec{\theta }\) to unity and the remaining 5 entries to zero. Accordingly, for an arbitrary force vector \(\varvec{\theta }\), with the definition of \(\varvec{\theta }\) given below Eq. (31), the solution vector \(\mathbf{w} =[\mathbf{w} _1, \mathbf{w} _2]^{\text {T}}\) can be straightforwardly computed as
In addition, by equating the external complementary virtual work to the internal complementary virtual work, the compliance matrix \(\mathbf{F} _{\text{s}}\) of the cross section follows as [6]
with
where the matrices \(\mathbf{A} \), \(\mathbf{R} \), \(\mathbf{E} \), \(\mathbf{M} \) are provided by Eq. (46), and the matrix \(\mathbf{H} \) is given by Eq. (54). Finally, the stiffness matrix of the element cross section used in Eq. (31) can be calculated via \(\mathbf{K} ^{\text {s}}=\mathbf{F} _{\text{s}}^{1}\), with \(\mathbf{F} _{\text{s}}\) in accordance with Eq. (56).
Coupled optimization model
This section presents a coupled optimization model that is able to simultaneously optimize the outer shape and the topological layout of a beam structure. For this purpose, the formulation recently proposed in [30] is followed, which incorporates the shaperelated design variables in the SIMP topology optimization method. Accordingly, the minimization of the compliance of a structure under a predefined material volume constraint is formulated as
in which the structural compliance c depends on both the shape design variables \(\mathbf{a} \) (i.e., the spatial control points of the NURBS) and the topology design variables \(\varvec{\rho }\) (i.e., the relative densities). Further, the variables \(l_s\) and \(u_s\) are the lower and upper bounds of the shape design variable \(a_s\), S is the total number of shape design variables, \(\rho _{min}\) is the minimum density, e is the element number and N is the total number of elements. The material volume V is a function of both \(\mathbf{a} \) and \(\varvec{\rho }\), and the parameter \(V_0\) represents the initial volume of the design domain. The variable \(f_r\) is the prescribed volume fraction, and \(\mathbf{f} \) is the global force vector. The displacement vector \(\mathbf{u} \) of the modeled system is obtained by solving the corresponding equilibrium equations, i.e., Eq. (28) for a 3D beam model and Eq. (32) for a 2.5D beam model.
The coupled shape and topology optimization problem for the beam structure is solved in an incrementaliterative fashion using a staggered (sequential) solution strategy, which is illustrated in Fig. 3:

1.
The geometry of the design domain is parametrically described by NURBS, as introduced in Sect. 2. Subsequently, for performing a structural analysis, the geometry data are discretized into a FEM model, as described in Sect. 3.

2.
By keeping the shape design variables \(\mathbf{a} \) momentarily fixed, the problem formulated in Eq. (58) can be regarded as a classical topology optimization problem, formulated as
$$\begin{aligned} \begin{aligned} \min \limits _{\varvec{\rho }}\qquad \,&c(\varvec{\rho })=\mathbf{f }^{\text {T}} \mathbf{u} (\varvec{\rho }) , \\ \text {subject to}\qquad&\frac{V(\varvec{\rho })}{V_0}=f_r , \\ \text {with} \qquad&0 < \rho _{min} \le \rho _e \le 1 , \qquad e =1,...,N . \end{aligned} \end{aligned}$$(59)Accordingly, the relative densities \(\varvec{\rho }\) are optimized by solving Eq. (59), which is carried out by following the typical topology optimization procedure, consisting of a structural analysis, a topology sensitivity analysis, and the update of the densities.

3.
By momentarily freezing the updated densities \(\varvec{\rho }\), Eq. (58) reduces to a shape optimization problem, formulated as
$$\begin{aligned} \begin{aligned} \min \limits _{\mathbf{a}}\qquad \,&c(\mathbf{a} )=\mathbf{f }^{\text {T}} \mathbf{u} (\mathbf{a} ) , \\ \text {subject to}\qquad&\frac{V(\mathbf{a} )}{V_0}= f_r , \\ \text {with} \qquad&\,\, l_s\le a_s\le u_s , \qquad \, s =1,...,S . \\ \end{aligned} \end{aligned}$$(60)The shape design variables \(\mathbf{a} \) are calculated by solving Eq. (60) based on the densities \(\varvec{\rho }\) found in step 2. Step 3 is carried out by performing a standard gradientbased shape optimization procedure, consisting of a structural analysis, a shape sensitivity analysis, and the updating of the shape.

4.
When the element densities \(\varvec{\rho }\) obtained from step 2 are not optimal for the shape subsequently computed in step 3, in a sense that they do not lead to an immediate satisfaction of the shape convergence criteria (i.e., after the first iteration), a new topology optimization increment (step 2) is performed, based on the updated shape design variables \(\mathbf{a} \). After this step has converged and the topology design variables \(\varvec{\rho }\) have been updated, a new shape optimization increment (step 3) is performed, and the above check on immediate convergence is repeated. The above process is continued until the incrementaliterative solution procedure has converged. Note that updating the topology and shape configurations of the beam after convergence of the corresponding optimization increment causes the coupling effects between topology and shape to be automatically accounted for. The convergence (or stop) criteria for the individual topology and shape optimization increments and for the overall procedure are, respectively, evaluated during every iteration g, h and w, see Fig. 3, and will be specified when discussing the numerical examples in Sect. 6.
The staggered solution strategy depicted in Fig. 3 starts with an incremental topology optimization step, and, as such, is referred to as coupled topology shape optimization (CTSO). Alternatively, it can start with an incremental shape optimization step, and will then be referred to as coupled shape topology optimization (CSTO), see also [30]. In shape and topology optimization problems, the landscape of solutions is characterized by numerous local minima, whereby the convergence speed and the specific optimized solution calculated may be expected to be sensitive to the algorithmic features of the numerical update scheme applied. Despite that the main focus of the present work is on numerical discretization aspects and on comparing the outer and internal geometries of the 3D and 2.5D beam models under shape and topology optimization, possible differences in the results from the CTSO and CSTO update schemes will be also analyzed and discussed. Note that the choice of a staggered update scheme in this study is arbitrary; the coupled optimization problem, Eq. (58), could also be solved concurrently by using a monolithic scheme. A systematic comparison of the influence of staggered and monolithic update schemes on the computational efficiency and outcome of the coupled optimization approach, however, falls outside the scope of this work; for more details on this aspect, the reader is referred to [29].
Sensitivity analysis
For the coupled, gradientbased optimization approach, the analytical sensitivities of the structural compliance c need to be determined with respect to the shape design variables \(\mathbf{a} \) and relative element densities \(\varvec{\rho }\). These analytical sensitivities are elaborated below for the 2.5D and 3D beam models.
2.5D beam model
For simplicity of notation, the variable d is introduced, which represents either the shape design variable \(a_s\) or the element density \(\rho _e\). In correspondence with Eq. (56), the derivative of the crosssectional compliance matrix \(\mathbf{F} _{\text{s}}\) with respect to d can be expressed as
Since the matrix \(\mathbf{W} \) contains the solutions of the equilibrium equations given by Eq. (53), whereby in \(\hat{\mathbf{f }}\) one component of \(\varvec{\theta }\) equals unity and the remaining components are zero, the derivative \({\partial \mathbf{W} }/{\partial d}\) in Eq. (61) follows from Eq. (53) as
Inserting Eq. (62) into Eq. (61), the derivative of the crosssectional compliance matrix becomes
with
where the matrix \(\hat{\mathbf{K }}\) is obtained from Eqs. (53) and (54), and \(\mathbf{G} \) follows from Eqs. (56) and (57). Since the stiffness matrix \(\mathbf{K} ^{\text {s}}\) of the cross section is the inverse of the compliance matrix \(\mathbf{F} _{\text{s}}\), the derivative of the stiffness matrix with respect to d may be expressed as
The global stiffness matrix \(\bar{\mathbf{K }}\) of the beam model is based on the crosssectional stiffness matrix \(\mathbf{K} _e^{\text {s}}\) of the beam element via Eqs. (33) and (34). Accordingly, the derivative of \(\bar{\mathbf{K }}\) with respect to the design variable d becomes
Because the loads \(\mathbf{f} \) are independent of the design variable d, from Eqs. (58), (32) and the symmetry relation \(\bar{\mathbf{K }}=\bar{\mathbf{K }}^T\), the sensitivity of the compliance c with respect to d follows as
The specific forms of the derivatives \({\partial \hat{\mathbf{K }}}/{\partial d}\) and \({\partial \mathbf{G} }/{\partial d}\) appearing in the above equations depend on the type of design variable. The derivation of these terms is presented below.
Shape sensitivity analysis
The shape sensitivity analysis starts with the computation of the partial derivative of the Jacobian matrix, Eq. (48), with respect to the shape design variable \(a_s\), leading to
in which, for reasons of brevity, the notation \(\partial _s(\cdot )=\partial (\cdot ) / \partial a_s\) has been used. The derivative \(\partial _s (\bar{\mathbf{P }}_e)\) appearing in Eq. (68) is calculated by combining Eqs. (21) and (16), in which the derivative of the coordinates of an arbitrary point on the NURBS surface with respect to the shape design variable follows from Eq. (11) as
where \(\partial _s(\mathbf{P} ^{\text {2D}}_{k,C})\), with \(C \in \{ X,Y,Z \}\), can be easily determined from Eq. (10), in which the zcoordinate of the control points \(Z_{i,j,k}\) is set to zero. Further, the matrices \(\mathbf{N} _{\text{b}}\), \(\mathbf{M} _{\text{b}}\) and \(\varvec{\varOmega }^{\text {2D}}_k\) are obtained from Eqs. (8), (9) and (12), respectively. Eq. (68) can be used for the calculation of the derivative of the determinant of the Jacobian with respect to the shape design variable \(a_s\) via
Further, Eq. (68) can be employed in the expression for the derivative of the inverse of the Jacobian matrix with respect to the shape design variable \(a_s\), which reads:
with \(\hat{\mathbf{J }}_e\) provided by Eq. (48).
With the operator \(\hat{\mathbf{B }}_e\) given by Eq. (49), the matrix product \(\hat{\mathbf{B }}_e \mathbf{N} _e\) in Eq. (46) can be expressed as
where \(\hat{\mathbf{B }}^c_e\), with \(c \in \{ 1,2 \}\), is obtained from Eq. (50). Accordingly, the derivative of \(\hat{\mathbf{B }}_e \mathbf{N} _e\) with respect to the shape design variable \(a_s\) can be formulated as
with
in which \(c \in \{ 1,2 \}\), and \(\partial _s(\hat{\mathbf{J }}^{1}_e)\) is given by Eq. (71). The derivatives of the coefficient matrices \(\mathbf{E} \), \(\mathbf{C} \), and \(\mathbf{M} \)—presented in Eq. (46)—with respect to the shape design variable \(a_s\) read
From the last two expressions in Eq. (75), the derivatives with respect to the shape design variable of the matrices \(\mathbf{A} \), \(\mathbf{R} \) and \(\mathbf{L} \) in Eq. (46) are calculated as
with \(\mathbf{D} \) given by Eq. (52). Finally, the terms \({\partial \hat{\mathbf{K }}}/{\partial a_s}\) and \({\partial \mathbf{G} }/{\partial a_s}\) in Eq. (63) are calculated from Eqs. (53)–(57), thereby inserting the derivatives of the coefficient matrices given by Eqs. (75) and (76).
Topology sensitivity analysis
According to Eqs. (26) and (46), the coefficient matrices \(\mathbf{A} \), \(\mathbf{R} \), \(\mathbf{E} \), \(\mathbf{C} \), \(\mathbf{L} \) and \(\mathbf{M} \) of the cross section can be explicitly expressed as a function of the element density \(\rho _e\). Correspondingly, by referring to an arbitrary coefficient matrix as \(\mathbf{M} ^{\text {c}}\), its derivative with respect to the element density is calculated as
where the variable \(\mathbf{M} ^{\text {c}}_0\) refers to the corresponding coefficient matrices obtained from Eq. (46) by substituting the densityindependent constitutive matrix \(\mathbf{Q} \) (instead of the densitydependent constitutive matrix \(\mathbf{Q} _e\), see Eq. (26)). With Eq. (77), the terms \({\partial \hat{\mathbf{K }}}/{\partial \rho _e}\) and \({\partial \mathbf{G} }/{\partial \rho _e}\) in Eq. (63) can be determined from Eqs. (53) to (57). To alleviate mesh dependency and possible checkerboard patterns in the solution computed by topology optimization, a sensitivity filter [23] is introduced that smoothens the sensitivity of the structural compliance as follows:
where \({\partial c}/{\partial \rho _f}\) is calculated employing Eqs. (63)–(67). Further, \(\hat{H}_f= \text {max}(0,r_{\text{min}}  \text {dist}(e,f))\), in which \(\text {dist}(e,f)\) is the distance between the center of element e and the center of element f, and \(r_{\text{min}}\) is the radius of the circle within which smoothing takes place.
3D beam model
Shape sensitivity analysis
In the threedimensional FEM model for the beam structure, the Jacobian matrix of an element e is presented by Eq. (20). Correspondingly, its derivative with respect to the shape design variable \(a_s\) follows from
The term \(\partial _s (\bar{\mathbf{P }}_e)\) in Eq. (79) is calculated by combining Eqs. (21) and (16) with the derivative of the nodal coordinates, Eq. (14), with respect to \(a_s\):
with
where \(\partial _s(\mathbf{P} ^{\text {2D}}_{k,C})\), with \(C \in \{ X,Y,Z \}\) and \(k=1,2,\ldots ,l\), is determined based on Eq. (10), and the matrices \(\mathbf{L} _{\text{b}}\), \(\mathbf{N} _{\text{b}}\), \(\mathbf{M} _{\text{b}}\) and \(\varvec{\varOmega }^{\text {3D}}_k\) are obtained from Eqs. (3), (8), (9) and (15), respectively. From Eq. (79), the derivative of the determinant of the Jacobian matrix with respect to \(a_s\) can be computed via
while the derivative of the inverse of the Jacobian matrix becomes
with the Jacobian matrix \(\mathbf{J} _e\) given by Eq. (20). In addition, the derivative of the matrix product \(\mathbf{B} _e \mathbf{N} _e\) used in Eq. (25) is calculated with the use of Eqs. (23) and (24) as
with
in which \(c \in \{ 1,2,3 \}\) and \(\partial _s(\mathbf{J} ^{1}_e)\) is computed from Eq. (83). With Eq. (84) and the global stiffness matrix \(\mathbf{K} \) given by Eq. (27), the derivative of the stiffness matrix with respect to the shape design variable \(a_s\) can be computed as
Following the assumption that the load vector \(\mathbf{f} \) is independent of the design variables, the derivative of the structural compliance with respect to the shape design variable \(a_s\) becomes
where \(\partial _s(\mathbf{K} )\) is given by Eq. (86) and \(\mathbf{u} \) is the global displacement vector obtained from solving the system of equilibrium equations, Eq. (28).
Topology sensitivity analysis
In correspondence with Eqs. (28) and (58), the derivative of the structural compliance c with respect to the relative density \(\rho _e\) equals
Since the threedimensional element stiffness matrix is an explicit function of the element density \(\rho _e\), see Eqs. (25) and (26), the derivative of the element stiffness matrix \(\mathbf{k} _e\) with respect to \(\rho _e\) follows as
where \(\mathbf{k} _0\) is obtained from Eq. (25), by substituting the densityindependent constitutive matrix \(\mathbf{Q} \) (instead of the densitydependent constitutive matrix \(\mathbf{Q} _e\), see Eq. (26)). Correspondingly, the derivative \({\partial c }/{\partial \rho _e}\) provided by Eq. (88) is reformulated for a specific element e using Eqs. (89) and (27), i.e.,
The filtering of Eq. (90) is performed in accordance with Eq. (78), where \(r_{\text{min}}\) is the radius of a sphere (instead of a circle) within which smoothing occurs.
Numerical examples
Validation case studies
In order to validate the accuracy and efficiency of the coupled shape and topology optimization procedure for 2.5D beam models, an elastic cantilever beam is considered whereby the solution obtained for the 2.5D beam model is compared to that for the 3D beam model. The initial configuration of the cantilever beam is illustrated in Fig. 4, showing a slender beam with length \(L_0\) and a uniform rectangular cross section with dimensions \(W_0 \times H_0\). The left end of the beam is fully clamped (i.e., zero displacements and rotations in all directions), and the right end is subjected to a vertical load F. The values of the model parameters are listed in Table 1, whereby E and \(\nu \) are the Young’s modulus and Poisson’s ratio of the beam material, respectively.
Shape optimization
As a first step, the comparison study focuses only on the optimization of the shape of the beam sketched in Fig. 4, and the topology optimization is temporarily left out of consideration. In the 3D model, the shape of the cantilever beam is parametrically described by a NURBS solid. As explained in Sect. 2.3, the NURBS solid is constructed using a onedimensional NURBS curve in the axial direction of the beam and a twodimensional NURBS surface for the description of the beam cross section. According to the definition of a NURBS surface introduced in Sect. 2.2, the polynomial orders in Eq. (7) are set to \(p=2\) and \(q=2\), and the number of basis functions in the \(\xi \) and \(\eta \)directions is equal to \(n=3\) and \(m=3\), respectively, in correspondence with the knot vectors defined as
Correspondingly, the NURBS surface is characterized by a net of 9 control points, with the arrangement of the control points at the kth location along the axial (z)direction of the beam illustrated in Fig. 5, where \(\mathbf{C} _{i,j,k}=(X_{i,j,k},Y_{i,j,k},Z_{i,j,k})\), with \(i=1,2,3\), \(j=1,2,3\) and \(k=1,2,\ldots ,l\), see also Eq. (10). The initial coordinates and weights of these control points are listed in Table 2, in which \(Z_k\) with \(k=1,2,\ldots ,l\) is used to replace \(Z_{i,j,k}\) since all control points of a specific surface have the same zcoordinate. The value of the zcoordinate \(Z_k\) of each NURBS surface is determined based on the NURBS curve, see Sect. 2.1, which describes the geometry along the beam length. The polynomial order of the NURBS curve is \(r=1\), which, in correspondence with Eq. (1), represents a linear curve. In order to construct the complete beam geometry, \(l=81\) NURBS surfaces are equally spaced along the beam length \(L_0\). Accordingly, the knot vector \(\varvec{Z}\) in Eq. (1) is defined as
and the zcoordinate \(Z_k\) of the control points is
with the beam length \(L_0\) given in Table 1.
With the above characterization of the beam geometry, the nodal positions in parametric \(\xi \), \(\eta \) and \(\zeta \)coordinates are obtained after dividing the parametric domain \(W_0 \times H_0 \times L_0\) into equal \(6 \times 10 \times 80\) hexahedral parts. Subsequently, the nodal positions of the FEM model are found by projecting the auxiliary mesh in the parametric domain to the physical domain using Eq. (14), see also Fig. 2. These nodal positions are finally utilized to construct the 3D and 2.5D models of the cantilever beam, as illustrated in Fig. 1b and c, respectively. In accordance with the shape optimization procedure formulated in Eq. (60), the objective—the structural compliance c—and constraints—the volume V—are evaluated using the relations for the 3D FEM model introduced in Sect. 3.1. The relative element densities \(\varvec{\rho }\) are uniformly kept fixed at a value of 1. In order to limit the computational demand of the 3D FEM model in the comparison study on shape optimization of 3D and 2.5D beam models, only the height H of the beam is allowed to change along the beam length, whereby the cross section is prescribed to remain rectangular. Note that this restriction in the shape design variables does not affect the nature and objectivity of the comparison study; in fact, it could have been introduced equally well as a geometrical constraint following from structural design considerations. It is further emphasized that it is straightforward to incorporate the width of beam cross sections into the set of shape design variables, as is done for the coupled shape and topology optimization analysis of the 2.5D beam model considered in Sect. 6.2. In correspondence with the above arguments, the shape design variables \(\mathbf{a} \) are formulated as
where \(Y_{1,3,k}\) is the ycoordinate of control point \(\mathbf{C} _{1,3,k}\) illustrated in Fig. 5. The upper and lower bounds of this ycoordinate are set as 0.5 m \(\le Y_{1,3,k} \le \) 1.5m, which also apply to the ycoordinate of neighboring control points via the equality \(Y_{1,3,k}=Y_{2,3,k}=Y_{3,3,k}\). Further, the coordinates of the control points of the first NURBS surface (\(k=1\)) are taken the same as those of the adjacent, second NURBS surface (\(k=2\)); in fact, the first cross section is only used for postprocessing of the analysis results, and does not contribute to the optimization procedure, see also [6]. The values of the shape design variables \(\mathbf{a} \) are efficiently updated by incorporating the analytical shape sensitivities presented in Sect. 5.2.1 in a sequential quadratic programming (SQP) procedure that was implemented in the MATLAB solver fmincon. The shape optimization is assumed to be converged when the structural compliance meets the stop criterion \(\mid c^{h+1}c^h \mid \le \)1e5, with h the iteration number, or when the shape design variables satisfy the criterion \(\text {max}(\mid \mathbf{a} ^{h+1}\mathbf{a} ^h \mid ) \le \)1e5, whereby \(\mid . \mid \) refers to the absolute value of a scalar or the absolute value of each specific component of a vector.
Alternatively, the optimization procedure can be carried out by modeling the cantilever beam as a 2.5D model. The 2.5D model is composed of 80 twonode beam elements along the beam (z)axis (shown as a dotted black line in Fig. 1c). The zcoordinate of the beam nodes is given by Eq. (93). The stiffness of each beam finite element is obtained from a 2D FEM analysis of the beam cross section (evaluated at one of the beam element nodes). The meshes of the 81 cross sections have a similar mesh density as in the 3D FEM model. In Table 2, the zcoordinate \(Z_k\) (with \(k=1,2,\ldots ,81\)) of the control points depicted in Fig. 5 essentially is irrelevant as a result of the twodimensional character of the NURBS surface, and therefore is arbitrarily set to zero. The shape design variables \(\mathbf{a} \) relate to the height of the cross sections and are presented by Eq. (94). The shape optimization procedure is performed in accordance with Eq. (60), for which the analytical shape sensitivities are provided in Sect. 5.1.1.
The results of the shape optimization procedures with the 3D and 2.5D beam models are shown in Figs. 6 and 7. It can be observed that both models provide almost the same optimized shape, whereby the beam height near the clamped end, at which the bending moment is relatively large, is maximal and equal to 1.5m. Along the middle part of the beam the height gradually decreases, whereby it reaches the minimum value of 0.5 m close to the end at which the external load is applied. The convergence behavior of the shape optimization procedure for the two beamtype structures is illustrated in Fig. 8. The convergence rate of the structural compliance c for the 2.5D model is somewhat lower than for the 3D model, although the two models eventually provide the same minimum value of c. The computational time of the 2.5D model is about a factor of 70 lower than that of the 3D model, which illustrates that the 2.5D model is computationally much more efficient in this case.
Topology optimization
As a next step, the cantilever beam problem illustrated in Fig. 4 is subjected to pure topology optimization, whereby the results computed with the 2.5D and 3D beam models are mutually compared. The geometry and FEM models of the problem are in accordance with the description in Sect. 6.1.1. In the topology optimization procedure, the volume fraction \(f_r\) appearing in Eq. (59) is set equal to 0.4. Further, the interiorpoint (IP) algorithm implemented in the MATLAB solver fmincon [20] is employed to update the element densities \(\varvec{\rho }\). The sensitivities required for the gradientbased topology optimization procedure are presented in Sects. 5.1.2 and 5.2.2 for the 2.5D and 3D beam models, respectively. The topology optimization procedure is assumed to be converged when the structural compliance meets the stop criterion \(\mid c^{g+1}c^g \mid \le \)1e5, with g the iteration number, or when the topology design variables satisfy the criterion \(\text {max}(\mid \varvec{\rho }^{g+1}\varvec{\rho }^g \mid ) \le \)1e5. In order to warrant an objective comparison of the results calculated for the 2.5D and 3D beam models, the filtering of possible checkerboard patterns, which is defined by Eq. (78) and may work out differently for the 2.5D and 3D beam models, is omitted here.
Figure 9 shows the convergence behavior of the structural compliance c of the topology optimization process for the 2.5D (circles) and 3D (triangles) beam models. The overall convergence behavior and the corresponding compliance values clearly are similar for the two beam models. As a result of threedimensional stress effects, some minor differences emerge in the relative density distributions at the clamped end and at the point of load application, see Figs. 10 and 11. The density distributions across the cross sections illustrate that most of the material is located at the top and bottom of the beam height, which is logical for a beam structure loaded in bending. The optimized configurations presented in Figs. 10 and 11 further show the presence of intermediate element densities. Note that in topology optimization analyses the appearance of intermediate densities commonly is considered as undesirable, as it fades the distinction between a solid material (material density is unity) and a void (material density is zero). An efficient way to reduce intermediate densities in topology optimization results is by increasing the penalization factor p in Eq. (26), see [25], which in the present work has been selected in accordance with the common value \(p=3\) [2]. Alternative, more elaborate strategies that mitigate the appearance of intermediate densities have been presented in [13, 24, 27]. It should be further mentioned that the canonical duality method recently proposed by [9] can produce O(1) optimal density distributions without the use of a filtering step. The main purpose of Figs. 10 and 11, however, is to objectively compare the optimized configurations computed for 3D and 2.5D beam models, for which the appearance of intermediate densities is insignificant. In addition, in the analyses performed with the coupled shape and topology optimization approach as presented in Sect. 6.2, the appearance of intermediate densities turns out to be negligible.
The computational time required for solving the 3D beam model is 1.4 times larger than the time needed for solving the 2.5D beam model, indicating that the reduction in spatial dimension here only provides a relatively small gain in computational efficiency as compared to the reduction of a factor of 70 found in Sect. 6.1.1 for pure shape optimization. This can be explained by considering the computational time of the topology optimization procedure in more detail. In particular, the time required for the structural analysis of the beam for the 2.5D model is one order of magnitude smaller than for the 3D model. However, this gain in time is counterbalanced by the fact that the time required for the sensitivity analysis of the 2.5D model is one order of magnitude larger than that of the 3D model. The latter result is caused by two reasons. Firstly, in 3D topology optimization, the sensitivity of the global stiffness matrix can be efficiently obtained from the element stiffness matrices stored during the structural analysis, see Eqs. (88) and (89). In contrast, in 2.5D topology optimization, the calculation of the sensitivity of the global stiffness matrix requires the performance of a 1D FEM beam analysis, whereby the sensitivity of the stiffness matrix of each cross section needs to be determined a priori, see Eqs. (61)–(66) and (77), which obviously is computationally demanding. Secondly, the 1D beam FEM analysis must be repeated for the calculation of the sensitivity with respect to each element density. These two aspects thus make the topology sensitivity analysis for the 2.5D model computationally considerable more expensive than for the 3D model, and therefore result in only a relatively small decrease of the overall computational time by a factor of 1.4.
It should be noted that in the 2.5D beam model the number of cross sections has been chosen in accordance with the element density of the 3D beam model in longitudinal direction, in order to perform a consistent comparison of the simulation results at the crosssectional level, see Fig. 10. From the viewpoint of computational efficiency, however, the number of cross sections in the 2.5D beam model could have been taken substantially lower without significantly compromising on the accuracy of the simulation results. It can be further noticed that the initial compliances plotted in Fig. 9 are different from those plotted in Fig. 8, although the same initial beam configuration is used in the shape and topology optimization analyses. This is, because in the shape optimization analysis the relative element densities are kept fixed at a value of 1, while the relative element densities in the topology optimization analysis are initially uniformly set equal to 0.4, in correspondence with the constraint on the volume fraction, \(f_r=0.4\).
Coupled shape and topology optimization case studies
Now that the shape and topology implementations have been individually tested and validated, the cantilever beam problem depicted in Fig. 4 is subjected to a coupled shape and topology procedure in accordance with the sequentiallycoupled computational scheme depicted in Fig. 3. The variation in shape and topology in the longitudinal beam direction is described by using 8 cross sections, which are distributed along the beam length as shown in Fig. 14a. As explained before, for postprocessing of the analysis results, the first cross section at the clamped end of the cantilever beam (with index \(k=1\)) is taken the same as the adjacent second cross section (with index \(k=2\)), and thus does not contribute to the optimization procedure [6]. The locations of the control points of a cross section and the corresponding coordinates are given in Fig. 5 and Table 2. By leaving out the cross section related to the clamped end, the shape design variables \(\mathbf{a} \) of the 7 remaining cross sections are assembled as
in which
where \(X_{1,1,k}\) and \(Y_{1,1,k}\) are the x and ycoordinates of control points \(\mathbf{C} _{1,1,k}\), and \(X_{1,2,k}\) and \(Y_{2,1,k}\) are the x and ycoordinates of control points \(\mathbf{C} _{1,2,k}\) and \(\mathbf{C} _{2,1,k}\), respectively. Note that the control points at the corners of a cross section can move in both the x and ydirections, while the control points at the halfwidth and halfheight of the cross section boundaries can only move in the ydirection and xdirection, respectively. The control points of a cross section are assumed to be linesymmetric with respect to the x and yaxes, so that the locations of control points \(\mathbf{C} _{3,1,k}\), \(\mathbf{C} _{3,2,k}\), \(\mathbf{C} _{1,3,k}\), \(\mathbf{C} _{2,3,k}\) and \(\mathbf{C} _{3,3,k}\) are prescribed by the corresponding control points above. The lower and upper bounds of \(\mathbf{a} ^{\text {CS}}_k\) are, respectively, defined as \(lb=[1.5,1.5,2,2]\) and \(ub=[0.2,0.2,0.2,0.2]\). The parametric domain of the NURBS surface that defines a cross section is divided into \(12 \times 20\) equally sized, rectangular parts, which define the grid for the 2D auxiliary FEM mesh. In the longitudinal direction, the model uses a discretization by 120 twonode beam elements, for which the zcoordinates are given by Eq. (93) with \(l=121\). The stiffness \(\mathbf{k} _e^{\text {b}}\) of each beam element e is computed from the stiffness of the corresponding cross section \(\mathbf{K} _e^{\text {s}}\) via Eq. (34). Accordingly, under a stepwise change in crosssectional properties, the optimized solution corresponds to a shape that varies linearly in the longitudinal direction. The volume fraction in Eq. (58) is defined as \(f_r=0.4\). The structural compliance c and the beam volume V are calculated from the beam FEM model. The SQP and IP algorithms in the MATLAB solver fmincon are used to iteratively update the shape design variables \(\mathbf{a} \) and element relative densities \(\varvec{\rho }\) appearing in Eq. (58). The convergence criteria adopted for the individual shape and topology optimization steps are the same as those defined in Sect. 6.1. In addition, the outer loop of the coupled optimization procedure, which has been illustrated in the flowchart in Fig. 3, is assumed to be converged when the structural compliance meets the condition \(\mid c^{w+1}c^w \mid \le \)1e−5, where w is the iteration number of the outer loop. Finally, the shape and topology sensitivities of the objective are computed with the expressions given in Sect. 5.1, whereby the 2D sensitivity filter formulated in Eq. (78) is applied in the topology optimization procedure. The filter size is set to \(r_{min}=1.5\sqrt{V_e}\), where \(V_e\) is the area of element e [30]. The convergence behavior for the structural compliance c is shown in Fig. 12. The CTSO solution procedure that starts with a topology optimization step takes more iterations (\(w=10\)) than the CSTO solution procedure that starts with a shape optimization step (\(w=7\)). Figure 13 shows the evolution of the first cross section at the clamped beam end during the convergence process for the CSTO and CTSO update schemes. The evolution of the cross section clearly visualizes that the CTSO and CSTO update sequences during the convergence process follow a different search path in the solution space of design variables, eventually leading to somewhat different local minima (or optimized compliances), i.e., \(c=10.467\) Nm (CSTO) and \(c=8.516\) Nm (CTSO).
Figures 14 and 15 illustrate the optimized designs predicted by CSTO and CTSO sequences. The two solution procedures result in a comparable design concept, namely a tapered beam with a hollow cross section composed of relatively thin vertical webs and thick horizontal flanges. The cross section computed by the CSTO solution procedure has a smaller heighttowidth ratio than the cross section following from the CTSO procedure. Further, the beam structure following from the CSTO update procedure contains one cross section (with index \(k=4\)) with an extra vertical web.
In summary, in structural optimization problems, the landscape of solutions is determined by the objective function(s), the design variables and constraints, the characteristics of the boundary value problem and the FEM discretization, which typically leads to a large number of local minima, see e.g., [25]. The above comparison of the analyses performed with the CTSO and CSTO update schemes illustrates that the convergence speed and the specific local minimum computed (i.e., the optimized compliance) are to some extent sensitive to the algorithmic features of the numerical update scheme applied, but that the final, optimized beam configurations of the two update schemes nevertheless are qualitatively similar.
Conclusions
A coupled gradientbased optimization framework is presented that simultaneously optimizes the outer shape and the internal topology of beamtype structures by using a staggered update procedure. The objective function refers to the structural compliance, which is evaluated using 2.5D and 3D FEM models. In the 2.5D model, standard twonode beam elements are used along the longitudinal direction of the beam, whereby the crosssectional properties of the beam elements are calculated from additional 2D FEM analyses. Conversely, in the 3D model, the beam geometry is simulated using 3D continuum elements. The shape of the beamtype structures is parameterized using NURBS, with the shape design variables being represented by the NURBS control points. The topology design variables are reflected by the relative densities assigned to each finite element. The design variables are iteratively updated by applying NURBSbased shape and densitybased topology optimization techniques, which use analytic shape and topology sensitivities that ensure an accurate and computationally efficient solution procedure. A comparison study of a cantilever beam problem subjected to pure shape optimization and pure topology optimization illustrates that the 2.5D and 3D beam models lead to similar shape and topology designs, but that the 2.5D beam model has a significantly higher computational efficiency. Specifically, the computational times for the 2.5D model are about a factor 70 (shape optimization) and 1.4 (topology optimization) lower than for the 3D model, which indicates that in the coupled optimization approach the optimization of the shape provides the largest contribution to the higher computational efficiency of the 2.5D model. The coupled shape and topology optimization analysis subsequently performed on the 2.5D cantilever beam model demonstrates that the specific order at which the alternating shape and topology optimization increments are performed in the staggered update procedure turns out to have some influence on the final computational result for the boundary value problem considered. Further, the convergence speed for the optimization procedure starting with an incremental topology optimization step appears to be somewhat lower than that resulting from starting with an incremental shape optimization step, although it may be reasonably expected that this feature is problem dependent. Despite these differences, the final beam structures following from the two staggered update schemes illustrate how shape and topology can be efficiently optimized in an integrated, coupled fashion.
References
Apostol, V., Santos, J.L.T., Paiva, M.: Sensitivity analysis and optimization of truss/beam components of arbitrary crosssection II. Shear stresses. Comput. Struct. 80(5), 391–401 (2002)
Bendsøe, M.P., Sigmund, O.: Topology Optimization: Theory, Methods and Applications. Springer, Berlin (2003)
Blasques, J.P.: Multimaterial topology optimization of laminated composite beams with eigenfrequency constraints. Compos. Struct. 111, 45–55 (2014)
Blasques, J.P., Stolpe, M.: Multimaterial topology optimization of laminated composite beam cross sections. Compos. Struct. 94(11), 3278–3289 (2012)
Blasques, J.P., Stolpe , M., Berggreen, C., Branner, K.: Optimal design of laminated composite beams. Ph.D. thesis, Technical University of Denmark (DTU) (2011)
Blasques, J.P., Bitsche, R.D., Fedorov, V., Lazarov, B.S.: Accuracy of an efficient framework for structural analysis of wind turbine blades. Wind Energy 19(9), 1603–1621 (2016)
Dems, K.: Multiparameter shape optimization of elastic bars in torsion. Int. J. Numer. Methods Eng. 15(10), 1517–1539 (1980)
El Fatmi, R.: Nonuniform warping including the effects of torsion and shear forces. Part I: a general beam theory. Int. J. Solids Struct. 44(18–19), 5912–5929 (2007)
Gao, D.Y.: On topology optimization and canonical duality method. Comput. Methods Appl. Mech. Eng. 341, 249–277 (2018)
Genoese, A., Genoese, A., Bilotta, A., Garcea, G.: A mixed beam model with nonuniform warpings derived from the Saint Venànt rod. Comput. Struct. 121, 87–98 (2013)
Ghiringhelli, G.L., Mantegazza, P.: Linear, straight and untwisted anisotropic beam section properties from solid finite elements. Compos. Eng. 4(12), 1225–1239 (1994)
Giavotto, V., Borri, M., Mantegazza, P., Ghiringhelli, G., Carmaschi, V., Maffioli, G.C., Mussi, F.: Anisotropic beam theory and applications. Comput. Struct. 16(1–4), 403–413 (1983)
Guest, J.K., Prévost, J.H., Belytschko, T.: Achieving minimum length scale in topology optimization using nodal design variables and projection functions. Int. J. Numer. Methods Eng. 61(2), 238–254 (2004)
Han, X., Zingg, D.W.: An adaptive geometry parametrization for aerodynamic shape optimization. Optim. Eng. 15(1), 69–91 (2014)
Hsu, Y.L.: A review of structural shape optimization. Comput. Ind. 25(1), 3–13 (1994)
Ladevèze, P., Simmonds, J.: New concepts for linear beam theory with arbitrary geometry and loading. Eur. J. Mech. A Solids 17(3), 377–402 (1998)
Leung, T.M., Zingg, D.W.: Aerodynamic shape optimization of wings using a parallel Newton–Krylov approach. AIAA J. 50(3), 540–550 (2012)
Liu, K., Tovar, A.: An efficient 3D topology optimization code written in Matlab. Struct. Multidiscip. Optim. 50(6), 1175–1196 (2014)
Piegl, L., Tiller, W.: The NURBS Book. Springer, Berlin (1995)
RojasLabanda, S., Stolpe, M.: Benchmarking optimization solvers for structural topology optimization. Struct. Multidiscip. Optim. 52(3), 527–547 (2015)
Schramm, U., Pilkey, W.D.: Optimal shape design for thinwalled beam crosssections. Int. J. Numer. Methods Eng. 37(23), 4039–4058 (1994)
Shen, X., Yang, H., Chen, J., Zhu, X., Du, Z.: Aerodynamic shape optimization of nonstraight small wind turbine blades. Energy Convers. Manag. 119, 266–278 (2016)
Sigmund, O.: A 99 line topology optimization code written in Matlab. Struct. Multidiscip. Optim. 21(2), 120–127 (2001)
Sigmund, O.: Morphologybased black and white filters for topology optimization. Struct. Multidiscip. Optim. 33(4–5), 401–424 (2007)
Sigmund, O., Petersson, J.: Numerical instabilities in topology optimization: a survey on procedures dealing with checkerboards, meshdependencies and local minima. Struct. Optim. 16(1), 68–75 (1998)
Vinot, P., Cogan, S., Piranda, J.: Shape optimization of thinwalled beamlike structures. ThinWalled Struct. 39(7), 611–630 (2001)
Wang, F., Lazarov, B.S., Sigmund, O.: On projection methods, convergence and robust formulations in topology optimization. Struct. Multidiscip. Optim. 43(6), 767–784 (2011)
Wang, Z., Suiker, A.S.J., Hofmeyer, H., van Hooff, T., Blocken, B.: Coupled aerostructural shape and topology optimization of horizontalaxis wind turbine rotor blades. Energy Convers. Manag. (2020). https://doi.org/10.1016/j.enconman.2020.112621
Wang, Z., Suiker, A.S.J., Hofmeyer, H., van Hooff, T., Blocken, B.: Optimization of thinwalled beam structures: monolithic versus staggered solution schemes. ThinWalled Struct. (2020). https://doi.org/10.1016/j.tws.2020.107182
Wang, Z., Suiker, A.S.J., Hofmeyer, H., Kalkman, I., Blocken, B.: Sequentially coupled gradientbased topology and domain shape optimization. Optim. Eng. (2020). https://doi.org/10.1007/s11081020095463
Acknowledgements
The authors would like to thank DTU Wind Energy in Denmark for providing the open source software BECAS. Furthermore, the financial support of Z.W. by the China Scholarship Council is gratefully acknowledged.
Author information
Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Wang, Z., Suiker, A.S.J., Hofmeyer, H. et al. Sequentially coupled shape and topology optimization for 2.5D and 3D beam models. Acta Mech 232, 1683–1708 (2021). https://doi.org/10.1007/s00707020029301
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00707020029301