Structural Shape Optimization Using Moving Mesh Method
Structural Shape Optimization Using Moving Mesh Method
1. Introduction
The essence of mechanism design is to improve the performance for a specific objective function and manufacturability with a certain process. The structural layout design includes the optimization of structural topology and shape [1]. The optimal topology can be obtained using topology optimization without guessing the initial topology. Shape optimization determines the optimal geometry for a given topology of the structure. Compared with shape optimization, topology optimization has the advantages of providing optimal topology and shape simultaneously. However, shape optimization as a separate or post-processing is still necessary after the topology optimization. In [2], topology optimization is implemented using both the nodal density and level set method. In this paper, we review the shape optimization methods which are commonly used for the design of
Excerpt from the Proceedings of the COMSOL Users Conference 2007 Grenoble
optimized can be discretized by cubic B-spline curves. The positions of some of the spline control points are selected as optimization parameters. Another possibility, which is used in this paper, is to use boundary mesh nodes as design variables. During the optimization procedure, mesh nodal position need to be updated on the structural boundary and inside the design domain. Because the shape sensitivity or nodal moving velocity is merely defined on the boundary, additional velocity extension for nodes inside the design domain has to be defined properly, otherwise the mesh can become over distorted. Remeshing of the computational domain is also an important step if the initial shape of the structure is far away from the optimal one. The moving mesh method is a dynamic mesh adaptation method. The numerical solution of the moving mesh is based on a moving mesh PDE. The mesh topology is kept unchanged but the mesh nodal points are moved throughout the region to best approximate the updated structural boundary. This is essentially a Lagrangian formulation to update the mesh following the change of the computational domain. Currently, the moving mesh method is not as popular as the h-method in structural shape optimization. Nevertheless, it is suited for shape optimization when compared with the h-method. On one hand, the moving mesh method is different from the h-method, which requires complicated data structures if coarsing is also required. On the other hand, the moving mesh method is naturally consistent with the evolution of structural boundaries by smoothly moving the position of mesh nodes. In the authors' opinion, the reason that the moving mesh method is less popular than other shape optimization method is mainly because the numerical implementation of this method is relatively complicated and the numerical solution of the moving mesh equation needs a high-level transient solver in order to keep the stability of the numerical solution. We use Comsol ALE module to directly implement a moving mesh shape optimization in this paper.
of a domain in Rd. If y() is the solution of a boundary value problem in (1) Ly () = 0 and J(,y()) is objective functional, then we consider the minimization problem J ( * , y ( * )) = Min J (, y ()) (2) where uad is a set of admissible domains in Rd. The main step of the shape optimization is to obtain a computable descent direction and a sequence of approximate domain so that the objective functional is minimized. In the rest of this section, we briefly discuss some essential parts of the shape optimization problem. 3.1 Objective Functional Shape optimization for a 2D compliant minimization problem can be written as 1 Min : J (, ()) = ( T D ) d 2 (3) s.t. ( D ()) = f * 1d = Vol where the design domain is represented by , the linear elastic equlibrium equation is used to calculate the strain tensor , D is the material elastivcity matrix. The area constraint condition is presented which is typically used in compliant minimization design. The optimization problem (3) can be solved by using a numerical optimization method with equality constraint [4]. In this paper, we combine the objective functional and constraints together by appointing the Lagrangian formulation, and then derive a corresponding sensitivity. 3.2 Sensitivity Analysis The Lagrangian objective functional which includes both the optimization objective and constraint can be expressed as J (, (), , ) = (4) 1 T * ( 2 D )d + ( 1d Vol ) + 1ds where is the lagrangian multiplier for the area constraint, and >0 is a penalty parameter for the length of the structural boundary . Here we will denote with that part of the boundary of which is free to deform, with the curvature of v , and with n the outer unit normal of thus Vn
U ad
Excerpt from the Proceedings of the COMSOL Users Conference 2007 Grenoble
= V n . From classical calculus, we know that the extrema of optimization objective function are attained at the position where J'=0. To obtain the boundary sensitivity which evolve the shape of a structure, we need to calculate the variation of the objective functional. We refer to [5] for a description of this topic and numerous applied examples. Here we merely give the results of shape differential calculus. The shape derivative of the functional J() in the direction of the v vector field V is defiend as the limit v 1 (5) dJ (;V ) = lim ( J ( t ) J ()) t 0 t For the functional J () = dx , the shape deriva
= Vds / 1ds
3.4 Regularization of Sensitivity
(12)
(6)
The numerical solution of the displacement usually presents singularities at the corners of the structural boundaries or at the changes of boundary conditions type. It results in that the sensitivity is not accurate anymore as the stress vector is not well defined. From a numerical point of view, this leads to extreme normal boundary velocities, and may produce unacceptable mesh distortions (figure 1). To circumvent this problem, we arbitrarily set the shape sensitivity to zero on the corner of the shape and the cross point of the changes of boundary conditions (figure 2).
(7)
dJ (; y ()) = y Vn ds
(8)
Therefore, the shape derivative of the Lagrangian functional (4) is dJ (, (), , ) (9) 1 = ( T D + + ) Vn ds 2 In the case that 1 (10) Vn = ( T D + + ) 2 is defined on the deformable boundary of , the value of the Lagrangian functional is decreased.
Figure 1. The normal sensitivity on the structural boundaries. The black line means movable boundary and blue line means fixed boundary. The positions where two blue lines on the left side have zero displacement boundary conditions, and the position where the blue line on the right-bottom corner has vertical input force.
Excerpt from the Proceedings of the COMSOL Users Conference 2007 Grenoble
Figure 3. Optimized shape and deformed mesh using moving mesh equation using the initial shape and normal velocity in figure (2). The color bar expresses the quality of finite element mesh.
Figure 4. Smoothed finite element mesh based on the mesh in figure 3. The color bar expresses the quality of finite element mesh.
Figure 5. Re-meshed design domain. The color bar expresses the quality of finite element mesh.
4. Numerical Examples
In this section, we demonstrate the effect of the moving mesh shape optimization method using 2D compliant minimization examples.
Excerpt from the Proceedings of the COMSOL Users Conference 2007 Grenoble
5. Conclusions
This paper presents a procedure to implement compliance minimization structure shape optimization using the moving mesh method via Comsol. All the optimization procedures can be implemented using the Comsol GUI if the computational domain does not need to be remeshed. Comsol Script is used when the design domain needs to be remeshed regularly in order to preserve the domain mesh quality. A good mesh quality will improve not only the accuracy of the forward physical problem but also the quality of sensitivity. The method we presented can be extended to the shape optimization problem in which the forward physical problem is controlled by the static PDEs with self-adjoint elliptic operators.
6. References
1 M.P. Bendsoe, O. Sigmund, Topology Optimization Theory, Methods and Applications, Springer, (2003) 2 B. Lemke, Z. Liu, J.G. Korvink, Structural topology optimization using Comsol, Comsol conference (2006). 3 O.C. Zienkiewicz, J.S. Campell, Shape optimization and sequential linear programming, Optimum Structureal Design, Wiely, (1973) 4 J. Nocedal, S. J. Wright, Numerical Optimization. Springer (1999) 5 J. Sokolowski, J. Zolesio, Introduction to SOape optimization, Springer_verlag, 1992 6 H.K. Zhao, T. Chan, B. Merriman, S. Osher, A variational level set approach to multiphase motion. J. Comp. Phys. 127, 179-195 (1996) 7 G. Allaire, O. Pantz, Structural optimization with FreeFem++, 32, 173-181 (2006) 8 G. Dogan, P. Morin R.H. Nochetto M. Verani, Discrete gradient flows for shape optimization and applications, Comput. Methods Appl. Mech. Engrg. 196, 3898-3914 (2007) 9 http://www.comsol.com
Figure 6. Shape optimization of the inside boundary in which the initial shape is shown in figure (1).
7. Acknowledgements
Figure 7. Shape optimization of both the inside and out frame boundary in which the initial shape is shown in figure (1).
This work is supported by German Research Foundation (DFG) 1883/9-1. The authors would like to thank Comsol support for their valuable help.