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

A Discrete Sine‐Cosine Transforms Galerkin Method for the Conductivity of Heterogeneous Materials With Mixed Dirichlet/Neumann Boundary Conditions

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드

기본 정보

저자
  1. Joseph Paux — Institut de Thermique, Mécanique, Matériaux (ITheMM, EA 7548), Université de Reims Champagne‐Ardenne, Campus Sup Ardenne Charleville‐Mézières France|||Université Sorbonne Paris Nord, Laboratoire des Sciences des Procédés et des Matériaux, LSPM, CNRS, UPR 3407 Villetaneuse France
  2. Léo Morin — Univ. Bordeaux, Arts et Metiers Institute of Technology, CNRS, Bordeaux INP, I2M, UMR 5295 Talence France
  3. Lionel Gélébart — Université Paris‐Saclay, CEA, SRMA Gif/Yvette France
DOI
10.1002/nme.7615
저널
International Journal for Numerical Methods in Engineering
발행년도
2024
발행기관
Wiley
피인용수
6
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/nme.7615
토픽
Composite Material Mechanics
OpenAlex ID
W4404721496

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.80
근거 용어
heterogeneous materials, conductivity, FFT-based solvers, microstructure, composite material
판단 근거
이 논문은 불균질 재료(heterogeneous materials)의 전도성(conductivity)을 계산하기 위한 수치 해석적 방법론(FFT 기반 Galerkin법)을 다루고 있습니다. 이는 코오롱인더스트리의 복합소재(컴파운드)나 섬유 보강재의 미세구조에 따른 물성 예측 모델링에 응용될 수 있습니다.
R&D 활용 포인트
복합소재(컴파운드) 및 섬유 강화 복합재의 미세구조(microstructure)에 따른 전기적/열적 전도성 및 물성 변화를 시뮬레이션하는 수치 해석 모델로 활용 가능합니다.
평가 입력
본문 87,729자 중 30,032자 발췌

초록

ABSTRACT This work aims at developing a numerical method for conductivity problems in heterogeneous media subjected to mixed Dirichlet/Neumann boundary conditions. The method relies on a fixed‐point iterative solution of an auxiliary problem obtained by a Galerkin discretization using an approximation space spanned by mixed cosine‐sine series. The solution field is written as a known term verifying the boundary conditions and an unknown term described by cosine‐sine series, having no contribution on the boundary. Discrete sine‐cosine transforms, of Type I and III depending on the boundary conditions, are used to approximate the elementary integrals involved in the Galerkin formulation, which makes the method relying on the numerical complexity of fast Fourier transforms. The method is finally assessed in a problem of a composite material.

본문 87,729자

