Open Access
ARTICLE
Parameterization Transfer for a Planar Computational Domain in Isogeometric Analysis
School of Computer Science and Technology, Hangzhou Dianzi University, Hangzhou, 310018, China
* Corresponding Author: Jinlan Xu. Email:
(This article belongs to the Special Issue: Integration of Geometric Modeling and Numerical Simulation)
Computer Modeling in Engineering & Sciences 2023, 137(2), 1957-1973. https://doi.org/10.32604/cmes.2023.028665
Received 31 December 2022; Accepted 15 February 2023; Issue published 26 June 2023
Abstract
In this paper, we propose a parameterization transfer algorithm for planar domains bounded by B-spline curves, where the shapes of the planar domains are similar. The domain geometries are considered to be similar if their simplified skeletons have the same structures. One domain we call source domain, and it is parameterized using multi-patch B-spline surfaces. The resulting parameterization is C1 continuous in the regular region and G1 continuous around singular points regardless of whether the parameterization of the source domain is C1/G1 continuous or not. In this algorithm, boundary control points of the source domain are extracted from its parameterization as sequential points, and we establish a correspondence between sequential boundary control points of the source domain and the target boundary through discrete sampling and fitting. Transfer of the parametrization satisfies C1/G1 continuity under discrete harmonic mapping with continuous constraints. The new algorithm has a lower calculation cost than a decomposition-based parameterization with a high-quality parameterization result. We demonstrate that the result of the parameterization transfer in this paper can be applied in isogeometric analysis. Moreover, because of the consistency of the parameterization for the two models, this method can be applied in many other geometry processing algorithms, such as morphing and deformation.Keywords
In computer-aided design (CAD), boundary representation is one of the main methods for representing three-dimensional (3D) shapes. The process of obtaining a solid spline representation of a computational domain from a given boundary is called parameterization. For planar geometries, parameterization means finding a B-spline surface representation from given boundary curves. The quality of the parameterization of the computational domain has a great impact on the computational accuracy and efficiency in isogeometric analysis (IGA), which is similar to the influence of the mesh quality in finite element analysis. Usually, the parameterization of a computational domain suitable for IGA satisfies the following three basic requirements: (1) Regularization. The mapping from the parametric domain to the physical domain should be injective. Therefore, there is no self-intersection in the iso-parametric structures. (2) Uniformity. The iso-parametric lines are as uniform as possible. (3) Orthogonality. Orthogonality of the iso-parametric structures is preferred in IGA.
In this paper, we propose a parameterization transfer algorithm from one planar domain to another domain, where the two domains have similar shapes, and the parameterization of one domain is given. The geometry with a given parameterization is called the source model, and the other is called the target model. The parameterization of the target model with the transfer algorithm is C1/G1 continuous regardless of whether the source model is C1/G1 continuous or not. The boundaries of the two planar domains are B-spline curves. Therefore, boundary control points of the two planar domains need to be matched first, and the parameterization transfer process is to map the internal control points of the source model to the interior of the target model. The parameterization transfer we proposed meets the following three requirements: (1) Injectivity. The resulting parameterization does not have self-intersection. (2) Low distortion. As the two planar domains are similar in our algorithm, if the parameterization of the source model has high quality, the resulting parameterization also has high quality if the distortion of the map is as small as possible. (3) C1/G1 continuity. Whether the parameterization of the source model satisfies C1/G1 continuity or not, we hope the resulting parameterization has this continuity without additional post-processing.
We use the method proposed by Xu et al. [1] to parameterize the source model. The parameterization transfer process roughly consists of the following two steps:
• Construct boundary correspondence. First, we extract the boundary splines of the source model in the counter-clockwise direction, and then we process the boundary of the target model to obtain a boundary representation that is also in the counter-clockwise direction. Second, the number of control points on the boundaries of the target model
• Construct a discrete harmonic map that preserves the continuity of the source model or adds C1/G1 continuity to the target model. In this paper, the mapping is computed on a triangle mesh of the source target model, and the position of the internal control points of the target model is obtained by linear interpolation on the triangle mesh. The C1/G1 continuity and boundary correspondence are used as constraints to obtain the parameterization transfer result.
Experiments show that if the shape of the target model approximates the shape of the source model under a rigid transformation, articulation transformation, or tiny non-rigid transformation, the transfer process can produce a high-quality parameterization for a target model, and the resulting parameterization satisfies C1/G1 continuity.
A considerable amount of work has been conducted related to the parameterization of two-dimensional domains for IGA. However, parameterizing two domains with the same spline topology has been rarely researched. Our work aims to parameterize the target model with some topology of a spline representation of the source model, which can produce high-quality parameterization of the target model, and the same topology of the two models can be used for pre-processing of other geometry processing problems. Below, we introduce the work most related to our algorithm.
IGA-suitable planar parameterizations. The parameterization of the computational domain is a basic problem in IGA. Many methods have been proposed to parameterize the computational domain for IGA in the past years, and there are some methods for dealing with the parameterization of two-dimensional regions based on single spline surface representations that are suitable for IGA. Xu et al. [2] constructed the injective planar parameterization by optimizing constrained energy. Nian et al. [3] proposed a method for generating bijective high-quality planar parameterizations from four specified boundary curves based on the Teichmüller mapping, and the condition number of the stiffness matrix can be effectively reduced. Yuan et al. [4] proposed a novel method to obtain a bijective low-distortion planar parameterization. It fits the spline function to a piecewise linear map between the computational and parametric domains while ensuring bijection. However, if the region is complex or contains holes, the above methods will not work. It is necessary to parameterize the region based on decomposition. The two-dimensional planar region is partitioned into several sub-regions, and these sub-regions are parameterized separately to obtain the parameterization result for the entire model. For the parameterization of complex planar geometries, Xu et al. [5] used the skeleton of the input domain to guide the domain decomposition and obtain the planar parameterization with C0-continuity between patches. Xu et al. [1] proposed a general framework for constructing an IGA-suitable planar parameterization from complex boundaries consisting of standard B-spline curves, and the result could achieve C1/G1 continuity between adjacent patches. Xiao et al. [6] presented an efficient and practically robust method to compute high-quality IGA-suitable planar parameterizations via the PolySquare-enhanced domain partition strategy, and it had good robustness for various complex high-genus regions.
Discrete geometric mapping. The construction of a bijective map between two surfaces is a fundamental problem in computer graphics and geometric processing. In practical applications, we usually define the energy function with respect to the distortion of the mapping function, then impose constraints on the mapping (e.g., boundary correspondence and bijection), and finally optimize the constrained optimization problem. Kim et al. [7] proposed a blended intrinsic map (BIM) that described a fully automatic pipeline to establish an intrinsic map between two non-isometric surfaces, but it could only cope with surface meshes with genus zero and produced high distortion for some examples. Vestner et al. [8] proposed an algorithm to build vertex-to-vertex maps based on a set of matching descriptors and pairwise distances.
Zheng et al. [9] constructed maps between surfaces with the same genus by decomposing the surface into a family of closed loops and then computing harmonic maps between a set of intermediate cylindrical domains. There is another class of methods based on parameterization, where two models are mapped to a common parametric domain, and the mapping to be calculated is the composite of the two bijective mappings. The common parametric domains include planes [10,11] and spheres [12,13]. The optimization goal of such methods is that the distortion of shapes to the common domain is minimized, but they cannot guarantee low distortion of the composite mapping. Panozzo et al. [14] calculated the direct mappings between the surface meshes. Ezuz et al. [15] proposed a method to optimize the mapping distortion between surfaces based on reversible harmonic maps, which could obtain smaller local distortion.
We denote the source model as
The construction of the mapping can be viewed as the following constrained optimization problem:
where
The procedure of our algorithm can be summarized as follows. Suppose a source model is given as parameterized spline surfaces and a target model is given as boundary spline curves. First, boundary control points of the two models will be pre-processed to be consistent. Then, the two models are triangulated based on a boundary control polygon, and a discrete map on the background triangular mesh is established with C1/G1 continuity along adjacent spline patches. The location of the interior control points of the target model can be determined with the optimized mapping.
In this paper, we suppose the two models are similar, which means their simplified skeletons have the same structure. The target boundary shape approximates the source shape through rigid transformations (such as scaling, translation, and rotation) or small non-rigid transformations (such as articulation and local transformation). However, the boundary representation is not necessarily the same. To establish a one-to-one correspondence between the boundary control points of the two models, we need to sample control points on their boundaries. If the density of the target boundary is less than that of the source boundary, the target model will be refined through knot insertion. The target boundary is approximated based on the sampled boundary control points so that the target boundary curve representation is the same as that of the source boundary. The process can be roughly divided into the following two steps:
• Let
• For each curve
For the B-spline curve fitting, given
where
and parameter
Inserting Eq. (2) into Eq. (3) gives
where
The control points
Finally, we can establish
Once the boundary representation of the target model is consistent with the source model, there is a one-to-one correspondence between the boundaries of the two models. The goal of parametrization transfer is to determine the location of the internal control points under mapping f. Many scholars have proposed methods of establishing geometric mappings on meshes. Based on the method proposed by Xu et al. [1], we establish a discrete mapping to determine the internal control points of the target model and add constraints related to the linear boundary correspondence and C1/G1 continuity between the patches of the target model.
3.3.1 Construct Background Mesh
We construct a Delaunay triangulation based on the Triangle library with control points of the source model and boundary control polygons as constraints to obtain the source mesh
3.3.2 Harmonic Map with C1/G1 Continuity
Sets
The locations of the control points inside the target geometry are determined by the mapping f, which should make the parameterization result of the target domain satisfy the IGA requirements. This is equivalent to making the distortion of the discrete mapping
where P represents vertices of the source mesh under
where
where
To obtain the C1/G1 continuity between the patches of transferred parameterization, we can define the constraints in a linear form
where
These are then inserted into the following equation to obtain the G1 continuity constraint that should be satisfied at the singular points
which represents the remaining part of the linear constraint
3.3.3 Approximation of Mapping
After obtaining the background mesh of the source model, the vertices satisfying the constraint
where
We use block coordinates to solve the optimization problem similar to the reversible harmonic map, and the result obtained is shown in Fig. 6.
When the difference between the target and source shape is large, the initial mapping result by
The singular value decomposition (SVD) decomposition of
If the smallest singular value
where
• Determination of
• Coordinates u of the optimized mesh vertices. Once
The unknown quantities in the above equation are the bounded conformal mapping
Various domains. We tested our method on various models and achieved the desired parametrization transfer results shown in Fig. 8, where the target shape approximates the original model with rigid, articulated transformations and smaller nonlinear deformation.
Quality metric for IGA-suitable parameterizations. We used two indicators to measure the quality of the parameterizations after the parametrization transfer. For a known parameterization
Another important evaluation indicator is the condition number of the Jacobian matrix J. It is expressed as follows:
where
For a planar parameterization, the closer the scaled Jacobian matrix is to 1.0, the better the quality of the parameterization result will be. Similarly, the closer the condition number of the parametric Jacobian matrix is to 2.0, the better the parametrization will be. In the following example, we use the colormap of the scaled Jacobian matrix on the iso-parametric edges in the source and target models whose parameterizations were obtained by transfer, which is shown in Fig. 9. Table 1 shows the minimum, average, and maximum values of the scaled Jacobian matrix and the condition number of the Jacobian matrix for all examples in the paper.
C1/G1 continuity. If patches of the input source model satisfy C1/G1 continuity, the transfer result obtained by our algorithm can maintain this property, and if patches of the input source model are only C0 continuous, the constraint about C1/G1 continuity in the algorithm can add this constraint for the parametrization transfer result of the target. Fig. 10 shows the slope difference between the two sides on some of the common boundaries, from which we can see that the algorithm in this paper has some advantages in terms of continuity preservation.
Solving partial differential equations with IGA. To demonstrate that the parameterization of target models obtained by our method can be used in IGA, we solve the Poisson problem mentioned in [17] on a target domain:
The right terminal term in the Poisson equation is
Based on the definition of the spline surface, the approximating numerical solution in each subdomain can be formulated as follows:
where
Limitations of algorithm. In this paper, we experimentally verified that if the target model approximates the source model after rigid transformations such as scaling, translation, and rotation or non-rigid transformations such as minor articulation and local transformation, the parameterization results of the target model obtained after the parametrization transfer meet the computational accuracy and efficiency requirements in the subsequent simulation analysis of the model. For the case when the difference between the target and original models is large, the algorithm in this paper can also yield reasonable results. Fig. 12 shows the parametrization transfer results after increasing the degree of nonlinear transformation of a wrench model. The parametrization results of the target model met the requirements of the IGA in this process for all cases, but the quality of the patches in the part with articulation will keep decreasing. Although this process produced reasonable results for all the examples presented in this paper, the optimization process cannot theoretically guarantee the complete elimination of fold-over in the patches. Thus, it cannot guarantee that the parametrization transfer results always meet the requirements of the IGA, which will be a direction of future improvement.
We proposed a novel method to transfer the parameterization results of a model to another model with a similar shape, and the C1/G1 continuity was satisfied between adjacent patches of the target model. The parameterization results can be used in IGA and other geometry processing problems. Experiments showed that if the shape of the target model is similar to the original model, e.g., if the two models can be transformed by rotation, translation, scaling, and other rigid or articulation transformations, with a small degree of nonlinear deformation, the algorithm can obtain a more ideal parametrization transfer result. However, determining how to measure the similarity of the two shapes and the transfer result theoretically has not been defined clearly, which is a problem to be solved in the future.
Funding Statement: This work was supported by the National Natural Science Foundation of China (Grant Nos. 62072148 and U22A2033), the National Key R&D Program of China (Grant Nos. 2022YFB3303000 and 2020YFB1709402), the Zhejiang Provincial Science and Technology Program in China (Grant No. 2021C01108), the NSFC-Zhejiang Joint Fund for the Integration of Industrialization and Informatization (Grant No. U1909210), and the Fundamental Research Funds for the Provincial Universities of Zhejiang (Grant No. 490 GK219909299001-028).
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study.
References
1. Xu, G., Li, M., Mourrain, B., Rabczuk, T., Xu, J. et al. (2018). Constructing IGA-suitable planar parameterization from complex CAD boundary by domain partition and global/local optimization. Computer Methods in Applied Mechanics and Engineering, 328, 175–200. [Google Scholar]
2. Xu, G., Mourrain, B., Duvigneau, R., Galligo, A. (2011). Parameterization of computational domain in isogeometric analysis: Methods and comparison. Computer Methods in Applied Mechanics and Engineering, 200(23–24), 2021–2031. [Google Scholar]
3. Nian, X., Chen, F. (2016). Planar domain parameterization for isogeometric analysis based on Teichmüller mapping. Computer Methods in Applied Mechanics and Engineering, 311, 41–55. [Google Scholar]
4. Yuan, G. J., Liu, H., Su, J. P., Fu, X. M. (2021). Computing planar and volumetric B-spline parameterizations for IGA by robust mapping fitting. Computer Aided Geometric Design, 86, 101968. [Google Scholar]
5. Xu, J., Chen, F., Deng, J. (2015). Two-dimensional domain decomposition based on skeleton computation for parameterization and isogeometric analysis. Computer Methods in Applied Mechanics and Engineering, 284, 541–555. [Google Scholar]
6. Xiao, S., Kang, H., Fu, X. M., Chen, F. (2018). Computing IGA-suitable planar parameterizations by PolySquareenhanced domain partition. Computer Aided Geometric Design, 62, 29–43. [Google Scholar]
7. Kim, V. G., Lipman, Y., Funkhouser, T. (2011). Blended intrinsic maps. ACM Transactions on Graphics, 30(4), 1–12. [Google Scholar]
8. Vestner, M., Lähner, Z., Boyarski, A., Litany, O., Slossberg, R. et al. (2017). Efficient deformable shape correspondence via kernel matching. 2017 International Conference on 3D Vision (3DV), pp. 517–526. Qingdao, China. [Google Scholar]
9. Zheng, X., Wen, C., Lei, N., Ma, M., Gu, X. (2017). Surface registration via foliation. Proceedings of the IEEE International Conference on Computer Vision, pp. 938–947. Venice. [Google Scholar]
10. Aigerman, N., Poranne, R., Lipman, Y. (2014). Lifted bijections for low distortion surface mappings. ACM Transactions on Graphics, 33(4), 1–12. [Google Scholar]
11. Aigerman, N., Lipman, Y. (2015). Orbifold tutte embeddings. ACM Transactions on Graphics, 34(6), 1–12. [Google Scholar]
12. Aigerman, N., Kovalsky, S. V., Lipman, Y. (2017). Spherical orbifold tutte embeddings. ACM Transactions on Graphics, 36(4), 1–13. [Google Scholar]
13. Baden, A., Crane, K., Kazhdan, M. (2018). Möbius registration. Computer Graphics Forum, 37, 211–220. [Google Scholar]
14. Panozzo, D., Baran, I., Diamanti, O., Sorkine-Hornung, O. (2013). Weighted averages on surfaces. ACM Transactions on Graphics, 32(4), 1–12. [Google Scholar]
15. Ezuz, D., Solomon, J., Ben-Chen, M. (2019). Reversible harmonic maps between discrete surfaces. ACM Transactions on Graphics, 38(2), 1–12. [Google Scholar]
16. Su, J. P., Fu, X. M., Liu, L. (2019). Practical foldover-free volumetric mapping construction. Computer Graphics Forum, 38, 287–297. [Google Scholar]
17. Wang, S., Ren, J., Fang, X., Lin, H., Xu, G. et al. (2022). IGA-suitable planar parameterization with patch structure simplification of closed-form polysquare. Computer Methods in Applied Mechanics and Engineering, 392, 114678. [Google Scholar]
Cite This Article
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.