Parallel two‐scale finite element implementation of a system with varying microstructure
간접 관련 필름·전자재료 · (18) VENT(방수통기 부품) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)(11) 배리어 필름
기본 정보
- 저자
- DOI
- 10.1002/gamm.202470005
- 저널
- GAMM-Mitteilungen
- 발행년도
- 2024
- 발행기관
- Wiley
- 피인용수
- 2
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1002/gamm.202470005
- 토픽
- Composite Material Mechanics
- OpenAlex ID
- W4403615430
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 필름·전자재료 · (18) VENT(방수통기 부품)
- 부 분야
- (5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막), (11) 배리어 필름
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- multiscale modeling, finite element method, heterogeneous microstructure, transport and diffusion, partial differential equations
- 판단 근거
- 이 논문은 불균일한 미세구조를 가진 시스템의 물질 전달 및 확산 현상을 시뮬레이션하기 위한 멀티스케일 유한요소법(FEM) 수치 해석 모델을 다룹니다.
- R&D 활용 포인트
- 다공성 막(Membrane)이나 필름 내의 수분/가스 투과 메커니즘을 미세구조 수준에서 예측하고 설계하는 수치 해석 모델링 기술로 활용 가능합니다.
- 평가 입력
- 섹션 본문 40,045자 중 30,032자 발췌
초록
본문 41,986자
본문 펼치기
섹션 본문 89문단 · 39,633자
(제목 없음)
1We propose a two-scale finite element method designed for heterogeneous microstructures.Our approach exploits domain diffeomorphisms between the microscopic structures to gain computational efficiency.By using a conveniently constructed pullback operator, we are able to model the different microscopic domains as macroscopically dependent deformations of a reference domain.This allows for a relatively simple finite element framework to approximate the underlying system of partial differential equations with a parallel computational structure.We apply this technique to a model problem where we focus on transport in plant tissues.We illustrate the accuracy of the implementation with convergence benchmarks and show satisfactory parallelization speed-ups.We further highlight the effect of the heterogeneous microscopic structure on the output of the two-scale systems.Our implementation (publicly available on GitHub) builds on the deal.II FEM library.Application of this technique allows for an increased capacity of microscopic detail in multiscale modeling, while keeping running costs manageable.
Introduction
2Models involving transport and diffusion phenomena interacting at multiple scales (multiscale) are ubiquitous in the natural sciences and engineering E [2011].Multiscale modeling is a key tool for developing effective techniques to describe these phenomena, which may otherwise be computationally intractable.Specifically, assuming scale-separation in models allows us to examine the interplay between processes active on vastly different length and time scales; defining, for example, phenomena on macroscales and microscales Horstemeyer [2009]; Steinhauser [2022]; Welsh et al. [2018]; Engquist et al. [2009]; Seguin and Walkington [2020].In most practically relevant cases, the microscales are active in the sense that they are hosting localized phase transitions described mathematically by moving interfaces with a priori known or unknown velocities.The case of known interface velocities is both mathematically and computationally well-understood (cf.e.g.Eden and Muntean [2017]), while the case of unknown interface velocities is still a matter of concern; compare Reischmann and Peter [2022]; Gahn and Pop [2023]; Wiedemann and Peter [2023]; Eden and Muntean [2024] for some very recent asymptotic analysis results concerning closely related reaction-diffusion scenarios which arise in the context of reactive transport in porous media.
3Here, we consider a flow process that takes place on two distinct physical scales.In the simplest setting, we can identify a macroscopic scale where a model governs the behavior of a (macroscopic) fluid in which averages over the microscopic scale enter as source terms, as well as a microscopic scale that includes diffusion-based transport and chemical reactions on heterogeneous domains where the macroscopic fluid concentration plays the role of a parameter.We propose a computational framework to model the effect of heterogeneous microscopic geometries on microscopic and macroscopic solution profiles, where the species involved satisfy a system of partial differential equations (PDEs).Resolving the multiscale structure of the PDEs, especially the heterogeneous microstructure, requires careful consideration to avoid computational overload yet make sure the required accuracy on the macroscale is achieved.We present an efficient and robust parallel two-scale finite element method for the approximation of such systems.Our focus in the present work is the consideration of linear systems of equations that preserve the main challenges that arise from the multiscale nature of the systems whilst sidestepping the added technical complications that arise in the nonlinear systems of more interest in applications.We describe in detail practical aspects related to the implementation, such as visualization of computational results and we report on parallelization of the algorithm.We also showcase the effect of microstructure heterogeneity by presenting simulations of a simple linear model for transport with heterogeneous microstructures.Although the focus is on linear elliptic systems, such systems typically arise after linearisation in the resolution of nonlinear parabolic or elliptic systems which are relevant in applications, hence this work and the associated algorithm and code provides a useful contribution to the numerical solution of nonlinear problems.
4As an example model to test the numerical method, we propose a system of PDEs describing the steady-state profile of transport processes in plants.The transport of many substances such as water, hormones and nutrients, occurs through cell scale processes.An important and widely studied example is that of Auxin transport Twycross et al. [2010], where active influx and efflux carriers on cell membranes allow for polarity of the transport process.Establishing and maintaining precise concentration profiles of Auxin in plant tissues is crucial in many developmental processes, making the problem inherently multiscale.Plant cells are orders of magnitude smaller than the size of the plant itself.Moreover, these cells vary greatly depending on plant age and location relative to the center of the stem.Taking these considerations into account can greatly complicate the process of developing a reliable computational model.In particular, using a single-scale model to resolve plant geometries in detail is extremely challenging from a computational point of view Twycross et al. [2010].A number of recent studies focus on multiscale modeling with contributions ranging from modeling growing process [Lockhart, 1965;Jensen and Fozard, 2015, e.g.]) to topological constructions [Godin and Caraglio, 1998, e.g.].In Raats [2007] the author proposes a system of equations that models the consumption of water by plant roots and in Allen and Ptashnyk [2020]; Chavarría-Krauser and Ptashnyk [2010] the authors consider multiscale modeling of Auxin transport.The framework we develop is in fact of relevance to all of these applications as our simulations of the linear model for transport in plant tissues show in Section 4.3.
5Our main aim in the present work is to provide researchers and practitioners with a computational tool that helps make scale-separated problems with varying microstructures computationally tractable.Our focus is on the simplest relevant models in order to elucidate the underlying principles whilst avoiding unnecessary technicalities.However, the techniques presented in this manuscript are not limited to the simple models considered here.They can be flexibly extended to more complex multiscale problems, involving different kinds of physics such as coupling mechanics and fluid transport.
6Solving systems of PDEs, including multiscale ones, on complex geometries and with singular data often requires the use of unstructured grids or meshes.Owing to this, finite element approaches, known for their flexible use in complex geometries and relative ease in adaptive meshing, have received substantial attention for multiscale PDEs since the turn of the century.Computational power has increased exponentially, but demands on model features and accuracy have managed to keep pace and use such power.Currently no single stratagem dominates the state-ofthe-art.
7It strongly depends in the problem at hand whether a given technique will prove effective or not.Rather than a single technique, multiscale modeling is a paradigm on how to relate said scales and make them interact.Multiscale models for PDEs can be classified in several different ways.One classification discriminates on whether the scales are physically embedded in each other or fully scale-separated E [2011]; Pavliotis and Stuart [2008].The first class thus formed allows for a size relation between a microscopic scale and a macroscopic scale and they must share spatial dimension; this class of models is studied, among others, by Hellman et al. [2016] and Efendiev et al. [2013].The second class, referred to as fully separate scale models, allows for different space dimensions at various scales, e.g., a onedimensional microscopic domain within in a three-dimensional macroscopic domain.Our approach deals with this second class.Other examples of this technique can be found in for instance Muntean and Neuss-Radu [2010].
8Multiscale models can also be classified in terms of how they encode patterns in microscopic structures.Techniques derived from homogenization often assume periodic (if not homogeneous) microscopic structures, as for instance demonstrated in Arbogast et al. [1990] when deriving the double-porosity structure for a flow problem; see also the Ref.Raats [1981] for an early study in this direction.Among the other contributions that focus specifically on varying or evolving microstructures in a double-porosity case (here referred to as two-scale) is van Noorden and Muntean [2011].This structure allows more tools for a rigorous mathematical analysis, but uses assumptions that are often too strong for practical applications.Since there is often an inherent variation present in microscopic structures, investigations such as Meier [2008] focus on developing tools that allow for the modeling of that variation, coping also with situations not necessarily obtainable via averaging procedures like homogenization.For results concerning the numerical approximation of such class of problems, ee refer the reader, for instance, to Hou and Wu [1997]; Kouznetsova et al. [2004]; Hoang and Schwab [2005]; Abdulle et al. [2012]; Gärttner et al. [2020]; Bastidas Olivares et al. [2021].
9Since a higher heterogeneity in the medium inevitably leads to more computational work, several contributions focus on improving computational strategies for multiscale simulations.Two of the most popular (and often-combined) approaches are employing adaptive grids for the discretization of the system of equations (adaptivity) and distributing the workload over different processors (parallelization): see for instance Farhat and Roux [1991]; Komatitsch et al. [2010] and Verfürth [2013].In our framework, we apply a parallelization technique.For completeness, we mention that alternative solution approaches for multiscale flow and transport are studied as well, see [Peszynska and Showalter, 2007;Raats, 1981;Redeker and Eck, 2013;Maes and Soulaine, 2020, e.g.].
10The rest of the paper is structured as follows: in Section 2 we discuss the model PDE system and its analytic properties.In Section 3 we propose a finite element method and discuss its implementation.In Section 4 we report on numerical experiments conducted with this method and showcase the computational advantages with benchmarking and comparisons, including a parallel implementation and an application to test the dependence on the microscopic geometry.We close the paper with some conclusions.
A two-scale model with varying microstructures
11Before posing the model problem, we introduce the two-scale setting and the heterogeneous microscopic structure.Let Ω ⊂ R d1 be the macroscopic domain and Y ⊂ R d2 be a microscopic domain with d 1 , d 2 ∈ {1, 2, 3}.Both domains Ω and Y are assumed to have Lipschitz boundaries.For each x ∈ Ω we define a microscopic domain Y x ⊂ Y with Y x ∩Y = ∅.We denote the boundary of Ω with ∂Ω, consisting of mutually disjoint parts ∂Ω N and ∂Ω D such that ∂Ω = ∂Ω N ∪ ∂Ω D , and the boundary of Y x with Γ x , consisting of mutually disjoint parts
12The different boundaries on the microscopic domain are presented in Figure 1.We proceed to define the composite (multiscale) domain Λ as ( 1)
13Let ζ ∈ C 0 ( Ω; C 1 ( Z, Ȳ )) be a given mapping.Then, for each x ∈ Ω the microscopic domains Y x is the image of a base domain Z ⊂ Y , common to all x, under a mapping ζ(x, •):
14We assume that ζ(x, •) is differentiable and invertible in its second argument, for each x ∈ Ω, that
15).Similar setups of heterogeneous microscopic structures are presented in Meier [2008]; Lakkis et al. [2013]; van Noorden and Muntean [2011].In continuum mechanics, this concept is often referred to as motion mapping Bonet and Wood [2008].See Figure 1 for a schematic representation of Ω and Y x .The boundary portions Γ I , Γ O and Γ N represent the inflow, outflow and no-flow boundary of Y x , respectively.2.1.Model problem.The following system of equations should primarily be regarded as a test problem for the two-scale finite element framework that is the main focus of this work.The reader should not seek per se a derivation of this model via homogenization as it does not have a natural one.This is simply a collection of mass balance laws posed on different microscopic and macroscopic sets.In order to illustrate the applicability of our computational framework, we describe an interpretation of the model as a description of transport processes in plants mediated by cell-scale influx and efflux.Under such an interpretation the macroscopic quantity u represents a nutrient that the plant absorbs or produces, e.g., water absorbed from the soil.This nutrient is in turn taken in at cell membranes at an influx part of the membrane Γ I
16x , within the cells the nutrient concentration is represented by microscopic quantity v.In the cells, the nutrient v is converted to a product w which is emitted into the tissue at outflux regions of the cell membranes Γ O
17x .Such a description is consistent with simplifications of many models for Auxin and water transport in plants present in the literature [Twycross et al., 2010;Chavarría-Krauser and Ptashnyk, 2010, e.g.].As mentioned in the introduction, a major novelty of the model and the computational framework is that we allow for quite general cell geometries.In Section 4.3 we illustrate the dependence of both macroscopic and microscopic solution profiles on the cell geometries.
18Let u, v : Ω → R and v : Λ → R satisfy the following system of equations:
19(5)
20In the rest of this manuscript, this system is referred to as (5).The function space Q is defined as
21We construct the weak form of ( 5) by multiplying the equations with test functions from the triplet (ϕ, ψ, φ) ∈ Q and integrating over the respective domains.This results in the following problem: find a triplet of functions (u, v, w)
22for all triplets of functions (ϕ, ψ, φ) ∈ Q.
232.2.Definition.We call the triplet (u, v, w) ∈ Q a weak solution to (5) if it satisfies the identities listed in (9) for any choice of test functions (ϕ, ψ, φ) ∈ Q.
242.3.Assumptions on data.Before proceeding with solvability of ( 5) we state the assumptions on which we base the proof:
25(1)
26(6) We impose the following structural relations on the model parameters:
27Assumptions 1, 2 and 3 are geometric: they allow us to make sense of the function spaces with distributed microstructures without too many technicalities.Assumptions 4 and 5 have a clear physical translation.They point out a set of parameters for which solutions will turn to exist and to be unique.Assumption 6 is a sufficient condition to prove the coercivity of the bilinear form associated to (5), without being disrupted by the Robin boundary conditions.It reveals the physical interactions between the transmission coefficients κ 1 , ..., κ 4 , the size of the microstructure, and the macroscopic diffusion coefficient.
282.4.Theorem (weak solvability).Under assumptions 2.3.1-6system (5) admits a unique solution in the sense of Section 2.2 which is also stable with respect to parameters.
29Proof.Problem ( 5) is a linear and coupled system of elliptic equations.A standard application of the Lax-Milgram Lemma (cf.Theorem 1, on p. 317 in Evans [2010]) clarifies the solvability.A potentially less straightforward aspect is the structure of the function space L 2 (Ω; H 1 (Y x )).Based on (A1) and (A2), and relying on Li [1992], L 2 (Ω; H 1 (Y x )) is a direct integral of Hilbert spaces, which is itself a Hilbert space together with its corresponding trace spaces L 2 (Ω; L 2 (Γ I x )) and L 2 (Ω; L 2 (Γ O x )).For more details on this topic, we refer the reader to Meier and Böhm [2008] or to Section 2.2 in Meier [2008], which treats the topic of Sobolev spaces in non-cylindrical domains as used in this framework, as well as to the more recent account Evseev and Menovschikov [2020] for the L p version of these spaces.□
Finite element implementation
303.1.Approximation.Rather than constructing a mesh for each of the microscopic domains Y x , we use the structure in ζ(x, •) to construct a mesh for the reference domain Z only and pull-back the basis functions of Y x to Z.This leads us to mesh partition B H for Ω and mesh partition K h for Z. From these meshes we construct the following macroscopic and microscopic finite element spaces:
31(11)
32The multispace structure of the finite element space is inspired by constructions from Lind et al. [2020]; Muntean and Neuss-Radu [2010]; Muntean and Lakkis [2010].
33Let N 1 denote the set of degrees of freedom for B H . Let ξ i for i ∈ N 1 denote a set of basis functions such that W H = span(ξ i ) and U H ⊂ span(ξ i ).Furthermore, let N 2 denote the set of degrees of freedom for K h and let ηj for j ∈ N 2 denote a set of basis functions such that V h = span( ηj ).Note that we use hats on functions to indicate their correspondence to the reference domain Z.Now, approximating (u, v, w) in the aforementioned finite element spaces yields:
34In addition, writing D ŷ ζ(x, ŷ) for the Jacobian matrix of ζ in its second argument, define
35and ( 14)
36to be able to express functionals of a generic function v with domain Y x as a functionals of
37Specifically, we use of the following change of variables:
38(16)
39which hold almost everywhere on (0, T ) × Ω for any function v ∈ L 2 ((0, T ) × Ω; H 1 (Z)) and q ∈ L 2 ((0, T )×Ω; L 2 (Z)).Here cof(F ) := (detF )F −T is the cofactor matrix of F , where F denotes here the Jacobian of the wanted transformation.Discretizing (9) and applying the transformations above we obtain a discrete weak formulation where the microscopic contributions only require reference cell Z:
40i Ω
41Using techniques similar to the ones presented in for instance Lind et al. [2020], it is possible to prove a priori convergence rates of the finite element approximation.We do not provide such an analysis in this manuscript.
423.2.Implementation.We implement (17) using the finite element library deal.II Alzetta et al. [2018], a C++ library that facilitates the creation and management of finite element implementations.The project is released under an open-source license and under active development.The choice for this library is motivated by its features, which include the possibility of dimension-independent implementations, support for many different elements and support for different parallelization options.Since deal.II does not directly support multiscale systems of PDE, we extend it with support for multiscale function and tensor objects.The implementation is available on GitHub Richardson [2021].
433.3.Structure of FEM implementation.A classic finite element implementation in deal.II is roughly structured along the following steps:
44(1) Load a domain and generate a triangulation of that domain.
45(2) Distribute the degrees of freedom based on the triangulation and the degree of finite elements.
46(3) Initialize the system matrix and the right hand side and solution vector.(4) Assemble the linear system by looping over cells and integrate the discrete weak form for each quadrature point.(5) Apply the boundary conditions of the PDE to the linear system.(6) Precondition and solve the system, either directly or iteratively.(7) Post-process and output the solution.
47In our finite element framework, we define a microscopic system for each macroscopic degree of freedom.More precisely, since we use basis functions with local support, the support point of the macroscopic basis function represents the location of the microscopic system.Correspondingly, we associate a specific local value of u with each system: the finite element function value in the coordinates of the support point.This allows us to apply the same finite element framework for the microscopic functions over the macroscopic domains, creating in essence a tensor product of finite element spaces.The system is solved by decoupling the microscopic and macroscopic formulation.Iteratively, we solve first the macroscopic system, using the microscopic solutions of the previous iterations as data, followed by solving the microscopic system, using the most recently obtained macroscopic as data.We do so until we observe the difference between subsequent residuals is within a predetermined tolerance.
48From a computational point of view, the effort associated with the creation and solving of microscopic systems can quickly become large.Applications that require solutions with high accuracies place demands on both memory and CPU capacity.For this reason, we address the computational load by customizing the implementation for multiscale systems using caching techniques, domain mappings, multithreaded assembly and distributed solving.Furthermore, we exploit the similarity between the different microscopic scales by using the same data structures for the microscopic systems, where possible.
493.4.Domain mappings.Mapping ζ is, as described in Section 2 implemented as a bounded, not necessarily linear function of both x and y. ζ is supplied symbolically to the implementation, as well as the inverse of the Jacobian K(x, y) (see ( 13)) We avoid recomputing these quantities by computing the structures J and KK T J for each quadrature point and storing them in a hashmap for fast access throughout the iterative assembly procedure.Additionally, we apply the mapping in the multiscale functions, so that by using the same assembly objects for each x, we can evaluate all microscopic data on Y x .
503.5.Parallelization in assembly.As mentioned before, we parallelize the implementation using multithreading.We divide computational the work into different threads which are assigned to processors that share memory, meaning that there is no need to specify communication between processors but that special care is needed to avoid so-called 'race conditions', where errors are made due to multiple threads writing to the same memory structure at the same time, or one memory structure reading from the memory while another one is updating it.
51A commonly used alternative is a distributed memory approach (based on for instance a message passing interface like MPI) where memory is distributed.This has the advantage of being able to be run on clusters of computing nodes that do not share a memory space, but has the disadvantage that data needs to be communicated explicitly and that often leads to communication overhead and idle time when a processor on a node is unused.The advantages of using a multithreading approach is that our settings lends itself well for doing so; there is minimal setup and overhead involved in the parallelization and the multiscale nature of the implementation reveals a structure that lends itself well for threads.A disadvantage is that most larger high performance clusters are composed of smaller compute nodes, requiring some sort of message passing.However, we remark that using a combination of multithreading and MPI is a valid strategy as well and something that could be applied on this setup too, as we discuss in Section 5.
52We implement a multithreading approach using the Threading Building Blocks library, for which deal.II has integrations in place.In the assembly loop, we loop over all cells in reference domain Z to compute the contributions of the associated degrees of freedom to the system matrix and the system right hand side vector.Rather than consecutively looping over all cells per microscopic system, we compute the contributions of all cells that correspond to the cell in the reference domain and add them to their respective system matrices.We use a thread-pool that assigns a new cell to a processor as soon as that processor has finished work on its previous cell, since all microscopic systems can be assembled independently.The result of this assembly step is a linear system for each microscopic finite element formulation.Both the macroscopic and microscopic systems are assembled in parallel, with a percell approach.This process can be run in parallel, since computing the contribution to the system matrix and the system right hand side of one finite element cell does not require information from other cells.This yields a linear system for each microscopic formulation.
53The residual threshold used in this framework is the sum of the macroscopic and average microscopic residuals.The solution procedure is standard: we use the conjugate gradient method to solve the systems.The systems are also solved in parallel, by distributing them over the available processors.
543.6.Visualization.One of the most important post-processing steps of a simulation is visualizing the results.We make use of the visualization toolbox ParaView Ahrens et al. [2005] and the associated library VTK Schroeder et al. [2006].The multiscale nature of the problem creates non-standard demands for the visualizations.In particular, since we solve the microscopic systems on the same reference domain, visualizing all of them at once is no longer a trivial task.
55We need to push-forward the solution to the correct domain Y x , since the microscopic systems are solved on Z. deal.II outputs data in a VTK-compliant format: an unstructured grid format (Schroeder et al. [2006]).By applying the mapping on the transformation, we obtain a visual representation of the solution on the correct domain.In addition, we apply a translation to the microscopic unit domains to move them to their macroscopic location and scale for visualization purposes.Finally, ParaView can read these data files and render a visualization that provides an intuitive overview of the domain.The solutions to (5) are visualized using this technique and displayed in Figures 5 and 10.
Numerical experiments
56We test and benchmark the implementation by applying the method of manufactured solutions on a system of PDE that generalizes (5).This allows us to see if our numerical scheme converges with the desired order, by prescribing a solution and deriving the corresponding PDE data.The manufactured system is formulated as follows:
57(18)
584.1.SymPy.To facilitate the testing and benchmarking of the implementation, we build an interface that given a pair of manufactured solutions (u, v) and a mapping ζ constructs the data of ( 18).This interface uses the symbolic algebra package SymPy Meurer et al. [2017] and outputs all required functions in a deal.IIcompliant parameter file.This has three advantages:
59• It eliminates the step of manually constructing problem sets.
60• No recompilation is necessary to solve different PDE systems.
61• It simplifies reproducibility and facilitates testing for different types of systems.Because the mapping has an explicit form, we can derive the required functions in (20) in the correct domains by composing the functions with ζ.
62By computing a parametrization of Γ I x , Γ O x and Γ N x , we can also construct the contributions of the integral terms in the right hand sides of ( 18).The interface is available as part of the supplementary material for the manuscript.4.2.Convergence benchmarking.We benchmark how the solution of the implementation converges by solving (18) for consecutively finer microscopic and macroscopic grids and comparing the numerical error of the approximations.We manufacture the following solution:
63The corresponding data used to solve the system can easily be derived from ( 19) and is presented below.The truncations indicated with ≈ are only for legibility purposes.
64This system is solved for
65Let us define the following macroscopic and microscopic error norms:
66The macroscopic and microscopic errors of the benchmark for subsequently smaller grids are presented in Tables 1 and 2, respectively.The error norms in the two tables are the result of the same simulation, meaning that the order of the rows in the tables correspond to each other.The mDoFs in Table 2 is the number of microscopic degrees of freedom for a single microscopic formulation.Note that this implies that, for instance, in case of 81 MDoFs, each with 81 mDoFs, the collective number of degrees of freedom is 81 2 = 6561.
67In Figure 2 we present a graphical interpretation of the error.The convergence of the numerical scheme behaves as expected; The behavior of e uv and e w indicates that the finite element solution converges quadratically to the solution of the PDE.Furthermore, e ∇ v and e ∇ uw indicate that the gradient of the finite element solution converges linearly to the gradient of the solution, also according to expectation.4.3.Parallel benchmarking.We assess the scalability of the implementation by running it in on a multicore CPU part of the Swedish HPC cluster Kebnekaise.This CPU consists of 28 Intel Xeon nodes with a base frequency of 2.60 GHz.In order to test the parallel scalability of the implementation for different configurations we run two cases: A fine macroscopic grid with coarse microscopic systems and a coarse macroscopic grid with fine microscopic grids.In the first case, the macroscopic system has 4225 degrees of freedom while the microscopic systems each have 81 degrees of freedom.In the second case, the macroscopic system has 81 degrees of freedom while the microscopic systems each have 4225 degrees of freedom.2. Macroscopic error and convergence rates for the manufactured problems.The microscopic degrees of freedom (mDoFs) are counted for a single microscopic system.p m represents the subsequent observed order of convergence of the finite element error, q m represents the subsequent observed order of convergence of the error of its gradient.Figure 3 displays the duration of the simulation as a function of the number of threads for both configurations.We observe great parallelization performance for runs with fine microscopic grids, but rather poor scalability for runs with fine macroscopic grids.This observation is supported by Figure 4, displaying the speedup for increasing numbers of nodes.Here it shows that the speed-up of the fine macroscopic grid trails off after 4 threads, while the fine microscopic grids remains scalable at the maximum tested number of 28 threads.
MDoFs
68That the parallel performance favors a system with a few fine microscopic grids is a consequence of the implementation.The large microscopic grids mean that there are a lot of individual cells to be assembled, resulting in a lot of independent tasks.This is where a thread-pool performs best.
69If one would face the opposite situation; a lot of coarse microscopic grids, one can rely on alternative parallelization strategies.By parallelizing per microscopic system rather than parallelizing per cell, the large number of tasks would once again be independent.The downside of this strategy is that it since the domain deformations are non-linear, it requires duplication of the finite element assembly objects for each microscopic grid, which would place a much larger demand on memory and increases computational load as well.
704.4.Dependence of the microscopic geometry.Having tested and benchmarked the implementation, we use it to solve (5) and examine the dependence of the solution of the microscopic geometry.
71We solve (5) using the data presented in Table 3, using the following domain deformation maps.
72We investigate two settings: Case A and Case B. As before, 1) as a constant source of nutrient u.The macroscopic finite element system has 81 degrees of freedom and each microscopic system has 4225 degrees of freedom.In both cases there is no bulk production of any of the species whilst the Dirichlet boundary condition imposed on the lefthand boundary is taken constant.The lack of bulk production terms is enforced to highlight the role played by the microstructure on the macroscopic profiles.In Case A the mapping describing the microstructure is taken to be the identity whilst in Case B a heterogeneous mapping is chosen which results in more elongated cells as the distance from the Dirichlet boundary increases with cell-size increasing from top to bottom.The map in Case B is designed to caricature the heterogeneity observed due to distance from root tips in real plant tissues Lockhart [1965].In both cases we set D w ≪ D v to account for the fact that intracellular transport is much faster than transport within the tissue.
73Case The solutions to (5) for the cases presented in Table 3 are displayed in Figures 5-10.The effect of the domain deformation is evident.Both on a microscopic level (as displayed in Figure 10) and a macroscopic level (as seen in Figure 8).We observe a quantitative as well as a qualitative effect of the mapping in the macroscopic solutions, specifically the heterogeneous mapping of Case B destroys the symmetry of the problem along the horizontal center line of the (macroscopic) domain and leads to a larger gradient in the concentration of the product of the cells w (compare the scales in Figures 7 and 8).The main driver here is the effect the mapping has on the volume and the aspect ratio of the macroscopic cells.This preliminary numerical investigation therefore suggests that plant cell geometries could act as a significant determinant of tissue level concentration profiles in transport processes in biological tissues.
74From a modeling perspective, the coupling of the system comes in play in two places: the right hand side of the macroscopic equations and the boundary terms of the microscopic equations.By tweaking the parameters, the coupling can be made arbitrarily tight.For instance; taking the limit of D w to 0 yields an algebraic relationship between v and w.By contrast, choosing κ i → 0 for i = 1, ..., 4 eliminates the relation between u, w and v and results in a decoupled system.
75One of the downsides of this modeling approach is that if the mapping is anisotropic, the resulting degrees of freedom are not equidistributed.This can cause some issues in the accuracy of the microscopic approximations.
Conclusion
76We proposed a parallel finite element treatment of a multiscale model with distributed heterogeneous microstructures.To showcase our framework, we applied it to a system of coupled elliptic PDEs modeling nutrient transport in plants.After imposing a set of constraints on the involved parameters and on the regularity of the macroscopic and microscopic sets so that the underlying coupled system of equations is weakly solvable, we provided a suitable two-scale finite element approximation.Our implementation of this finite element system provides convergent approximations to the weak solution of the original system with the expected theoretical order of convergence.Numerical results demonstrated the influence of the microstructure geometry on both macroscopic and microscopic solution profiles.A parallel implementation scales well for the number of nodes tested.
77In practice, the scalability of this setup will not be limited by the implementation; rather, in many cases there might not be access to suitable hardware that has a sufficient number of nodes on a single shared-memory resource.In order to resolve this, we propose the following hybrid parallelization approach: using a macroscopic domain decomposition, we can use classic PDE parallelization techniques to partition the domain on different CPUs, while using the multithreading method to solve each subdomain in parallel on different nodes.This will retain the excellent scaling of the multithreading approach, while also taking full advantage of the performance of parallel domain decomposition.Parallel domain decomposition for single scale problems performs well (see [Yagawa and Shioya, 1993;Klawonn and Rheinbach, 2010, e.g.]) and has been applied in different multiscale finite element contexts as well (see [Hou and Wu, 1997, e.g.]).The heterogeneous microstructures are represented and implemented as a continuous map.This allows us to model and compute a family of microscopic domains without explicitly creating meshes for it.The model problem illustrates that, even with relatively simple domain mappings, one retains a lot of modeling flexibility.
78From the methodological point of view, it is worth noting that fixing-boundary techniques are efficient tools regularly used for the solvability analysis of free-and moving-boundary problems and they have been employed as well for upscaling studies of such evolution systems (compare Peter [2007]; Wiedemann [2023]; Eden and Muntean [2024]).Moving sets in high-dimensional spaces are notoriously hard to deal with.It is therefore a natural question to ask to which extent transformation tools (like the successful Hanzawa mapping) can be used as well for both numerical computations and error analysis studies of multiscale problems.Future improvements of this approach should include ways of refining computations at the level of the microscopic systems as a function of error indicators and local geometry.For instance, one improvement to this finite element strategy would be to compute a global microscopic functional: an error indicator defined over all microscopic grids.This quantity could then be used to refine the reference cell and maximize globally the error reduction.Inspired by ideas from Le Bris and Legoll [2017], another approach would be using random diffeomorphisms instead of deterministic ones.This would allow us to include, under specific conditions, distributions of microscopic defects.It even allows for cases where the choice of the model parameters depends on stationary random ergodic microstructures.We plan to address some of these challenges in a forthcoming work.
Figure 1 .
79Figure 1.Schematic representation of the multiscale domain: at each macroscopic point x ∈ Ω corresponds a microscopic domain Y x with mixed boundary conditions (pure Neumann or Robin).
Figure 2 .Figure 3 .
80Figure 2. Approximation error as a function of the degrees of freedom.The observed order of convergence is computed from the final step
Figure 4 .
81Figure4.Speed-up as a function of the number of nodes for a fine-macro/coarse-macro system and a coarse-macro/fine-micro system.
82.
83Figure 5. Nutrient concentration u(x) in Case A, with the Dirichlet boundary (left) as the only source of nutrient.
84Figure 6.Nutrient concentration u(x) in Case B, with the Dirichlet boundary (left) as the only source of nutrient.
85Figure 7. Concentration of the cell product w(x), with the only source of the product the cell-based transmission from v(x, y).Contour indicates level sets.
86Figure 8. Concentration of the cell product w(x), with the only source of the product the cell-based transmission from v(x, y).Contour indicates level sets.
87Figure 9. Cell-based nutrient concentration v(x, y) in Case A with an identity domain mapping
Table 1 .
8810 −2 5.458 × 10 −5 3.758 × 10 −3 2.079 1.017 16641 1.562 × 10 −2 2.366 × 10 −5 7.162 × 10 −3 2.112 1.008 Macroscopic error and convergence rates for the manufactured problems.p M represents the subsequent observed order of convergence of the finite element error, q M represents the subsequent observed order of convergence of the error of its gradient.10 −1 1.531 × 10 −3 5.733 × 10 −2 2.106 1.078 576 8.696 × 10 −2 7.575 × 10 −4 3.987 × 10 −2 2.041 1.053 1089 6.250 × 10 −2 3.807 × 10 −4 2.865 × 10 −2 2.160 1.038 2116 4.444 × 10 −2 1.991 × 10 −4 2.037 × 10 −2 1.952 1.027 4225 3.125 × 10 −2 9.487 × 10 −5 1.432 × 10 −2 2.144 1.019 8464 2.198 × 10 −2 4.831 × 10 −5 1.007 × 10 −2 1.943 1.014 16641 1.562 × 10 −2 2.812 × 10 −5 2.670 × 10 −3 1.962 1.011
Table 3 .
89Parameter sets used in numerical experiments of (5).Symbol definitions are presented in (21).Solutions to each case are plotted in Figures 5-10
참고문헌 51건
- A Posteriori Error Estimation Techniques for Finite Element Methods Oxford University Press eBooks · Oxford University Press · 2013 10.1093/acprof:oso/9780199679423.001.0001
- Principles of Multiscale Modeling 2011
- ParaView: An End-User Tool for Large-Data Visualization Elsevier eBooks · Elsevier BV · 2005 10.1016/b978-012387582-2/50038-1
- Multiscale Modeling: A Review Springer eBooks · Springer Nature · 2009 10.1007/978-90-481-2687-3_4
- Introduction to Operator Algebras WORLD SCIENTIFIC eBooks · World Scientific · 1992 10.1142/1635
- Multiscale Modeling and Simulation in Science Lecture notes in computational science and engineering · Springer Nature · 2009 10.1007/978-3-540-88857-4
- Multiscale Methods: Averaging and Homogenization 2008
- Nonlinear Continuum Mechanics for Finite Element Analysis Nuclear Fusion · IOP Publishing · 1998 10.1088/0029-5515/38/5/702
- Multi-scale second-order computational homogenization of multi-phase materials: a nested finite element solution strategy Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2004 10.1016/j.cma.2003.12.073
- Derivation of the Double Porosity Model of Single Phase Flow via Homogenization Theory SIAM Journal on Mathematical Analysis · Society for Industrial and Applied Mathematics · 1990 10.1137/0521046
- Homogenisation of a locally periodic medium with areas of low and high diffusivity European Journal of Applied Mathematics · Cambridge University Press · 2011 10.1017/s0956792511000209
- Parallel finite elements on a massively parallel computer with domain decomposition Computing Systems in Engineering · Pergamon Press · 1993 10.1016/0956-0521(93)90017-q
- A method of finite element tearing and interconnecting and its parallel solution algorithm International Journal for Numerical Methods in Engineering · Wiley · 1991 10.1002/nme.1620320604
- Highly scalable parallel domain decomposition methods with an application to biomechanics ZAMM ‐ Journal of Applied Mathematics and Mechanics / Zeitschrift für Angewandte Mathematik und Mechanik · Wiley · 2009 10.1002/zamm.200900329
- Stochastic and deterministic multiscale models for systems biology: an auxin-transport case study BMC Systems Biology · Springer Science+Business Media · 2010 10.1186/1752-0509-4-34
- A Multiscale Finite Element Method for Elliptic Problems in Composite Materials and Porous Media Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5682
- Implicit--Explicit Timestepping with Finite Element Approximation of Reaction--Diffusion Systems on Evolving Domains SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 2013 10.1137/120880112
- An analysis of irreversible plant cell elongation Journal of Theoretical Biology · Elsevier BV · 1965 10.1016/0022-5193(65)90077-9
- A homogenisation-based two-scale model for reactive transport in media with evolving microstructure Comptes Rendus Mécanique · Elsevier BV · 2008 10.1016/j.crme.2008.05.006
- High-order finite-element seismic wave propagation modeling with MPI on a large GPU cluster Journal of Computational Physics · Elsevier BV · 2010 10.1016/j.jcp.2010.06.024
- A fast and accurate adaptive solution strategy for two-scale models with continuous inter-scale dependencies Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2012.12.025
- A Multiscale Model of Plant Topological Structures Journal of Theoretical Biology · Elsevier BV · 1998 10.1006/jtbi.1997.0561
- Homogenization of long-range auxin transport in plant tissues Nonlinear Analysis Real World Applications · Elsevier BV · 2009 10.1016/j.nonrwa.2008.12.003
- A multiscale Galerkin approach for a class of nonlinear coupled reaction–diffusion systems in complex media Journal of Mathematical Analysis and Applications · Elsevier BV · 2010 10.1016/j.jmaa.2010.05.056
- Uptake of water from soils by plant roots Transport in Porous Media · Springer Science+Business Media · 2007 10.1007/s11242-006-9055-6
- Homogenisation in domains with evolving microstructure Comptes Rendus Mécanique · Elsevier BV · 2007 10.1016/j.crme.2007.05.024
- Multiscale elliptic-parabolic systems for flow and transport SHILAP Revista de lepidopterología · 2007
- Generalized multiscale finite element methods (GMsFEM) Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.04.045
- High-Dimensional Finite Elements for Elliptic Problems with Multiple Scales Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2005 10.1137/030601077
- The heterogeneous multiscale method Acta Numerica · Cambridge University Press · 2012 10.1017/s0962492912000025
- Multiscale mixed finite elements Discrete and Continuous Dynamical Systems - S · American Institute of Mathematical Sciences · 2016 10.3934/dcdss.2016051
- Multiscale Models in the Biomechanics of Plant Growth Physiology · American Physiological Society · 2015 10.1152/physiol.00030.2014
- SymPy: symbolic computing in Python PeerJ Computer Science · PeerJ, Inc. · 2017 10.7717/peerj-cs.103
- Homogenization of a fully coupled thermoelasticity problem for a highly heterogeneous medium with <i>a priori</i> known phase transformations Mathematical Methods in the Applied Sciences · Wiley · 2017 10.1002/mma.4276
- Examples of computational approaches for elliptic, possibly multiscale PDEs with random inputs Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.10.027
- Computational Multiscale Modeling of Fluids and Solids Springer eBooks · Springer Nature · 2016 10.1007/978-3-662-53224-9
- A semidiscrete Galerkin scheme for a coupled two-scale elliptic–parabolic system: well-posedness and convergence approximation rates BIT Numerical Mathematics · Springer Science+Business Media · 2020 10.1007/s10543-020-00805-4
- Multiscale Modeling for Food Drying: State of the Art Comprehensive Reviews in Food Science and Food Safety · Wiley · 2018 10.1111/1541-4337.12380
- The deal.II library, Version 9.0 Journal of Numerical Mathematics · De Gruyter · 2018 10.1515/jnma-2018-0054
- A unified single-field Volume-of-Fluid-based formulation for multi-component interfacial transfer with local volume changes Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.109024
- Multi-component Multiphase Porous Flow Archive for Rational Mechanics and Analysis · Springer Science+Business Media · 2019 10.1007/s00205-019-01473-7
- Mathematical Modelling of Auxin Transport in Plant Tissues: Flux Meets Signalling and Growth Bulletin of Mathematical Biology · Springer Science+Business Media · 2020 10.1007/s11538-019-00685-y
- A semidiscrete Galerkin scheme for a coupled two-scale elliptic–parabolic system: well-posedness and convergence approximation rates BIT Numerical Mathematics · Springer Science+Business Media · 2020 10.1007/s10543-020-00805-4
- Efficiency and Accuracy of Micro‐Macro Models for Mineral Dissolution Water Resources Research · Wiley · 2020 10.1029/2020wr027585
- Implicit--explicit timestepping with finite element approximation of reaction--diffusion systems on evolving domains Sussex Research Online (University of Sussex) · University of Sussex · 2013
- A two-scale iterative scheme for a phase-field model for precipitation and dissolution in porous media Applied Mathematics and Computation · Elsevier BV · 2021 10.1016/j.amc.2020.125933
- On Changing Variables in Lp-Spaces with Distributed-Microstructure Russian Mathematics · Pleiades Publishing · 2020 10.3103/s1066369x20030093
- The two-scale-transformation method Asymptotic Analysis · IOS Press · 2022 10.3233/asy-221766
- Analysis and homogenisation of a linear Cahn–Larché system with phase separation on the microscale ZAMM ‐ Journal of Applied Mathematics and Mechanics / Zeitschrift für Angewandte Mathematik und Mechanik · Wiley · 2022 10.1002/zamm.202100165
- Homogenization of a mineral dissolution and precipitation model involving free boundaries at the micro scale Journal of Differential Equations · Elsevier BV · 2022 10.1016/j.jde.2022.10.006
- Homogenisation of local colloid evolution induced by reaction and diffusion Nonlinear Analysis · Elsevier BV · 2022 10.1016/j.na.2022.113168