본문 펼치기
_International Journal for Numerical Methods in Engineering_ RESEARCH ARTICLE [OPEN ACCESS](https://doi.org/10.1002/nme.7615) # A Discrete Sine-Cosine Transforms Galerkin Method for the Conductivity of Heterogeneous Materials With Mixed Dirichlet/Neumann Boundary Conditions Joseph Paux <sup>1,2</sup> | Léo Morin <sup>3</sup> | Lionel Gélébart <sup>4</sup> 1Institut de Thermique, Mécanique, Matériaux (ITheMM, EA 7548), Université de Reims Champagne-Ardenne, Campus Sup Ardenne, Charleville-Mézières, France | <sup>2</sup> Université Sorbonne Paris Nord, Laboratoire des Sciences des Procédés et des Matériaux, LSPM, CNRS, UPR 3407, Villetaneuse, France | <sup>3</sup> Univ. Bordeaux, Arts et Metiers Institute of Technology, CNRS, Bordeaux INP, I2M, UMR 5295, Talence, France | <sup>4</sup> Université Paris-Saclay, CEA, SRMA, Gif/Yvette, France Correspondence: Léo Morin (leo.morin@u-bordeaux.fr) Received: 22 April 2024 | Revised: 15 October 2024 | Accepted: 18 October 2024 Funding: The authors received no specific funding for this work. Keywords: conductivity | discrete sine-cosine transforms | FFT-based solvers | mixed Dirichlet/Neumann boundary conditions ABSTRACT This work aims at developing a numerical method for conductivity problems in heterogeneous media subjected to mixed Dirich let/Neumann boundary conditions. The method relies on a fixed-point iterative solution of an auxiliary problem obtained by <u>a</u> <u>Galerkin</u> <u>discretization</u> <u>using</u> <u>an</u> <u>approximation</u> <u>space</u> <u>spanned</u> <u>by</u> <u>mixed</u> <u>cosine-sine</u> <u>series.</u> <u>The</u> <u>solution</u> <u>field</u> <u>is</u> <u>written</u> <u>as</u> <u>a</u> known term verifying the boundary conditions and an unknown term described by cosine-sine series, having no contribution on the boundary. Discrete sine-cosine transforms, of Type I and III depending on the boundary conditions, are used to approximate the elementary integrals involved in the Galerkin formulation, which makes the method relying on the numerical complexity of fast Fourier transforms. The method is finally assessed in a problem of a composite material. 1 | Introduction FFT–based solvers, introduced in the seminal paper of Moulinec and Suquet [1], constitute an efficient alternative to the finite element method, for computing the local and overall responses of linear and nonlinear composites with periodic microstructures, in problems governed by elliptic equations such as in elasticity and conductivity. The three main advantages of FFT-based method are that (i) calculations rely on the computational complexity of fast Fourier transforms in ?(? log ?) (which is lower than in matrix-assembled methods), (ii) it does not require complex meshing operations so it can be directly used on microstructure images (obtained from imagery techniques such as scanning electron microscopy (SEM) or tomography) and (iii) it is well suited for parallel implementation (see e.g., [2]). This method is based on the iterative solution to an integral Lippmann–Schwinger type equation; the basic scheme of Moulinec and Suquet [1], based on a fixed-point method, has then been improved through the use of accelerated iterative schemes [3–7], to overcome limitations of the method for highly-contrasted materials. In the context of microstructure simulations _with_ _periodic_ _boundary_ _conditions_, the method has been successfully applied in many problems such as elasticity [1], J2-plasticity [1], crystal (elasto)viscoplasticity [8], dislocation-mediated plasticity [9, 10], conductivity [3], piezoelectricity [11], porous ductile solids [12, 13], among others (see the papers of Schneider [14] and Lucarini et al. [15] --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [This is an open access article under the terms of the Creative Commons Attribution-NonCommercial License, which permits use, distribution and reproduction in any medium, provided the original](http://creativecommons.org/licenses/by-nc/4.0/) work is properly cited and is not used for commercial purposes. © 2024 The Author(s). _International Journal for Numerical Methods in Engineering_ published by John Wiley & Sons Ltd. for a comprehensive review of FFT based method applied to homogenization). The periodicity conditions, required by the use of Fourier transforms, make the method not suitable in several problems for which the boundary conditions are of prime importance, including (i) materials with non-periodic microstructures (such as fibrous materials, particular situations of polycristalline materials, or fiber-reinforced composites), (ii) higher-order homogenization with macroscopic second gradients (see, [16] for plates or beams) and edge effects and (iii) transient problems such as dynamic problem with wave propagation [17]. The extension of the FFT-based of Moulinec and Suquet [1] to non-periodic boundary conditions, such as mixed Dirichlet/Neumann boundary conditions is thus important in the previous situations but also in the context of homogenization for which kinematic uniform BC (KUBC) or static uniform boundary conditions (SUBC) are known to respectively provide upper and lower bounds for the overall behavior (in elasticity problems). The work of Gélébart [18] is the first extension of Moulinec and Suquet [1] to non-periodic boundary conditions by considering Dirichlet boundary conditions through the introduction of an embedding buffer zone surrounding the unit cell where the displacement field can be imposed at its boundary. This technique is thus based on the implementation of standard FFT solvers because the unit cell considers periodic boundary conditions, but it requires (i) a larger unit cell than the microstructure studied because of the (elastic) buffer zone and (ii) additional internal iterations to find the eigendisplacement field at the boundary of the buffer zone. Another method, initially proposed by Wiegmann [19], considers mirror unit cells and takes advantage of the equivalence between particular symmetries of the unit cell and boundary conditions on a portion of the unit cell. It can be used for uniform Dirichlet and/or Neumann boundary conditions, respectively for elasticity [20] and conductivity problems [21]. While based on mirror unit cells, the computational cost required for this method can be reduced to the usual FFT-based computational cost by use of discrete sine and/or cosine transform as highlighted by Grimm-Strele and Kabel [20]. Recently, an alternative method has been proposed to solve the conductivity of heterogeneous problems subjected to non-periodic boundary conditions using discrete sine-cosine transforms [22–25]. The core idea is to split the solution field of the elliptic problem (e.g., the temperature in thermal conduction problems) into two terms, a known term verifying the non-periodic boundary conditions and an unknown fluctuation term described by appropriate trigonometric series. The work of Risthaus and Schneider [24] is restricted to _uniform_ Dirichlet _or_ Neumann boundary conditions and is based on a Galerkin discretization of the auxiliary problem, using sine or cosine series as trial functions; in the work of Morin and Paux [23], restricted to _arbitrary_ Dirichlet boundary conditions, a Galerkin discretization of the auxiliary problem is also considered, using sine series as trial functions, and in both works this leads to elementary integrals that are approximated using discrete sine (and cosine) transforms. On the other hand, the work of Gélébart [22], which takes into account any combinations of arbitrary Neumann, Dirichlet and periodic boundary conditions in a same framework, is based on a finite difference scheme (see also the work of Ye et al. [25] who also considered a discrete finite difference scheme applied to uniform Dirichlet/Neumann boundary conditions) which leads to discrete Green operator based on discrete sine and cosine transforms encoding naturally mixed Neumann/Dirichlet boundary conditions. In these works, the discrete trigonometric transforms can be computed using standard FFT packages with a computational complexity in ?(? log ?). The aim of this work is to extend Morin and Paux [23] numerical Galerkin method for conductivity of heterogeneous problems to the general case of _mixed_ _arbitrary_ Dirichlet/Neumann boundary conditions, as done by Gélébart [22] using finite differences. The present work also provides a generalization of Risthaus and Schneider [24] approach, which was restricted to _uniform_ Dirichlet _or_ Neumann boundary conditions, by considering _both_ _mixed_ _and_ _arbitrary_ Dirichlet/Neumann boundary conditions. We follow the idea by Morin and Paux [23] of splitting the solution field of the elliptic problem into two terms, a known term verifying the (arbitrary) boundary conditions and an unknown term, null on the boundary, described by some approximate mixed cosine-sine series, chosen so as to have no contribution on the boundary. Depending on the type of boundary conditions, the elementary integrals involved in the weak formulation are approximated using discrete sine or cosine transforms of Type I or III (as in the work of Gélébart [22]), which can be calculated with standard FFT packages. The article is organized as follows. In Section 2, a review of half-range and quarter-range sine and cosine series, together with the associated discrete sine-cosine transforms is presented. In Section 3, a fast numerical method for heterogeneous conductivity problems subjected to mixed Dirichlet/Neumann boundary conditions, based on generalized cosine-sines series, is presented. Finally in Section 4, the method is applied to a model problem of a square inclusion subjected to several boundary conditions; comparison is made with the finite difference approach of Gélébart [22]. 2 | The Framework of Sine-Cosine Series and the Associated Discrete Transforms In Morin and Paux [23], (half-range) sine series have been used to describe the fluctuation solution of the Dirichlet problem. In the case of Neumann as well as Neumann/Dirichlet boundary conditions, half-range cosine series, quarter-range sine series and cosine series as well as mixed sine-cosine series will be used <sup>1</sup> . Therefore, we briefly recall in this section important results pertaining to sine and cosine series, in particular mixed sine-cosine series, as well as their associated discrete transforms. 2.1 | 1-D Sine and Cosine Series 2.1.1 | Half-Range Sine and Cosine Series 2.1.1.1 | Half-Range Sine Series. We consider a function ? <sup>DD</sup> defined in the interval [0, ?] and null on the boundary, that is, verifying ? <sup>DD</sup> (0) = ? <sup>DD</sup> (?) = 0 (1) The notation ? <sup>DD</sup> is chosen to highlight the fact that the described function verifies null Dirichlet boundary conditions on both boundaries. In the Fourier series framework (see, e.g., [27, section 1.12]), ? <sup>DD</sup> can be expressed as a half-range sine series <u>d?</u> <sup>NN</sup> d? <sup>(?) =</sup> −???? <sup>NN</sup> sin(???), and ∑ ?=0 ∑+∞ ?=0 ∑+∞ ? <sup>DD</sup> sin(???), ∀?∈[0, ?] (2) ? <sup>DD</sup> (?) = ?? <sup>DD</sup> ? <sup>NN</sup> cos(???), ∀?∈[0, ?] (10) <u>d</u> <sup>2</sup> <u>?</u> <sup>NN</sup> d? <sup>2</sup> <sup>(?) =</sup> −?? <sup>2</sup> ? <sup>2?</sup> ? <sup>NN</sup> ?=0 with ?? = ??∕? and ??, ? ≥ 0, the sine series coefficients, reading where d? <sup>NN</sup> ∕d? is a sine series (with coefficients −???? <sup>NN</sup> ? <sup>2?</sup> ? <sup>NN</sup> ? <sup>NN</sup> ) as ? <sup>NN</sup> . ? <sup>DD</sup> = ? <sup><u>2</u></sup> ? ? <sup>DD</sup> (?) sin(???)d?, ∀? ≥ 0 (3) 0 ?? <sup>DD</sup> ? ∫ It must be noted that the description of sine series does generally not include the term ?0 <sup>DD; here we consider it (but one can remark</sup> that ?0 <sup>DD</sup> = 0) for homogenization purposes with the half-range cosine and the quarter-range sine and cosine series which will be presented hereafter. The _partial_ half-range sine series of order ? (for every positive integer ?) is then defined as ? <sup>DD</sup> sin(???), ∀?∈[0, ?] (4) ?? <sup>DD(?) =</sup> ?? <sup>DD</sup> ∑? ?? <sup>DD</sup> where d? <sup>NN</sup> ∕d? is a sine series (with coefficients −???? <sup>NN</sup> ) and d <sup>2</sup> ? <sup>NN</sup> ∕d? <sup>2</sup> is a cosine series (with coefficients −?? <sup>2?</sup> ? <sup>NN</sup> ) as ? <sup>NN</sup> . _Remark._ Half-range sine series correspond to a function null on the boundary, which is useful to describe a fluctuation term (see [23] for the case of Dirichlet boundary conditions). On the other hand, half-range cosine series correspond to a function whose derivative is null on the boundary; therefore it will be useful to describe the fluctuation of a flux, which will be of prime importance to account for Neumann boundary conditions on opposite boundaries (which explains the notation ? <sup>NN</sup> ). 2.1.2 | Quarter-Range 1-D Sine and Cosine Series We continue with quarter-range 1-d sine and cosine series for functions that are null on one boundary and have a null derivative on the other boundary. These functions will be useful to model mixed boundary conditions on opposite sides. 2.1.2.1 | Quarter-Range Sine Series. We consider a function ? <sup>DN</sup> defined in the interval [0, ?] verifying the conditions (null Dirichlet boundary condition on the left and null Neumann boundary condition on the right) <u>d?</u> <sup>DN</sup> ? <sup>DN</sup> (0) = 0, and d? <sup>(?) = 0</sup> (11) This function can be expressed as a quarter-range sine series ?=0 2.1.1.2 | Half-Range Cosine Series. We now consider a function ? <sup>NN</sup> in the interval [0, ?] with no specific values at the boundary. Function ? <sup>NN</sup> is expressed using half-range cosine series as ? <sup>NN</sup> (?) = ∑+∞ ???? <sup>NN</sup> cos(???), ∀?∈[0, ?] (5) ?=0 with ?? = ??∕? and ?? <sup>NN</sup>, ? ≥ 0, the cosine series coefficients, reading ? <sup>NN</sup> = ? <sup><u>2</u></sup> ? ? <sup>NN</sup> (?) cos(???)d?, ∀? ≥ 0 (6) 0 ?? <sup>NN</sup> ? ∫ The coefficients ?? read ?0 = 1∕2, ?? = 1, ∀?> 0 (7) The _partial_ half-range cosine series of order ? (for every positive integer ?) is then defined as with ?? given this time by ?? = <sup><u>2?+ 1</u></sup> ?, ∀? ≥ 0 (13) 2? ∑+∞ ?=0 ? <sup>DN</sup> (?) = ?? <sup>DN</sup> sin(???), ∀?∈[0, ?] (12) and the ?? <sup>DN</sup>, ? ≥ 0, are the quarter-range sine series coefficients, reading ?? <sup>NN(?) =</sup> ∑? ???? <sup>NN</sup> cos(???), ∀?∈[0, ?] (8) ?=0 ? ? <sup>DN</sup> (?) sin(???)d?, ∀? ≥ 0 (14) 0 ? ∫ 2.1.1.3 | Derivative Rules. The first and second derivatives of a function described by a sine series (i.e., in that case the function ? <sup>DD</sup> ) read The _partial_ quarter-range sine series of order ? (for every positive integer ?) is then defined as ?? <sup>DN</sup> ? <sup>DN</sup> = ? <sup><u>2</u></sup> <u>d?</u> <sup>DD</sup> d? <sup>(?) =</sup> ∑+∞ ?=0 ∑+∞ ?=0 ???? <sup>DD</sup> cos(???) and ?? <sup>DN(?) =</sup> ?? <sup>DN</sup> ∑? ?=0 ?? <sup>DN</sup> sin(???), ∀?∈[0, ?] (15) <u>d</u> <sup>2</sup> <u>?</u> <sup>DD</sup> d? <sup>2</sup> <sup>(?) =</sup> −?? <sup>2</sup> ? <sup>2?</sup> ? <sup>DD</sup> ? <sup>DD</sup> sin(???), ∀?∈[0, ?] (9) where d? <sup>DD</sup> ∕d? is a cosine series (with coefficients ???? <sup>DD</sup> where d? <sup>DD</sup> ∕d? is a cosine series (with coefficients ???? <sup>DD</sup> ) and d <sup>2</sup> ? <sup>DD</sup> ∕d? <sup>2</sup> is a sine series (with coefficients −?? <sup>2?</sup> ? <sup>DD</sup> ) as ? <sup>DD</sup> . ? <sup>2?</sup> ? <sup>DD</sup> ? <sup>DD</sup> ) as ? <sup>DD</sup> . The first and second derivatives of a function described by a cosine series (i.e., in that case the function ? <sup>NN</sup> ) read 2.1.2.2 | Quarter-Range Cosine Series. We finally consider a function ? <sup>ND</sup> defined in the interval [0, ?] verifying the conditions (null Neumann boundary condition on the left and null Dirichlet boundary condition on the right) <u>d?</u> <sup>ND</sup> d? <sup>(0) = 0,</sup> and ? <sup>ND</sup> (?) = 0 (16) This function can be expressed as a quarter range cosine series A function, verifying these mixed (null) Dirichlet/Neumann boundary conditions, can be described by the generalized sine-cosine series ∑+∞ ? <sup>ND</sup> cos(???), ∀?∈[0, ?] (17) ? <sup>ND</sup> (?) = with ?? given again by ?? <sup>ND</sup> ∑+∞ ?=0 ∑+∞ ?=0 ?=0 ?(?, ?, ?) = ? <sup>???????(?</sup> ? <sup>?</sup> ? <sup>??),</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ∑+∞ ?=0 ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ∀(?, ?, ?) ∈Ω (23) ?? = <sup><u>2?+ 1</u></sup> ?, ∀? ≥ 0 (18) 2? where the functions ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup>, and the coefficients ?? <sup>?, ?</sup> ? <sup>?, ?</sup> ? <sup>?, ?</sup> ? <sup>?,</sup> ?? <sup>?, ?</sup> ? <sup>?</sup> <sup>depend on the type of boundary conditions (see Table 1),</sup> and ???? are the cosine-sine series coefficients, given by ? <sup>?, ?</sup> ? <sup>?</sup> ? <sup>?, ?</sup> ? <sup>?,</sup> where the functions ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup>, and the coefficients ?? <sup>?</sup> ? <sup>?, ?</sup> ? <sup>?</sup> The ?? <sup>ND</sup>, ? ≥ 0, are the quarter-range cosine series coefficients, reading ? <sup>?, ?</sup> ? <sup>?</sup> ? <sup>??)d?d?d?,</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ∀?, ?, ? ≥ 0 (24) The partial derivatives of ? with respect to ? read <sup>2</sup> <u>8</u> ???? = ?????? ∫Ω ?(?, ?, ?)? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>ND</sup> = ? <sup><u>2</u></sup> ? ? <sup>ND</sup> (?) cos(???)d?, ∀? ≥ 0 (19) 0 ?? <sup>ND</sup> ? ∫ Finally, the _partial_ quarter-range sine series of order ? (for every positive integer ?) is then defined as ∑+∞ ?=0 ∑+∞ ?=0 ? <sup>???????(?</sup> ? <sup>?</sup> ? <sup>??),</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>ND</sup> cos(???), ∀?∈[0, ?] (20) ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ?? <sup>ND(?) =</sup> ?? <sup>ND</sup> ∑? ?? <sup>ND</sup> <u>??</u> ?? <sup>(?, ?, ?) =</sup> <u>?</u> <sup>2</sup> <u>?</u> ?? <sup>2</sup> <sup>(?, ?, ?) =</sup> ∑+∞ ?=0 ?=0 2.1.2.3 | Derivation Rules. Similar derivation rules can then be obtained as in the case of half-range sine and cosine series. 2.2 | Extension to the 3-D Case In the 3-d case, a function can therefore be described by a mixture of these four functions, which allows encoding several type of boundary conditions. We consider a function ? defined in the prismatic domain Ω = [0, ??] × [0, ??] × [0, ??] and verifying null Dirichlet boundary condition on faces ?ΩD ?(?, ?, ?) = 0, ∀(?, ?, ?) ∈?ΩD (21) and null Neumann boundary condition on faces ?ΩN ??(?, ?, ?) ⋅ n = 0, ∀(?, ?, ?) ∈?Ω? (22) where n is the outward normal to the boundary ?ΩN (with ?ΩN ∪ ?ΩD = ?Ω). ∀(?, ?, ?) ∈Ω (25) ∑+∞ ?=0 ∑+∞ ?=0 ∑+∞ ?=0 ? <sup>???????(?</sup> ? <sup>?</sup> ? <sup>??),</sup> −(?? <sup>?</sup> ? <sup>?)2?</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ∀(?, ?, ?) ∈Ω (26) In these expressions, ? <sup>?</sup> is the dual function of ? <sup>?</sup> (i.e., a sine function if the initial function is a cosine function and vice versa) and ?? <sup>?</sup> <sup>is the coefficient arising from the derivation3, that is,</sup> (??(??? ?? <sup>?))′</sup> <sup>= ?</sup> ? <sup>?</sup> ? <sup>???(?</sup> ? <sup>?</sup> ? <sup>??)</sup> (27) For instance, in the case where Neumann conditions are applied on the two ?−faces, one has ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??) = cos(?</sup> ? <sup>?</sup> ? <sup>??) = sin(?</sup> ? <sup>?</sup> ? <sup>??),</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>=</sup> <sup><u>??</u></sup> ? <sup>?</sup> <sup>= −?</sup> ? <sup>?</sup> ?? ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??),</sup> ?? <sup>?</sup> ? <sup>?</sup> (28) A summary of all functions and coefficients is given in Table 1 to cover all types of boundary conditions on the faces ?= 0 and ?= ??. Similar expressions can be obtained for the boundary conditions on the faces ?= 0, ?= ??, ?= 0, ?= ??. This leads to 64 different sine-cosine series in the 3-d case (corresponding to the 64 combinations of boundary conditions on the 9 faces). TABLE 1 | Functions and coefficients defining the four mixed Dirichlet/Neumann boundary conditions on the faces ?= 0 and ?= ??. Boundary conditions ? <sup>?</sup> and ? <sup>?</sup> ? <sup>?</sup> <sup>?</sup> ? <sup>?</sup> <u>?</u> <u>?</u> <sup>?</sup> ? <sup>?</sup> <u>?</u> <u>?</u> <u>?</u> ? <sup>?</sup> <sup>=</sup> ??? <sup>?</sup> ?? <sup>?</sup> DD ?(?, ?, ?) = 0 ∀?= 0 ? <sup>?</sup> (?) = sin(?) ?? <sup>?</sup> ? <sup>?</sup> <sup>= 1</sup> <sup>∀?</sup> <sup>≥</sup> <sup>0</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>= ?</sup> ? <sup>?</sup> ? <sup>=</sup> ?? <sup>?</sup> ? ?(?, ?, ?) = 0 ∀?= ?? ? <sup>?</sup> (?) = cos(?) NN <u>????</u> <sup>(?, ?, ?) = 0</sup> <sup>∀?= 0</sup> ? <sup>?</sup> (?) = cos(?) ?? <sup>?</sup> ? <sup>?</sup> <sup>=</sup> ??? <sup>?</sup> ?0 <sup>?</sup> 0 <sup>?</sup> <sup>= 1∕2</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>= −?</sup> ? <sup>?</sup> ?? <sup>(?, ?, ?) = 0</sup> <sup>∀?= 0</sup> ? <sup>=</sup> ?? <sup>?</sup> 0 <sup>= 1∕2</sup> ? <u>????</u> <sup>(?, ?, ?) = 0</sup> <sup>∀?= ??</sup> ? <sup>?</sup> (?) = sin(?) ?? <sup>?</sup> <sup>= 1</sup> <sup>∀?</sup> <sup>≥</sup> <sup>1</sup> ? <sup>?</sup> <sup>= 1</sup> <sup>∀?</sup> <sup>≥</sup> <sup>1</sup> ? <sup>?</sup> <sup>=</sup> <sup><u>2</u></sup> 2 <sup><u>?+</u></sup> ?? <sup><u>1</u></sup> ? <sup>?</sup> <sup>= 1</sup> <sup>∀?</sup> <sup>≥</sup> <sup>0</sup> ?? <sup>?</sup> DN ?(?, ?, ?) = 0 ∀?= 0 ? <sup>?</sup> (?) = sin(?) ?? <sup>?</sup> <sup><u>2</u></sup> 2 <sup><u>?+</u></sup> ?? <sup><u>1</u></sup> <sup>?</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>= ?</sup> ? <sup>?</sup> 2?? <sup>?</sup> ? <u>????</u> <sup>(?, ?, ?) = 0</sup> <sup>∀?= ??</sup> ? <sup>?</sup> (?) = cos(?) ND <u>????</u> <sup>(?, ?, ?) = 0</sup> <sup>∀?= 0</sup> ? <sup>?</sup> (?) = cos(?) ?? <sup>?</sup> <sup><u>2</u></sup> 2 <sup><u>?+</u></sup> ?? <sup><u>1</u></sup> <sup>?</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>=</sup> <sup><u>2</u></sup> 2 <sup><u>?+</u></sup> ?? <sup><u>1</u></sup> ? <sup>?</sup> <sup>= 1</sup> <sup>∀?</sup> <sup>≥</sup> <sup>0</sup> ?? <sup>?</sup> ? <sup>?</sup> <sup>= −?</sup> ? <sup>?</sup> ?? <sup>(?, ?, ?) = 0</sup> <sup>∀?= 0</sup> 2?? <sup>?</sup> ? ?(?, ?, ?) = 0 ∀?= ?? ? <sup>?</sup> (?) = sin(?) 2.3 | Discrete Sine Cosine Transforms: The 1 D Case Half-range and quarter-range sine and cosine series rely on the computation of the coefficients described by Equations (3), (6), (14), and (19); for arbitrary functions, there is no analytical formula for calculating the integrals involved in the definition of these coefficients. The Discrete Sine Transform (DST) and the Discrete Cosine Transform (DCT) provide the numerical integration of the coefficients defined by Equations (3), (6), (14), and (19). As will be shown, half-range series are described by transform of Type I, and quarter-range series are described by transform of Type III. It must be noted that this numerical integration is similar to the standard Discrete Fourier Transform (DFT) used for the computation of the coefficients of the Fourier series for periodic functions; an efficient computation of the coefficient of the DFT, DST and DCT can then be performed using fast Fourier transforms (FFT) [28]. A domain of size [0, ?] is discretized uniformly with ?+ 2 points. The spatial scale associated with the uniform grid is Δ?= ?∕(?+ 1) we denote by ?? = ?Δ? (for ?= 0, . . ., ?+ 1) the grid points. We consider a function ? <sup>BC</sup> among the four functions ? <sup>DD</sup>, ? <sup>NN</sup>, ? <sup>DN</sup> and ? <sup>ND</sup> . The grid points values of this function are denoted by ?? <sup>BC</sup> = ? <sup>BC</sup> (??) (for ?= 0, . . ., ?+ 1). To each bound ary conditions is associated a discrete transform, written under the generic form as follows ˆ?= x(? <sup>BC</sup> ) (29) where ? <sup>BC</sup> is the vector of size ?+ 2 containing the values of function ? <sup>BC</sup> at the grid points ?? and ? <sup>ˆ</sup> is the vector of size ?+ 2 containing the values of the associated discrete transform coefficients ? <sup>ˆ</sup> ?. The notation x(⋅) corresponds to the discrete transform operator (with x = ?? for the DST-I, x = ?? for the DCT-I, x = ???? for the DST-III and x = ???? for the DCT-III). The inverse discrete transform can be formally written as where the notation x ( ) corresponds to the associated inverse discrete transform operator. The inverse transforms of Type I (sine and cosine) discrete transforms are Type I (sine and cosine) discrete transforms multiplied by a factor 2∕(?+ 1), while the inverse transforms of Type III (sine and cosine) discrete transforms are Type II (sine and cosine) discrete transforms multiplied by a factor 2∕(?+ 1). The expressions of the discrete sine and cosine transforms of Type I (DST-I and DCT-I) and Type III (DST-III and DCT-III) (as well as their respective inverses) are provided in Table 2. It is interesting to note that the coefficients ? <sup>ˆ</sup> ? provide a numerical approximation of the coefficients ?? (of the associated cosine or sine series) through ˆ?? ≃ <sup><u>?+ 1</u></sup> ??, ∀? ≥ 0 (31) 2 where the factor (?+ 1)∕2 simply arises from the convention used in the definition of the coefficients of the discrete transforms. It must be noted that, in the case of DST-I, the coefficient ˆ??+1 is null while ??+1 is not null. This difference, intrinsically of the DST-I, leads to a poor estimation of the coefficients for the highest “frequency” which may cause numerical discrepancies. In order to avoid such numerical artifacts in our applications, the coefficients ? <sup>ˆ</sup> ?+1 will always be disregarded. Using the notations of Table 1, the four discrete transforms can be put under the following generic form ? <sup>BC</sup> ? <sup>?</sup> (?? <sup>?</sup> ? <sup>???),</sup> ∀? ≥ 0 (32) ˆ?? = ?+∑1 ???? <sup>BC</sup> ?=0 where ??, ?? <sup>?</sup> ? <sup>?, ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>and ??(?</sup> ? <sup>?</sup> where ??, ?? <sup>?, ?</sup> ? <sup>?</sup> <sup>and ??(?</sup> ? <sup>??) depend on the boundary conditions.</sup> In addition, the inverse transforms can be written as ?+∑1 ?=0 ??? <sup>ˆ</sup> ? ? <sup>?</sup> (?? <sup>???),</sup> ∀? ≥ 0 (33) ??? <sup>ˆ</sup> ? ? <sup>?</sup> (?? <sup>?</sup> ? <sup>BC</sup> =  <sup>−</sup> x <sup>1(ˆ?)</sup> (30) TABLE 2 | Computational details of the Discrete Sine-Cosine Transforms. ?? <sup>BC</sup> = BC Transform ˆ?? ( ?= 0, . . ., ?+ 1) ? <sup>BC</sup> <u>?</u> ~~)~~ ) <u>???</u> ?+1 ~~)~~ ?? <sup>DD</sup> = ?+2 1 <sup>BC</sup> <u>?</u> ( ?= 0, . . ., ?+ 1) DD DST-I ˆ?? = <sup><u>∑?+</u></sup> ?=0 <sup>1</sup> ? <sup>DD</sup> sin ~~(~~ ~~(~~ <u>∑?+1</u> <u>???</u> ?+1 <sup>?+</sup> ?=0 <sup>1???</sup> ? <sup>DD</sup> ?=0 <sup>??ˆ??</sup> <sup>sin</sup> ˆ?= ??(? <sup>DD</sup> ) ?0 = ??+1 = 1∕2 ?0 = ??+1 = 1∕2 ? <sup>DD</sup> =  <sup>−</sup> ?? <sup>1</sup> <sup>−</sup> ?? <sup>1(ˆ?)</sup> ?? = 1 for ?= 1, . . ., ?( ) ?? = 1 for ?= 1, . . ., ?( ?? <sup>NN</sup> = ?+2 1 <u>???</u> ?+1 ) NN DCT-I ˆ?? = <sup>∑?+</sup> ?=0 <sup>1</sup> ? <sup>NN</sup> cos ( ( ∑?+1 <u>???</u> ?+1 <sup>?+</sup> ?=0 <sup>1???</sup> ? <sup>NN</sup> ?=0 <sup>??ˆ??</sup> <sup>cos</sup> ˆ?= ??(? <sup>NN</sup> ) ?0 = ??+1 = 1∕2 ?0 = ??+1 = 1∕2 ? <sup>NN</sup> =  <sup>−</sup> ?? <sup>1</sup> <sup>−</sup> ?? <sup>1(ˆ?)</sup> ?? = 1 for ?= 1,(. . ., ? ) ?? = 1 for ?= 1, . . ., ?( DN DST-III ˆ?? = <sup>∑?+</sup> ?=0 <sup>1</sup> ? <sup>DN</sup> sin ( ( ) ?? <sup>DN</sup> = ?+2 1 ?=0 <sup>??ˆ??</sup> <sup>sin</sup> ∑?+1 ??(?+ <sup><u>1</u></sup> <u>2</u> <sup>)</sup> ??(?+ <sup><u>1</u></sup> <u>2</u> ?+1 <sup>?+</sup> ?=0 <sup>1???</sup> ? <sup>DN</sup> ??(?+ <sup><u>1</u></sup> <u>2</u> <sup><u>)</u></sup> ??(?+ <sup><u>1</u></sup> <u>2</u> ?+1 ) ) ˆ?= ????(? <sup>DN</sup> ) ?0 = ??+1 = 1∕2 ?? = 1 for ?= 0, . . ., ? ? <sup>DN</sup> =  <sup>−</sup> ???? <sup>1</sup> <sup>−</sup> ???? <sup>1</sup> <sup>(ˆ?)</sup> ?? = 1 for ?= 1, (. . ., ? ) ??+1 = 0 ( ND DCT-III ˆ?? = <sup>∑?+</sup> ?=0 <sup>1</sup> ? <sup>ND</sup> cos ( ) ?? <sup>ND</sup> = ?+2 1 ?=0 <sup>??ˆ??</sup> <sup>cos</sup> ∑?+1 ??(?+ <sup><u>1</u></sup> <u>2</u> <sup>)</sup> ??(?+ <sup><u>1</u></sup> <u>2</u> ?+1 <sup>?+</sup> ?=0 <sup>1???</sup> ? <sup>ND</sup> ??(?+ <sup><u>1</u></sup> <u>2</u> <sup><u>)</u></sup> ??(?+ <sup><u>1</u></sup> <u>2</u> ?+1 ˆ?= ????(? <sup>ND</sup> ) ?0 = ??+1 = 1∕2 ?? = 1 for ?= 0, . . ., ? ? <sup>ND</sup> =  <sup>−</sup> <u>????</u> <sup>1</sup> <sup>−</sup> <u>????</u> <sup>1</sup> <sup>(ˆ?)</sup> ?? = 1 for ?= 1, . . ., ? ??+1 = 0 2.4 | Discrete Sine Cosine Transforms: The 3 D Case We consider a 3-d prismatic domain discretized uniformly with (?? + 2) × (?? + 2) × (?? + 2) points. The spatial scales associated with the uniform grid are Δ?= ??∕(?? + 1), Δ?= ??∕(?? + 1) and Δ?= ??∕(?? + 1). The coordinates of the grid points are denoted by ?? = ?Δ? (for ?= 0, . . ., ?? + 1), ?? = ?Δ? (for ?= 0, . . ., ?? + 1) and ?? = ?Δ? (for ?= 0, . . ., ?? + 1). The values of the function ? at the grid points are denoted by ???? = ?(??, ??, ??) (for ?= 0, . . ., ?? + 1, ?= 0, . . ., ?? + 1 and ?= 0, . . ., ?? + 1). This function verifies mixed boundary conditions. Since, 3-d discrete sine-cosine transforms are defined as a composition of 1-d transforms in each spatial directions, the coefficients of the discrete mixed sine-cosine transform (? <sup>ˆ</sup> ???) of function ? can be written as 3 | A Fast Numerical Method for Conductivity Problems in Heterogeneous Media Subjected to Mixed Dirichlet/Neumann Boundary Conditions 3.1 | Equations of Conductivity We are concerned in solving the equations of electrical conduction in a heterogeneous finite medium. The finite cell is a cubic domain denoted by Ω = [0, ??] × [0, ??] × [0, ??] in 3-d and a square denoted by Ω = [0, ??] × [0, ??] in 2-d. Tensorial components refer to a system of Cartesian coordinates ( e ?; e ?; e ?) in 3-d (and ( e ?; e ?) in 2-d). The problem of electrical conduction consists in the computation of the electric field E ( x ), current J ( x ) and electric potential ?( x ), at each point x in Ω, for a given heterogeneous conductivity field c ( x ). Mixed Dirichlet/Neumann boundary conditions are considered and are given by { ?∑? +1 ˆ???? = ?=0 ?∑? +1 ?=0 ?=0 ?∑?+1 ? <sup>??</sup> ? <sup>?</sup> ? <sup>?????</sup> <sup>??(?</sup> ? <sup>?</sup> ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)</sup> (40) (34) ∀ x ∈?ΩD, ?( x ) = ??ΩD ( x ) (Dirichlet) ∀ x ∈?ΩN, ??( x ) ⋅ n = ??ΩN ( x ) (Neumann) ? <sup>?, ?</sup> ? <sup>?</sup> ? <sup>?, ?</sup> ? <sup>?,</sup> where the functions ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup>, and the coefficients ?? <sup>?</sup> ? <sup>?, ?</sup> ? <sup>?</sup> where ??ΩD ( x ) is the prescribed electric potential (on the boundary ?ΩD) corresponding to the Dirichlet condition, n is the outward normal and ??ΩN ( x ) is the prescribed value for the normal derivative of ? (on the boundary ?ΩN) corresponding to the Neumann condition <sup>4</sup> . It must be noted that the boundaries ?ΩD and ?ΩN are necessary the union of entire faces (with of course ?ΩD ∪?ΩN = ?Ω). The local problem to be solved is where the functions ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup>, and the coefficients ?? <sup>?, ?</sup> ? <sup>?, ?</sup> ? <sup>?, ?</sup> ? <sup>?,</sup> ?? <sup>?, and ?</sup> ? <sup>?</sup> <sup>depend on the type of boundary conditions. We denote</sup> by ? <sup>ˆ</sup> the array of size (?? + 2) × (?? + 2) × (?? + 2) containing the discrete sine-cosine coefficients and by ? the array of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of function ? at the grid points; the transform (34) can be written under the generic form ˆ?= xyz(?) (35) where x ∈{??, ??, ????, ????}, y ∈{??, ??, ????, ????} and z ∈ {??, ??, ????, ????}, depending on the boundary conditions applied on the ?−faces, ?−faces, and ?−faces respectively. The associated inverse transform is given by ⎧ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪⎩ ? <sup>?, and ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>depend on the type of boundary conditions. We denote</sup> ∀ x ∈Ω, div J ( x ) = 0 ∀ x ∈Ω, J ( x ) = c ( x ) ∶ E (?( x )) ∀ x ∈Ω, E (?( x )) = −??( x ) (41) ∀ x ∈?ΩD, ?( x ) = ??ΩD ( x ) ?∑?+1 ?=0 ?∑? +1 ?=0 ∀ x ∈?ΩN, ??( x ) ⋅ n = ??ΩN ( x ), <u>8</u> ???? = (?? + 1)(?? + 1)(?? + 1) ?∑? +1 ?=0 ? <sup>??</sup> ? <sup>?</sup> ? <sup>?</sup> ̂ <sup>??????(?</sup> ? <sup>?</sup> ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ̂ ̂ ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)</sup> (36) and it can be written as ?=  <sup>−</sup> xyz <sup>1</sup> <sup>(ˆ?)</sup> (37) We finally introduce a useful notation in order to simply account for dual mixed sine-cosine transforms. Assuming that the transform xyz(⋅) corresponds to Equation (34), then we denote by ˆ?= ~~~~ <u>xyz(?)</u> (38) the transform defined by ?∑? +1 ˆ???? = ?=0 ?∑? +1 ?=0 ?=0 ?∑?+1 ? <sup>??</sup> ? <sup>?</sup> ? <sup>?????</sup> <sup>??(?</sup> ? <sup>?</sup> ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)</sup> (39) where c ( x ) is the local second-order conductivity tensor. In the case of isotropic conductivity, it reduces to (in the case of a 3-d medium) c ( x ) = ?( x ) I 3 (42) with ?( x ) the local (scalar) conductivity field and I 3 the second-order identity tensor. Following [23] (in the case of Dirichlet boundary conditions), the principle of the resolution is to 1. Write the problem (41) as an auxiliary problem involving a reference homogeneous material and a polarization term (as done by Moulinec and Suquet [1] in the periodic setting); 2. Split the electric potential in two contributions, a known term verifying the boundary conditions (40) and an unknown fluctuation term, defined such that it is null on the boundary ?ΩD and it has normal derivatives null on the boundary ?ΩN, to be determined; 3. Write the weak (Galerkin) formulation by (i) describing the fluctuation term by a partial 3-d mixed sine-cosine series (depending on the type of boundary conditions) and (ii) using trial functions based on the same 3-d mixed cosine-sine series; 4. Solve approximately the problem using discrete sine and cosine transforms (to approximate the integrals defined in the weak formulation); 5. Find the polarization term solution of the problem (41) using an iterative scheme (as done by Moulinec and Suquet [1] in the periodic setting with a fixed-point method). 3.2 | The Auxiliary Problem Following [1], the local conductivity problem is written alternatively in the Lippman–Schwinger form Therefore, assuming that ?( x ) and ?0( x ) are known functions, the problem reduces to the determination of the fluctuation ˜?( x ) solution of ∀ x ∈Ω, Δ˜?( x ) = ? <sup><u>1</u></sup> 0 <sup>div ?(</sup> <sup>x</sup> <sup>) −Δ?0(</sup> <sup>x</sup> <sup>)</sup> ∀ x ∈?ΩD, ˜?( x ) = 0 ⎧ ⎪ ⎨ ⎪⎩ (48) ∀ x ∈?ΩN, ?˜?( x ) ⋅ n = 0 ⎧∀ ⎪ ⎪∀ ⎨ ⎪∀ ⎪⎩∀ ∀ x ∈Ω, div J ( x ) = 0 ∀ x ∈Ω, J ( x ) = −?0??( x ) + ?( x ) (43) 3.3 | Weak Formulation The 3-d prismatic domain is discretized uniformly with (?? + 2) × (?? + 2) × (?? + 2) points and the spatial scales associated with the uniform grid are Δ?= ??∕(?? + 1), Δ?= ??∕(?? + 1) and Δ?= ??∕(?? + 1). The coordinates of the grid points are denoted by ?? = ?Δ? (for ?= 0, . . ., ?? + 1), ?? = ?Δ? (for ?= 0, . . ., ?? + 1) and ?? = ?Δ? (for ?= 0, . . ., ?? + 1). The fluctuation term ˜?( x ) is defined by construction so that it is null where the boundary conditions are applied (see Equation (47)). Therefore, it will be described by a partial 3-d mixed sine-cosine series, chosen to ensure the nullity of the boundary conditions. We consider that ˜?( x ) is of the form ∀ x ∈?ΩD, ?( x ) = ??ΩD ( x ) ∀ x ∈?ΩN, ??( x ) ⋅ n = ??ΩN ( x ) ∑?? ?=0 ∑?? ?=0 where ?0 is the conductivity of a homogeneous isotropic reference material and ?( x ) = −( c ( x ) −?0 I 3) ∶??( x ) (44) is the polarization tensor. Assuming momentarily that the polarization tensor ?( x ) is known, the problem reduces to the calculation of the electric potential ?( x ) solution of ? <sup>?˜Φ?????(?</sup> ? <sup>?</sup> ? <sup>??)</sup> (49) ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ˜?( x ) ≡ ∑?? ?=0 ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?,</sup> ⎧ ⎪ ⎨ ⎪⎩ ∀ x ∈Ω, −?0Δ?( x ) + div ?( x ) = 0 where Φ <sup>˜</sup> ??? are the 3-d sine-cosine series coefficients of function ˜?, which constitute the unknowns of our problem. The choice of the functions ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup> and coefficients ?? <sup>?,</sup> <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?,</sup> <sup>?</sup> ? <sup>?,</sup> ?? <sup>?</sup> <sup>then simply depends on the type of boundary conditions (see</sup> Section 2.2). It must be noted that, the number of “modes” for the sine-cosine series is equal to (?? + 1) × (?? + 1) × (?? + 1) and do not correspond to the number of grid points. This choice is due to the previous remark made on the last coefficients Φ <sup>˜</sup> ??? which may be poorly estimated for ?= ?? + 1 or ?= ?? + 1 or ?= ?? + 1. If one wants to keep the same number of grid points and coefficients for the transforms, it can be alternatively written ∀ x ∈?ΩD, ?( x ) = ??ΩD ( x ) (45) ∀ x ∈?ΩN, ??( x ) ⋅ n = ??ΩN ( x ) ?=0 ?∑? +1 ?=0 ? <sup>??</sup> ? <sup>?</sup> The boundary conditions are then taken into account, following the idea of Morin and Paux [23] in the case of Dirichlet conditions (see also [22]), by splitting the electric potential ?( x ) solution of the problem in two terms ?( x ) = ?0( x ) + ˜?( x ) (46) where ?0( x ) is a _known_ _analytical_  <sup>1</sup> function verifying the applied boundary conditions (40) and ˜?( x ) is an _unknown_ _fluc-_ _tuation_ function verifying the properties { ( ? <sup>?˜Φ?????(?</sup> ? <sup>?</sup> ? <sup>??)</sup> (50) ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ˜?( x ) ≡ ?∑? +1 ?=0 ?∑?+1 ?? <sup>?</sup> where we enforce that ˜Φ??+1?? = ˜Φ??? +1? = ˜Φ????+1 = 0 (51) The weak formulation of Lippman–Schwinger equation (48) reads ) <u>1</u> div ?( x ) −Δ?0( x ) ?( x )dΩ (52) ?0 ∀ x ∈?ΩD, ˜?( x ) = 0 ∀ x ∈?ΩN, ?˜?( x ) ⋅ n = 0 (47) ∫Ω Δ˜?( x )?( x )dΩ = ∫Ω The known function ?0( x ) can be easily constructed from the knowledge of the prescribed electric potential ??ΩD and fluxes ??ΩN by some interpolation within the cell Ω; an example of a reconstruction of the function ?0( x ) is provided in Appendix A. where ?( x ) is a testing differentiable function. Following (49), these trial functions are the interpolation basis of ˜?( x ), that is, ????( x ) = ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)</sup> (53) with ? 0, . . ., ??, ? 0, . . ., ?? and ? 0, . . ., ??. The inte grals involved in the weak formulation (52), that need to be calculated, are denoted by and ?= ?? + 1 where Equation (51) holds. Once the array ? is known, the fluctuation term ˜?( x ) is known using Equation (49). One can remark that, at the grid points, the fluctuation reads ?=0 ?∑? +1 ?=0 ? <sup>??</sup> ? <sup>?</sup> ???? = ∫Ω Δ̃?( x )????( x )dΩ ???? = ∫Ω(div?( x ))????( x )dΩ ???? = ∫Ω Δ?0( x )????( x )dΩ (54) ˜?= ? <sup>?˜Φ???</sup> <sup>??(?</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)??(?</sup> ? <sup>?</sup> ? <sup>???)</sup> ˜???? ≡ ?∑? +1 ?=0 ?∑?+1 ?? <sup>?</sup> (60) which can be calculated, using Equation (36), as <sup>5</sup> <sup>−</sup> xyz <sup>1</sup> <sup>(˜?)</sup> (61) (?? + 1)(?? + 1)(?? + 1)  <sup>−</sup> xyz <sup>1</sup> 8 After calculation of some elementary integrals (see Appendix B for detailed calculations), one obtains ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪⎩ ?????? ?? <sup>)2 + (?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>)2 + (?</sup> ? <sup>?)</sup> ? <sup>?)2)˜Φ???</sup> ???? = − ???? ((??? 8 ???? = ???? = −?????? [ ?? <sup>?(xyz(˜??))???</sup> (?? + 1)(?? + 1)(?? + 1) ?????? (?? + 1)(?? + 1)(?? + 1) ( xyz(??0) where ˜? is the (?? + 2) × (?? + 2) × (?? + 2) array containing the grid point values of ˜?. 3.4 | The Iterative Scheme The last step is to determine the polarization tensor ? solution of the problem (41) using an iterative scheme. We consider, following [1] in the periodic setting, a fixed-point iterative scheme: (55) + ?? <sup>?</sup> ? <sup>?</sup> <sup>(xyz(˜??))???</sup> <sup>+ ?</sup> ? <sup>?</sup> ? <sup>?(xyz(˜??))???</sup> <sup>+ ????</sup> ] ) ??? where ˜??, ˜??, ˜?? and ??0 respectively denote the arrays of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of functions ˜??, ˜??, ˜?? and Δ?0 at the grid points, where the functions ˜??, ˜??, ˜?? are given by Equation (B10). The quantity ???? is given by (B15) and depends on the arrays ? <sup>0</sup> ? <sup>, ?</sup> ? <sup>??</sup> <sup>?0</sup> ? <sup>, ?</sup> ??? <sup>, ?0</sup> ? <sup>and ?</sup> ? <sup>??</sup> <sup>containing the</sup> values of functions ??, ?? and ??, respectively on the faces ?= 0, ?= ??, ?= 0, ?= ??, ?= 0 and ?= ??. Initializatioñ ? <sup>0</sup> ( x ) = 0 J <sup>0</sup> ( x ) = − c ( x ) ∶∇?0( x ) Iterate i + 1 ? <sup>?</sup> and J <sup>?</sup> being known ? <sup>?+1</sup> ( x ) = (c)̃ ∑?? ?=0 (a) ? <sup>?</sup> ( x ) = J <sup>?</sup> ( x ) + ?[ <sup>0(</sup> ∇?0( x ) + ∇̃? <sup>?</sup> ( x ) <sup>)</sup> ? <sup><u>1</u></sup> 0 <sup>(?</sup> <sup>?</sup> <sup>⊙</sup> <sup>xy</sup> ] <sup>z(̃??)</sup> [ - xyz(??0) + ? <sup><u>1</u></sup> 0 ] ? <sup>?+1</sup> = ?⊙ +? <sup>?</sup> ⊙ xyz(̃??) + ? <sup>?</sup> ⊙ xyz(̃??) + ?) <sup>0</sup> ? <sup>, ?</sup> ? <sup>??</sup> <sup>0</sup> ? <sup>, ?</sup> (b)̃ ? <sup>??</sup> <sup>?0</sup> ? ??? <sup>, ?0</sup> ? <sup>0</sup> ? <sup>and ?</sup> ? <sup>??</sup> ∑?? ?=0 ? <sup>?</sup> ̃ <sup>Φ</sup> ??? <sup>?+1</sup> ? <sup>??</sup> ? <sup>?</sup> ̃ ̃ ??? <sup>?+1??(?</sup> ? <sup>?</sup> ? <sup>??)</sup> ∑?? ?=0 ?? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??)</sup> Let us denote by ? <sup>˜</sup> the array of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of the sine-cosine series coefficients Φ <sup>˜</sup> ??? of the unknown fluctuation ˜? defined by Equation (49). Combining Equations (52) and (55), the coefficients ? <sup>˜</sup> are given by ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎩ ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> (d) J <sup>?+1</sup> ( x ) = −?( x ) <sup>(</sup> ∇?0( x ) + ∇̃? <sup>?+1</sup> ( x ) <sup>)</sup> (e) Convergence test [ (62) The convergence test consists in verifying the local equilibrium defined by (41) in the weak sense given, in the 3-d case, by ?= ?⊙ - xyz(??0) + <sup><u>1</u></sup> ] + ? <sup>?</sup> ⊙ xyz(̃??) + ?) ?0 (? <sup>?</sup> ⊙ xyz(̃??) + ? <sup>?</sup> ⊙ xyz(̃??) (56) where ? is the (?? + 2) × (?? + 2) × (?? + 2) array given by <u>8</u> ???? = div J ( x )????( x )dΩ = 0 (63) ?????? ∫Ω <u>1</u> (?)??? = (???)2 + ~~(~~ ?? <sup>?</sup> with ?= 0, . . ., ??, ?= 0, . . ., ?? and ?= 0, . . ., ?? and for the actual electric current J defined by (41)2. The factor 8∕(??????) is a normalization factor made so that ???? are the cosine-sine series coefficients of div J . Then, following Parseval’s identity, the ? <sup>2</sup> norm of div J reads + <sup>(</sup> ?? <sup>?</sup> + <sup>(</sup> ?? <sup>?</sup> <u>8</u> )2 <sup>×</sup> (?? + 1)(?? + 1)(?? + 1) (57) ~~(~~ ?? <sup>?</sup> ? ~~)~~ 2 ? )2 + ? <sup>?</sup>, ? <sup>?</sup>, ? <sup>?</sup> are the (?? + 2) × (?? + 2) × (?? + 2) arrays given by ∑?? ?=0 ∑?? ?=0 ∑?? ?=0 ???? <sup>2</sup> (64) ? <sup>2</sup> (? <sup>?</sup> )??? = ?? <sup>?</sup> ? <sup>?,</sup> (? <sup>?</sup> )??? = ?? <sup>?,</sup> ? <sup>?,</sup> (? <sup>?</sup> )??? = ?? <sup>?</sup> ? <sup>?</sup> (58) <u>1</u> ||div J || <sup>2</sup> ? <sup>2</sup> <sup>=</sup> ?????? ∫Ω <u>1</u> <sup>2</sup> ? <sup>2</sup> <sup>=</sup> ?????? ∫Ω (div J ) <sup>2</sup> dΩ = ? is the (?? + 2) × (?? + 2) × (?? + 2) array containing the values ???? and ⊙ denotes Hadamard product (pointwise product) given by (?⊙?)??? = (?)???(?)??? (no summation on the indices) (59) It must be noted that Equation (56) allows the determination of Φ <sup>˜</sup> ??? for all frequencies except for ?= ?? + 1, ?= ?? + 1 The integrals (63) are computed as described in Appendix B for div ?, and the convergence is considered achieved when √ ~~∑~~ ?? ?=0 ?=0 ~~∑~~ ?? ~~∑~~ ?? ?=0 <sup>?2</sup> ?=0 ??? ≤ tol (65) ||⟨ J ⟩|| with ⟨ J ⟩ the mean value of the electric current J . As explained by Gélébart [22], this criterion is not suitable in some cases where the overall electric current is null; in addition, the criterion (65) depends on the voxel size. An alternative criterion is therefore proposed, following [22]: √ ~~∑~~ ?? ~~∑~~ ?? Δ? ?=0 ~~∑~~ ?? ?=0 ≤ tol (66) 1 <sup>2</sup>,??? <sup>+ ?</sup> 2 <sup>2</sup>,??? <sup>+ ?</sup> 3 <sup>2</sup>,??? <sup>)</sup> ?=0 <sup>?</sup> ??? <sup>2</sup> ?=0 ?=0 ??? ~~√∑~~ ?? ~~∑~~ ?? ~~∑~~ ?? ~~∑~~ ?? ~~∑~~ ?? ?=0 ?=0 ?=0 <sup>(?</sup> 1 <sup>2</sup> In the iterative scheme, one might remark that, considering the iterative form of ? <sup>?</sup> (step (a)), we have div ? <sup>?</sup> ( x ) = div J <sup>?</sup> ( x ) + ? <sup>0(</sup> Δ?0( x ) + Δ˜? <sup>?</sup> ( x ) <sup>)</sup> (67) which leads to the following simplified iterative scheme: ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎩ Initializatioñ ? <sup>0</sup> ( x ) = 0 J <sup>0</sup> ( x ) = − c ( x ) ∶∇?0( x ) Iterate i + 1 ? <sup>?</sup> and J <sup>?</sup> being known [ ?10 <sup>(?</sup> <sup>?</sup> <sup>⊙</sup> <sup>xyz(̃??</sup> ? <sup>?</sup> <sup>)</sup> Uniform Neumann Boundary Conditions (UNBC) associ ated with the volume average of the current ⟨ J ⟩, that is J ( x ) ⋅ n ( x ) = ⟨ J ⟩ ⋅ n ( x ), ∀ x ∈?Ω (70) where n ( x ) is the outward normal. This conditions can be alternatively written in terms of the electric potential as ??( x ) ⋅ n = − c <sup>−1</sup> ( x ) ∶ ⟨ J ⟩ ⋅ n ( x ), ∀ x ∈?Ω (71) - Arbitrary Dirichlet–Neumann Boundary Conditions (ADNBC), for which an arbitrary electric potential ??Ω is prescribed on the boundary ?ΩD and a flux (i.e., the normal derivative of ?) ??ΩN ( x ) is prescribed on the boundary ?ΩN. The cases of Uniform Dirichlet Boundary Conditions and Uniform Neumann Boundary Conditions can be used to calculate the macroscopic (effective) conductivity tensor using the relation ⟨ J ⟩ = C ⋅ ⟨ E ⟩ (72) where ⟨ J ⟩ is calculated as the volume average of the current ⟨ J ⟩ (in the UDBC case) and ⟨ E ⟩ is calculated as the volume average of the electric field ⟨ E ⟩ (in the UNBC case). In addition, (standard) Periodic Boundary Conditions (PBC) will also be considered using the basic scheme of Moulinec and Suquet [1] (see e.g., [29] for specific details of the conductivity case) to assess the results obtained using non-periodic boundary conditions, notably in terms of the number of iterations to convergence. Finally, in all the applications considered, we take the value tol = 10 <sup>−8</sup> for the tolerance used in criterion (66). 4.2 | Influence of the Boundary Conditions In order to study the influence of the boundary conditions on the local fields, we consider a fixed contrast ?2∕?1 = 10 <sup>−2</sup> . 4.3 | Uniform Dirichlet Boundary Conditions We begin by the UDBC case with ⟨ E ⟩ = (1 1) (73) Convergence of the iterative procedure is reached for about 600 iterations. The distribution of the potential field ? and the fluctuation field ˜? are represented in Figure 1. The boundary conditions are applied correctly as the total potential field ? verifies Equation (69) and the fluctuation ˜? is null on the boundary (as it is expressed by sine series). The components ?1 of the electric field E and ?1 of the electric current J are represented in Figure 2. Small oscillations are observed at the corners of the inclusion, which are standard using pseudo-spectral derivations [29]. In terms of overall properties, considering the symmetry <u>of</u> the unit-cell, the macroscopic conductivity tensor reduces to C = ? I 2, with, in that case, ?= 0.59. (a)̃ ? <sup>?+1</sup> =̃ ? <sup>?</sup> + ?⊙ +? <sup>?</sup> ⊙ xyz(̃? <sup>?</sup> <sup>?</sup> ? <sup>) + ?</sup> <sup>?</sup> <sup>⊙</sup> <sup>xyz(̃??</sup> ? <sup>?</sup> ? <sup>) + ??</sup> <sup>)</sup> ?=0 ? <sup>??</sup> ? <sup>?</sup> ? <sup>?</sup> ̃ <sup>Φ</sup> ??? <sup>?+1</sup> ? <sup>??</sup> ? <sup>?</sup> ̃ ] (68) ̃ ??? <sup>?+1??(?</sup> ? <sup>?</sup> ? <sup>??)</sup> ? <sup>?+1</sup> ( x ) = (b)̃ ∑?? ∑?? ?=0 ?=0 ∑?? ?? <sup>?</sup> ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> (c) J <sup>?+1</sup> ( x ) = −?( x ) <sup>(</sup> ∇?0( x ) + ∇̃? <sup>?+1</sup> ( x ) <sup>)</sup> (d) Convergence test ?? <sup>,</sup> <sup>˜?</sup> ?? <sup>and</sup> <sup>??</sup> <sup>computed</sup> <sup>exactly</sup> <sup>as</sup> <sup>˜??</sup> with <sup>˜</sup> ? ?? <sup>,</sup> <sup>˜?</sup> ? <sup>?</sup> <sup>,</sup> <sup>˜??</sup> ? <sup>?</sup> ? <sup>,</sup> <sup>˜??</sup> with <sup>˜</sup> ?? <sup>,</sup> <sup>˜?</sup> ? <sup>,</sup> <sup>˜?</sup> ? <sup>and</sup> <sup>??</sup> <sup>computed</sup> <sup>exactly</sup> <sup>as</sup> <sup>˜?</sup> ? <sup>?</sup> <sup>,</sup> <sup>˜??</sup> ? <sup>,</sup> <sup>˜??</sup> ? <sup>and</sup> <sup>?</sup> (see Appendix B). The simplified iterative scheme saves significant computational effort by avoiding several discrete sine-cosine transforms. In particular, it prevents from the numerical computation of the terms ???? related with Δ?0, whose numerical estimate might be troublesome. The simplified iterative scheme is used for the upcoming applications. 4 | Applications 4.1 | Description of the Simulations The Galerkin method is now applied to the study of the local and overall response of a composite material made of a matrix of conductivity ?1 and an inclusion of conductivity ?2. The contrast between the phases is defined as ?2∕?1. For the application, we consider a 2-d domain [0, 1] × [0, 1] discretized with 512 × 512 grid points, comprising a centered square inclusion of side 0.5. We consider the value ?0 = (?1 + ?2)∕2 for the homogeneous reference material used to define the auxiliary problem. Several types of boundary conditions will be considered: - Uniform Dirichlet Boundary Conditions (UDBC) <sup>6</sup> associated with the volume average of the electric field ⟨ E ⟩, that is ??Ω( x ) = −⟨ E ⟩ ⋅ x, ∀ x ∈?Ω (69) FIGURE 1 | Distribution of the potential field in the UDBC case with ⟨ E ⟩ = (1 1). (a) Solution field ? and (b) Fluctuation field ˜?. FIGURE 2 | Distribution of the electric field E and electric current J in the UDBC case with ⟨ E ⟩ = (1 1). (a) Component ?1 of E and (b) Component ?1 of J . 4.3.1 | Uniform Neumann Boundary Conditions We continue with the UNBC case with ⟨ J ⟩ = (1 1) (74) Convergence of the iterative procedure is reached for about 600 iterations. The distribution of the potential field ? and the fluctuation field ˜? are represented in Figure 3. The components ?1 of the electric field E and ?1 of the electric current J are represented in Figure 4, which permits to see that the boundary conditions are applied correctly. In terms of overall <u>properties,</u> the macroscopic conductivity tensor reduces to C = ? I 2, with, in that case ?= 0.57. The value obtained is lower than that obtained using UDBC, which is expected as UNBC provides a lower bound and UDBC provides an upper bound for the overall properties. 4.3.1.1 | Periodic Boundary Conditions. We consider the (standard) PBC case with ⟨ E ⟩ = (1 1) (75) In that case, convergence of the iterative procedure is reached for about 220 iterations. This is lower than that obtained using UDBC and UNDC but of the same order of magnitude; this number of iterations is mainly due to the (strict) convergence conditions imposed (tol = 10 <sup>−8</sup> ). The components ?1 of the electric field E and ?1 of the electric current J are represented in Figure 5. As in the non-periodic cases, typical oscillations are observed at the corners of the inclusion, which are standard using pseudo-spectral derivative rules <u>[29].</u> In that case the isotropic macroscopic conductivity reads ?= 0.58, and is comprised between the predictions of UDBC and UNBC. FIGURE 3 | Distribution of the potential field in the UDNC case with ⟨ J ⟩ = (1 1). (a) Solution field ? and (b) Fluctuation field ˜?. FIGURE 4 | Distribution of the electric field E and electric current J in the UNBC case with ⟨ J ⟩ = (1 1). (a) Component ?1 of E and (b) Component ?1 of J . FIGURE 5 | Distribution of the electric field E and electric current J in the PBC case with ⟨ E ⟩ = (1 1). (a) Component ?1 of E and (b) Component ?1 of J . 4.3.1.2 | Arbitrary Dirichlet Neumann Boundary Conditions. We finally present a general case with arbitrary Dirichlet–Neumann boundary conditions, given by ??(??) = ?? <sup>′</sup> ? <sup>′</sup> <sup>(??) =</sup> <sup><u>2</u></sup> ?? ? <sup>′(??) =</sup> <sup><u>2</u></sup> ??(0) = ?? <sup>′</sup> ?? ?? (??(??) −??(0)) (??(??) −??(0)) (78) )2 ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪⎩ ( ??(?) = ??(0) + (??(??) −??(0)) <u>?</u> ?? ( Convergence of the iterative procedure is reached for about 490 iterations. The distribution of the potential field ? and the fluctuation field ˜? are represented in Figure 6. This permits to verify that the boundary conditions are correctly applied on the left, bottom and top sides, as the fluctuation ˜? is null on these boundaries. The distribution of the components ?1 and ?2 of the electric field E and ?1 and ?2 of the current field J are then respectively represented in Figures 7 and 8. The distribution of ?1 allows to see that the boundary conditions are applied correctly on the right side. 4.4 | Comparison With Gélébart’s Scheme Based on a Discrete Green Operator We compare the results obtained using the Galerkin-based method with [22] scheme which has been obtained using a finite differences method; in particular, the scheme considered (top side) (bottom side) (left side) (right side) (76) )2 ??(?) = ??(0) + (??(??) −??(0)) <u>?</u> ?? ( )2 ??(?) = ??(0) + (??(??) −??(0)) <u>?</u> ?? ( )3 ??(?) = ??(0) + (??(??) −??(0)) <u>?</u> ?? with the following values for the electric potential ??(0) = ??(0) = 5, ??(0) = ??(??) = 2 ??(??) = 8, ??(??) = 10 (77) and the following values for the flux FIGURE 6 | Distribution of the potential field in the ADNBC case. (a) Solution field ? and (b) Fluctuation field ˜?. FIGURE 7 | Distribution of the electric current E in the ADNBC case. (a) Component ?1 and (b) Component ?2. FIGURE 8 | Distribution of the electric current J in the ADNBC case. (a) Component ?1 and (b) Component ?2. FIGURE 9 | Comparison with [22] discrete scheme (solution field ?) in the ADNBC case. (a) Solution field ? and (b) Comparison between the discrete and the Galerkin method on the line ?2 ≈ 0.75 <sup>−</sup> . for the present comparison is the so-called hexaedral scheme which corresponds to hexahedral finite elements with reduced integration [22]. This class of solvers is generally referred to as _discrete_ Green operators [30] in contrast with the _continuous_ Green operator emerging from the Galerkin discretization, as it is based on continuous (spectral) derivative rules (and not discrete finite differences). Calculations are performed in the case with arbitrary Dirichlet– Neumann boundary conditions (given by Equation (76)) with a similar discretization than that provided in Section 4.1: 512 × 512 nodes are considered for the comparison which therefore corresponds to 511 × 511 pixels <sup>7</sup> . Convergence of the iterative procedure is reached for about 20 iterations using [22] discrete scheme. The total potential field ?, obtained using [22] discrete scheme, is represented in Figure 9 and is very similar to that obtained using the Galerkin method (represented in Figure 6). A quantitative comparison between the two schemes is performed on the line ?2 ≈ 0.75 <sup>−</sup> (i.e., the line inside the inclusion closest to its boundary): the solution fields ? are exactly the same. Then, the component field ?1 of the electric field, obtained using [22] discrete scheme, is represented in Figure 10 and is very similar to that obtained using the Galerkin method (represented in Figure 7). Several (very small) differences can be observed close to the corners of the inclusion. A quantitative comparison between the two schemes is again performed on the line ?2 ≈ 0.75 <sup>−</sup>, which permits to highlight the differences close to the top-right corner: oscillations are observed in both schemes, but not at the same location. These oscillations seem to be more pronounced using the Galerkin (continuous) scheme, which is in agreement with the periodic case where discrete schemes tend to remove (partially) spurious oscillations (see e.g., [30]). Finally, we study the current field, which is deduced of the electric field using the constitutive law. As a consequence, the FIGURE 10 | Comparison with [22] discrete scheme (solution field ?1) in the ADNBC case. (a) Solution field ?1 and (b) Comparison between the discrete and the Galerkin method on the line ?2 ≈ 0.75 <sup>−</sup> . FIGURE 11 | Comparison with [22] discrete scheme (solution field ?1) in the ADNBC case. (a) Solution field ?1 and (b) Comparison between the discrete and the Galerkin method on the line ?2 ≈ 0.75 <sup>−</sup> . relative magnitude of the oscillations observed on the electric field can be modified since the current field corresponds to the electric field multiplied by the (heterogeneous) conductivity field. The component ?1 of the current field, obtained using [22] discrete scheme, is represented in Figure 11. It is very similar to that obtained using the Galerkin method (represented in Figure 8). As for the electric field, several small differences can be observed close to the corners of the inclusion. A quantitative comparison between the two schemes is again performed on the line ?2 ≈ 0.75 <sup>−</sup> . Small oscillations are observed in both schemes close to the right corner. In that case the oscillations are slightly more important using the discrete scheme. This is due to their location on the electric field, which is inside the inclusion for the continuous scheme (i.e., for 0.25 < ?1 < 0.75) and outside the inclusion for the discrete scheme (i.e., for ?1 - 0.75). Oscillations observed on the electric field inside the inclusion (mainly for the continuous scheme) are thus less pronounced on the current field because the conductivity field is ?2 = 1∕100 in the inclusion. On the other hand, the oscillations outside the inclusion (mainly for the discrete scheme) are still present in the current field because the conductivity field is ?1 = 1 in the matrix. It is important to note that this conclusion on the oscillations only applies to this particular application and, overall, oscillations are expected to be present irrespective of the scheme. 4.5 | Influence of the Contrast We now study the influence of the contrast on both (i) the convergence speed of the iterative algorithm and (ii) the macroscopic conductivity ?. We will compare the results obtained using the present Galerkin-based approach and the scheme of Gélébart [22] based on a finite different method. First, the dependency of the number of iterations up to convergence with the contrast is represented in Figure 12. An (a) (b) FIGURE 12 | Comparison with [22] non-periodic discrete scheme and the periodic basic scheme. (a) Number of iterations up to convergence and (b) Macroscopic conductivity ?. increase of the number of iterations with the contrast is observed for the Galerkin-based scheme while it stabilizes with the discrete scheme of Gélébart [22]. The number of iterations obtained using the non-periodic Galerkin scheme are close to those obtained using the basic scheme in the periodic case; the method develop in the non-periodic case appears to have similar convergence properties than the periodic case. The Garlerkin-based method relies on a continuous Green operator, together with a fixed-point iterative procedure, which are known to be inappropriate for high contrasts, while the discrete scheme is suitable irrespective of the contrast, in agreement with previous observations made on the periodic setting [30]. Accelerated schemes, introduced in the periodic setting, are expected to improve the convergence rate, especially for the Galerkin-based scheme (see e.g., [7]). Alternatively, conjugate gradient solvers could also improve the convergence of the method [31, 32]. Then, the dependency of the macroscopic conductivity ? with the contrast is represented in Figure 12b. The values predicted by the discrete and the Galerkin schemes are almost identical, up to small numerical differences. The macroscopic conductivity increases with the contrast and is bounded by the asymptotic values ?= 0.58 and ?= 0.56 when ?2∕?1 → 0, <u>respectively</u> for the UDBC and UNBC cases, and ?= 1.77 and ?= 1.72 when ?2∕?1 → ∞, respectively for the UDBC and UNBC cases. One can notice that UDBC provides an upper bound for the overall behavior and UNBC a lower bound; The value predicted using PBC lies between the bounds obtained using UDBC and UNBC; this is related to the (standard) property C UDBC - C PBC - C UNBC in the sense of quadratic forms. 5 | Conclusion The aim of this work was to develop a numerical method for conductivity problems in heterogeneous media subjected to mixed Dirichlet/Neumann boundary conditions, by extending [23] approach. The method relies on a fixed-point iterative solution of an auxiliary problem obtained by a Galerkin discretization using an approximation space spanned by mixed cosine-sine series. The electric potential field solution of the problem is written as a known term verifying the boundary conditions and an unknown term described by cosine-sine series, having no contribution on the boundary conditions. The Galerkin formulation of the auxiliary problems leads to elementary integrals that are approximated using discrete sine-cosine transforms of Type I and III depending on the boundary conditions, as done by Gélébart [22] using a discrete finite difference scheme, which makes the method relying on the numerical complexity of fast Fourier transforms. The method is applied to a model problem of composite material subjected to various boundary conditions: uniform Dirichlet boundary conditions, uniform Neumann boundary conditions and arbitrary Dirichlet–Neumann boundary conditions. It has been used to determine the overall conductivity properties and to calculate the local fields of a hetegeneous material subjected to arbitrary boundary conditions. The Galerkin-based method developed in this paper has been compared to the discrete method of Gélébart [22] based on a finite difference scheme. Both methods lead to very similar results, in terms of overall and local fields. Oscillations have been observed in both methods, close to material discontinuities, which is standard using FFT-based methods [29, 30] or with hexaedral FE with reduced integration (hourglass phenomenon [22]). Nonetheless, some differences are observed in terms of convergence: the convergence rate of the Galerkin-based scheme scales linearly with the contrast, while it is bounded or slowly increasing with the contrast using the discrete scheme, in agreement with the periodic case [30]. Despite this drawback of the Galerkin-based method, it is still an interesting method because it relies on the description of the solution field as sine-cosine series and thus may benefit from the abundant literature in this field to improve convergence, such as smoothing splines [29], Fejer s theorem, and so forth. In addition, accelerated schemes, developed in the periodic setting, are expected to improve the convergence rate (see e.g., [7]). This work was devoted to conductivity problems for which the unknown field is a _scalar field_ . Future developments of this work will concern the treatment of elasticity problems for which the unknown field is a vector field (the displacement field). Additional difficulties, related to mixed derivatives of the displacement field, are expected in elasticity problems. Conflicts of Interest The authors declare no conflicts of interest. Data Availability Statement The data that support the findings of this study are available from the corresponding author upon reasonable request. Endnotes 1 The terminology half-range and quarter-range is commonly used in the Fourier analysis framework (see, e.g., [26]) to represent a (periodic) function over a half or quarter period, which permits to account for several types of boundary conditions, as shown hereafter. 2 Similar formulae can be derived for the partial derivatives of ? with respect to ? and ?. 3 In the present work, we consider standard derivation, that is, continuous derivation rules. Alternative derivation rules, obtained using finite differences, can be used and would lead to another expressions of the coefficients ?? <sup>?</sup> <sup>while preserving the structure of the equations.</sup> 4 The Neumann boundary condition allows to prescribe the value of the normal component of either the electric field E ( x ) or the current J ( x ) on the boundary. 5 One should remark that equation (36) involves the coefficients ??? <sup>?</sup> ? <sup>?</sup> 6. V. Monchiet and G. Bonnet, A Polarization Based FFT Iterative Scheme for Computing the Effective Properties of Elastic Composites With Arbitrary Contrast,” _International_ _Journal_ _for_ _Numerical_ _Methods_ _in Engineering_ 89 (2012): 1419–1436. 7. H. Moulinec and F. Silva, “Comparison of Three Accelerated FFT-Based Schemes for Computing the Mechanical Response of Composite Materials,” _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Engi-_ _neering_ 97 (2014): 960–985. 8. R. Lebensohn, “N-Site Modeling of a 3D Viscoplastic Polycrystal Using Fast Fourier Transform,” _Acta Materialia_ 49 (2001): 2723–2737. 9. N. Bertin, M. V. Upadhyay, C. Pradalier, and L. Capolungo, “A FFT-Based Formulation for Efficient Mechanical Fields Computation in Isotropic and Anisotropic Periodic Discrete Dislocation Dynamics,” _Mod-_ _elling_ _and_ _Simulation_ _in_ _Materials_ _Science_ _and_ _Engineering_ 23 (2015): 065009. 10. R. Brenner, A. J. Beaudoin, P. Suquet, and A. Acharya, “Numerical Implementation of Static Field Dislocation Mechanics Theory for Periodic Media,” _Philosophical Magazine_ 94 (2014): 1764–1787. 11. R. Brenner, “Numerical Computation of the Response of Piezoelectric Composites Using Fourier Transform,” _Physical Review B_ 79 (2009): 184106. 12. N. Bilger, F. Auslender, M. Bornert, et al., “Effect of a Nonuniform Distribution of Voids on the Plastic Response of Voided Materials: A Computational and Statistical Analysis,” _International_ _Journal_ _of_ _Solids_ _and_ _Structures_ 42 (2005): 517–538. 13. J. Paux, R. Brenner, and D. Kondo, “Plastic Yield Criterion and Hardening of Porous Single Crystals,” _International Journal of Solids and Struc-_ _tures_ 132-133 (2018): 80–95. 14. M. Schneider, “A Review of Nonlinear FFT-Based Computational Homogenization Methods,” _Acta Mechanica_ 232 (2021): 2051–2100. 15. S. Lucarini, M. V. Upadhyay, and J. Segurado, “FFT Based Approaches in Micromechanics: Fundamentals, Methods and Applications,” _Mod-_ _elling_ _and_ _Simulation_ _in_ _Materials_ _Science_ _and_ _Engineering_ 30 (2021): 023002. 16. L. Gélébart, “A Simple Extension of FFT-Based Methods to Strain Gradient Loadings-Application to the Homogenization of Beams and Plates With Linear and Non-linear Behaviors,” _Journal of Theoretical, Compu-_ _tational and Applied Mechanics_ (2022). 17. R. Sancho, V. Rey-de Pedraza, P. Lafourcade, R. A. Lebensohn, and J. Segurado, “An Implicit FFT-Based Method for Wave Propagation in Elastic Heterogeneous Media,” _Computer Methods in Applied Mechanics_ _and Engineering_ 404 (2023): 115772. 18. L. Gélébart, “A Modified FFT-Based Solver for the Mechanical Simulation of Heterogeneous Materials With Dirichlet Boundary Conditions,” _Comptes Rendus. Mécanique_ 348 (2020): 693–704. 19. A. Wiegmann, _Fast_ _Elliptic_ _Solvers_ _on_ _Rectangular_ _Parallelepipeds_, Technical Report (Lawrence Berkeley National Laboratory, 1999). 20. H. Grimm-Strele and M. Kabel, “FFT-Based Homogenization With Mixed Uniform Boundary Conditions,” _International Journal for Numer-_ _ical Methods in Engineering_ 122 (2021): 7241–7265. 21. V. Monchiet and G. Bonnet, “FFT Based Iterative Schemes for Composite Conductors With Uniform Boundary Conditions,” _European Jour-_ _nal of Mechanics - A/Solids_ 103 (2024): 105146. 22. L. Gélébart, “FFT-Based Simulations of Heterogeneous Conducting Materials With Combined Non-uniform Neumann, Periodic and Dirichlet Boundary Conditions,” _European Journal of Mechanics - A/Solids_ 105 (2024): 105248. 23. L. Morin and J. Paux, “A Fast Numerical Method for the Conductivity of Heterogeneous Media With Dirichlet Boundary Conditions Based on Discrete Sine–Cosine Transforms,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics and Engineering_ 421 (2024): 116772. ? and not the ?? <sup>??</sup> ? <sup>??</sup> ? <sup>?, but it can be shown that ?</sup> ? <sup>??</sup> ? <sup>??</sup> ? <sup>?</sup> <sup>= ?</sup> ? <sup>??</sup> ? <sup>??</sup> ? <sup>?</sup> <sup>for ?</sup> <sup>≠</sup> ?? + 1, ? ≠ ?? + 1 and ? ≠ ?? + 1. ? <sup>??</sup> ? <sup>?</sup> ? <sup>?, but it can be shown that ?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>= ?</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> 6 It must be noted that this case was previously considered in Morin and Paux [23] using sine series. 7 In Gélébart [22] scheme, the potential field ? is defined at the nodes while its gradient is defined at the pixels’ centers. References 1. H. Moulinec and P. Suquet, “A Numerical Method for Computing the Overall Response of Nonlinear Composites With Complex Microstructure,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_ 157 (1998): 69–94. 2. L. Gélébart, “Amitex” (2022), [https://amitexfftp.github.io/AMITEX](https://amitexfftp.github.io/AMITEX/index.html) [/index.html.](https://amitexfftp.github.io/AMITEX/index.html) 3. D. J. Eyre and G. W. Milton, “A Fast Numerical Scheme for Computing the Response of Composites Using Grid Refinement,” _European Physical_ _Journal - Applied Physics_ 6 (1999): 41–47. 4. M. Kabel, T. Böhlke, and M. Schneider, “Efficient Fixed Point and Newton–Krylov Solvers for FFT-Based Homogenization of Elasticity at Large Deformations,” _Computational Mechanics_ 54 (2014): 1497–1514. 5. J. C. Michel, H. Moulinec, and P. Suquet, “A Computational Method Based on Augmented Lagrangians and Fast Fourier Transforms for Composites With High Contrast,” _Computer Modelling in Engineering & Sci-_ _ences_ 1 (2000): 79–88. 24. L. Risthaus and M. Schneider, Imposing Different Boundary Conditions for Thermal Computational Homogenization Problems With FFT- and Tensor-Train-Based Green’s Operator Methods,” _International_ _Journal for Numerical Methods in Engineering_ 125 (2024): e7423. 25. C. Ye, S. Fu, and E. T. Chung, “A Fast Cosine Transformation Accelerated Method for Predicting Effective Thermal Conductivity,” _Computer_ _Methods in Applied Mechanics and Engineering_ 426 (2024): 116982. 26. M. Rahman, _Applications of Fourier Transforms to Generalized Func-_ _tions_ (Southampton, UK: WIT Press, 2011). 27. G. P. Tolstov, _Fourier Series_ (Mineola, NY: Courier Corporation, 2012). 28. M. Frigo and S. G. Johnson, “FFTW: An Adaptive Software Architecture for the FFT,” in _Proceedings_ _of_ _the_ _1998_ _IEEE_ _International_ _Conference_ _on_ _Acoustics,_ _Speech_ _and_ _Signal_ _Processing,_ _ICASSP’98_ _(Cat._ _No. 98CH36181)_ (Seattle, WA: IEEE, 1998), 1381–1384. 29. L. Morin, R. Brenner, K. Derrien, and K. Dorhmi, “Periodic Smoothing Splines for FFT-Based Solvers,” _Computer_ _Methods_ _in_ _Applied_ _Mechanics and Engineering_ 373 (2021): 113549. 30. F. Willot, B. Abdallah, and Y. P. Pellegrini, “Fourier-Based Schemes With Modified Green Operator for Computing the Electrical Response of Heterogeneous Media With Accurate Local Fields,” _International Journal_ _for Numerical Methods in Engineering_ 98 (2014): 518–533. 31. S. Brisard and L. Dormieux, “FFT-Based Methods for the Mechanics of Composites: A General Variational Framework,” _Computational Mate-_ _rials Science_ 49 (2010): 663–671. 32. J. Zeman, J. Vondrejc,̌ J. Novák, and I. Marek, “Accelerating a FFT-Based Solver for Numerical Homogenization of Periodic Media by Conjugate Gradients,” _Journal_ _of_ _Computational_ _Physics_ 229 (2010): 8065–8071. Appendix A Analytical  <sup>1</sup> Function Verifying the Boundary Conditions A.1 | Neumann Boundary Conditions In the 2D case, the boundary conditions are given by ?? <sup>(0)</sup> 1 − <sup><u>?</u></sup> ?? + + ???? ?? <u>???</u> 4 ?? ?? <u>???</u> 4 ?? <sup>(</sup> ?? <u>???</u> 4 ?? ?? <u>???</u> 4 ?? )2( <u>?</u> ?? )2 ???? ?? <sup>(0)</sup> ( 1 − <sup><u>?</u></sup> ?? 1 − <sup><u>?</u></sup> ?? )2 )2( 1 − <sup><u>?</u></sup> ?? )2( ???? ?? <sup>(??)</sup> ( )2( <u>?</u> ?? )2 ???? ?? <sup>(??)</sup> ( <u>?</u> ?? <u>?</u> ?? (A3) A.2 | Mixed Neumann–Dirichlet Boundary Conditions (On Opposite Faces) We continue with the case of mixed Neumann–Dirichlet boundary conditions in the particular case of similar boundary conditions on opposite faces. For illustrative purposes, let us consider the following 2D case, with Dirichlet conditions prescribed on the top and bottom sides { ??Ω(?) = ??(?) (top side) ??(?) (bottom side) and Neumann conditions prescribed on the left and right sides { (A4) (A5) ??( x ) ⋅ n = ??Ω(?) = ??−??(?) (left side) ??(?) (right side) The functions ??, ??, ??, and ?? must verify the conditions (to ensure the symmetry of the second derivatives of ?) ⎧ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪⎩ <u>???</u> ?? <sup>(0) = −??(0)</sup> <u>???</u> ?? <sup>(??) = ??(0)</sup> <u>???</u> ?? <sup>(0) = −??(??)</sup> <u>???</u> ?? <sup>(??) = ??(??)</sup> (A6) ⎧−??(?) (left side) ⎪ ⎪??(?) (right side) ??( x ) ⋅ n = ??Ω(?)⎨ ⎪??(?) (top side) ⎪⎩−??(?) (bottom side) An example of an analytical  <sup>1</sup> function verifying the boundary conditions in 2-d, denoted by ?0 as in (46), is given by ( + <sup><u>??</u></sup> 2 <sup>??(?)</sup> ( <sup><u>??</u></sup> 2 <sup>??(?)</sup> <u>?</u> ?? (A1) ?0(?, ?) = − <sup><u>??</u></sup> 2 ( <sup><u>??</u></sup> 2 <sup>??(?)</sup> )2 )2 + ??(?) <sup><u>?</u></sup> ?? ( 1 − <sup><u>?</u></sup> ?? ) + ??(?) 1 − <sup><u>?</u></sup> ?? The functions ??, ??, ??, and ?? must verify the following relations (to ensure the symmetry of the second derivatives of ?) ( + <sup><u>??</u></sup> 2 <sup>??(0)</sup> ( <sup><u>??</u></sup> 2 <sup>??(0)</sup> 1 − <sup><u>?</u></sup> ?? ) )2( 1 − <sup><u>?</u></sup> ?? ) )2( <u>?</u> ?? ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪⎩ <u>?????</u> <sup>(0) =</sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <u>???</u> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup>(0)</sup> ( + <sup><u>??</u></sup> 2 <sup>??(??)</sup> ( <sup><u>??</u></sup> 2 <sup>??(??)</sup> 1 − <sup><u>?</u></sup> ?? - <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup>(0)</sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup>(??) =</sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> ) (A2) )2( 1 − <sup><u>?</u></sup> ?? ( - <sup><u>??</u></sup> 2 <sup>??(0)</sup> ( <sup><u>??</u></sup> 2 <sup>??(0)</sup> <u>?</u> ?? <u>?????</u> <sup>(0) = −</sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <u>???</u> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup>(??)</sup> <u>?</u> ?? ( - <sup><u>??</u></sup> 2 <sup>??(??)</sup> (A7) )2( <u>?</u> ) ?? <u>?????</u> <sup>(??) =</sup> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <u>???</u> <sup><u>??</u></sup> ?? <sup><u>?</u></sup> <sup>(??)</sup> An example of an analytical  <sup>1</sup> function verifying the boundary conditions in 2-d, denoted by ?0 as in (46), is given by A.3 | Mixed Neumann–Dirichlet Boundary Conditions We finish with the general case of mixed Neumann–Dirichlet boundary conditions. We consider a 2D case, with Dirichlet conditions prescribed on the top, bottom and left sides ( ?0(?, ?) = − <sup><u>??</u></sup> 1 2 <sup>??(?)</sup> )2 ( <sup><u>??</u></sup> 2 <sup>??(?)</sup> <u>?</u> ?? )2 )2 ??Ω(?) = ⎧ ⎪ ⎨ ⎪⎩ (A8) ( + <sup><u>??</u></sup> 2 <sup>??(?)</sup> )2 ??(?) (top side) ??(?) (bottom side) ??(?) (left side) ( ?? 1 2 <sup>??(?)</sup> ( ?? 1 2 <sup>??(?)</sup> 1 − <sup><u>?</u></sup> ?? 1 − <sup><u>?</u></sup> ?? + ?? ( <u>?</u> 2 <sup>??(?)</sup> ?? ?? ?? and Neumann conditions prescribed on the right side ??( x ) ⋅ n = ??Ω(?) = ??(?) (right side) (A9) The functions ??, ??, ??, ??, and ?? must verify the conditions The integral ???? reads ??? <sup>?</sup> <sup>+ ?</sup> ??? <sup>?</sup> ???? = ? <sup>?</sup> ??? <sup>?</sup> <sup>+ ??</sup> ??? <sup>?</sup> (B5) with ) ) ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)dΩ</sup> (B6) ??(0) = ??(0) ??(??) = ??(0) ???? <sup>?</sup> <sup>=</sup> ∫Ω ⎧ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪⎩ <u>???</u> ?? <sup>(??) = ??(0)</sup> (A10) ???? <sup>?</sup> <sup>=</sup> ∫Ω ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)dΩ</sup> (B7) <u>???</u> ?? <sup>(??) = ??(??).</sup> ) ( <u>???</u> ?? ( ??? ?? ( ??? ?? ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)dΩ</sup> (B8) An example of an analytical  <sup>1</sup> function verifying the boundary conditions in 2-d, denoted by ?0 as in (46), is given by Since, in the definition of the auxiliary problem, the known fields are ??, ??, and ??, and not the partial derivatives involved in Equations (B6), (B7), and (B8), it is interesting to write the integral ????, using integration by parts as done by Morin and Paux [23] in the Dirichlet case. In the case of ???? <sup>?</sup> <sup>(which will be solely presented for concise-</sup> ness), one has ???? <sup>?</sup> <sup>=</sup> ∫Ω ( ?0(?, ?) = ??(?) ) 1 − <sup><u>?</u></sup> ?? + ??(?) <sup><u>?</u></sup> ?? + ??(?) <sup><u>?</u></sup> ( + <sup><u>??</u></sup> 2 <sup>??(?)</sup> ( <sup><u>??</u></sup> 2 <sup>??(?)</sup> <u>?</u> ?? ( + ??(?) 1 ( −??(0) 1 )2 )2( 1 − <sup><u>?</u></sup> ?? ? <sup>?</sup> ???? <sup>?</sup> <sup>=</sup> ∫ 1 − <sup><u>?</u></sup> ?? 1 − <sup><u>?</u></sup> ?? )2 )2( ) ?=?? ?=0 ?=0 ∫ ?=?? (??(??? <sup>??)??(??, ?, ?) −??(0)??(0, ?, ?))</sup> ) ( −??(??) 1 − <sup><u>?</u></sup> ?? )2( <u>?</u> ?? ? <sup>?</sup> (?? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)d?d?−??</sup> ? ? ∫Ω ??(?, ?, ?)? <sup>?</sup> (?? <sup>?</sup> ? <sup>?</sup> <sup>?)</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ( ) ? <sup>?</sup> (?? <sup>??)dΩ</sup> (B9) - <sup><u>????(0)</u></sup> 2 <u>?</u> ?? )2( 1 − <sup><u>?</u></sup> ?? )2( ( )2( <u>?</u> ?? ) - <sup><u>????(??)</u></sup> 2 - <sup><u>????(??)</u></sup> <u>?</u> ?? (A11) In order to reduce to amount of calculations, it is proposed to introduce a function ˜??, whose expression depends on the type of boundary conditions on the ?−faces: ??(?, ?, ?) = ??(?, ?, ?) (DD) ??(?, ?, ?) = ??(?, ?, ?) −??(0, ?, ?) − <sup><u>??(??, ?, ?) −??(0, ?, ?)</u></sup> ? (NN) ?? ??(?, ?, ?) = ??(?, ?, ?) −??(??, ?, ?) (DN) ??(?, ?, ?) = ??(?, ?, ?) −??(0, ?, ?) (ND) (B10) The calculation of ???? <sup>?</sup> <sup>then reduces to</sup> Appendix B Detailed Calculations of the Elementary Integrals Involved in the Weak Formulation The integrals ????, ????, and ???? involved in the weak formulation (52) of the Neumann problem are calculated as follows. - The integral ???? reads ⎧ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪⎩ ( ? <sup>?)2 + (?</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ?∑? +1[ ?=0 ?∑? +1 ?=0 ? ∫Ω ˜??(?, ?, ?)? <sup>?</sup> (?? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)dΩ + ??</sup> ??? <sup>?</sup> (B11) ? <sup>?)2</sup> ) ? <sup>?</sup> ̃ <sup>Φ???</sup> ? <sup>?)2 + (?</sup> ? <sup>?</sup> ? <sup>??</sup> ? <sup>?</sup> ̃ (?? <sup>?)</sup> ???? = ?∑? +1 ?=0 ?? <sup>?</sup> ???? <sup>?</sup> ??? <sup>?</sup> <sup>= −??</sup> ? ? <sup>??)??(?</sup> ? <sup>?</sup> ?=?? ?=0 ?=?? ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>?)d?</sup> ? <sup>??)d?×</sup> ∫ ?=?? ?=0 × ∫ ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ] ? <sup>??)d?</sup> × ∫?=0 ? <sup>?</sup> (?? <sup>?</sup> (B1) where ???? <sup>?</sup> <sup>is related to the constant term arising in the derivative in</sup> the NN case and will be detailed hereafter. For arbitrary functions ˜??, ˜?? and ˜??, the elementary integral defined in Equation (B11) cannot be calculated analytically. It is thus proposed to calculate those integrals approximately, using discrete sine-cosine transforms. This leads to After calculation of the elementary integrals in Equation (B1), it can be shown that (B12) [ (xyz(˜??)) ] −?????? (?? + 1)(?? + 1)(?? + 1) ?? <sup>?</sup> ??? <sup>+ ?</sup> ??? <sup>?</sup> ??? <sup>+ ?</sup> ??? <sup>?</sup> ???? <sup>?</sup> <sup>=</sup> ?????? ?? <sup>)2 + (?</sup> ? <sup>?</sup> ? <sup>?</sup> <sup>)2 + (?</sup> ? <sup>?)</sup> ? <sup>?)2)˜Φ???</sup> (B2) ???? = − ???? ((??? 8 since ?=?? ? <sup>??)??(?</sup> ? <sup>?</sup> ? <sup>??)d?=</sup> <sup><u>?????</u></sup> 2? <sup>?</sup> ∫?=0 ? <sup>?</sup> (?? <sup>?</sup> (B3) (B4) where ˜?? denotes the array of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of the function ˜?? at the grid points. The term ???? <sup>?</sup> <sup>is always null, expect in the case ?= 0 of the NN boundary con-</sup> ditions, where it is given by <sup>0</sup> ? <sup>−?</sup> ? <sup>??</sup> ( ) ?=?? ?=0 (B13) ?? ? <sup>?</sup> <sup>?)d?=</sup> 2?? <sup>?</sup> ????? 2?? <sup>?</sup> ???? = ?0 <sup>?</sup> ?? <sup>= −</sup> <sup><u>(??</u></sup> <sup><u>+ 1)</u></sup> ?? yz(? <sup>0</sup> ? ? <sup>??</sup> <sup>)</sup> ∫ ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> The term ???? finally reads ??? ?=?? ?=0 [ (xyz(̃??)) ? <sup>??)d?=</sup> <sup><u>?????</u></sup> 2? <sup>?</sup> 2?? <sup>?</sup> −?????? (?? + 1)(?? + 1)(?? + 1) ?? <sup>?</sup> ∫ ? <sup>?</sup> (?? <sup>?</sup> ? <sup>??)??(?</sup> ? <sup>?</sup> ??? <sup>+ ?</sup> ? <sup>?</sup> (xyz(̃??))??? <sup>+ ????</sup> ] (B14) with ? the Kronecker symbol. + ?? <sup>?</sup> + ?? <sup>?</sup> (xyz(̃??)) where ??, ?? and ?? respectively denote the arrays of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of functions ˜??, ˜?? and ˜?? at the grid points, and ???? is given by ???? = 0 if ? ≠ 0 and ? ≠ 0 and ? ≠ 0 (B15) ( ( ?0?? = − <sup><u>(??</u></sup> <sup><u>+ 1)</u></sup> ?? ?0?? = − <sup><u>(??</u></sup> <sup><u>+ 1)</u></sup> yz(? <sup>0</sup> ? <sup>0</sup> ? <sup>−?</sup> ? <sup>??</sup> <sup>)</sup> ) ? <sup>??</sup> <sup>)</sup> if NN on ?− faces ?? if NN on ?− faces ?? (?? + 1) ?? ) ) ?? ? <sup>)</sup> ??0? = − xz(? <sup>0</sup> ? <sup>−?</sup> xz(? <sup>0</sup> ? ( <sup>0</sup> ? <sup>−?</sup> ? <sup>??</sup> ???0 = − <sup><u>(??</u></sup> <sup><u>+ 1)</u></sup> ?? ???0 = − <sup><u>(??</u></sup> <sup><u>+ 1)</u></sup> ) xy(? <sup>0</sup> ? ? <sup>??</sup> <sup>)</sup> if NN on ?− faces ?? (B16) ? <sup>??</sup> <sup>denote</sup> <sup>the</sup> <sup>arrays</sup> <sup>of</sup> <sup>sizes</sup> <sup>(?</sup> ? <sup>+</sup> <sup>0</sup> ? <sup>,</sup> <sup>?</sup> ? <sup>??</sup> <sup>0</sup> ? <sup>,</sup> <sup>?</sup> where ? <sup>0</sup> ? ? <sup>??</sup> <sup>,</sup> <sup>?0</sup> ? ??? <sup>,</sup> <sup>?0</sup> ? <sup>0</sup> ? <sup>and</sup> <sup>?</sup> ? <sup>??</sup> 2) × (?? + 2) for ? <sup>0</sup> ? <sup>and ?</sup> ? <sup>??</sup> ? <sup>??</sup> <sup>, (?</sup> ? <sup>+ 2) × (?</sup> ? <sup>+ 2) for ?0</sup> ? ?? ? <sup>, and</sup> <sup>0</sup> ? <sup>and ?</sup> ? <sup>??</sup> <sup>0</sup> ? <sup>and ?</sup> (?? + 2) × (?? + 2) for ? <sup>0</sup> ? (?? + 2) × (?? + 2) for ? <sup>0</sup> ? <sup>and ?</sup> ? <sup>??</sup> <sup>, containing the values of functions</sup> ??, ?? and ?? on the faces. - The integral ???? reads Δ?0( x )? <sup>?</sup> (?? <sup>?</sup> ? <sup>?</sup> <sup>?)??(?</sup> ? <sup>?</sup> ? <sup>??)dΩ</sup> (B17) ???? = ∫Ω ? <sup>??)??(?</sup> ? <sup>?</sup> As previously, this integral cannot be calculated analytically for an arbitrary function ?0. Assuming that the second derivatives of the function ?0 are known analytically, then the integral (B17) can be simply calculated approximately as (xyz(??0))??? (B18) ???? = ?????? (?? + 1)(?? + 1)(?? + 1) where ??0 is the array of size (?? + 2) × (?? + 2) × (?? + 2) containing the values of the function Δ?0 at the grid points. Interestingly, this expression only requires the knowledge of the derivatives of ?0 at the grid points (since the discrete cosine-sine transform only requires values defined at the grid points). Therefore, if the analytical expression of the derivatives of the function ?0 is not known, the integral ???? can still be determined using an approximation of its derivatives (using finite differences for instance).

섹션 본문

섹션 본문이 없습니다.

참고문헌 29건

  1. A Computational Method Based on Augmented Lagrangians and Fast Fourier Transforms for Composites with High Contrast Computer Modeling in Engineering & Sciences · Tech Science Press · 2000 10.3970/cmes.2000.001.239
  2. Applications of Fourier transforms to generalized functions CERN Document Server (European Organization for Nuclear Research) · European Organization for Nuclear Research · 2011
  3. A polarization‐based FFT iterative scheme for computing the effective properties of elastic composites with arbitrary contrast International Journal for Numerical Methods in Engineering · Wiley · 2011 10.1002/nme.3295
  4. Fourier-based schemes with modified Green operator for computing the electrical response of heterogeneous media with accurate local fields International Journal for Numerical Methods in Engineering · Wiley · 2014 10.1002/nme.4641
  5. Effect of a nonuniform distribution of voids on the plastic response of voided materials: a computational and statistical analysis International Journal of Solids and Structures · Elsevier BV · 2004 10.1016/j.ijsolstr.2004.06.048
  6. Accelerating a FFT-based solver for numerical homogenization of periodic media by conjugate gradients Journal of Computational Physics · Elsevier BV · 2010 10.1016/j.jcp.2010.07.010
  7. Numerical computation of the response of piezoelectric composites using Fourier transform Physical Review B · American Physical Society · 2009 10.1103/physrevb.79.184106
  8. 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
  9. Numerical implementation of static Field Dislocation Mechanics theory for periodic media The Philosophical Magazine A Journal of Theoretical Experimental and Applied Physics · Taylor & Francis · 2014 10.1080/14786435.2014.896081
  10. FFT-based methods for the mechanics of composites: A general variational framework Computational Materials Science · Elsevier BV · 2010 10.1016/j.commatsci.2010.06.009
  11. 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
  12. FFTW: an adaptive software architecture for the FFT 2002 10.1109/icassp.1998.681704
  13. Comparison of three accelerated FFT‐based schemes for computing the mechanical response of composite materials International Journal for Numerical Methods in Engineering · Wiley · 2014 10.1002/nme.4614
  14. N-site modeling of a 3D viscoplastic polycrystal using Fast Fourier Transform Acta Materialia · Elsevier BV · 2001 10.1016/s1359-6454(01)00172-0
  15. A fast numerical scheme for computing the response of composites using grid refinement The European Physical Journal Applied Physics · EDP Sciences · 1999 10.1051/epjap:1999150
  16. A FFT-based formulation for efficient mechanical fields computation in isotropic and anisotropic periodic discrete dislocation dynamics Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2015 10.1088/0965-0393/23/6/065009
  17. Plastic yield criterion and hardening of porous single crystals International Journal of Solids and Structures · Elsevier BV · 2017 10.1016/j.ijsolstr.2017.08.030
  18. 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
  19. Periodic smoothing splines for FFT-based solvers Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113549
  20. A review of nonlinear FFT-based computational homogenization methods Acta Mechanica · Springer Science+Business Media · 2021 10.1007/s00707-021-02962-1
  21. FFT‐based homogenization with mixed uniform boundary conditions International Journal for Numerical Methods in Engineering · Wiley · 2021 10.1002/nme.6830
  22. FFT based approaches in micromechanics: fundamentals, methods and applications Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 2021 10.1088/1361-651x/ac34e1
  23. A simple extension of FFT-based methods to strain gradient loadings - Application to the homogenization of beams and plates with linear and non-linear behaviors Journal of Theoretical Computational and Applied Mechanics · Centre pour la Communication Scientifique Directe · 2022 10.46298/jtcam.6790
  24. An implicit FFT-based method for wave propagation in elastic heterogeneous media Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115772
  25. FFT based iterative schemes for composite conductors with uniform boundary conditions European Journal of Mechanics - A/Solids · Elsevier BV · 2023 10.1016/j.euromechsol.2023.105146
  26. Imposing different boundary conditions for thermal computational homogenization problems with FFT‐ and tensor‐train‐based Green's operator methods International Journal for Numerical Methods in Engineering · Wiley · 2024 10.1002/nme.7423
  27. A fast numerical method for the conductivity of heterogeneous media with Dirichlet boundary conditions based on discrete sine–cosine transforms Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.116772
  28. FFT-based simulations of heterogeneous conducting materials with combined non-uniform Neumann, periodic and Dirichlet boundary conditions European Journal of Mechanics - A/Solids · Elsevier BV · 2024 10.1016/j.euromechsol.2024.105248
  29. A fast cosine transformation accelerated method for predicting effective thermal conductivity Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2024 10.1016/j.cma.2024.116982