원시데이터 수집 시스템
선정목록으로

Optimal NURBS conversion of PDE surface-represented high-speed train heads

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Shuangbu Wang — National Centre for Computer Animation, Bournemouth University, Poole, UK
  2. Yu Xia — National Centre for Computer Animation, Bournemouth University, Poole, UK
  3. Ruibin Wang — State Key Laboratory of Traction Power, Southwest Jiaotong University, Chengdu, China
  4. Lihua You — National Centre for Computer Animation, Bournemouth University, Poole, UK
  5. Jianjun Zhang — State Key Laboratory of Traction Power, Southwest Jiaotong University, Chengdu, China
DOI
10.1007/s11081-019-09425-6
저널
Optimization and Engineering
발행년도
2019
발행기관
Springer Science+Business Media
피인용수
16
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s11081-019-09425-6
토픽
Tribology and Lubrication Engineering
OpenAlex ID
W2920864629

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The head shape of high-speed trains has become a critical factor in boosting the speed further. Aerodynamic simulation-based optimization is a dominant method to obtain the optimal head shape which relies on detailed train head models defined by a lot of design variables. Since aerodynamic simulation-based optimization involves heavy calculations, too many design variables not only causes high computational costs, but also makes the optimal solution difficult to obtain. Therefore, how to use few design variables to define detailed train head model is the key to success. Partial differential equation (PDE)-based geometric modelling which creates a complicated PDE patch with few design variables provides an effective solution to this problem. In addition, it also has the advantage of naturally maintaining any high-order continuities between two adjacent surfaces which is very important in designing highly smooth train heads to achieve excellent aerodynamic performance. At the present time, PDE-based geometric modelling cannot be directly applied in computer-aided design (CAD), computer-aided manufacturing (CAM), and computer-aided engineering (CAE) since it has not become an industrial standard. In contrast, non-uniform rational B-splines (NURBS) are commonly used in CAD, CAM, CAE, and many other engineering fields. They have already become part of industry wide standards. In order to apply PDE-based geometric modelling in shape design of high-speed train heads for CAD etc., how to optimally convert PDE surfaces into NURBS surfaces must be addressed. In this paper, a new method of achieving optimal conversion of PDE surfaces representing high-speed train heads into NURBS surfaces is developed. It takes control points and weight deformations of NURBS surfaces to be design variables, and the error between NURBS surfaces and PDE surfaces as the objective function. The least squares fitting and the genetic algorithm are combined to obtain the optimal conversion between PDE surfaces and NURBS surfaces. The application examples demonstrate the effectiveness of the developed method.

본문 58,581자

