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

FFT‐based homogenization with mixed uniform boundary conditions

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(21) 에폭시수지

기본 정보

저자
  1. Hannes Grimm‐Strele — Flow and Material Simulation, Fraunhofer Institute for Industrial Mathematics ITWM, Kaiserslautern, Germany
  2. Matthias Kabel — Flow and Material Simulation, Fraunhofer Institute for Industrial Mathematics ITWM, Kaiserslautern, Germany
DOI
10.1002/nme.6830
저널
International Journal for Numerical Methods in Engineering
발행년도
2021
발행기관
Wiley
피인용수
26
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/nme.6830
토픽
Composite Material Mechanics
OpenAlex ID
W3199077883

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
FFT-based homogenization, nonperiodic boundary conditions, solid mechanics, discretization method
판단 근거
고체 역학에서 복합재의 균질화(homogenization)를 위한 FFT 기반 수치 해석 기법을 다루고 있습니다.
R&D 활용 포인트
타이어코드, 아라미드, 엔지니어링 플라스틱 등 다양한 섬유 보강 복합소재의 미세구조에 따른 기계적 물성을 예측하고 설계하는 시뮬레이션 모델링에 활용 가능합니다.
평가 입력
초록 852자

초록

Abstract The fast Fourier transform (FFT) based homogenization method of Moulinec and Suquet has been established as a fast, accurate, and robust tool for periodic homogenization in solid mechanics. In a finite element context, Pahr and Zysset have introduced nonperiodic boundary conditions (PMUBC) for homogenization problems. We show how to implement PMUBC efficiently in an FFT‐based code using discrete sine and cosine transforms. Compared with the domain mirroring approach, we reduce the runtime by a factor of 2 to 3, and the memory requirements by a factor of 8. We show that the use of periodic boundary conditions for nonperiodic geometries yields vastly different results than with PMUBC. Furthermore, we examine the influence of the discretization method by comparing the staggered grid discretization with a finite element discretization.

본문 37,237자