본문 펼치기
p g g ( ) https://doi.org/10.1007/s11081-019-09425-6 <mark>RESEARCH ARTICLE</mark> ## Optimal NURBS conversion of PDE surface‑represented high‑speed train heads Shuangbu Wang <sup>1</sup> · Yu Xia <sup>1</sup> · Ruibin Wang <sup>2</sup> · Lihua You <sup>1</sup> · Jianjun Zhang <sup>1,2</sup> Received: 10 June 2018 / Revised: 10 January 2019 / Accepted: 12 January 2019 / Published online: 7 March 2019 © The Author(s) 2019 Abstract The head shape of high-speed trains has become a critical factor in boosting the speed further. Aerodynamic simulation-based optimization is a dominant method to obtain the optimal head shape which relies on detailed train head models defined by a lot of design variables. Since aerodynamic simulation-based optimization involves heavy calculations, too many design variables not only causes high computational costs, but also makes the optimal solution difficult to obtain. Therefore, how to use few design variables to define detailed train head model is the key to success. Partial differential equation (PDE)-based geometric modelling which creates a complicated PDE patch with few design variables provides an effective solution to this problem. In addition, it also has the advantage of naturally maintaining any high-order continuities between two adjacent surfaces which is very important in designing highly smooth train heads to achieve excellent aerodynamic performance. At the present time, PDE-based geometric modelling cannot be directly applied in computer-aided design (CAD), computer-aided manufacturing (CAM), and computer-aided engineering (CAE) since it has not become an industrial standard. In contrast, non-uniform rational B-splines (NURBS) are commonly used in CAD, CAM, CAE, and many other engineering fields. They have already become part of industry wide standards. In order to apply PDE-based geometric modelling in shape design of high-speed train heads for CAD etc., how to optimally convert PDE surfaces into NURBS surfaces must be addressed. In this paper, a new method of achieving optimal conversion of PDE surfaces representing high-speed train heads into NURBS surfaces is developed. It takes control points and weight deformations of NURBS surfaces to be design variables, and the error between NURBS surfaces and PDE surfaces as the objective function. The least squares fitting and the genetic algorithm are combined to obtain the optimal conversion between PDE surfaces and NURBS surfaces. The application examples demonstrate the effectiveness of the developed method. Keywords Optimal conversion · Error minimization · PDE surfaces · NURBS surfaces · Least squares fitting · Genetic algorithm Extended author information available on the last page of the article # 1 g 1 Introduction Geometric design of high-speed train heads is a key part in the aerodynamic research of high-speed trains (Wang et al. 2018). A high-speed train head involves a lot of design variables and high smoothness requirements. Parametric surface modelling methods such as B-splines surfaces, Bézier surfaces and non-uniform rational B-splines (NURBS) surfaces are widely used in geometric design of the high-speed train head (Yao et al. 2016; Suzuki and Nakade 2013; Muñoz Paniagua et al. 2011). However, they are not ideal in using few surface patches to describe complicated shapes, easily and accurately controlling surface shapes, and achieving any highorder continuity which are required in shape modelling of high-speed strain heads. Especially, when aerodynamic simulation-based optimization is required to obtain the optimal head shape for further speed increase, using few design variables to describe complicated and detailed train head models will not only significantly reduce computational costs, but also make the optimal solution easy to obtain. Partial differential equation (PDE)-based geometric modelling can use few PDE surface patches to describe complicated and detailed shapes (Zhang and You 2004), easily specify shape manipulation regions with arbitrary complexity (Ugail et al. 1999), apply sculpting forces to achieve complicated deformations and accurate control of surface shapes (Bloor and Wilson 1994; Du and Qin 2000), and readily achieve and naturally maintain any high-order continuity between two adjacent PDE surface patches (Zhang and You 2004). Therefore, PDE-based geometric modelling has the strengths in geometric design of high-speed train heads. With partial differential equation-based modelling, 3D models are constructed from the solution to partial differential equations subjected to position, tangent, curvature, and even higher-order boundary constraints (You et al. 2013). Since adjacent PDE surface patches share the same boundary constrains, 3D models constructed from partial differential equation-based geometric modelling exactly and automatically satisfy position, tangent, curvature and higher order continuities between adjacent PDE surface patches. No manual operations are required to stitch PDE surface patches together. Complicated shapes of 3D models can be easily and effectively manipulated by adjusting shape control parameters in partial differential equations, and boundary curves, boundary tangents, boundary curvature, etc. in boundary constraints. Since a single PDE surface patch can describe a complicated shape, a complicated 3D model can be constructed from few PDE surface patches. In addition, fourth order partial differential equations are similar to the governing equations of elastic bending of thin plates. Therefore, PDE-based geometric modelling is physics-based (Du and Qin 2001), and has a potential to create more realistic deformations of 3D models. Its association with physical significance is particularly useful for engineering design. Geometric models of high-speed train heads are usually applied in computeraided design (CAD), computer-aided manufacturing (CAM) and computeraided engineering (CAE) for further applications such as aerodynamic simulation and structural optimization. Currently, PDE-based geometric modelling has not become an industrial standard for the applications in CAD, CAM and CAE. # 1 p p g p In contrast, non-uniform rational B-splines (NURBS) have become an industry standard for the representation, design, and data exchange of geometric information processed by computers (Piegl and Tiller 1997). In order to facilitate further applications of PDE-based geometric modelling, it is necessary to convert PDE surfaces into NURBS surfaces for use in CAD, CAM and CAE systems. Therefore, optimal conversion from PDE surfaces into NURBS surfaces is an essential part of PDE-based geometric modelling of high-speed train heads. Although there has been much work investigating conversion methods between different geometric surfaces such as from B-spline surfaces to Bézier surfaces (Hoschek and Schneider 1990), parametric surfaces to implicit surfaces (Manocha and Canny 1992), and physical surfaces to NURBS surfaces (Heidrich et al. 1996; Ma and Kruth 1998; Saini and Kumar 2014; Kruth and Kerstens 1998; Yin 2004; Dan and Lancheng 2006), we did not find any reports which convert PDEsurfaces into NURBS surfaces. In addition, most of prior conversion methods focus on a single surface patch or an object with a simple shape. Thus the data sizes of origin surfaces and converted surfaces are small and there is no need to minimize the data sizes in the process of conversion and further applications such as aerodynamic simulation-based optimization. However, for a complicated and large-scale object such as high-speed train heads in this paper, it involves a large amount of data. Therefore, two main problems exist. First, the conversion process will cost a lot of computational time and raise the computational cost. Second, after achieving the conversion, the NURBS surface-represented train heads involve plenty of control points which will cause heavy calculations of aerodynamic simulation-based optimization and make the optimal shape difficult to obtain. In order to tackle the two problems, the conversion method should not only achieve good conversion accuracy, but also minimize the amount of the data representing the converted NURBS surfaces. This paper will review various conversion methods between different geometric surfaces and develop a new method to optimally converting PDE surfaces of high-speed train heads into NURBS surfaces with required accuracy and small data amount. PDE surfaces are defined by the solution to a vector-valued PDE subjected to the required boundary constraints. Depending on whether the vector-valued PDE is solved analytically or numerically, the solution to the PDE can be continuous or discrete representations. When converting continuous representations of analytical PDE surfaces into NURBS surfaces, it is still required to calculate the errors between the discretized version of analytical PDE surfaces and NURBS surfaces. Therefore, this paper will investigate the optimal conversion between discrete representations of PDE surfaces and NURBS surfaces. The remaining parts of the paper are organised as follows. Existing research studies on PDE-based geometric modelling, NURBS and surface conversion methods are reviewed in Sect. 2. An overview of the proposed method is given in Sect. 3. Then, a fourth order PDE for each of the position functions _x_, _y_, and _z_ function and its solution are proposed in Sect. 4. After that, an optimal conversion method of PDE surfaces defining high-speed train heads into NURBS surfaces is developed in Sect. 5, and validated by the application example presented in Sect. 6. Finally, the conclusion is drawn in Sect. 7. # 1 g 2 Literature review The work given in this paper is related to PDE-based geometric modelling, NURBS surfaces and their applications in CAD, CAM and CAE as an industrial standard, conversion between different surface representations, and optimization methods. This section will review some work in these fields. 2.1 PDE‑based geometric modelling Surface modelling based on the solutions of PDEs was initially proposed by Bloor and Wilson (1990). In the paper, they applied a vector-valued fourth order PDE with one shape control parameter to create surface shapes such as a propeller blade and a phone handset. Since then, this fourth order PDE-based surface modelling approach was applied to a number of engineering design problems (Bloor and Wilson 1994, 1996). Ugail et al. (1999) studied interactive design of practical surfaces using PDEbased modelling in real time. Du and Qin (2000) proposed a unified methodology to combine PDE surfaces with physics-based techniques, and presented a numerical approach through finite difference discretization of PDE surfaces (Du and Qin 2000). Since one shape control parameter cannot satisfy the designers who want to obtain a much greater variety of shapes by adjusting the shape control parameters, You and Zhang (1999) proposed a general fourth order PDE with three shape control parameters for surface generation. Then, they developed some analytical methods to resolve the fourth order PDEs (Zhang and You 2004, 2002). They also presented a fast surface modelling method using a sixth order PDE (Zhang and You 2004). This method provides more degrees of freedom and shape control parameters to manipulate surface shapes. Due to the advantages of PDE-based geometric modelling discussed above, they have been applied in many applications. For example, PDE-based geometric modelling has been used in parametric design and optimisation of solid pharmaceutical tablets in cylindrical and spherical shapes (Ahmat et al. 2014), facial geometry parameterisation (Sheng et al. 2011), cyclic animation (Gonzalez Castro et al. 2010), and real-time aircraft design (Athan et al. 2009). 2.2 NURBS as an industrial standard of CAD, CAM and CAE NURBS originates from B-spline technology and plays an important role in the CAD, CAM and CAE world. The description of NURBS was first given by Versprille KJ (1975) who extended B-splines to rational B-splines in 1975. By understanding the advantages of NURBS for geometry representation and design, Boeing proposed it as part of the standard to the 1981 International Graphics Exchange Standard meeting, and many companies, such as Structural Dynamics Research Corporation and Intergraph Corporation, started to develop modellers and systems based on NURBS in the 1980s (Piegl 1991). Because of the useful geometric # 1 p p g p properties, NURBS become part of many national and international standards such as IGES (Kennicott 1996), PHIGS (ISO/IEC 1997) and STEP (ISO 2003) for the representation, design, and data exchange of geometric information. 2.3 Surface representation conversion Converting other types of surfaces into NURBS surfaces is most often required since NURBS has become an industrial standard in CAD, CAM and CAE, especially in the field of reverse engineering. The key issue in the conversion is to solve NRUBS fitting. In general, fitting is usually achieved with polynomial approximation, which involves the minimization of an error at discrete data points. Depending on the application domain and the expected type of error, different norms can be selected for the minimization process such as _l_ 1, _l_ 2 and _l_ 3 norms (Heidrich et al. 1996). The least-square ( _l_ 2 norm) is usually applied in NURBS fitting. Ma and Kruth (1998) presented an algorithm for NURBS curves and surfaces fitting from freeform objects based on least squares fitting. The basic idea is to identify weights of the control points by applying symmetric eigenvalue decomposition techniques and then establish the control points in a similar way. Based on this identified method of weights, Saini and Kumar (2014) proposed a method to reconstruct surfaces from arbitrary perspective images using a NURBS model, and Kruth and Kerstens (1998) described NURBS surface fitting from a cloud of points subject to the incorporation of sufficient boundary conditions. Through determining the knot vectors, selecting the degrees, calculating the weights, and constructing an initial NURBS surface, Yin (2004) provided a new algorithm for fitting NURBS surfaces to scattered points using minimization of deviation under boundary constraints. By letting ordered measured points be control points and using least squares minimization, Dan and Lancheng (2006) developed a new conversion method which modifies a constructed surface to obtain a desired fitted surface. 2.4 Optimization methods NURBS consists of multi-parameters: control points, knots and weights which make the conversion task become a multi-variable nonlinear optimization problem involving large amount of data. In order to find a good NURBS model from large amount of data, Erkan Ulker (2012) applied the heuristic of artificial immune system for global optimization to find a smooth curve and the optimization of the NURBS weights and the knot vector. Jing et al. (2009) used a simulated annealing method to optimize weights and knot parameters of NURBS for curve and surface fitting. The genetic algorithm (GA) is a common multi-variables optimization method. Limaiem et al. (1996) applied genetic algorithms to obtain control point and knot values optimization, and proposed a new method for curve and surface approximation from scanned data points. Similarly, Yoshimoto et al. (1999) and Sarfraz (2004) applied GA to optimize both the knots and the weights of control points for curves and surfaces. # 1 g 3 Overview of the proposed method For complicated and large-scale objects such as high-speed train heads to be considered in this paper, plenty of control points are required to describe its shape. This will introduce many design variables and increase the need of storage capacity. If the weights of control points are also involved in the optimization calculations, independent design variables will be significantly increased. Too many control points and weights will lead to a large search space, greatly reduce computational efficiency, increase the difficulty in finding optimal converted NURBS surfaces. In the following applications of aerodynamic simulation-based optimization, they will also cause heavy calculations and make the optimal shape hard to obtain. Therefore, the aim of the optimal conversion from PDE surface-represented train heads to NURBS surface-represented train heads should look for the minimum design variables and weights while satisfying the required conversion accuracy _휀_ . We introduce two new ideas to achieve this aim. First, we approximate a lot of weights with a weight deformation discussed in Sect. 5.2.1 to noticeably reduce the number of weights. Second, we minimize the number of control points to decrease total control points while still satisfying the required conversion accuracy _휀_ . Including the weight deformation and the number and positions of control points in a same optimization objective function will greatly increase the computational complexity of the optimal conversion. When the total number of control points is known, the errors between PDE surfaces and NURBS surfaces can be minimized with the least square method to obtain the optimal positions of control points. Therefore, the complicated optimal conversion problem can be converted into two simple interlinking sub-problems: (1) obtaining the minimum number of control points and optimal weight deformation, and (2) determining the optimal positions of control points. The genetic algorithm (GA) is commonly used to generate high-quality solutions to optimization and search problems. In this paper, we employ GA to determine the minimum number of control points and the optimal weight deformation and combine it with the least squares method to obtain the optimal conversion from PDE surface-represented train heads to NURBS surface-represented train heads. As shown in Fig. 1, the proposed method can be divided into three steps: (1) PDE surface-based train head modelling, (2) NURBS surface formulation, and (3) Genetic algorithm-based optimal conversion. In (1) PDE surface-based train head modelling, a complicated train head (Fig. 1: left image of the top row) is first decomposed into a number of simple parts (second image from the left in top row), each part is described with a PDE surface patch (third image from the left in top row) obtained from the finite difference solution of a vector-valued partial differential equation (1) below, and all the PDE surface patches are automatically and smoothly stitched together to represent the whole train head model (right image in top row). In (2) NURBS surface formulation, the discrete vertices of each PDE surface patch are extracted, the number of control points and weight deformation obtained from the genetic algorithm are input to define a NURBS surface with unknown control points, and the least square method is introduced to # 1 p p g p Fig. 1 Framework of our method minimize the errors between the PDE surface and NURBS surface and determine the optimal positions of control points. In (3) Genetic algorithm-based optimal conversion, the maximum error between the PDE surface and the corresponding NURBS surface obtained from the least squares method is first calculated. If the maximum error satisfies the required conversion accuracy _휀_, i. e., maximum error ≤ _휀_, the optimal NURBS-represented train head is obtained for further applica tions in CAD, CAM and CAE and the optimization calculations terminate. If the maximum error is larger than _휀_, the genetic algorithm will find new number of control points and weight deformation and replace the previous input variables with them in second step. The new variables are input into the least squares minimization to determine the new positions of control points. 4 PDE‑based surfaces of high‑speed train heads Since the geometric shape of a high-speed train head is complicated, it cannot be accurately described with one PDE-based surface patch. Therefore, we divide a train head into some simple parts according to their shape changes, and use one PDEbased surface patch to describe each of the parts. PDE-based surface modelling can take different forms such as PDEs of the second, fourth and sixth orders (You et al. 2013). It was found that the higher the order of a PDE, the smoother between two adjacent PDE surfaces and the more powerful in # 1 g creating and manipulating geometric models, but the less efficient of the calculations and the harder it is to be solved (Zhang and You 2004). Since a second order PDE cannot ensure the tangent continuity between two adjacent PDE surface patches, we apply a fourth order PDE for our applications, which can be written as: ) ( _<u>휕휕u</u>_ 4 _<u>f</u>_ <sup>4</sup> _a_ 1 + _a_ 2 + _a_ 3 = 0 (1) _휕u_ <sup>4</sup> _휕u_ <sup>2</sup> _휕v_ <sup>2</sup> _휕v_ <sup>4</sup> _<u>휕</u>_ <sup>4</sup> _<u>f</u>_ ( _휕u_ <sup>2</sup> _휕v_ <sup>2</sup> + _a_ 3 ( _휕휕v_ 4 _<u>f</u>_ <sup>4</sup> _휕v_ <sup>4</sup> _휕u_ <sup>4</sup> ) + _a_ 2 ) = 0 where _f_ ( _u_, _v_ ) = ( _x_ ( _u_, _v_ ), _y_ ( _u_, _v_ ), _z_ ( _u_, _v_ )) represents the generated surface, _a_ 1, _a_ 2 and _a_ 3 are user defined shape parameters, and _u_ and _v_ are parametric variables which are the independent variables used in parametric equations to express the location of a point ( _x_, _y_, _z_ ) on a surface by determining each of the coordinates _x_, _y_, and _z_ separately, i. e., _x_ = _x_ ( _u_, _v_ ), _y_ = _y_ ( _u_, _v_ ) and _z_ = _z_ ( _u_, _v_ ) with _u_ and _v_ usually defined by 0 ≤ _u_ ≤ 1 and 0 ≤ _v_ ≤ 1. A PDE surface patch is defined by the solution to the vector-valued partial differential equation (1) subjected to boundary conditions such as boundary curves, boundary tangents and boundary curvature. Compared to polygon and other patch-based modelling which involve a lot of design variables, the design variables defining a _C_ <sup>1</sup> continuous PDE surface patch only involve few design variables, i. e., three shape parameters in PDE (1), and boundary curves and the first derivatives on the boundaries. Since the analytical solution to PDE (1) is usually not a simple polynomial function, a PDE surface patch can describe a more complicated shape than other geometric methods. Therefore, PDE-based geometric modelling can use few design variables to represent a complicated 3D model. The solution of a PDE can be analytical or numerical methods. The analytical method, representing PDE surfaces by continuous functions, is usually applicable to low order or simple PDE. Although the numerical method is computationally more complicated and expensive, it is more powerful than the analytical method. When converting analytical PDE surfaces into NURBS surfaces, we are still required to calculate the errors between the discretized version of analytical PDE surfaces and NURBS surfaces. Therefore, this paper will investigate optimal conversion between discrete points of PDE surfaces and NURBS surfaces. The finite difference method is ideal in generating discrete points of PDE surfaces. Here we briefly introduce such a method. A typical _I_ × _J_ grid of the finite difference method is shown in Fig. 2. The small dots and squares represent the unknown inner nodes and the known boundary nodes of a PDE surface patch, respectively. The small triangles represent the virtual nodes beyond the boundaries of the PDE surface patch. The virtual nodes will be involved in the finite difference equations of the first partial derivatives on the boundaries and used to guarantee the boundary tangent continuity. Based on the Taylor series expansion of a function _f_, the central-difference approximation of _휕휕fui_ <u>,</u> _<u>j</u>_ <sup>and</sup> _휕휕fvi_ <u>,</u> _<u>j</u>_ <sup>at the typical node (</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>) can be formulated below:</sup> _휕fi_ <u>,</u> _<u>j</u>_ _휕fi_ <u>,</u> _<u>j</u>_ _휕휕fvi_ <u>,</u> _<u>j</u>_ <sup>at the typical node (</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>) can be formulated below:</sup> _휕휕fui_ <u>,</u> _<u>j</u>_ <sup>and</sup> _휕fi_, _j_ (2) _휕u_ <sup>=</sup> 2 <sup><u>1</u></sup> _h_ <sup>(</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1 −</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1)</sup> _휕fi_, _j_ _휕u_ <sup>=</sup> 2 <sup><u>1</u></sup> 2 <sup><u>1</u></sup> _h_ <sup>(</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1 −</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1)</sup> _휕fi_, _j_ (3) _휕v_ <sup>=</sup> 2 <sup><u>1</u></sup> _h_ <sup>(</sup> <sup>_fi_</sup> <sup>+1,</sup> <sup>_j_</sup> <sup>−</sup> <sup>_fi_</sup> <sup>−1,</sup> <sup>_j_</sup> <sup>)</sup> _휕fi_, _j_ _휕v_ <sup>=</sup> 2 <sup><u>1</u></sup> 2 <sup><u>1</u></sup> _h_ <sup>(</sup> <sup>_fi_</sup> <sup>+1,</sup> <sup>_j_</sup> <sup>−</sup> <sup>_fi_</sup> <sup>−1,</sup> <sup>_j_</sup> <sup>)</sup> # 1 p p g p Fig. 2 Typical finite difference grid where _h_ denotes the grid interval. The central difference approximations of the fourth partial derivatives can be derived from Eqs (2) and (3). They can be written as: _휕_ <sup>4</sup> _fi_, _j_ (4) _휕u_ <sup>4</sup> <sup>=</sup> _h_ <sup><u>14</u></sup> <sup>[6</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−</sup> <sup>4(</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1 +</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1) + (</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−2 +</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+2)]</sup> _휕_ <sup>4</sup> _fi_, _j_ _휕u_ <sup>4</sup> <sup>=</sup> _h_ <sup><u>14</u></sup> _h_ <sup><u>14</u></sup> <sup>[6</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−</sup> <sup>4(</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1 +</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1) + (</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−2 +</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+2)]</sup> _휕_ <sup>4</sup> _fi_, _j_ (5) _휕v_ <sup>4</sup> <sup>=</sup> _h_ <sup><u>14</u></sup> <sup>[6</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−</sup> <sup>4(</sup> <sup>_fi_</sup> <sup>−1,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>+1,</sup> <sup>_j_</sup> <sup>) + (</sup> <sup>_fi_</sup> <sup>−2,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>+2,</sup> <sup>_j_</sup> <sup>)]</sup> _휕_ <sup>4</sup> _fi_, _j_ _휕v_ <sup>4</sup> <sup>=</sup> _h_ <sup><u>14</u></sup> _h_ <sup><u>14</u></sup> <sup>[6</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−</sup> <sup>4(</sup> <sup>_fi_</sup> <sup>−1,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>+1,</sup> <sup>_j_</sup> <sup>) + (</sup> <sup>_fi_</sup> <sup>−2,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>+2,</sup> <sup>_j_</sup> <sup>)]</sup> _휕_ <sup>4</sup> _fi_, _j_ _휕u_ <sup>2</sup> _휕v_ <sup>2</sup> <sup>=</sup> _h_ <sup><u>14</u></sup> <sup>[4</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−</sup> <sup>2(</sup> <sup>_fi_</sup> <sup>−1,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>+1,</sup> <sup>_j_</sup> <sup>+</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1 +</sup> <sup>_fi_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1)</sup> (6) + ( _fi_ −1, _j_ +1 + _fi_ −1, _j_ −1 + _fi_ +1, _j_ +1 + _fi_ +1, _j_ −1)] where _i_ = 3, 4, ..., _I_ - 2, _j_ = 3, 4, ..., _J_ - 2 . Substituting Eqs (4), (5) and (6) into (1), we obtain the following vectorial finite difference equation of the PDE (1) at the inner node ( _i_, _j_ ) : (6 _a_ 1 + 4 _a_ 2 + 6 _a_ 3) _fi_, _j_ −(4 _a_ 1 + 2 _a_ 2) _fi_, _j_ +1 −(2 _a_ 2 + 4 _a_ 3) _fi_ +1, _j_ −(4 _a_ 1 + 2 _a_ 2) _fi_, _j_ −1 −(2 _a_ 2 + 4 _a_ 3) _fi_ −1, _j_ + _a_ 2 _fi_ −1, _j_ +1 + _a_ 2 _fi_ +1, _j_ +1 + _a_ 2 _fi_ +1, _j_ −1 + _a_ 2 _fi_ −1, _j_ −1 + _a_ 1 _fi_, _j_ +2 + _a_ 3 _fi_ +2, _j_ + _a_ 1 _fi_, _j_ −2 + _a_ 3 _fi_ −2, _j_ = 0 # 1 (7) g After the boundary conditions, i. e., positions and the first partial derivatives of the function _f_ with respect to the parametric variable _u_ and _v_ on the boundaries of the PDE surface patch, are specified by users, they can be converted into the finite difference equations by using Eqs. (2) and (3) to change them into the finite difference approximations. Making use of the first partial derivatives on the boundaries, the virtual nodes beyond the boundaries are represented with the inner nodes next to the boundaries. The finite difference equations of the boundary conditions together with Eq. (7) can be written in a matrix form below: [ _A_ ]{ _Q_ } = { _E_ } (8) where [A] is an _I_ × _J_ by _I_ × _J_ coefficient matrix. { _Q_ } is a column vector of the discrete vertices of the PDE surface patch. { _E_ } is a column vector involving boundary points and tangents. Since the matrix [ _A_ ] is square and nonsingular, the PDE surface patch is obtained directly by matrix inversion: { _Q_ } = [ _A_ ] <sup>−1</sup> { _E_ } (9) 5 Optimal NURBS conversion method Non-uniform rational B-splines (NURBS) are commonly supported by CAD, CAM, and CAE systems and have already become part of numerous industry wide standards. A NURBS surface of degree _p_ in the _u_ direction and degree _q_ in the _v_ direction can be expressed as (Piegl and Tiller 1997): _n_ ∑ _i_ =0 _m_ ∑ _j_ =0 _S_ ( _u_, _v_ ) = _Ri_, _j_ ( _u_, _v_ ) _Pi_, _j_ (0 ≤ _u_ ≤ 1;0 ≤ _v_ ≤ 1) (10) _Ri_, _j_ ( _u_, _v_ ) _Pi_, _j_ (0 ≤ _u_ ≤ 1;0 ≤ _v_ ≤ 1) _j_ =0 where _Pi_, _j_ are ( _m_ + 1) × ( _n_ + 1) control points of the NURBS surface, and _Ri_, _j_ ( _u_, _v_ ) are piecewise rational basis functions, which are defined as: _Ni_, _p_ ( _u_ ) _Nj_, _q_ ( _v_ ) _wi_, _j_ _i_ =0 _j_ =0 <sup>_Nī_</sup> <sup>,</sup> <sup>_p_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_Nj̄_</sup> <sup>,</sup> <sup>_q_</sup> <sup>(</sup> <sup>_̄_</sup> <sup>_̄_</sup> ~~∑~~ _n_ ~~∑~~ _m_ _̄_ _̄_ _̄_ _Ri_, _j_ ( _u_, _v_ ) = (11) <sup>_̄_</sup> <sup>_̄_</sup> <sup>_̄_</sup> <sup>_̄_</sup> _i_ =0 _j_ = <sup>_̄_</sup> <sup>_̄_</sup> <sup>_̄_</sup> <sup>_̄_</sup> ~~∑~~ _m_ _̄_ _̄_ _̄_ _j_ =0 <sup>_Nī_</sup> <sup>,</sup> <sup>_p_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_Nj̄_</sup> <sup>,</sup> <sup>_q_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_wī_</sup> <sup>,</sup> <sup>_j̄_</sup> In the above equation, _wi_, _j_ and _wī_, _j̄_ are the weights, and _Ni_, _p_ ( _u_ ), _Nj_, _q_ ( _v_ ), _Nī_, _p_ ( _u_ ) and _Nj̄_, _q_ ( _v_ ) are the non-rational B-spline functions defined on the knot vectors: _U_ = 0, …, 0, _up_ +1, …, _ur_ - _p_ −1, 1, …, 1 (12) 0, …, 0 _⏟⏟⏟_ , _up_ +1, …, _ur_ - _p_ −1, 1, …, 1 _⏟⏟⏟_ _p_ +1 _p_ +1 _V_ = 0, …, 0, _vq_ +1, …, _vs_ - _q_ −1, 1, …, 1 (13) 0, …, 0 _⏟⏟⏟_ , _vq_ +1, …, _vs_ - _q_ −1, 1, …, 1 _⏟⏟⏟_ _q_ +1 _q_ +1 ⎫ ⎪ ⎬ ⎪⎭ ⎫ ⎪ ⎬ ⎪⎭ # 1 ⎧ ⎪ ⎨ ⎪⎩ ⎧ ⎪ ⎨ ⎪⎩ p p g p where _r_ = _n_ + _p_ + 1 and _s_ = _m_ + _q_ + 1. Taking the parametric variables _u_ and _v_ to be the same values as those at the finite difference nodes, i. e., _u_ = _uk_ and _v_ = _vk_ with _k_ = ( _i_ - 1) _J_ + _j_ where _i_ and _j_ are shown in Fig. 2, we use _Rkl_ ( _k_ = 1, 2, ..., _K_ ; _l_ = 1, 2, ..., _L_ ) to represent _Ri_, _j_ ( _uk_, _vk_ ) with _K_ = _I_ × _J_ to be the total number of the finite difference nodes and _L_ to be the total number of control points, i. e., _L_ = ( _m_ + 1) × ( _n_ + 1) . After replacing the control point _Pi_, _j_ ( _i_ = 0, 1, 2, ..., _n_ ; _j_ = 0, 1, 2, ..., _m_ ) in Eq. (10) with the symbol _Pl_, Eq. (10) can be written in a matrix form as follows: ⎤ ⎥ ⎥ ⎥⎦ ⎤ ⎥ ⎥ ⎥⎦ ⎡ ⎢ ⎢ ⎢⎣ ⎤ ⎥ ⎥ ⎥⎦ = _R_ 11 _R_ 12 ⋯ _R_ 1 _L_ _R_ 21 _R_ 22 ⋯ _R_ 2 _L_ ⎡ ⋮ ⋮ ⋱ ⋮ ⎢ _RK_ 1 _RK_ 2 ⋯ _RKL_ ⎢ ⎢⎣ _P_ 1 _P_ 2 ⋮ _PL_ (14) or 5.1 Least squares fitting _S_ 1 _S_ 2 ⎡ ⋮ ⎢ _SK_ ⎢ ⎢⎣ { _S_ } = [ _R_ ]{ _P_ } (15) The least squares method is a standard approach in regression analysis which is used to find the best fit to a dataset. It is widely applied in reverse engineering. With the least squares method, the sum of the squared errors between a PDE surface patch and its corresponding NURBS surface patch at the finite difference nodes can be written as: _K_ ∑ _k_ =1 || _Qk_ - _Sk_ || 2 2 _f_ = (16) where _Qk_ and _Sk_ are _k_ <sup>_th_</sup> element of the column vector { _Q_ } and { _S_ } which represents the _k_ <sup>_th_</sup> discrete vertex of a PDE surface patch and a NURBS surface patch respectively. Introducing Eqs. (9) and (15) into the above equation, Eq. (16) is transformed into the following form: _K_ ∑ _k_ =1 - _k_ 1 <sup>{</sup> <sup>_E_</sup> <sup>} −[</sup> <sup>_R_</sup> <sup>]</sup> <sup>_k_</sup> <sup>{</sup> <sup>_P_</sup> <sup>}||</sup> | <sup>[</sup> <sup>_A_</sup> <sup>]−1, {</sup> <sup>_E_</sup> <sup>}</sup> 2 _f_ = (17) _k_ =1 |||[ _A_ ]− _k_ 1 <sup>[</sup> where [ _A_ ] <sup>−</sup> _k_ <sup>1</sup> where [ _A_ ] <sup>−</sup> _k_ <sup>1 is the</sup> <sup>_kth_</sup> <sup>row of the matrix [</sup> <sup>_A_</sup> <sup>]−1, {</sup> <sup>_E_</sup> <sup>} is the column vector given in Eq.</sup> (9), [ _R_ ] _k_ is the _k_ <sup>_th_</sup> row of the matrix [ _R_ ], and { _P_ } is the column vector given in Eq. (15). With the least squares method, we have _휕_ <sup>_<u>휕</u>_</sup> _P_ <sup>_<u>f</u>_</sup> Eq. (17) into the following normal equations. _휕_ <sup>_<u>휕</u>_</sup> _P_ <sup>_<u>f</u>_</sup> _l_ <sup>= 0 (</sup> <sup>_l_</sup> <sup>= 1, 2, ...,</sup> <sup>_L_</sup> <sup>) which converts</sup> [ _R_ ] <sup>_T_</sup> [ _A_ ] <sup>−1</sup> { _E_ } = [ _R_ ] <sup>_T_</sup> [ _R_ ]{ _P_ } (18) # 1 g Solving the above equations, the positions of all the unknown control points of the NURBS surface patch is obtained. 5.2 Genetic algorithm The accuracy of the converted NURBS surface depends on the number of control points: more control points will lead to more accurate calculations which make the converted NURBS surface closer to the PDE surface. Therefore, we need to find enough control points which make the converted NURBS surface satisfy the required conversion accuracy. Since increasing control points will introduce more design variables, cause more storage capacity, and raise the computational cost in both conversion process and following applications, it is important to find the least control points which not only minimize the number of design variables but also satisfy the required conversion accuracy _휀_ . Apart for control points, weights of a NURBS surface also affect the conversion accuracy. As shown in Eqs. (10) and (11), one control point has one weight. If all the weights are taken to be design variables, the optimization calculation cost will greatly increase and the optimal conversion will be more difficult to obtain. To tackle this problem, a curve deformation algorithm is proposed in Sect. 5.2.1 to change all the weights into a single weight deformation. The genetic algorithm is very efficient in random search to solve unclear and complex problems. This paper uses it to find the minimum number of control points and the optimal weight deformation and combine it with the least squares method which is used to determine the most suitable positions of control points for the optimally converted NURBS surface. The basic structure of a genetic algorithm is shown in Fig. 3. 5.2.1 Design variables As discussed above, the number of control points and weight deformation are chosen to be design variables. Inspired by the algorithm of deforming a curve discussed in Yu et al. (2013), we propose a new weight deformation algorithm to deform a surface. It transforms multiple weight variables into a single weight deformation, makes the deformation bigger and bigger when moving from the boundaries to the centre of a NURBS surface, and has no effects on the four boundaries of a NURBS surface patch to ensure the continuity between adjacent NURBS surface patches. The deformation algorithm is given by ( <u>(</u> _<u>i</u>_ <u>−</u> <u>1)(</u> _<u>n</u>_ <u>−</u> _<u>i</u>_ <u>)</u> ( _<u>j</u>_ - <u>1)(</u> _<u>m</u>_ - _<u>j</u>_ ) 1 + _dw_ ( _i_ - 1) <sup>2</sup> + ( _n_ - _i_ ) <sup>2</sup> <sup>×</sup> ( _j_ - 1) <sup>2</sup> + ( _m_ - _j_ ) <sup>2</sup> ) _wi_, _j_ = _̄ wi_, _j_ 1 + _dw_ ( _i_ - 1) <sup>2</sup> + ( _n_ - _i_ ) <sup>2</sup> <sup>×</sup> ( _j_ - 1) <sup>2</sup> + ( _m_ - _j_ ) <sup>2</sup> (19) where _̄wi_, _j_ and _wi_, _j_ are original and new weight respectively, _n_ + 1 and _m_ + 1 are the numbers of weights in the _u_ direction and _v_ direction respectively, and _dw_ is the weight deformation. Figure 4 shows an example how the weight deformation changes the shape of a NURBS surface. When _dw_ is 0, the weights of all control points are equal to 1 # 1 p p g p Fig. 3 The basic structure of the genetic algorithm Fig. 4 Effects of the weight deformation on a NURBS surface ( _wi_, _j_ = 1 ). It means the NURBS surface becomes a B-spline surface. Therefore, the geometric meaning of weight deformation is to adjust the concavity ( _dw <_ 0 ) and convexity ( _dw >_ 0 ) of a B-spline surface. The least number of control points of a NURBS surface is related to the degree _p_ in the _u_ direction and degree _q_ in the _v_ direction. For a NURBS surface of the degree _p_ with _n_ + 1 control points in the _u_ direction, its knot vector has _n_ + _p_ + 2 knots. Since the knot vector is non-periodic and the first and last knots have multiplicity _p_ + 1, the number of control points must satisfy _n_ + 1 ≥ _p_ + 1 . Similarly, in the _v_ direction, the number of control points must satisfy _m_ + 1 ≥ _q_ + 1 . Thus, for # 1 g a NURBS surface, the least number of control points is ( _p_ + 1) × ( _q_ + 1) . In addition, the maximum number of control points is equal to _K_ which is the total number of discrete vertices of NURBS surface. Therefore, the input range of the number of control points is between ( _p_ + 1) × ( _q_ + 1) and _K_ . There is no strict limitation for the range of weight deformation, except that it needs to include the value of zero. A wider range of weight deformation produces more precise results but causes more computing time. On the other side, when the value of weight deformation is very large or small, the shape of surface is nearly unchanged. Therefore, after a dozen experiments, we find a suitable range of weight deformation which is [−4, 30]. After the ranges of the number of control points and weight deformation have been specified, they are represented by a set of strings coded in binary. 5.2.2 Objective function Since Eq. (9) determines a PDE surface patch represented by the column vector { _Q_ } and Eq. (15) describes the corresponding NURBS surface patch represented by the column vector { _S_ }, we can obtain the difference between the two surface patches by calculating the errors of the two surface patches at the finite difference nodes _i_ ( _i_ = 1, 2, 3, ⋯, _K_ ) which is the Euclidean distances _d_ ( _Qi_, _Si_ ) where _Qi_ is the _i_ <sup>_th_</sup> element of the column vector { _Q_ } and _Si_ is the _i_ <sup>_th_</sup> element of the column vector {S}. The optimization objective function is to find the minimum number of control points and the optimal weight deformation which minimize the maximum error between the PDE surface patch and its corresponding NURBS surface patch. Once the maximum error satisfies the required conversion accuracy _휀_, the genetic algorithm terminates and the optimal NURBS surface patch is obtained. Therefore, the optimization objective function can be formulated as: arg min _cp_, _dw_ (20) | _휀max_ ( _cp_, _dw_ ) − _휀_ | _cp_, _dw_ | _휀max_ ( _cp_, _dw_ ) − _휀_ | _휀max_ ( _cp_, _dw_ ) ≤ _휀_ _subject to_ _휀max_ ( _cp_, _dw_ ) ≤ _휀_ where } _휀max_ ( _cp_, _dw_ ) = 1max≤ _i_ ≤ _K_ _L s_ <sup>_d_</sup> <sup>(</sup> <sup>_Qi_</sup> <sup>,</sup> <sup>_Si_</sup> <sup>)</sup> (21) 1≤ _i_ ≤ _K_ _L_ { <u>1</u> _L s_ <sup>_d_</sup> <sup>(</sup> <sup>_Qi_</sup> <sup>,</sup> <sup>_Si_</sup> <sup>)</sup> where _cp_ and _dw_ are design variables that are the number of control points and the weight deformation, respectively, and _Ls_ is the shortest distance between any two points of the PDE surface. The reason why we choose the shortest distance is to measure the distance between the PDE surface patch and the NURBS surface patch under the same order of magnitude of the PDE surface. 5.2.3 Genetic operators The basic structure of the genetic algorithm is shown in Fig. 3. The transition from one generation to the next one consists of four basic components (Bodenhofer 2004): # 1 p p g p 1) Selection: The selection process selects individuals for reproduction according to their fitness. In this paper, the individuals are the binary strings of the number of control points and the weight deformation, and the fitness is the objective function value. 2) Crossover: Crossover is a probabilistic process that merges the genetic information of two selected individuals and produces next generation. 3) Mutation: mutation is a random deformation of the strings with a certain probability. It mutates a bit position (genes) of binary representation of chromosomes by simply flipping its value at random. The positive effect is preservation of genetic diversity and avoidance of local maxima. 4) Sampling: The sampling process computes a new generation from the previous one and its offspring. 6 Applications As a demonstration of the proposed method, we here present an example of converting the PDE surface patches of a simplified high-speed train head into optimal NURBS surface patches. To obtain the NURBS-represented train head, the first step is to represent a high-speed train head with a number of PDE-based surface patches. Since the high-speed train head is a symmetrical structure, there is no need to use whole PDE-based surface patches for representing the shape of train head. Thus, we can create the half of train head by PDE-based surface patches, and then obtain the whole shape of the PDE-based train head by symmetry. The patches of the half of the train head are then converted to optimal NURBS surface patches which are assembled to represent a complete NURBS surface-represented train head. The conversion process is shown in Fig. 5. For illustrative purposes, we divide the half of a high-speed train head into twenty-two surface patches according to shape changes. The whole train head includes forty-four surface patches, which are shown in Fig. 5. The twenty-two surface patches are converted to optimal NURBS surface patches by our proposed method. The flowchart of the optimal conversion is shown in Fig. 6. The flowchart includes three steps. First, the coordinate values and _u_ and _v_ values of the twenty-two PDE surface patches of the train head at the finite difference nodes together with a required conversion accuracy and GA variables (the number of control points and weight deformation) are input to the algorithm of least squares Fig. 5 Process of conversion # 1 g Fig. 6 Flowchart of the optimal conversion surface fitting to determine the optimal positions of control points of the converted NURBS surface patches. Second, the genetic algorithm is applied to minimize the objective function and obtain the new number of control points and weight deformation. Third, whether the maximum error is smaller than the required conversion accuracy is checked. If yes, the optimal NURBS surface patches are obtained and the genetic algorithm terminates. Otherwise, the new number of control points and weight deformation are input to the algorithm of least squares surface fitting to determine new optimal positions of control points. In this example, we take the required conversion accuracy _휀_ to be 1% ( _휀_ = 1% ). The optimal number of control points and weight deformation for the twenty-two NURBS surface patches of the high-speed train head are given in Table 1. In order to visualize the errors between the PDE surface patches and the obtained optimal NURBS surface patches, the errors are represented with different colours in Fig. 7. In the figure, the lighter colours mean smaller errors whereas the darker colours mean bigger errors. Since we set _휀_ = 1%, the minimized maximum errors should be between 0 and 0.01, i. e., 0% ≤ _휀max_ ( _cp_, _dw_ ) ≤ 1% . Fig. 7 indicates that all the errors are in the range. Among them, the maximum error of patches 4, 8, 11, 12, 17, and 21 reaches the upper limit of the range which is 1%, and the maximum error of patches 13 and 20 is 0.38% and 0.32%, respectively which are minimal. For the whole train head, the errors between the PDE representation and NURBS representation are visualised in Fig. 8. In this figure, (a) is the original PDE surface-represented train head, (b) is optimally converted NURBS # 1 p p g p Table 1 Optimal number of control points and weight deformation ( _휀_ = 1%) Patch index Number of control <u>points</u> Weight deformation 1 121 - 3.9969 2 121 0.7452 3 110 - 3.9913 4 100 - 3.2886 5 90 2.9158 6 72 1.7053 7 77 2.8173 8 48 0.7253 9 96 2.6475 10 99 3.8784 11 80 - 3.2496 12 80 8.3377 13 48 2.8943 14 64 9.5815 15 56 0.3618 16 110 16.3041 17 70 - 3.2187 18 90 30.0000 19 99 18.3193 20 120 3.2596 21 88 - g3.2854 <u>22</u> <u>100</u> <u>14.9994</u> surface-represented train head, and (c) uses different colours to visualize the errors between the original PDE surface-represented train head and the optimally converted NURBS surface-represented train head. The images given in the figure clearly shows the errors for all the surface patches are not more than 1%. The above discussions indicate that the developed method is very effective in obtaining the optimal conversion from the PDE surface-represented train head to the NURBS surface-represented train head. In order to investigate the effects of the required conversion accuracy _휀_ and weight deformation, we set _휀_ to 0%, 1%, 2%, 5% and 10%, respectively, and consider two cases: one with fixed weights _wi_, _j_ = 1 (Brujic 2002; Xiao 2005), and the other with the optimal weight deformation. The obtained results are depicted in Fig. 9 where the blue curve is from the optimal conversion with the fixed weight, and the pink curve is from the optimal conversion with the optimal weight deformation. Figure 9 shows the total number of control points for the 22 NURBS patches of the half of the train head linearly decreases with the increase of the required conversion accuracy for both cases. The linear decrease when the required conversion accuracy is less than 1% is larger than the linear decrease when the required # 1 g Fig. 7 Visualization of the errors between the PDE surface patches and NURBS surface patches Fig. 8 Error comparison between the original PDE surface-represented ( a ) and NURBS surface-represented ( b ) high-speed train head where ( c ) uses different colours to visualize the errors between them # 1 p p g p Fig. 9 Effects of the required conversion accuracy and weight deformation conversion accuracy is more than 1%. When the required conversion accuracy _휀_ is 0%, 1%, 2%, 5% and 10%, the minimum control points for the optimal conversion with fixed weights are 2956, 2060, 1635, 1239 and 903 respectively, and the minimum control points for the optimal conversion with weight deformation are 2956, 1939, 1559, 1172 and 848 respectively, indicating the application of the weight deformation can decrease the number of control points to some extent. Compared to the minimum control points obtained by the optimal conversion with the fixed weights, the optimal conversion with the optimal weight deformation reduces the minimum control points by 0%, 5.87%, 4.65%, 5.41% and 6.09% respectively. When _휀_ = 0%, the errors at the finite difference nodes between the PDE surface patches and the corresponding NURBS surface patches are zero, and Eq. (17) becomes[ _A_ ] <sup>−</sup> _k_ <sup>1{</sup> <sup>_E_</sup> <sup>} −[</sup> <sup>_R_</sup> <sup>]</sup> <sup>_k_</sup> <sup>{</sup> <sup>_P_</sup> <sup>} = 0 (</sup> <sup>_k_</sup> <sup>= 1, 2, 3, …,</sup> <sup>_K_</sup> <sup>). That is, we solve</sup> the _K_ equations to determine _K_ control points. Therefore, the number of control points is always _K_ whether the fixed weights or the weight deformation are considered. When the required conversion accuracy increases from 0% to 1%, 2%, 5% and 10%, the total control points are reduced by 34.40%, 47.26%, 60.35% and 71.31% for the optimal conversion with the optimal weight deformation which indicate setting the required conversion accuracy to a high value will greatly decrease the number of control points. Therefore, proper selection of the required conversion accuracy is very important for reducing the number of control points. 7 Conclusion A new method of converting a PDE surface-represented high-speed train head into optimal NURBS surfaces has been developed in this paper. How to use the finite difference method to obtain PDE surface-represented high-speed train heads is investigated. A new 3D weight deformation method is proposed to transform many weights # 1 g into a single weight deformation for significant reduction of design variables. The least squares fitting method and genetic algorithm are combined to optimally convert PDE surface patches to NURBS surface patches which satisfy the required conversion accuracy with minimum control points. We have demonstrated this method by presenting an example of converting PDE surfaces of a high-speed train head into NURBS surfaces. The example indicates that the developed method is able to obtain an optimal NURBS surface-represented high-speed train head with high accuracy and minimum control points. We have also investigated the influences of the required conversion accuracy and weight deformation on the optimal conversion. Since a high value of the required conversion accuracy can greatly reduce control points, it is very important to properly specify the required conversion accuracy to minimize control points. By comparing the optimal conversion with fixed weights and that with the optimal weight deformation, it can be concluded that introduction of the weight deformation can further lower the number of control points. Acknowledgements This research is supported by the National Natural Science Foundation of China (Grant no. 51475394), the Independent Research Project of the State Key Laboratory of Traction Power (No.2015TPL_T06), the Fundamental Research Funds for the Central Universities (No. 2682016CX128), and the PDE-GIR project which has received funding from the European Unions Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 778035. Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 Interna[tional License (http://creat​iveco​mmons​.org/licen​ses/by/4.0/), which permits unrestricted use, distribution,](http://creativecommons.org/licenses/by/4.0/) and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. References Ahmat N, Gonzalez Castro G, Ugail H (2014) Automatic shape optimisation of pharmaceutical tablets using Partial Differential Equations. Comput Struct 130:1–9 Athan M, Ugail H, Gonzalez G (2009) Parametric design of aircraft geometry using partial differential equations. Adv Eng Softw 40:479–486 Bloor MIG, Wilson MJ (1990) Using partial differential equations to generate free-form surfaces. Com put-Aided Des 22(4):202–212 Bloor MIG, Wilson MJ (1994) Local control of surfaces generatedusing partial differential equations. Comput Gr 18(2):161–9 Bloor MIG, Wilson MJ (1996) Spectral approximations to PDE surfaces. Comput-Aided Des 28(2):145–52 Bodenhofer U (2004) Genetic algorithms: theory and applications, lecture notes, 3rd edn. J. Kepler Univ, Linz Brujic D (2002) Measurement-based modification of NURBS surfaces. Comput-Aided Des 34(3):173–183 Dan J, Lancheng W (2006) An algorithm of NURBS surface fitting for reverse engineering. Int J Adv Manuf Technol 31:92–97 Du H, Qin H (2000) Direct manipulation and interactive sculpting of PDE surfaces. In: Proceedings of Eurographics 2000, Interlaken, Switzerland. Computer graphics forum vol 9(3), pp 261–270 Du H, Qin H (2000) Dynamic PDE surfaces with flexible and general geometric constraints. In: Pro ceedings of the eighth pacific conference on computer graphics and applications (Pacific graphics 2000),Hong Kong pp 213–222 # 1 p p g p Du H, Qin H (2001) Integrating physics-based modeling with PDE solids for geometric design. In: Pro ceedings of 9th pacific conference on computer graphics and applications, pp 198–207, Tokyo, Japan Gonzalez Castro G, Athanasopoulos M, Ugail H (2010) Cyclic animation using partial differential equa tions. Vis Comput 26(5):325–338 Heidrich W, Bartels R, Labahn G (1996) Fitting uncertain data with NURBS. In: Proceedings of 3rd international conference on curves and surfaces in geometric design, pp 1–8 Hoschek J, Schneider F-J (1990) Spline conversion for trimmed rational Bzier-and B-spline surfaces. Comput-Aided Des 22(9):580–590 ISO, ISO 10303-42:2003, Industrial automation systems and integration product data representation and exchange part 42: integrated generic resource: geometric and topological representation. Geneva (Switzerland): International Organization for Standardization (ISO) (2003) ISO/IEC, ISO/IEC 9592-1:1997. Information technology—computer graphics and image processing— programmer’s hierarchical interactive graphics system (PHIGS)—Part 1: Functional description. Geneva (Switzerland): International Organization for Standardization (ISO) (1997) Jing Z, Shaowei F, Hanguo C (2009) Optimized nurbs curve and surface fitting using simulated anneal ing. In: Second international symposium on computational intelligence and design, ISCID’09, vol. 2. Changsha, Hunan, China, pp 324–329 Kennicott PR (1996) IGES/PDES organization, U.S. product data association. Initial graphics exchange specification, IGES5.3 [M]. N. Charleston, SC: U.S. Product Data Association Kruth JP, Kerstens A (1998) Reverse engineering modelling of free-form surfaces from point. J Mater Process Technol 76:120–127 Limaiem A, Nassef A, Elmaghraby HA (1996) Data fitting using Dual Kriging and genetic algorithms. CIRP Ann 45:129–134 Ma W, Kruth JP (1998) NURBS curve and surface fitting for reverse engineering. Int. J. Adv. Manuf. Technol. 14:918–927 Manocha D, Canny JF (1992) Algorithm for implicitizing rational parametric surfaces. Comput. Aided Geom. Des. 9:25–50 Muñoz Paniagua J, García García J, Crespo Martínez A (2011) Aerodynamic optimization of high-speed trains nose using a genetic algorithm and artificial neural network. In: CFD & optimization 2011, an ECCOMAS thematic conference, vol 13104, pp 1–19 Piegl L (1991) On NURBS: a survey. IEEE, Comput Gr Appl 10(1):55–71 Piegl L, Tiller W (1997) The NURBS book, 2nd edn. Springer, Berlin Saini D, Kumar S (2014) Free-form surface reconstruction from arbitrary perspective images. In: Advance computing conference (IACC), pp 1054–1059 Sarfraz M (2004) Representing shapes by fitting data using an evolutionary approach. Comput Aided Des Appl 1:179–86 Sheng Y, Willis P, Gonzalez Castro G, Ugail H (2011) Facial geometry parameterisation based on Partial Differential Equations. Math Comput Model 54:1536–1548 Suzuki M, Nakade K (2013) Multi-objective design optimization of high-speed train nose. J Mech Syst Transp Logist 6:54–64 Ugail H, Bloor MI, Wilson MJ (1999) Techniques for interactive design using the PDE method. ACM Trans Gr 18(2):195–212 Ulker E (2012) NURBS curve fitting using artificial immune system. Int J Innov Comput Inf Control 8(4):2875–2887 Versprille KJ (1975) Computer-aided design applications of the rational b-spline approximation form. Doctoral dissertation, Syracuse UNv., Syracuse, N.Y Wang R, Zhang J, Bian S, You L (2018) A survey of parametric modelling methods for designing the head of a high-speed train. Proc Inst Mech Eng Part F J Rail Rapid Transit 232(7):1965–1983 Xiao YJ, Yi Jun Xiao (2005) Optimized stereo reconstruction of free-form space curves based on a nonu niform rational B-spline model. J Opt Soc Am A 22:1746–1762 Yao SB, Guo DL, Sun ZX et al (2016) Parametric design and optimization of high speed train nose. J Optim Eng 17:605–630 Yin Z (2004) Reverse engineering of a NURBS surface from digitized points subject to boundary condi tions. Comput Gr 28:207–212 Yoshimoto F, Moriyama M, Harada T (1999) Automatic knot placement by a genetic algorithm for data fitting with a spline. In: Proc. the international conference on shape modelling and applications, pp 162–169 # 1 g You L, Jin X, You XY, Zhang JJ (2013) Surface modelling using partial differential equations: a survey. In: 17th international conference on information visualisation 15–18 July 2013 London, UK You L, Zhang JJ (1999) Blending surface generation with a fourth order partial differential equation. In: Proceedings of the sixth international conference on computer-aided design and computer graphics (CAD/Graphics99), Shanghai, pp 1035–1039 Yu M, Zhang J, Zhang W (2013) Multi-objective optimization design method of the high-speed train head. J Zhejiang Univ Sci A(Appl Phys Eng) 14(9):631–641 Zhang JJ, You LH (2002) PDE based surface representationvase design. Comput Gr 26(1):89–98 Zhang JJ, You LH (2004) PDE surface generation with combined closed and non-closed form solutions. J Comput Sci Technol 19(5):650–656 Zhang JJ, You LH (2004) Fast surface modelling using a 6th order PDE. Comput Gr Forum 23(3):311–320 Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Affiliations Shuangbu Wang <sup>1</sup> · Yu Xia <sup>1</sup> · Ruibin Wang <sup>2</sup> · Lihua You <sup>1</sup> · Jianjun Zhang <sup>1,2</sup> - Jianjun Zhang jzhang@bournemouth.ac.uk 1 National Centre for Computer Animation, Bournemouth University, Poole, UK 2 State Key Laboratory of Traction Power, Southwest Jiaotong University, Chengdu, China # 1

섹션 본문

섹션 본문이 없습니다.

참고문헌 35건

  1. The NURBS Book 1995
  2. Spectral approximations to PDE surfaces Computer-Aided Design · Elsevier BV · 1996 10.1016/0010-4485(95)00060-7
  3. Automatic shape optimisation of pharmaceutical tablets using Partial Differential Equations Computers & Structures · Elsevier BV · 2013 10.1016/j.compstruc.2013.09.001
  4. Techniques for interactive design using the PDE method ACM Transactions on Graphics · Association for Computing Machinery · 1999 10.1145/318009.318078
  5. Cyclic animation using partial differential equations The Visual Computer · Springer Science+Business Media · 2010 10.1007/s00371-010-0422-5
  6. Algorithm for implicitizing rational parametric surfaces Computer Aided Geometric Design · Elsevier BV · 1992 10.1016/0167-8396(92)90051-p
  7. An algorithm of NURBS surface fitting for reverse engineering The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2006 10.1007/s00170-005-0161-3
  8. Multi-objective optimization design method of the high-speed train head Journal of Zhejiang University. Science A · Springer Science+Business Media · 2013 10.1631/jzus.a1300109
  9. NURBS curve and surface fitting for reverse engineering The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 1998 10.1007/bf01179082
  10. Data Fitting Using Dual Kriging and Genetic Algorithms CIRP Annals · Elsevier BV · 1996 10.1016/s0007-8506(07)63031-5
  11. Local control of surfaces generated using partial differential equations Computers & Graphics · Elsevier BV · 1994 10.1016/0097-8493(94)90090-6
  12. Direct Manipulation and Interactive Sculpting of PDE Surfaces Computer Graphics Forum · Wiley · 2000 10.1111/1467-8659.00418
  13. Spline conversion for trimmed rational Bézier- and B-spline surfaces Computer-Aided Design · Elsevier BV · 1990 10.1016/0010-4485(90)90043-c
  14. Parametric design of aircraft geometry using partial differential equations Advances in Engineering Software · Elsevier BV · 2008 10.1016/j.advengsoft.2008.08.001
  15. Optimized stereo reconstruction of free-form space curves based on a nonuniform rational B-spline model Journal of the Optical Society of America A · Optica Publishing Group · 2005 10.1364/josaa.22.001746
  16. Free-form surface reconstruction from arbitrary perspective images 2014 10.1109/iadcc.2014.6779471
  17. PDE based surface representation—vase design Computers & Graphics · Elsevier BV · 2002 10.1016/s0097-8493(01)00160-1
  18. Multi-Objective Design Optimization of High-Speed Train Nose Journal of Mechanical Systems for Transportation and Logistics · Japan Society Mechanical Engineers · 2013 10.1299/jmtl.6.54
  19. Fast Surface Modelling Using a 6th Order PDE Computer Graphics Forum · Wiley · 2004 10.1111/j.1467-8659.2004.00762.x
  20. Representing Shapes by Fitting Data using an Evolutionary Approach Computer-Aided Design and Applications · Taylor & Francis · 2004 10.1080/16864360.2004.10738257
  21. Reverse engineering of a NURBS surface from digitized points subject to boundary conditions Computers & Graphics · Elsevier BV · 2004 10.1016/j.cag.2003.12.007
  22. PDE surface generation with combined closed and non-closed form solutions Journal of Computer Science and Technology · Springer Science+Business Media · 2004 10.1007/bf02945591
  23. Measurement-based modification of NURBS surfaces Computer-Aided Design · Elsevier BV · 2002 10.1016/s0010-4485(01)00060-4
  24. Reverse engineering modelling of free-form surfaces from point clouds subject to boundary conditions Journal of Materials Processing Technology · Elsevier BV · 1998 10.1016/s0924-0136(97)00341-5
  25. The NURBS book (2nd ed.) 1997
  26. Surface Modeling Using Partial Differential Equations: A Survey 2012 16th International Conference on Information Visualisation · 2013 10.1109/iv.2013.62
  27. On NURBS: a survey IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 1991 10.1109/38.67702
  28. Facial geometry parameterisation based on Partial Differential Equations Mathematical and Computer Modelling · Pergamon Press · 2011 10.1016/j.mcm.2011.04.025
  29. Using partial differential equations to generate free-form surfaces Computer-Aided Design · Elsevier BV · 1990 10.1016/0010-4485(90)90049-i
  30. Integrating physics-based modeling with PDE solids for geometric design 2002 10.1109/pccga.2001.962873
  31. Automatic knot placement by a genetic algorithm for data fitting with a spline 1999 10.1109/sma.1999.749336
  32. Optimized NURBS Curve and Surface Fitting Using Simulated Annealing 2009 10.1109/iscid.2009.227
  33. Parametric design and optimization of high speed train nose Optimization and Engineering · Springer Science+Business Media · 2015 10.1007/s11081-015-9298-6
  34. A survey of parametric modelling methods for designing the head of a high-speed train Proceedings of the Institution of Mechanical Engineers Part F Journal of Rail and Rapid Transit · SAGE Publishing · 2018 10.1177/0954409718756558
  35. The NURBS Book Monographs in visual communication · Springer Nature · 1997 10.1007/978-3-642-59223-2