본문 펼치기
The fast Fourier transform (FFT) based homogenization method of Moulinec and Suquet has been established as a fast, accurate, and robust tool for periodic homogenization in solid mechanics. In a finite element context, Pahr and Zysset have introduced nonperiodic boundary conditions (PMUBC) for homogenization problems. We show how to implement PMUBC efficiently in an FFT-based code using discrete sine and cosine transforms. Compared with the domain mirroring approach, we reduce the runtime by a factor of 2 to 3, and the memory requirements by a factor of 8. We show that the use of periodic boundary conditions for nonperiodic geometries yields vastly different results than with PMUBC. Furthermore, we examine the influence of the discretization method by comparing the staggered grid discretization with a finite element discretization.K E Y W O R D Sboundary conditions, computational homogenization, elasticity, FFT, Lippmann-Schwinger equation1This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non-commercial and no modifications or adaptations are made. INTRODUCTION The fast Fourier transform (FFT) based algorithm of Moulinec and Suquet 1 has found widespread use in solvers for obtaining effective properties of linear and nonlinear elasticity and conductivity problems. Initially, the algorithm has been developed assuming periodic boundary conditions. Nonperiodic boundary conditions are needed if the method is applied to nonperiodic structures as, for example, those obtained through a CT scan. 2 In Figure 1, several CT scans of human trabecular bone specimens with increasing bone volume fraction are shown which are clearly nonperiodic. 2 Chevalier et al. 3 have shown that the stiffness obtained from finite element (FE) simulations on CT scans of human trabecular bone depends on various parameters. Good agreement with measurements can only be reached if all parameters are correctly set. In particular, the boundary conditions have a large influence on the computed effective properties. INTRODUCTION Using the sine and cosine transforms for FFT-based solvers instead of mirroring the domain to obtain PMUBC boundary conditions was first proposed by Wiegmann. 4 The limitations of the available FFT libraries at that time hindered him to take advantage of his idea ("Because we had available a very efficient DFT (the FFT), but no comparable DCT or DST, we instead obtain solutions for Neumann and Dirichlet boundary conditions using the periodic solution on a larger domain which results from reflection in each dimension."). Remarkably, the equivalence of the PMUBC with periodic boundary conditions on the mirrored domain was originally used the other way round: Applying mixed uniform boundary conditions on a quarter of a symmetric domain allows to resemble periodic boundary conditions on the full domain. 5 In Section 2 of this article, we will introduce several boundary conditions for FFT-based homogenization. Detailed information on the discretization method can be found in Section 3. We present the efficient implementation of mixed uniform boundary conditions in an FFT context with respect to the discretization method in Section 4. Finally, numerical results for the geometries shown in Figure 1 are presented in Section 5. BOUNDARY CONDITIONS With Dirichlet boundary conditions, the values of the displacement vector are specified on the domain boundary. For a two-dimensional rectangular domain [0, L 1 ] × [0, L 2 ], they take the form u 1 (0, y) = u 0 1 (0, y), u 2 (0, y) = u 0 2 (0, y), u 1 (L 1 , y) = u 0 1 (L 1 , y), u 2 (L 1 , y) = u 0 2 (L 1 , y), BOUNDARY CONDITIONS We write u 1 and u 2 for the displacement components in the x and y direction, respectively. u 0 1 and u 0 2 are the prescribed Dirichlet boundary conditions in the x and y direction. BOUNDARY CONDITIONS A special case of Dirichlet boundary conditions are kinematic uniform boundary conditions (KUBC). For a tensile load in x direction with macroscopic strain E 11 , the functions BOUNDARY CONDITIONS , u 0 2 (x, y) = 0 F I G U R E 1 Six CT scans of human trabecular bone specimens. 2 and for a shear load in xy plane with prescribed macroscopic strain E 12 , the functions BOUNDARY CONDITIONS are prescribed. Therefore, the displacement on the boundary is given by BOUNDARY CONDITIONS resp. u 1 (0, y) = 0, u 1 (L 1 , y) = 0, u 2 (0, y) = −E 12 L 1 ∕2, BOUNDARY CONDITIONS Similarly, with static uniform boundary conditions (SUBC), the traction at the boundary is prescribed. For a tensile load in x direction with prescribed macroscopic stress S 11 , 11 (0, y) = S 11 , 11 (L 1 , y) = S 11 , 12 (0, y) = 0, 12 (L 1 , y) = 0, 12 BOUNDARY CONDITIONS A shear load in xy plane with prescribed macroscopic stress S 12 leads to the equations 11 (0, y) = 0, 11 (L 1 , y) = 0, 12 (0, y) = S 12 , BOUNDARY CONDITIONS Kanit et al. 6 have shown that KUBC overestimate the effective properties, while SUBC underestimate them. With periodic boundary conditions (PBC), the bias is found to be much smaller than for the other boundary conditions. But Schneider et al. 7 have demonstrated that even with PBC, large errors arise when they are applied to nonperiodic geometries. BOUNDARY CONDITIONS For FFT-based methods, Wiegmann 4 and Gélébart 8 have developed a practical method how to implement Dirichlet boundary conditions. The authors embed the original simulation domain in a larger domain with periodic boundary conditions. Furthermore, Wiegmann 4 and Pahr and Zysset 2 have introduced the periodicity compatible mixed uniform boundary conditions (PMUBC). Wiegmann 4 has called them "normal" boundary conditions. For a two-dimensional rectangular domain [0, L 1 ] × [0, L 2 ] and a strain load in x direction, they take the form BOUNDARY CONDITIONS where E 11 is the prescribed macroscopic strain. For a shear load in xy plane with prescribed macroscopic strain E 12 , the boundary conditions are 11 (0, y) = 0, 11 (L 1 , y) = 0, BOUNDARY CONDITIONS The color boxes indicate that the conditions (5) are a combination of conditions (1) and (3), and for a shear load, conditions (6) are a combination of (2) and (4). See Wiegmann 4 and Pahr and Zysset 2 for the three-dimensional extension. BOUNDARY CONDITIONS Pahr and Zysset 2 have shown that PMUBC are equivalent to periodic boundary conditions on the mirrored domain, and that they fulfill the Hill condition. 9 In Pahr and Böhm, 10 the authors demonstrate that these boundary conditions yield valid results also for nonlinear material laws. Panyasantisuk et al. 11 and Denisiewicz et al. 12 confirmed that also in the nonlinear regime, KUBC provide an upper bound to the apparent stiffness and yield behavior, while SUBC lead to a lower estimate of the effective values. PMUBC provide more compliant linear and nonlinear values. BOUNDARY CONDITIONS While Pahr and Zysset 2 and Pahr and Böhm 10 have used finite element solvers in their studies, Wiegmann 4 have implemented the PMUBC in an FFT-based solver by solving the equivalent problem on the mirrored domain using the periodic FFT. BOUNDARY CONDITIONS In the following, we will show how to implement the PMUBC using discrete sine and cosine transforms, and therefore avoid the memory and runtime overhead introduced by the domain mirroring method from Wiegmann. 4 Domain mirroring method We will illustrate the domain mirroring method on a two-dimensional example, and deduce (in a graphical, informal way) the resulting symmetries in the strain and stress tensor. The extension to three dimensions is analogous. We consider the case of uniaxial compression in y direction for the geometry shown in Figure 2. For any point in the original domain (in light gray), we obtain the solution in the mirrored domain by symmetry arguments. It follows that Domain mirroring method F I G U R E 2 Example geometry for the domain reflection method. Displacement arrows for a compressive load (left) and a shear load (right). In light gray: original domain assuming that the origin (0, 0) is located in the center of the geometry. Furthermore, if we assume that the displacements are periodic on the mirrored domain [−L 1 , L 1 ] × [−L 2 , L 2 ], this implies that Domain mirroring method From Equation (7), we can directly deduce that the components 11 and 22 of the strain tensor have even symmetry while 12 has odd symmetry on the domain. More precisely, 11 Domain mirroring method This implies that Domain mirroring method Due to the objectivity of the material law functions, that is, 13 the symmetry of the strain field carries over to the stress field. Using the rotation around the x-axis by 180 • projected onto the two-dimensional space, that is, Domain mirroring method we see that ( 11 (−x, y) 12 (−x, y) 12 (−x, y) 22 (−x, y) ) = (( 11 (−x, y) 12 (−x, y) 12 (−x, y) 22 (−x, y) Domain mirroring method ) . Similarly, with ) as well as ( 11 (−x, −y) 12 (−x, −y) 12 (−x, −y) 22 (−x, −y) Similarly, with ) . Therefore, the shear stress satisfies on the boundary 12 (x, 0) = 12 (x, L 2 ) = 12 (0, y) = 12 (L 1 , y) = 0. Similarly, with The conditions (8) and (9) are exactly the PMUBC from Pahr and Zysset. 2 Consequently, the problem with PMUBC on the small domain [0, Similarly, with Analogous results hold in three spatial dimensions. 11 , 22 , and 33 have even symmetry in all directions. 12 has odd symmetry in x and y direction and even symmetry in z direction, and analogously for 13 and 23 . For shear loads, the symmetries of the strain tensor depend on the shear plane. For a shear load in the xy plane, we have Similarly, with By way of example, we look at the resulting symmetries for 11 . Similarly, with This means that 11 has odd symmetry in y and z direction and even symmetry in x direction. For 23 , it follows that Similarly, with Therefore, 23 has odd symmetry in x and z direction and even symmetry in y direction. The symmetries for tensile and shear loads, all components and all loadcases are summarized in Table 1. Similarly, with From Table 1, we can also conclude which complex loads can be calculated with discrete sine and cosine transforms. Only if the resulting strain fields have the same symmetry, two loads can be combined. This means that biaxial tensile tests are allowed, but mixed tensile-shear loads are not because the resulting fields will not be symmetric anymore. DISCRETIZATION METHODS In this work, we investigate the two dominating discretizations used for porous problems with FFT-based homogenization: the discretization from Willot 14 with displacement variables located in the element nodes and strain variables located at the single quadrature point in the cell centers, and the staggered grid discretization 15 with displacements located on the cell faces, volumetric strains in the cell centers and shear strains on the cell edges. As described in Schneider et al., 16 the discretization from Willot 14 can be interpreted as a finite element discretization with hexahedral elements and reduced integration. Therefore, we will name this the Hex8R discretization. The location of displacement and strain components is summarized in Table 2. Staggered grid with double fine material grid The staggered grid discretization does only preserve the symmetry of the numerical solution if it is used in combination with a double fine material grid. 15 To make our results easily reproducible we will derive an explicit representation of the Green operator Γ 0 for the staggered grid discretization 15 in Fourier space and an efficient implementation of the combination with a double fine material grid for isotropic linear elastic materials. Similar to the Hex8R discretization 14 the volume element [0, Staggered grid with double fine material grid . Contrary to the Hex8R discretization, the displacement vector (u 1 , u 2 , u 3 ) is not located in the cell nodes but at the cell face centers, that is, Staggered grid with double fine material grid . The strains obtained by using the finite difference formulas Staggered grid with double fine material grid on the components of the discrete displacement vector field u ∶ V N → R 3 , where periodicity is understood implicitly. Consequently, the volumetric strains aa [i, j, k] (a = 1, 2, 3) live on the cell centers Staggered grid with double fine material grid , whereas the shear strains 23 13 [i, j, k], and 12 [i, j, k], are located on the edge midpoints: Staggered grid with double fine material grid . The action of the forward and backward finite difference operators (10) can be written in Fourier space aŝ Staggered grid with double fine material grid where we suppress the -dependence for notational clarity. Variable Hex8R discretization 14 Staggered grid discretization 15 22 , 33 Variable Thus, for a given displacement field, the strain operator becomeŝ Variable in Fourier space, where we have suppressed the frequency ∈ V N . Similarly, the divergence operator admits the representationd iv = Variable Since the G 0 -operator can be written according to equation (15) of Schneider et al. 15 (Remark: The formula after Equation (15) is wrong) in Fourier space aŝ Variable Interchanging the role of k + and k − leads to a similar discretization. In this case the displacements would be located at the opposite cell face centers, that is, Variable and the shear strains would be located on the opposite edges, that is, 23 13 [i, j, k] and 12 [i, j, k], are located on the edge midpoints: Variable . While the Lippmann-Schwinger operator could be obtained for this discretization as the conjugate complex ofΓ 0 , the usage of the discrete sine and cosine transforms for the application of the PUMBC (see Section 4) would require a complicated scaling of the input for the FFTW library. Therefore, we will not further discuss the alternative staggered grid discretization. Variable Without taking into account information about the material distribution on a double fine grid (which is normally not available in the first place) the double fine material grid, that is, equation (7) of Schneider et al., 15 can be efficiently implemented by averaging the shear modules at the material interfaces in the following way Variable The equations are to be understood with periodicity in mind, that is, Variable For the PUMBC the material parameters will be continued constant over the domain interface. Variable It is remarkable to note that similar modifications have been used by Dorn et al. 17 to implement an FFT-based version of the explicit jump discretization for the Laplace equation. 18 Symmetry of discretization method We will illustrate the influence of the discretization method with a numerical example. We discretize the mirrored geometry shown in Figure 2 by 16 × 16 voxels and calculate the numerical solution with the staggered grid discretization with and without the double fine material grid (see Section 3.1), and the Hex8R discretization. In all simulations, we set periodic boundary conditions. As discussed in Section 2, this is equivalent to the solution on the nonmirrored domain (in light gray in Figure 2) with PMUBC. The resulting strain fields are shown in Figure 3. As in Pahr and Zysset, 2 we set E = 0 GPa for the inclusion, and E = 20 GPa and = 0.3 for the surrounding material. We can observe the resulting symmetries of the components of the strain tensor for a tensile load (top two rows) and a shear load (bottom two rows). For a tensile load, 11 has even symmetry (first row) and 12 odd symmetry (second row). In contrast, for a shear load, 11 has odd symmetry (third row) and 12 even symmetry (fourth row). Symmetry of discretization method Furthermore, we note that while the strain fields are similar to each other for all discretizations, the fields obtained with the staggered grid discretization without the double fine material grid (leftmost column) show slight asymmetries while the fields obtained with the double fine material grid (middle column) and with the Hex8R discretization (rightmost column) are perfectly symmetric. Symmetry of discretization method The symmetries of the displacements which we used to deduce the symmetries of the strain components are shown in Figure 4. The displacement components are calculated as described by Gasnier et al. 19 and in Appendix A. Again we observe that with the staggered grid discretization without double fine material grid (leftmost column), small asymmetries can be observed in both displacement components. Symmetry of discretization method In Section 4, we will show how we can take advantage of these symmetries and implement PMUBC on the nonmirrored domain by replacing the periodic Fourier transform by sine and cosine transforms. An asymmetric discretization as the staggered grid discretization without double fine material grid destroys these symmetries, and strictly speaking, does not allow the use of this efficient method. EFFICIENT IMPLEMENTATION We have shown that PMUBC as in Equations (8) and (9) are equivalent to periodic boundary conditions with the domain mirroring method. But the domain mirroring approach implies that the simulation domain has to be increased eightfold (in three dimensions). In particular if nonlinear material laws are considered, restrictions on memory usage and runtime might forbid such an approach. Instead, we show how to implement the conditions (8) together with (9) on the original domain using the discrete sine and cosine transforms. EFFICIENT IMPLEMENTATION Following Frigo and Johnson, 20 the periodic Fourier transform calculates the Fourier coefficientsf k for real data From Section 1 we know that if the geometry is symmetric and the discretization method preserves these symmetries, the components of the strain tensor are either even or odd real functions. Let us assume even or odd symmetry of the input data f k in the following. EFFICIENT IMPLEMENTATION In Figure 5, the location of volumetric and shear components with the staggered grid discretization on a mirrored two-dimensional domain is shown. We observe that the mirroring at the voxel interface introduces different symmetries EFFICIENT IMPLEMENTATION Plugging this into Equation (13), we obtain EFFICIENT IMPLEMENTATION for odd symmetry and sin EFFICIENT IMPLEMENTATION for even symmetry 2 sin EFFICIENT IMPLEMENTATION for even symmetry it follows thatf EFFICIENT IMPLEMENTATION for even symmetry, EFFICIENT IMPLEMENTATION for odd symmetry. EFFICIENT IMPLEMENTATION Following Swarztrauber, 21 the Fourier coefficients of a "quarter-wave symmetric" sequence is complex. The FFTW library returns strictly real (or strictly imaginary) coefficients, and in order to obtain the actual Fourier coefficients, we have to multiply with the factors exp EFFICIENT IMPLEMENTATION (cf. eq. (2.14) in Swarztrauber 21 ). Now, let us look at the shear components. In this case, f j = f N−j for even symmetry, and f j = −f N−j for odd symmetry, j = 1, … , N − 1. EFFICIENT IMPLEMENTATION For even symmetry, there is no requirement on the values of f 0 and f n with 2n = N, but for odd symmetry, f 0 = f n = 0. Plugging this into Equation (13), we obtain EFFICIENT IMPLEMENTATION since for odd symmetry, f 0 = f n = 0. The FFTW library 20 provides functions which return the coefficients defined in Equations (15), (16), (18), and (19), and their inverses (up to the exp factors). These are the discrete cosine and sine transforms (DCT and DST) for even resp. odd symmetry. Their names and the corresponding equations are listed in Table 3. EFFICIENT IMPLEMENTATION Therefore, instead of using the periodic DFT on the mirrored domain, we can use the DCT and DST on the original domain. This approach has the advantage that the memory requirements are lower, and depending on the performance of the DCT and DST, it is potentially faster. As shown above, the position of the numerical grid with respect to the symmetry axis decides upon which version to choose. Therefore, the choice of the transform depends on the discretization method. Implementation details As summarized in Table 4 and keeping the position of the strain components from Table 2 in mind, the symmetries of the strain tensor imply that for a tensile load, we must use the REDFT10 transforms for cell-centered components of the strain tensor. With the staggered grid discretization, we need the transforms RODFT00 and REDFT10 for the shear components. For a shear load in xy plane, the required transforms are summarized in Table 5. The transforms for other shear directions have to be adapted according to Table 1. For components located in the element center, we need the REDFT10 and the RODFT10 transforms. As shown in Equations (15) and (16), the Fourier coefficients contain an exp Implementation details term which is not contained in the coefficients returned by FFTW. Therefore, we have to multiply the coefficients with this term before we can use them further. In three dimensions, the factor becomes exp Implementation details where x, y, and z are the indices of the Fourier coefficient in the three directions. Recalculating these factors each iteration is expensive since it involves trigonometric functions. On the other hand, storing them in a (three-dimensional) array consumes a lot of memory. Alternatively, we write Implementation details and save the factors sin introducing only minor additional memory requirements, and implement PMUBC for cell-centered discretizations efficiently. Implementation details For the staggered grid discretization, 11 , 22 , and 33 can be treated in the same way. But the shear strains 12 , 13 , and 23 are located on the corresponding edge midpoints (see Table 2). In two directions, they fulfill the symmetry condition in Equation (17), and in one direction, the condition in Equation (14). Therefore, the exponential factors only from one direction have to be multiplied with the result returned by FFTW. Implementation details For the REDFT00 and RODFT00 transforms, the number of unknowns is different than for the cell-centered transforms. Therefore, we need to adapt the size of the arrays, and use the guru plans from the FFTW library. Due to this complicated memory layout, we observed that the FFTW planner flag has an important influence on the runtime. As explained in Frigo and Johnson, 20 there are two possible choices for this flag. With FFTW_MEASURE, FFTW runs and measures the execution time of several FFTs in order to find the best way to compute the transform. Therefore, the initialization takes some time, but the runtime of the transforms is usually better than with FFTW_ESTIMATE where no test computations are run. For the simulations presented in Section 5, we always use the FFTW_MEASURE flag. 13 , and 12 for the six geometries from Pahr Zysset 2 (shown in Figure 1). The geometries are discretized by 100 3 voxels except for the geometries with 20.76% and 37.6% which are discretized by 66 3 voxels. Following Pahr and Zysset, 2 we assume isotropic behavior with E = 20 GPa and = 0.3 for the tissue material, and set E = 0 GPa for the surrounding material. The simulations were run with a modified version of GeoDict2022. 22 The elastic constants are calculated from the stiffness matrix by using the orthotropic approximation from Browaeys. 23 We use the standard CG algorithm, but the memory efficient variant from Grimm-Strele and Kabel 24 could be used as well. As a convergence criterion, we stop if NUMERICAL EXAMPLES where tolerance = 0.0001, or after 50,000 iterations. 25 We note that all simulations reached the error tolerance except for the simulations with the Hex8R discretization on the geometries with 15.76% and with 37.6%. PMUBC validation In Figure 6, we show the difference of the elastic constants calculated with PMUBC in comparison with the results with periodic boundary conditions (PBC) on the mirrored domain. The discretization methods are the staggered grid discretization, the staggered grid discretization with double fine material grid (DFMG), and the Hex8R discretization. 14 As expected due to the perfect symmetry of the solution fields on the mirrored domain with the staggered grid discretization with double fine material grid and with the Hex8R discretization, 14 there is no difference in the results for these discretizations. In contrast, with the staggered grid discretization without the double fine material grid, the results with PMUBC are different. As discussed in Section 4 and visualized in Figure 3, this stems from the asymmetry of the solution leading to a violation of the symmetry conditions (14) and (17). Then, the results obtained with the discrete sine and cosine transform are not identical anymore with the results on the mirrored domain. For example, for the lowest bone volume fraction of 6.52%, the effective properties then differ by more than 10 %. For all other geometries the difference remains below 5%. Influence of the discretization method In Figure 7, we show the elastic constants calculated with PMUBC and the staggered grid discretization, the staggered grid discretization with double fine material grid (DFMG), and the Hex8R discretization. 14 Additionally, we added for comparison the results of Pahr and Zysset 2 obtained with the commercial FEM package ABAQUS using linear hexahedral elements (C3D8). 26 The influence of the discretization method is not negligible. The greatest difference of the predictions appear for the geometries with 6.52% and 20.76% bone volume fraction. In general, the Young's moduli are underestimated with the Hex8R discretization and overestimated by fully integrated C3D8 elements. The missing symmetry of the solutions with the staggered grid discretization without DFMG leads to lower predictions of the stiffness. Nevertheless, for all geometries the predicted Young's moduli of both staggered grid discretizations lie in between the Hex8R and C3D8 predictions. For the two critical geometries these predictions are closer to the results with C3D8 elements. Influence of the discretization method We note that for the discretization of Moulinec and Suquet, 1 PMUBC can be implemented in the same way as for Hex8R (see Tables 4 and 5). But since this discretization cannot be applied to porous materials, we do not include it in the comparison. F I G U R E 7 Comparison of the elastic constants calculated with PMUBC and the three discretization methods with the results of Pahr and Zysset. 2 Note that 12 and 13 are negative with Hex8R for the geometry with 6.52% Influence of the boundary conditions In Figure 8, the difference in the elastic constants calculated with periodic boundary conditions (PBC) in relation to the results with PBC on the mirrored domain are shown. We observe that the difference in all elastic constants is large, in particular for low volume fractions. But even for high volume fractions, the difference can be up to 25%. These large differences can be explained by comparing the first and the last slice of each structure. Since the geometries are obtained from CT scans, 2 they are not periodic. The nonperiodicity manifests in low overlap between the first and the last slice of the structure, as shown in Figure 9. There, the overlap is shown in red, while the first slice of the structure is shown in green and the last slice in blue color. Influence of the boundary conditions The relative overlap for all geometries in three directions is shown in Figure 10. It is calculated as the ratio of the intersection of the first and the last slice divided by the union of the two slices. We observe that the relative overlap increases with increasing bone volume fraction, leading to smaller differences between the elastic constants calculated with periodic boundary conditions on the small and the mirrored domain ( Figure 8). Mesh resolution study We observe in Figure 7 that the largest differences in the elastic constants appear for the geometry with 20.76% bone volume fraction. In particular, E 1 , E 2 , and E 3 calculated with the Hex8R discretization are much smaller than the values calculated with the staggered grid discretization. Therefore, we increase the resolution of this geometry by a factor of 2 and 4 (while keeping the volume fractions constant), and recalculate the elastic constants on the upsampled geometries. Mesh resolution study The results are shown in Figure 12. With increasing resolution, the differences between the discretizations decrease. The changes are smallest with the staggered grid discretization with DFMG. With the Hex8R discretization, the calculated F I G U R E 9 Overlap of structures in x (left), y (middle), and z (right column) direction. Top row: 6.52% bone volume fraction and bottom row: 37.6% bone volume fraction. Green: first slice of the structure, blue: last slice of the structure, and red: overlap F I G U R E 10 Relative overlap of first and last slice of each geometry in all three directions elastic constants change drastically with resolution. Especially the coarse resolution does not seem to be sufficient for this type of element. That the staggered grid discretization with DFMG is more robust with respect to coarsely resolved structures can be explained by the fact that it incorporates a material parameter smoothing at the interfaces, compare Equation (12). Mesh resolution study In Table 6, the number of iterations needed until convergence was reached is listed. For the Hex8R discretization, the number of iterations strongly decreases with increasing resolution, while it stays nearly constant for the staggered grid discretization with DFMG. F I G U R E 11 Stresses for a tensile load in x direction for the geometry with 20.76%. Top row: 11 in the first slice in x direction, middle row: 22 in the first slice in y direction, and bottom row: 33 in the first slice in z direction. Left column: structure with overlap (colors as in Figure 9), middle column: with periodic boundary conditions, and right column: with PMUBC. Color scale is omitted, but is identical in the middle and right column F I G U R E 12 Elastic Runtime and memory consumption Finally, we take a look on the runtime and memory consumption depending on the boundary conditions and the discretization method. Here we consider only the coarsest resolution. The total runtime, the runtime spent in the FFTW library, the number of iterations until the convergence criterion was reached, and the memory consumption of the simulation is summarized in Table 7 for the geometry with 20.76% bone volume fraction. The memory consumption was measured using the /proc/id/status command. The runtime per iteration of the staggered grid discretization increases by about 20% when using the double fine material grid (DFMG). At the same time, the number of iterations needed until convergence is reached is considerably reduced, leading to a total runtime even below the runtime without the double fine material grid. Runtime and memory consumption The runtime with the Hex8R discretization is about 10 times higher since the number of iterations is increased by the same factor. For all volume fractions considered in this study, the number of iterations was much higher with the Hex8R discretization than with the staggered grid discretization. On the geometries with 15.76% and with 37.6%, convergence was not reached even after 50,000 iterations. Runtime and memory consumption As expected, the runtime and the memory requirements increase by a factor of 8 when comparing periodic boundary conditions (PBC) on the small and the mirrored domain. The runtime and the memory requirements with PMUBC lie between these two values. Compared with PBC on the mirrored domain, the runtime is lower by a factor of about 2 or 3. The memory requirements are slightly higher than with PBC on the small domain. As described in Section 4, we need the REDFT00 transform for the staggered grid discretization. Therefore, if the mirrored domain has size N = 2n, the array sizes for our implementation are n + 1. 20 The runtime increase of PMUBC compared with PBC on the small domain has several reasons. First, the discrete sine and cosine transforms implemented in FFTW are slower than the periodic transform of same size. Second, the multiplication with the exponential factors as stated in Equation (20) introduces additional overhead. Runtime and memory consumption For the other geometries, we obtain similar results. In Figure 13, we show the total number of iterations needed until convergence was reached for all six loadcases with PMUBC. We note that with the Hex8R discretization, convergence was F I G U R E 13 Number of iterations until convergence with PMUBC. With the Hex8R discretization, convergence was not reached within 50,000 iterations for the geometries with 15.76% and 37.6% not reached within 50,000 iterations for the geometries with 15.76% and 37.6%. For four of the geometries, the staggered grid discretization converges faster if the double fine material grid is used. In the other two cases, the difference in number of iterations is small. CONCLUSIONS If the geometry of the problem is nonperiodic, nonperiodic boundary conditions should be used for homogenization problems. Periodic boundary conditions lead to large errors in the calculated effective properties. On the other hand, the periodicity compatible mixed uniform boundary conditions (PMUBC) yield accurate predictions both in the linear and the nonlinear case. 2,10 In FFT-based codes, PMUBC can be implemented using the domain mirroring method, 4 thereby increasing runtime and memory requirements by a factor of 8 (in three dimensions). For elasticity problems it turned out that the domain mirroring method cannot be applied if, for example, shear and axial loadings are combined. For compatible loadings we showed how to implement PMUBC using the discrete sine and cosine transform. Compared with the domain mirroring method, the runtime is reduced by a factor of 2 to 3, and the memory consumption by a factor of 8. In contrast to the more flexible embedding method proposed by Gélébart, 8 the PMUBC do not change the condition of the stiffness matrix and therefore do not lead to higher iteration numbers. While with the method of Gélébart, the iteration numbers are increased by a factor of 2 to 3 compared with periodic boundary conditions, they are even decreased with our implementation. Furthermore, our method does not require any additional parameters. CONCLUSIONS For a perfectly symmetric solution, results obtained with PMUBC and the domain mirroring method are identical. But if the discretization method does not preserve the symmetry of the solution, differences appear which can add up to 20% in the elastic constants. We show that the staggered grid discretization 15 is only symmetric if it is employed with the double fine material grid, and discuss how to efficiently implement it for isotropic linear elastic materials. The increase in runtime per iteration stays below 20%, but the total iteration count until convergence is considerably reduced. CONCLUSIONS The discretization method has a huge influence on the simulation results. We compare the staggered grid discretization with the Hex8R discretization 14 and linear hexahedral elements. 2 We show that Hex8R yields lower estimates for the elastic constants than linear hexahedral elements. The estimates obtained with the staggered grid discretization lie between the two finite element discretizations. In terms of iteration count, the Hex8R discretization needs about 10 times more iterations to converge than the staggered grid discretization. Additionally, the Hex8R discretization leads to very inaccurate results for coarsely resolved (porous) structures. In contrast, due to the smoothing of the material parameters at the interface, the staggered grid discretization with DFMG predicts the effective stiffness very accurately on the coarsest initial resolution. CONCLUSIONS If the geometry is nonperiodic, PMUBC and periodic boundary conditions yield vastly different results. The difference decreases with increasing solid volume fraction because then, the overlap of the first and the last slice of the structure increases. Nevertheless, the difference is up to 25% even for the largest volume fraction considered here (37.6%). CONCLUSIONS All tests assumed linear elasticity, but the method can be applied to nonlinear material laws without any changes. 10 Of course, the efficient implementation of the double fine material grid (12) would not be possible. CONCLUSIONS Another possible extension of our work is to apply PMUBC only in one or two spatial directions, and combine it with periodic boundary conditions in the other directions. in Fourier space from the strain tensor also for the staggered grid discretization. Then the strain tensor̂in Fourier space is given by Equation (11 CONCLUSIONS The first equation obtained by multiplying Equation (11) with CONCLUSIONS ) * ) T from the right side is CONCLUSIONS we observe the resulting equations have the same structure and only the wave vectors k i need to be replaced by either k

섹션 본문 100문단 · 34,932자

(제목 없음)

1The fast Fourier transform (FFT) based homogenization method of Moulinec and Suquet has been established as a fast, accurate, and robust tool for periodic homogenization in solid mechanics. In a finite element context, Pahr and Zysset have introduced nonperiodic boundary conditions (PMUBC) for homogenization problems. We show how to implement PMUBC efficiently in an FFT-based code using discrete sine and cosine transforms. Compared with the domain mirroring approach, we reduce the runtime by a factor of 2 to 3, and the memory requirements by a factor of 8. We show that the use of periodic boundary conditions for nonperiodic geometries yields vastly different results than with PMUBC. Furthermore, we examine the influence of the discretization method by comparing the staggered grid discretization with a finite element discretization.K E Y W O R D Sboundary conditions, computational homogenization, elasticity, FFT, Lippmann-Schwinger equation1This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non-commercial and no modifications or adaptations are made.

INTRODUCTION

2The fast Fourier transform (FFT) based algorithm of Moulinec and Suquet 1 has found widespread use in solvers for obtaining effective properties of linear and nonlinear elasticity and conductivity problems. Initially, the algorithm has been developed assuming periodic boundary conditions. Nonperiodic boundary conditions are needed if the method is applied to nonperiodic structures as, for example, those obtained through a CT scan. 2 In Figure 1, several CT scans of human trabecular bone specimens with increasing bone volume fraction are shown which are clearly nonperiodic. 2 Chevalier et al. 3 have shown that the stiffness obtained from finite element (FE) simulations on CT scans of human trabecular bone depends on various parameters. Good agreement with measurements can only be reached if all parameters are correctly set. In particular, the boundary conditions have a large influence on the computed effective properties.

3Using the sine and cosine transforms for FFT-based solvers instead of mirroring the domain to obtain PMUBC boundary conditions was first proposed by Wiegmann. 4 The limitations of the available FFT libraries at that time hindered him to take advantage of his idea ("Because we had available a very efficient DFT (the FFT), but no comparable DCT or DST, we instead obtain solutions for Neumann and Dirichlet boundary conditions using the periodic solution on a larger domain which results from reflection in each dimension."). Remarkably, the equivalence of the PMUBC with periodic boundary conditions on the mirrored domain was originally used the other way round: Applying mixed uniform boundary conditions on a quarter of a symmetric domain allows to resemble periodic boundary conditions on the full domain. 5 In Section 2 of this article, we will introduce several boundary conditions for FFT-based homogenization. Detailed information on the discretization method can be found in Section 3. We present the efficient implementation of mixed uniform boundary conditions in an FFT context with respect to the discretization method in Section 4. Finally, numerical results for the geometries shown in Figure 1 are presented in Section 5.

BOUNDARY CONDITIONS

4With Dirichlet boundary conditions, the values of the displacement vector are specified on the domain boundary. For a two-dimensional rectangular domain [0, L 1 ] × [0, L 2 ], they take the form u 1 (0, y) = u 0 1 (0, y), u 2 (0, y) = u 0 2 (0, y), u 1 (L 1 , y) = u 0 1 (L 1 , y), u 2 (L 1 , y) = u 0 2 (L 1 , y),

5We write u 1 and u 2 for the displacement components in the x and y direction, respectively. u 0 1 and u 0 2 are the prescribed Dirichlet boundary conditions in the x and y direction.

6A special case of Dirichlet boundary conditions are kinematic uniform boundary conditions (KUBC). For a tensile load in x direction with macroscopic strain E 11 , the functions

7, u 0 2 (x, y) = 0 F I G U R E 1 Six CT scans of human trabecular bone specimens. 2 and for a shear load in xy plane with prescribed macroscopic strain E 12 , the functions

8are prescribed. Therefore, the displacement on the boundary is given by

9resp. u 1 (0, y) = 0, u 1 (L 1 , y) = 0, u 2 (0, y) = −E 12 L 1 ∕2,

10Similarly, with static uniform boundary conditions (SUBC), the traction at the boundary is prescribed. For a tensile load in x direction with prescribed macroscopic stress S 11 , 11 (0, y) = S 11 , 11 (L 1 , y) = S 11 , 12 (0, y) = 0, 12 (L 1 , y) = 0, 12

11A shear load in xy plane with prescribed macroscopic stress S 12 leads to the equations 11 (0, y) = 0, 11 (L 1 , y) = 0, 12 (0, y) = S 12 ,

12Kanit et al. 6 have shown that KUBC overestimate the effective properties, while SUBC underestimate them. With periodic boundary conditions (PBC), the bias is found to be much smaller than for the other boundary conditions. But Schneider et al. 7 have demonstrated that even with PBC, large errors arise when they are applied to nonperiodic geometries.

13For FFT-based methods, Wiegmann 4 and Gélébart 8 have developed a practical method how to implement Dirichlet boundary conditions. The authors embed the original simulation domain in a larger domain with periodic boundary conditions. Furthermore, Wiegmann 4 and Pahr and Zysset 2 have introduced the periodicity compatible mixed uniform boundary conditions (PMUBC). Wiegmann 4 has called them "normal" boundary conditions. For a two-dimensional rectangular domain [0, L 1 ] × [0, L 2 ] and a strain load in x direction, they take the form

14where E 11 is the prescribed macroscopic strain. For a shear load in xy plane with prescribed macroscopic strain E 12 , the boundary conditions are 11 (0, y) = 0, 11 (L 1 , y) = 0,

15The color boxes indicate that the conditions (5) are a combination of conditions (1) and (3), and for a shear load, conditions (6) are a combination of (2) and (4). See Wiegmann 4 and Pahr and Zysset 2 for the three-dimensional extension.

16Pahr and Zysset 2 have shown that PMUBC are equivalent to periodic boundary conditions on the mirrored domain, and that they fulfill the Hill condition. 9 In Pahr and Böhm, 10 the authors demonstrate that these boundary conditions yield valid results also for nonlinear material laws. Panyasantisuk et al. 11 and Denisiewicz et al. 12 confirmed that also in the nonlinear regime, KUBC provide an upper bound to the apparent stiffness and yield behavior, while SUBC lead to a lower estimate of the effective values. PMUBC provide more compliant linear and nonlinear values.

17While Pahr and Zysset 2 and Pahr and Böhm 10 have used finite element solvers in their studies, Wiegmann 4 have implemented the PMUBC in an FFT-based solver by solving the equivalent problem on the mirrored domain using the periodic FFT.

18In the following, we will show how to implement the PMUBC using discrete sine and cosine transforms, and therefore avoid the memory and runtime overhead introduced by the domain mirroring method from Wiegmann. 4

Domain mirroring method

19We will illustrate the domain mirroring method on a two-dimensional example, and deduce (in a graphical, informal way) the resulting symmetries in the strain and stress tensor. The extension to three dimensions is analogous. We consider the case of uniaxial compression in y direction for the geometry shown in Figure 2. For any point in the original domain (in light gray), we obtain the solution in the mirrored domain by symmetry arguments. It follows that

20F I G U R E 2 Example geometry for the domain reflection method. Displacement arrows for a compressive load (left) and a shear load (right). In light gray: original domain assuming that the origin (0, 0) is located in the center of the geometry. Furthermore, if we assume that the displacements are periodic on the mirrored domain [−L 1 , L 1 ] × [−L 2 , L 2 ], this implies that

21From Equation (7), we can directly deduce that the components 11 and 22 of the strain tensor have even symmetry while 12 has odd symmetry on the domain. More precisely, 11

22This implies that

23Due to the objectivity of the material law functions, that is, 13 the symmetry of the strain field carries over to the stress field. Using the rotation around the x-axis by 180 • projected onto the two-dimensional space, that is,

24we see that ( 11 (−x, y) 12 (−x, y) 12 (−x, y) 22 (−x, y) ) = (( 11 (−x, y) 12 (−x, y) 12 (−x, y) 22 (−x, y)

25) .

Similarly, with

26) as well as ( 11 (−x, −y) 12 (−x, −y) 12 (−x, −y) 22 (−x, −y)

27) . Therefore, the shear stress satisfies on the boundary 12 (x, 0) = 12 (x, L 2 ) = 12 (0, y) = 12 (L 1 , y) = 0.

28The conditions (8) and (9) are exactly the PMUBC from Pahr and Zysset. 2 Consequently, the problem with PMUBC on the small domain [0,

29Analogous results hold in three spatial dimensions. 11 , 22 , and 33 have even symmetry in all directions. 12 has odd symmetry in x and y direction and even symmetry in z direction, and analogously for 13 and 23 . For shear loads, the symmetries of the strain tensor depend on the shear plane. For a shear load in the xy plane, we have

30By way of example, we look at the resulting symmetries for 11 .

31This means that 11 has odd symmetry in y and z direction and even symmetry in x direction. For 23 , it follows that

32Therefore, 23 has odd symmetry in x and z direction and even symmetry in y direction. The symmetries for tensile and shear loads, all components and all loadcases are summarized in Table 1.

33From Table 1, we can also conclude which complex loads can be calculated with discrete sine and cosine transforms. Only if the resulting strain fields have the same symmetry, two loads can be combined. This means that biaxial tensile tests are allowed, but mixed tensile-shear loads are not because the resulting fields will not be symmetric anymore.

DISCRETIZATION METHODS

34In this work, we investigate the two dominating discretizations used for porous problems with FFT-based homogenization: the discretization from Willot 14 with displacement variables located in the element nodes and strain variables located at the single quadrature point in the cell centers, and the staggered grid discretization 15 with displacements located on the cell faces, volumetric strains in the cell centers and shear strains on the cell edges. As described in Schneider et al., 16 the discretization from Willot 14 can be interpreted as a finite element discretization with hexahedral elements and reduced integration. Therefore, we will name this the Hex8R discretization. The location of displacement and strain components is summarized in Table 2.

Staggered grid with double fine material grid

35The staggered grid discretization does only preserve the symmetry of the numerical solution if it is used in combination with a double fine material grid. 15 To make our results easily reproducible we will derive an explicit representation of the Green operator Γ 0 for the staggered grid discretization 15 in Fourier space and an efficient implementation of the combination with a double fine material grid for isotropic linear elastic materials. Similar to the Hex8R discretization 14 the volume element [0,

36. Contrary to the Hex8R discretization, the displacement vector (u 1 , u 2 , u 3 ) is not located in the cell nodes but at the cell face centers, that is,

37. The strains obtained by using the finite difference formulas

38on the components of the discrete displacement vector field u ∶ V N → R 3 , where periodicity is understood implicitly. Consequently, the volumetric strains aa [i, j, k] (a = 1, 2, 3) live on the cell centers

39, whereas the shear strains 23 13 [i, j, k], and 12 [i, j, k], are located on the edge midpoints:

40. The action of the forward and backward finite difference operators (10) can be written in Fourier space aŝ

41where we suppress the -dependence for notational clarity.

Variable

42Hex8R discretization 14 Staggered grid discretization 15 22 , 33

43Thus, for a given displacement field, the strain operator becomeŝ

44in Fourier space, where we have suppressed the frequency ∈ V N . Similarly, the divergence operator admits the representationd iv =

45Since the G 0 -operator can be written according to equation (15) of Schneider et al. 15 (Remark: The formula after Equation (15) is wrong) in Fourier space aŝ

46Interchanging the role of k + and k − leads to a similar discretization. In this case the displacements would be located at the opposite cell face centers, that is,

47and the shear strains would be located on the opposite edges, that is, 23 13 [i, j, k] and 12 [i, j, k], are located on the edge midpoints:

48. While the Lippmann-Schwinger operator could be obtained for this discretization as the conjugate complex ofΓ 0 , the usage of the discrete sine and cosine transforms for the application of the PUMBC (see Section 4) would require a complicated scaling of the input for the FFTW library. Therefore, we will not further discuss the alternative staggered grid discretization.

49Without taking into account information about the material distribution on a double fine grid (which is normally not available in the first place) the double fine material grid, that is, equation (7) of Schneider et al., 15 can be efficiently implemented by averaging the shear modules at the material interfaces in the following way

50The equations are to be understood with periodicity in mind, that is,

51For the PUMBC the material parameters will be continued constant over the domain interface.

52It is remarkable to note that similar modifications have been used by Dorn et al. 17 to implement an FFT-based version of the explicit jump discretization for the Laplace equation. 18

Symmetry of discretization method

53We will illustrate the influence of the discretization method with a numerical example. We discretize the mirrored geometry shown in Figure 2 by 16 × 16 voxels and calculate the numerical solution with the staggered grid discretization with and without the double fine material grid (see Section 3.1), and the Hex8R discretization. In all simulations, we set periodic boundary conditions. As discussed in Section 2, this is equivalent to the solution on the nonmirrored domain (in light gray in Figure 2) with PMUBC. The resulting strain fields are shown in Figure 3. As in Pahr and Zysset, 2 we set E = 0 GPa for the inclusion, and E = 20 GPa and = 0.3 for the surrounding material. We can observe the resulting symmetries of the components of the strain tensor for a tensile load (top two rows) and a shear load (bottom two rows). For a tensile load, 11 has even symmetry (first row) and 12 odd symmetry (second row). In contrast, for a shear load, 11 has odd symmetry (third row) and 12 even symmetry (fourth row).

54Furthermore, we note that while the strain fields are similar to each other for all discretizations, the fields obtained with the staggered grid discretization without the double fine material grid (leftmost column) show slight asymmetries while the fields obtained with the double fine material grid (middle column) and with the Hex8R discretization (rightmost column) are perfectly symmetric.

55The symmetries of the displacements which we used to deduce the symmetries of the strain components are shown in Figure 4. The displacement components are calculated as described by Gasnier et al. 19 and in Appendix A. Again we observe that with the staggered grid discretization without double fine material grid (leftmost column), small asymmetries can be observed in both displacement components.

56In Section 4, we will show how we can take advantage of these symmetries and implement PMUBC on the nonmirrored domain by replacing the periodic Fourier transform by sine and cosine transforms. An asymmetric discretization as the staggered grid discretization without double fine material grid destroys these symmetries, and strictly speaking, does not allow the use of this efficient method.

EFFICIENT IMPLEMENTATION

57We have shown that PMUBC as in Equations (8) and (9) are equivalent to periodic boundary conditions with the domain mirroring method. But the domain mirroring approach implies that the simulation domain has to be increased eightfold (in three dimensions). In particular if nonlinear material laws are considered, restrictions on memory usage and runtime might forbid such an approach. Instead, we show how to implement the conditions (8) together with (9) on the original domain using the discrete sine and cosine transforms.

58Following Frigo and Johnson, 20 the periodic Fourier transform calculates the Fourier coefficientsf k for real data From Section 1 we know that if the geometry is symmetric and the discretization method preserves these symmetries, the components of the strain tensor are either even or odd real functions. Let us assume even or odd symmetry of the input data f k in the following.

59In Figure 5, the location of volumetric and shear components with the staggered grid discretization on a mirrored two-dimensional domain is shown. We observe that the mirroring at the voxel interface introduces different symmetries

60Plugging this into Equation (13), we obtain

61for odd symmetry and sin

62for even symmetry 2 sin

63for even symmetry it follows thatf

64for even symmetry,

65for odd symmetry.

66Following Swarztrauber, 21 the Fourier coefficients of a "quarter-wave symmetric" sequence is complex. The FFTW library returns strictly real (or strictly imaginary) coefficients, and in order to obtain the actual Fourier coefficients, we have to multiply with the factors exp

67(cf. eq. (2.14) in Swarztrauber 21 ). Now, let us look at the shear components. In this case, f j = f N−j for even symmetry, and f j = −f N−j for odd symmetry, j = 1, … , N − 1.

68For even symmetry, there is no requirement on the values of f 0 and f n with 2n = N, but for odd symmetry, f 0 = f n = 0. Plugging this into Equation (13), we obtain

69since for odd symmetry, f 0 = f n = 0. The FFTW library 20 provides functions which return the coefficients defined in Equations (15), (16), (18), and (19), and their inverses (up to the exp factors). These are the discrete cosine and sine transforms (DCT and DST) for even resp. odd symmetry. Their names and the corresponding equations are listed in Table 3.

70Therefore, instead of using the periodic DFT on the mirrored domain, we can use the DCT and DST on the original domain. This approach has the advantage that the memory requirements are lower, and depending on the performance of the DCT and DST, it is potentially faster. As shown above, the position of the numerical grid with respect to the symmetry axis decides upon which version to choose. Therefore, the choice of the transform depends on the discretization method.

Implementation details

71As summarized in Table 4 and keeping the position of the strain components from Table 2 in mind, the symmetries of the strain tensor imply that for a tensile load, we must use the REDFT10 transforms for cell-centered components of the strain tensor. With the staggered grid discretization, we need the transforms RODFT00 and REDFT10 for the shear components. For a shear load in xy plane, the required transforms are summarized in Table 5. The transforms for other shear directions have to be adapted according to Table 1. For components located in the element center, we need the REDFT10 and the RODFT10 transforms. As shown in Equations (15) and (16), the Fourier coefficients contain an exp

72term which is not contained in the coefficients returned by FFTW. Therefore, we have to multiply the coefficients with this term before we can use them further. In three dimensions, the factor becomes exp

73where x, y, and z are the indices of the Fourier coefficient in the three directions. Recalculating these factors each iteration is expensive since it involves trigonometric functions. On the other hand, storing them in a (three-dimensional) array consumes a lot of memory. Alternatively, we write

74and save the factors sin introducing only minor additional memory requirements, and implement PMUBC for cell-centered discretizations efficiently.

75For the staggered grid discretization, 11 , 22 , and 33 can be treated in the same way. But the shear strains 12 , 13 , and 23 are located on the corresponding edge midpoints (see Table 2). In two directions, they fulfill the symmetry condition in Equation (17), and in one direction, the condition in Equation (14). Therefore, the exponential factors only from one direction have to be multiplied with the result returned by FFTW.

76For the REDFT00 and RODFT00 transforms, the number of unknowns is different than for the cell-centered transforms. Therefore, we need to adapt the size of the arrays, and use the guru plans from the FFTW library. Due to this complicated memory layout, we observed that the FFTW planner flag has an important influence on the runtime. As explained in Frigo and Johnson, 20 there are two possible choices for this flag. With FFTW_MEASURE, FFTW runs and measures the execution time of several FFTs in order to find the best way to compute the transform. Therefore, the initialization takes some time, but the runtime of the transforms is usually better than with FFTW_ESTIMATE where no test computations are run. For the simulations presented in Section 5, we always use the FFTW_MEASURE flag. 13 , and 12 for the six geometries from Pahr Zysset 2 (shown in Figure 1). The geometries are discretized by 100 3 voxels except for the geometries with 20.76% and 37.6% which are discretized by 66 3 voxels. Following Pahr and Zysset, 2 we assume isotropic behavior with E = 20 GPa and = 0.3 for the tissue material, and set E = 0 GPa for the surrounding material. The simulations were run with a modified version of GeoDict2022. 22 The elastic constants are calculated from the stiffness matrix by using the orthotropic approximation from Browaeys. 23 We use the standard CG algorithm, but the memory efficient variant from Grimm-Strele and Kabel 24 could be used as well. As a convergence criterion, we stop if

NUMERICAL EXAMPLES

77where tolerance = 0.0001, or after 50,000 iterations. 25 We note that all simulations reached the error tolerance except for the simulations with the Hex8R discretization on the geometries with 15.76% and with 37.6%.

PMUBC validation

78In Figure 6, we show the difference of the elastic constants calculated with PMUBC in comparison with the results with periodic boundary conditions (PBC) on the mirrored domain. The discretization methods are the staggered grid discretization, the staggered grid discretization with double fine material grid (DFMG), and the Hex8R discretization. 14 As expected due to the perfect symmetry of the solution fields on the mirrored domain with the staggered grid discretization with double fine material grid and with the Hex8R discretization, 14 there is no difference in the results for these discretizations. In contrast, with the staggered grid discretization without the double fine material grid, the results with PMUBC are different. As discussed in Section 4 and visualized in Figure 3, this stems from the asymmetry of the solution leading to a violation of the symmetry conditions (14) and (17). Then, the results obtained with the discrete sine and cosine transform are not identical anymore with the results on the mirrored domain. For example, for the lowest bone volume fraction of 6.52%, the effective properties then differ by more than 10 %. For all other geometries the difference remains below 5%.

Influence of the discretization method

79In Figure 7, we show the elastic constants calculated with PMUBC and the staggered grid discretization, the staggered grid discretization with double fine material grid (DFMG), and the Hex8R discretization. 14 Additionally, we added for comparison the results of Pahr and Zysset 2 obtained with the commercial FEM package ABAQUS using linear hexahedral elements (C3D8). 26 The influence of the discretization method is not negligible. The greatest difference of the predictions appear for the geometries with 6.52% and 20.76% bone volume fraction. In general, the Young's moduli are underestimated with the Hex8R discretization and overestimated by fully integrated C3D8 elements. The missing symmetry of the solutions with the staggered grid discretization without DFMG leads to lower predictions of the stiffness. Nevertheless, for all geometries the predicted Young's moduli of both staggered grid discretizations lie in between the Hex8R and C3D8 predictions. For the two critical geometries these predictions are closer to the results with C3D8 elements.

80We note that for the discretization of Moulinec and Suquet, 1 PMUBC can be implemented in the same way as for Hex8R (see Tables 4 and 5). But since this discretization cannot be applied to porous materials, we do not include it in the comparison.

F I G U R E 7

81Comparison of the elastic constants calculated with PMUBC and the three discretization methods with the results of Pahr and Zysset. 2 Note that 12 and 13 are negative with Hex8R for the geometry with 6.52%

Influence of the boundary conditions

82In Figure 8, the difference in the elastic constants calculated with periodic boundary conditions (PBC) in relation to the results with PBC on the mirrored domain are shown. We observe that the difference in all elastic constants is large, in particular for low volume fractions. But even for high volume fractions, the difference can be up to 25%. These large differences can be explained by comparing the first and the last slice of each structure. Since the geometries are obtained from CT scans, 2 they are not periodic. The nonperiodicity manifests in low overlap between the first and the last slice of the structure, as shown in Figure 9. There, the overlap is shown in red, while the first slice of the structure is shown in green and the last slice in blue color.

83The relative overlap for all geometries in three directions is shown in Figure 10. It is calculated as the ratio of the intersection of the first and the last slice divided by the union of the two slices. We observe that the relative overlap increases with increasing bone volume fraction, leading to smaller differences between the elastic constants calculated with periodic boundary conditions on the small and the mirrored domain ( Figure 8).

Mesh resolution study

84We observe in Figure 7 that the largest differences in the elastic constants appear for the geometry with 20.76% bone volume fraction. In particular, E 1 , E 2 , and E 3 calculated with the Hex8R discretization are much smaller than the values calculated with the staggered grid discretization. Therefore, we increase the resolution of this geometry by a factor of 2 and 4 (while keeping the volume fractions constant), and recalculate the elastic constants on the upsampled geometries.

85The results are shown in Figure 12. With increasing resolution, the differences between the discretizations decrease. The changes are smallest with the staggered grid discretization with DFMG. With the Hex8R discretization, the calculated F I G U R E 9 Overlap of structures in x (left), y (middle), and z (right column) direction. Top row: 6.52% bone volume fraction and bottom row: 37.6% bone volume fraction. Green: first slice of the structure, blue: last slice of the structure, and red: overlap F I G U R E 10 Relative overlap of first and last slice of each geometry in all three directions elastic constants change drastically with resolution. Especially the coarse resolution does not seem to be sufficient for this type of element. That the staggered grid discretization with DFMG is more robust with respect to coarsely resolved structures can be explained by the fact that it incorporates a material parameter smoothing at the interfaces, compare Equation (12).

86In Table 6, the number of iterations needed until convergence was reached is listed. For the Hex8R discretization, the number of iterations strongly decreases with increasing resolution, while it stays nearly constant for the staggered grid discretization with DFMG.

F I G U R E 11

87Stresses for a tensile load in x direction for the geometry with 20.76%. Top row: 11 in the first slice in x direction, middle row: 22 in the first slice in y direction, and bottom row: 33 in the first slice in z direction. Left column: structure with overlap (colors as in Figure 9), middle column: with periodic boundary conditions, and right column: with PMUBC. Color scale is omitted, but is identical in the middle and right column F I G U R E 12 Elastic

Runtime and memory consumption

88Finally, we take a look on the runtime and memory consumption depending on the boundary conditions and the discretization method. Here we consider only the coarsest resolution. The total runtime, the runtime spent in the FFTW library, the number of iterations until the convergence criterion was reached, and the memory consumption of the simulation is summarized in Table 7 for the geometry with 20.76% bone volume fraction. The memory consumption was measured using the /proc/id/status command. The runtime per iteration of the staggered grid discretization increases by about 20% when using the double fine material grid (DFMG). At the same time, the number of iterations needed until convergence is reached is considerably reduced, leading to a total runtime even below the runtime without the double fine material grid.

89The runtime with the Hex8R discretization is about 10 times higher since the number of iterations is increased by the same factor. For all volume fractions considered in this study, the number of iterations was much higher with the Hex8R discretization than with the staggered grid discretization. On the geometries with 15.76% and with 37.6%, convergence was not reached even after 50,000 iterations.

90As expected, the runtime and the memory requirements increase by a factor of 8 when comparing periodic boundary conditions (PBC) on the small and the mirrored domain. The runtime and the memory requirements with PMUBC lie between these two values. Compared with PBC on the mirrored domain, the runtime is lower by a factor of about 2 or 3. The memory requirements are slightly higher than with PBC on the small domain. As described in Section 4, we need the REDFT00 transform for the staggered grid discretization. Therefore, if the mirrored domain has size N = 2n, the array sizes for our implementation are n + 1. 20 The runtime increase of PMUBC compared with PBC on the small domain has several reasons. First, the discrete sine and cosine transforms implemented in FFTW are slower than the periodic transform of same size. Second, the multiplication with the exponential factors as stated in Equation (20) introduces additional overhead.

91For the other geometries, we obtain similar results. In Figure 13, we show the total number of iterations needed until convergence was reached for all six loadcases with PMUBC. We note that with the Hex8R discretization, convergence was F I G U R E 13 Number of iterations until convergence with PMUBC. With the Hex8R discretization, convergence was not reached within 50,000 iterations for the geometries with 15.76% and 37.6% not reached within 50,000 iterations for the geometries with 15.76% and 37.6%. For four of the geometries, the staggered grid discretization converges faster if the double fine material grid is used. In the other two cases, the difference in number of iterations is small.

CONCLUSIONS

92If the geometry of the problem is nonperiodic, nonperiodic boundary conditions should be used for homogenization problems. Periodic boundary conditions lead to large errors in the calculated effective properties. On the other hand, the periodicity compatible mixed uniform boundary conditions (PMUBC) yield accurate predictions both in the linear and the nonlinear case. 2,10 In FFT-based codes, PMUBC can be implemented using the domain mirroring method, 4 thereby increasing runtime and memory requirements by a factor of 8 (in three dimensions). For elasticity problems it turned out that the domain mirroring method cannot be applied if, for example, shear and axial loadings are combined. For compatible loadings we showed how to implement PMUBC using the discrete sine and cosine transform. Compared with the domain mirroring method, the runtime is reduced by a factor of 2 to 3, and the memory consumption by a factor of 8. In contrast to the more flexible embedding method proposed by Gélébart, 8 the PMUBC do not change the condition of the stiffness matrix and therefore do not lead to higher iteration numbers. While with the method of Gélébart, the iteration numbers are increased by a factor of 2 to 3 compared with periodic boundary conditions, they are even decreased with our implementation. Furthermore, our method does not require any additional parameters.

93For a perfectly symmetric solution, results obtained with PMUBC and the domain mirroring method are identical. But if the discretization method does not preserve the symmetry of the solution, differences appear which can add up to 20% in the elastic constants. We show that the staggered grid discretization 15 is only symmetric if it is employed with the double fine material grid, and discuss how to efficiently implement it for isotropic linear elastic materials. The increase in runtime per iteration stays below 20%, but the total iteration count until convergence is considerably reduced.

94The discretization method has a huge influence on the simulation results. We compare the staggered grid discretization with the Hex8R discretization 14 and linear hexahedral elements. 2 We show that Hex8R yields lower estimates for the elastic constants than linear hexahedral elements. The estimates obtained with the staggered grid discretization lie between the two finite element discretizations. In terms of iteration count, the Hex8R discretization needs about 10 times more iterations to converge than the staggered grid discretization. Additionally, the Hex8R discretization leads to very inaccurate results for coarsely resolved (porous) structures. In contrast, due to the smoothing of the material parameters at the interface, the staggered grid discretization with DFMG predicts the effective stiffness very accurately on the coarsest initial resolution.

95If the geometry is nonperiodic, PMUBC and periodic boundary conditions yield vastly different results. The difference decreases with increasing solid volume fraction because then, the overlap of the first and the last slice of the structure increases. Nevertheless, the difference is up to 25% even for the largest volume fraction considered here (37.6%).

96All tests assumed linear elasticity, but the method can be applied to nonlinear material laws without any changes. 10 Of course, the efficient implementation of the double fine material grid (12) would not be possible.

97Another possible extension of our work is to apply PMUBC only in one or two spatial directions, and combine it with periodic boundary conditions in the other directions. in Fourier space from the strain tensor also for the staggered grid discretization. Then the strain tensor̂in Fourier space is given by Equation (11

98The first equation obtained by multiplying Equation (11) with

99) * ) T from the right side is

100we observe the resulting equations have the same structure and only the wave vectors k i need to be replaced by either k

참고문헌 21건

  1. Elasticity and Plasticity of Large Deformations Springer eBooks · Springer Nature · 2011 10.1007/978-3-642-24615-9
  2. Computational homogenization of elasticity on a staggered grid International Journal for Numerical Methods in Engineering · Wiley · 2015 10.1002/nme.5008
  3. Elastic properties of reinforced solids: Some theoretical principles Journal of the Mechanics and Physics of Solids · Elsevier BV · 1963 10.1016/0022-5096(63)90036-x
  4. A numerical method for computing the overall response of nonlinear composites with complex microstructure Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1998 10.1016/s0045-7825(97)00218-1
  5. Validation of a voxel-based FE method for prediction of the uniaxial apparent modulus of human trabecular bone using macroscopic mechanical tests and nanoindentation Journal of Biomechanics · Elsevier BV · 2007 10.1016/j.jbiomech.2007.05.004
  6. Fast Poisson, Fast Helmholtz and fast linear elastostatic solvers on rectangular parallelepipeds 1999 10.2172/982430
  7. Efficient fixed point and Newton–Krylov solvers for FFT-based homogenization of elasticity at large deformations Computational Mechanics · Springer Science+Business Media · 2014 10.1007/s00466-014-1071-8
  8. Decomposition of the elastic tensor and geophysical applications Geophysical Journal International · Oxford University Press · 2004 10.1111/j.1365-246x.2004.02415.x
  9. Fourier-based schemes for computing the mechanical response of composites with accurate local fields Comptes Rendus Mécanique · Elsevier BV · 2015 10.1016/j.crme.2014.12.005
  10. Influence of boundary conditions on computed apparent elastic properties of cancellous bone Biomechanics and Modeling in Mechanobiology · Springer Science+Business Media · 2007 10.1007/s10237-007-0109-7
  11. Determination of the size of the representative volume element for random composites: statistical and numerical approach International Journal of Solids and Structures · Elsevier BV · 2003 10.1016/s0020-7683(03)00143-4
  12. Effect of boundary conditions on yield properties of human femoral trabecular bone Biomechanics and Modeling in Mechanobiology · Springer Science+Business Media · 2015 10.1007/s10237-015-0741-6
  13. FFT‐based homogenization for microstructures discretized by linear hexahedral elements International Journal for Numerical Methods in Engineering · Wiley · 2016 10.1002/nme.5336
  14. Thermoelastic properties of microcracked polycrystals. Part I: Adequacy of Fourier-based methods for cracked elastic bodies International Journal of Solids and Structures · Elsevier BV · 2018 10.1016/j.ijsolstr.2018.07.024
  15. Lippmann‐Schwinger solvers for the explicit jump discretization for thermal computational homogenization problems International Journal for Numerical Methods in Engineering · Wiley · 2019 10.1002/nme.6030
  16. Runtime optimization of a memory efficient CG solver for FFT-based homogenization: implementation details and scaling results for linear elasticity Computational Mechanics · Springer Science+Business Media · 2019 10.1007/s00466-019-01713-3
  17. A modified FFT-based solver for the mechanical simulation of heterogeneous materials with Dirichlet boundary conditions Comptes Rendus Mécanique · Elsevier BV · 2020 10.5802/crmeca.54
  18. A numerical method for computing the overall response of nonlinear composites with complex microstructure Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1998 10.1016/s0045-7825(97)00218-1
  19. Influence of Boundary Conditions on Numerical Homogenization of High Performance Concrete Materials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/ma14041009
  20. Symmetric FFTs Mathematics of Computation · American Mathematical Society · 1986 10.1090/s0025-5718-1986-0842139-3
  21. Assessment of Mixed Uniform Boundary Conditions for Predicting the Mechanical Behavior of Elastic and Inelastic Discontinuously Reinforced Composites Computer Modeling in Engineering & Sciences · Tech Science Press · 2008 10.3970/cmes.2008.034.117