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

An energy approach to asymptotic, higher-order, linear homogenization

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

기본 정보

저자
  1. Basile Audoly — Laboratoire de mécanique des solides
  2. Claire Lestringant — DALEMBERT - Institut Jean Le Rond d'Alembert (Boite 162 4 place Jussieu 75005 Paris - France)
DOI
10.46298/jtcam.11414
저널
Journal of Theoretical Computational and Applied Mechanics
발행년도
2023
발행기관
Centre pour la Communication Scientifique Directe
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.46298/jtcam.11414
토픽
Composite Material Mechanics
OpenAlex ID
W4378966112

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드
R&D 측면
분석·모델링
확신도
0.70
근거 용어
asymptotic homogenization, discrete elastic structures, architected materials, strain-gradient models, homogenized energy
판단 근거
이 논문은 격자 구조(truss lattice)나 설계된 소재(architected materials)의 거시적 역학적 특성을 예측하기 위한 수학적 균질화(homogenization) 모델링 기법을 다룹니다. 이는 코오롱인더스트리의 복합소재(23)나 보강용 섬유(9, 10)의 미세 구조 설계 및 물성 예측 연구에 응용될 수 있는 이론적 방법론입니다.
R&D 활용 포인트
탄소섬유나 아라미드 등 고강도 섬유가 포함된 복합소재의 미세 구조(microstructure)를 설계할 때, 소재의 거시적 강성 및 변형 특성을 효율적으로 시뮬레이션하고 예측하는 모델링 도구로 활용 가능합니다.
평가 입력
본문 222,459자 중 30,032자 발췌

초록

A higher-order homogenization method for linear elastic structures is proposed. While most existing approaches to homogenization start from the equations of equilibrium, the proposed one works at the energy level. We start from an energy functional depending on microscopic degrees of freedom on the one hand and on macroscopic variables on the other hand; the homogenized energy functional is derived by relaxing the microscopic degrees of freedom and applying a formal two-scale expansion. This method delivers the the energy functional of the homogenized model directly, including boundary terms that have not been discussed in previous work. Our method is formulated in a generic setting which makes it applicable to a variety of geometries in dimension 1, 2 or 3, and without any particular assumption on material symmetry. An implementation using a symbolic calculation language is proposed and it is distributed as an open-source library. Simple illustrations to elastic trusses having pre-stress or graded elastic properties are presented. The approach is presented in the context of discrete elastic structures and the connection with previous work on the higher-order homogenization of period continua is discussed.

본문 222,459자

본문 펼치기
Computational and Applied Mechani ~~cs~~ Identifiers [doi 10.46298/jtcam.11414](https://dx.doi.org/10.46298/jtcam.11414) [hal hal-04112136v4](https://hal.science/hal-04112136v4) History Received Jun 01, 2023 Accepted Sep 26, 2023 Published Dec 18, 2023 Associate Editor Laurence Brassart Reviewers Pierre Seppecher Damiano Pasini Anonymous Jean-François Ganghoffer Open Review [hal hal-04232718v1](https://hal.science/hal-04232718v1) Supplementary Material Software [swhid [SoftwareHeritage]](https://archive.softwareheritage.org/swh:1:dir:788abad82a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9) Licence [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/) ©The Authors diamond open access # An energy approach to asymptotic, higher-order, linear homogenization Basile Audoly <sup>1</sup> and Claire Lestringant <sup>2</sup> 1 Laboratoire de Mécanique des Solides, CNRS, Institut Polytechnique de Paris, 91120 Palaiseau, France 2 Institut Jean Le Rond d’Alembert, Sorbonne Université, CNRS, 75005 Paris, France A higher-order homogenization method for linear elastic structures is proposed. While most existing approaches to homogenization start from the equations of equilibrium, this one works at the energy level. We start from an energy functional depending on microscopic degrees of freedom on the one hand and on macroscopic variables on the other hand; the homogenized energy functional is derived by relaxing the microscopic degrees of freedom and applying a formal two-scale expansion. This method delivers the energy functional of the homogenized model directly, including boundary terms that have not been discussed in previous work. Our method is formulated in a generic setting which makes it applicable to a variety of geometries in dimension 1, 2 or 3. An implementation using a symbolic calculation language is proposed and it is distributed as an open-source library. Simple illustrations to elastic trusses having pre-stress or graded elastic properties are presented. The approach is presented in the context of discrete elastic structures and the connection with previous work on the higher-order homogenization of periodic continua is discussed. Keywords: asymptotic homogenization, discrete elasticity, strain-gradient models ## 1 Introduction This work addresses the growing need for effective models capturing accurately the mechanical response of architected materials produced, _e.g._, by additive manufacturing techniques. In these materials, finite-size effects are not captured by standard (Cauchy) continuum models. Generalized continua theories, including higher-order (gradient) terms or micropolar fields have been introduced to overcome this limitation. Among various strategies proposed to obtain such models, asymptotic analysis offers a rigorous and fully predictive tool to derive exact higher-order or micropolar contributions without resorting to ad-hoc kinematic assumptions (Boutin 2019). Asymptotic homogenization is a well-established technique for either discrete or continuous periodic microstructures. It aims at deriving an equivalent macroscopic set of equilibrium equations by means of a formal two-scale expansion, see (Sanchez-Palencia 1980; Bakhvalov and Panasenko 1989; Cioranescu and Donato 1999; Cioranescu and Paulin 1999) among others. The results of classical periodic homogenization are recovered at leading order. Later contributions focussed on pushing the asymptotic expansion to higher-orders, with the aim of deriving gradient contributions, either as small correctors to the leading-order prediction (Gambin and Kröner 1989; Boutin 1996; Smyshlyaev and Cherednichenko 2000; Hans and Boutin 2008; Bacigalupo 2014; Le and Marigo 2018; Abali and Barchiesi 2021) or as a non-local leading-order model when the standard equivalent medium is degenerate (Boutin and Soubestre 2011; Abdoul-Anziz and Seppecher 2018a; Abdoul-Anziz and Seppecher 2018b; Abdoul-Anziz et al. 2019; Durand et al. 2022). Asymptotic analysis has also been used to derive micropolar effective theories (Bažant and Christensen 1972; Dos Reis and Ganghoffer 2012; Nassar et al. 2020). In spite of a large body of existing work, some aspects of higher-order homogenization remain elusive. Besides the question of applicable boundary conditions which is largely overlooked in existing work, most contributions typically start from the strong form of the equilibrium equations thus loosing the variational structure of the initial problem (some try to reconstruct the effective energy a posteriori, but systematically ignore boundary terms). Besides, natural extensions such as pre-stress or slow spatial variations of the elastic or geometric properties of the microstructure are rarely addressed, especially in higher-order contributions. In this paper, we adapt our earlier work on higher-order, nonlinear asymptotic dimension reduction (Lestringant and Audoly 2020) to linear homogenization of discrete elastic structures, such as elastic trusses or networks of elastic beams. Based on formal arguments, we propose a homogenization method that is directly applicable to any given discrete microstructure (the connection with the homogenization of periodic continua is discussed in Section 7. We carry out homogenization at the energy level, thereby following the pioneering work of (Le and Marigo 2018). As a benefit, important simplifications are made during the homogenization procedure, allowing the higher-order homogenized model to be obtained in compact form via a formal, systematic expansion. In addition, our method is versatile and allows for natural extensions such as the case of pre-stressed structures. We also keep track of boundary terms that have been ignored in previous work. Lastly, our method is implemented in a symbolic calculation language and distributed as an open-source library named `shoal`, for Second-order HOmogenization Automated in a Library (Audoly 2023). Our method starts from an energy formulation derived by applying a continuum approximation to a _linear_ discrete microstructure. This preliminary continualization step is not strictly part of this paper; it is briefly illustrated based on an example. We apply to this continualized energy a two-scale expansion, assuming slow variations for macroscopic quantities such as strains and lattice properties, and rapid variations for the degrees of freedom at the microstructural scale. Our method aims at condensing out these rapidly varying fields, by solving an energy stationarity problem order by order. Constraints are included from the onset in the energy formulation, which helps making the derivation compact. The procedure involves solving a set of elementary linear-algebra problems, and is implemented in a formal calculation language. ## 2 Input to the homogenization procedure In this section, we present the elastic model serving as the starting point of the homogenization procedure. It is formulated in a continuous domain Ω ⊂ R <sup>_?_</sup> of the _?_ -dimensional Euclidean space. The elastic model is specified in an abstract and generic form, making the homogenization procedure applicable to a broad range of situations including both periodic continua and discrete structures—such as one-dimensional (beam-like), two-dimensional (plate-like) and three-dimensional (bulk) elastic trusses. It is also versatile enough to handle structures possessing slowly modulated properties or pre-stress, as illustrated in Sections 4.1 and 4.2, respectively. The task of casting a given problem into the generic form proposed in this section is not particularly difficult but has to be carried out on a case-by-case basis: this aspect is barely touched upon in Section 4 and will be illustrated in follow-up papers. When the structure under study is a discrete elastic truss, this preliminary step involves a so-called _continualization_ assumption that turns the original discrete energy into the _continuous_ energy functional used as a starting point in this paper, see Equation (4) and the discussion in Section 4.1. We limit attention to _linear_ homogenization problems. The extension to nonlinear homogenization can be done by adapting our previous work on nonlinear dimension reduction (Lestringant and Audoly 2020; Audoly and Lestringant 2021). 2.1 Energy formulation of the input model We proceed to specify the continuous elastic model used as an input to the homogenization procedure. The presentation is intentionally abstract: illustrations will be provided in Section 4. The model is formulated over a continuous domain Ω ⊂ R <sup>_?_</sup>, and we denote by _?_ ∈ Ω the space variable, see Figure 1. A deformed configuration of the elastic body is parameterized by three vector fields _?_ ( _?_ ), _?_ ( _?_ ) and _?_ ( _?_ ) defined over Ω: - _microscopic degrees of freedom ?_ ( _?_ ) ∈ R <sup>_??_</sup> which we seek to eliminate using the homogenization procedure, _n_ d _a_ _X_ Ω _L_ ∼ _ℓ_ / _η_ ∂Ω ∇ _m_ ∼ _ℓ_ Figure 1 Typical application of the method: homogenization of a beam lattice in a domain Ω ⊂ R <sup>_?_</sup>, here with _?_ = 2. In this stylized representation of the beam lattice, the gradient of material parameters ∇ _?_ includes both gradients of elastic properties (varying thickness of beams) and geometry (mesh curvature). The mathematical domain Ω where we carry out homogenization is strictly included in the physical domain of the lattice to avoid boundary layers. The elastic lattice depicted above serves as an illustration: the homogenization method is presented in an abstract setting that does not make any reference to a lattice. - _macroscopic variables_ which are held fixed during homogenization, namely: – the _macroscopic strain ?_ ( _?_ ) ∈ R <sup>_??_</sup> – _variable material parameters ?_ ( _?_ ) ∈ R <sup>_??_</sup> . The integers _??_, _??_ and _??_ are input parameters of the homogenization procedure. The goal of the procedure is to slave the microscopic degrees of freedom _?_ to the macroscopic variables _?_ and _?_, thereby delivering a homogenized model depending on _?_ and _?_ only. The difference between the macroscopic variables _?_ and _?_ is that _?_ captures the slowly variable properties of the elastic structure which are prescribed once for all, although _?_ is considered fixed during the homogenization procedure but is actually an unknown of the structural problem that the homogenized energy helps solving. In addition, the input model makes use of _microscopic_ strain variables, which are collected into a vector _?_ ∈ R <sup>_??_</sup> . The geometric definition of the strain _?_ is assumed to be of the form _?_ = _?_ ( _?_ ( _?_ ); _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _,_ ∇ <sup>2</sup> _?_ ( _?_ ) _, . . ._ ; _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _,_ ∇ <sup>2</sup> _?_ ( _?_ ) _, . . ._ ) (1) where the dependence on the macroscopic strain _?_ and of the microscopic degrees of freedom _?_ and their gradients is linear in the context of linear elasticity, _?_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</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>′′</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> _?_ <sup>′′</sup> + _?_ _?_ ( _?_ ) · _?_ + _?_ _?_ <sup>′</sup> Here, _?_ ∈ R <sup>_??_</sup>, _?_ <sup>′</sup> = ∇ _?_ ∈ T <sup>(</sup> <sup>_??_</sup> <sup>_,?_</sup> <sup>)</sup>, _?_ <sup>′′</sup> = ∇ <sup>2</sup> _?_ ∈ T <sup>(</sup> <sup>_??_</sup> <sup>_,?,?_</sup> <sup>)</sup>, _?_ ∈ R <sup>_??_</sup>, _?_ <sup>′</sup> = ∇ _?_ ∈ T <sup>(</sup> <sup>_??,?_</sup> <sup>)</sup>, _?_ <sup>′′</sup> = ∇ <sup>2</sup> _?_ ∈ T <sup>(</sup> <sup>_??,?,?_</sup> <sup>)</sup> are dummy variables representing the local values of _?_, _?_ and their successive gradients. The homogenization procedure is implemented in a symbolic calculation language, and the tensors _??_ ( _?_ ) ∈ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup>, _??_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> <sup>,</sup> <sup>_?_</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>_,?,?_</sup> <sup>)</sup> <sup>, ...,</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>),</sup> and the tensors _??_ ( _?_ ) ∈ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup>, _??_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> <sup>,</sup> <sup>_?_</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>_,?,?_</sup> <sup>)</sup> <sup>, ...,</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>),</sup> _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??,?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??,?,?_</sup> <sup>)</sup> <sup>are provided as input, see Table 1, in the form of</sup> _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??,?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??,?,?_</sup> <sup>)</sup> <sup>are provided as input, see Table 1, in the form of</sup> symbolic, tensor-valued functions of _?_ . Expressions for these tensors that are applicable to specific examples are provided in Section 4, see Table 4. Our tensor notations such as T <sup>(</sup> <sup>_??_</sup> <sup>_,?,?_</sup> <sup>)</sup> for tensor spaces are given in Appendix A. _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??,?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> _?_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>T(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> <sup>,</sup> <sup>_?_</sup> _?_ <sup>′′</sup> Remark 1 We work in the discrete case, _i.e._, assume a finite number ( _??_ _<_ ∞) of microscopic degrees of freedom. This is typically relevant to elastic truss structures, see Section 4. The extension of the method to infinitely many microscopic degrees of freedom ( _??_ = ∞), relevant to periodic continua, is discussed in Section 7. Remark 2 We will present the homogenization method without providing definitions of the macroscopic strain _?_, variable material parameters _?_ and microscopic degrees of freedom _?_ . These quantities can be anything as long as they match the postulated forms of the strain, constraints and energy in Equations (2) to (5). This abstract presentation makes the method quite versatile, and opens up the way for extensions that we will cover in future work. Specific choices of _?_, _?_ and _?_ are proposed in the illustration examples (Section 4). The model used on input may make use of constraints and we denote by _?_ c ⩾ 0 the number of applicable (scalar) kinematic constraints. By convention, the left-hand sides of these kinematic constraints are incorporated into the microscopic strain vector _?_ ∈ R <sup>_??_</sup>, and are extracted from _?_ using an appropriate matrix Q ∈ T <sup>(</sup> <sup>_?_</sup> <sup>c</sup> <sup>_,??_</sup> <sup>)</sup> . In view of this, the kinematic constraints are written in the form Q - _?_ ( _?_ ( _?_ ); _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _, . . ._ ; _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _, . . ._ ) = 0 _?_ c ∀ _?_ _._ (3) Section 4 provides a specific illustration on how _?_ and Q can be set up to conform to Equation (3). The constant tensor Q is provided as an input of the homogenization procedure, see Table 1. In the input model, the strain energy is assumed to be of the form Φ[ _?, ?_ ; _?_ ] = ∫ Ω _?_ ( _?_ ( _?_ ) _, ?_ ( _?_ ( _?_ ); _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _, . . ._ ; _?_ ( _?_ ) _,_ ∇ _?_ ( _?_ ) _, . . ._ ))d _?,_ (4) where the strain energy density in the bulk term is given in the context of linear elasticity by _?_ ( _?, ?_ ) = <sup><u>1</u></sup> (5) 2 <sup>_?_</sup> <sup>·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>_._</sup> Explicit expressions of the strain _?_, energy Φ and elasticity matrix K appearing in (4–5) will be provided in the illustration Section 4, see for example (33–34) The elasticity tensor K ( _?_ ) ∈ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> is provided as an input to the homogenization method in the form of a tensor-valued, symbolic function of _?_, see Table 1. The square brackets around the arguments of Φ[ _?, ?_ ; _?_ ] in the left-hand side of Equation (4) denote a _functional_ dependence: the strain energy Φ depends on the _functions ?_, _?_ and _?_ over the entire domain Ω. The list of parameters passed as an input to the homogenization procedure is recapitulated in Table 1. nature tensor space symmetries _?_ ⩾ 1 space dimension _??_ ⩾ 0 number of material parameters _??_ ⩾ 0 number of macroscopic degrees of freedom _??_ ⩾ 0 number of microscopic degrees of freedom _??_ ⩾ _?_ c number of strain variables _?_ c number of kinematic constraints _??_ ( _?_ ) dependence of strain on _?_ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> _??_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> dependence of strain on ∇ _?_ T <sup>(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> _??_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> dependence of strain on ∇ <sup>2</sup> _?_ T <sup>(</sup> <sup>_??,??_</sup> <sup>_,?,?_</sup> <sup>)</sup> _?_ 34 _?_ _?_ ( _?_ ) dependence of strain on _?_ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> _?_ _?_ <sup>′</sup> ( _?_ ) dependence of strain on ∇ _?_ T <sup>(</sup> <sup>_??,??,?_</sup> <sup>)</sup> _?_ _?_ <sup>′′</sup> ( _?_ ) dependence of strain on ∇ <sup>2</sup> _?_ T <sup>(</sup> <sup>_??,??,?,?_</sup> <sup>)</sup> _?_ 34 Q constraint extraction, see Equation (3) T <sup>(</sup> <sup>_?_</sup> <sup>c</sup> <sup>_,??_</sup> <sup>)</sup> K ( _?_ ) stiffness matrix, see Equation (5) T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> _?_ 12 Table 1 List of parameters passed as an input to the homogenization procedure. The notation used in the last two columns is defined in Appendix A. Remark 3 This formulation of the input model is designed to be versatile. For instance, the presence of pre-strain can be accommodated by adding a coefficient capturing the pre-strain intensity as an additional entry in the vector _?_ (whose definition is up to the user), and by propagating it to _?_ by an appropriate definition of _??_ ( _?_ ), as illustrated in Section 4.2. Similarly, the presence of pre-stress can be accommodated by including a constant entry with value 1 in _?_, propagating it to _?_, and inserting the pre-stress into the corresponding rows and column of K . 2.2 Assumption of slow variations One of the key assumptions of homogenization is that there is a separation of scales between a microscopic length _ℓ_ (typically the spatial period of the underlying discrete lattice or periodic continuum) and the size _?_ of the domain, _ℓ_ ≪ _?_, as sketched in Figure 1. The goal of homogenization is to deliver an effective model applicable at the macroscopic scale _?_, by hiding the ‘details’ taking place at the microscopic scale _ℓ_ . Mathematically, this separation of scale is captured by the small parameter _?_ = _?_ <sup>_ℓ_</sup> <sup>≪</sup> <sup>1</sup> <sup>_._</sup> (6) The various fields _?_ ( _?_ ), such as _?_ = _?_, _?_ = _?_ or _?_ = _?_, are assumed to depend on the variable _?_ evolving on the slow scale _?_ = _ℓ_ / _?_, implying that their successive gradients scale as ∇ <sup>_?_</sup> _?_ ( _?_ ) = O( _?_ <sup>_?_</sup> ) _._ (7) In the following, the gradient ∇ = _?_ / _??_ will therefore be treated _implicitly_ as a small quantity of order _?_ . This implicit notation has the benefit of avoiding a large number of predictable occurrences of the parameter _?_, as discussed in Remark 4 below. The scaling assumption Equation (7) is not applicable in the layers that are present near the boundaries or near the point of application of point-like force. The homogenization domain Ω therefore needs to be slightly smaller than the actual physical domain of the elastic body, as shown in Figure 1 (see also Equation [1] in the work of (Abdoul-Anziz and Seppecher 2018b) for an accurate description of how Ω can be shrunk). Alternatively, boundary layers can be solved rigorously and represented in the homogenized model by means of effective boundary terms, see for example (David et al. 2012), but this is beyond the scope of the present work. Remark 4 The scaling assumption Equation (7) can be motivated as follows. By convention, we consider the microscopic length _ℓ_ to be _ℓ_ = O(1) and the macroscopic length to be _?_ = O( _?_ <sup>−1</sup> ). In our <u>notation, any macroscopic field</u> _?_ such as _?_, _?_ or _?_ is implicitly a function of the slow variable _?_ = _??_, _i.e._, what we write as _?_ ( _?_ ) should be spelled out as _?_ ( _?_ ) = _?_ ( _??_ ), where _?_ is a dimensionless function, independent of _?_ . The gradients can then be obtained as ∇ <sup>_?_</sup> _?_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ <sup>_??_</sup> <sup>_???_</sup> _~~?~~_ _??_ <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_??_</sup> <sup>_???_</sup> _??_ _~~?~~_ _?_ ( _??_ ) _,_ (8) _??_ _~~?~~_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>=</sup> <sup>_??_</sup> <sup>∇</sup> where ∇ _~~?~~_ _?_ = O(1) denotes the gradient with respect to the slow variable: this implies the scaling assumption ∇ <sup>_?_</sup> _?_ ( _?_ ) = O( _?_ <sup>_?_</sup> ) in Equation (7). The formal rule (7) dispenses with a notation for the slow variable. Remark 5 The dependence on _?_ ( _?_ ) of the strain _?_ in Equations (1) to (2) and of the energy density _?_ in Equations (4) to (5) allows one to handle the case of structures whose elastic properties vary over the large scale _?_ = _ℓ_ / _?_, as conveyed by the variations in thickness of the microstructure sketched in Figure 1. The definition of _?_ ( _?_ ) is entirely up to the user. For a 2D elastic truss possessing rotational symmetry, for instance, one could define _?_ ( _?_ ) = ( _?_ 1 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 2 <sup>2)1/2</sup> <sup>and</sup> <sup>_??_</sup> <sup>= 1</sup> to capture the dependence of the local truss properties on the distance to the center of symmetry. In the case of variable properties without any particular symmetry, one should set _?_ ( _?_ ) = _?_ and _??_ = _?_ . When specifying the input model, one should ensure that any dependence of the properties of the elastic medium on the slow variable _?_ takes place through the quantity _?_ ( _?_ ), as illustrated in Section 4. For structures having uniform properties over the large scale, one can ignore any dependence on _?_ and set _??_ = 0, see Appendix D. ## 3 Summary of the main results 3.1 Homogenization as a partial energy relaxation In this paper, we identify an equivalent continuum by making stationary the functional Φ in Equation (4) over the microscopic degrees of freedom _?_ ( _?_ ) for a fixed distribution of the macroscopic variables _?_ ( _?_ ) and _?_ ( _?_ ). The stationary point is denoted as _?_ <sup>_★_</sup> [ _?, ?_ ], and will be assumed to be unique—as indicated by the square brackets, the stationary point _?_ <sup>_★_</sup> is a _functional_ of _?_ and _?_ ; it is also a function of _?_, whose values are denoted as _?_ <sup>_★_</sup> [ _?, ?_ ]( _?_ ). In view of (2–3), the kinematic constraint can be written as Q - <sup>�</sup> _?_ _?_ ( _?_ ( _?_ ))· _?_ ( _?_ )+ _?_ _?_ <sup>′</sup> In view of (2–3), the kinematic constraint can be written as Q - <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>_?_</sup> <sup>) +</sup> <sup>_. . ._</sup> <sup>�</sup> <sup>= 0 ∀</sup> <sup>_?_</sup> <sup>. It is treated using Lagrange</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>= 0 ∀</sup> <sup>_?_</sup> <sup>. It is treated using Lagrange</sup> multipliers _?_ ( _?_ ) ∈ R <sup>_?_</sup> <sup>c</sup> . The variational problem takes the following form: for given _?_ and _?_, we seek the solution ( _?, ?_ ) = ( _?_ <sup>_★_</sup> [ _?, ?_ ] _, ?_ <sup>_★_</sup> [ _?, ?_ ]) of   (9a) (9b) Q - _?_ _?_ ( _?_ ( _?_ )) · _?_ ( _?_ ) + _?_ _?_ <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>))</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_. . ._</sup> = 0 _,_ ∀ _?_ D _?_ Φ[ _?, ?,_ _?_ ; _??_ ] + ∫ Ω _?_ ( _?_ ) · Q _?_ _?_ ( _?_ ( _?_ )) · _??_ ( _?_ ) + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>: ∇</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_. . ._</sup> d _?_ = 0 _,_ ∀ _??._ where D _?_ Φ[ _?, ?,_ _?_ ; _??_ ] = lim _?_ →0 (Φ[ _?,_ _?_ + _???_ ] − Φc [ _?,_ _?_ ]) / _?_ denotes the directional derivative and _??_ ( _?_ ) is an arbitrary perturbation. Equation (9a) warrants that the stationary point _?_ = _?_ <sup>_★_</sup> [ _?, ?_ ] satisfies the kinematic constraint, while Equation (9b) warrants that it is indeed a stationary point among the _?_ ’s satisfying the kinematic constraints—the integral term takes care of these constraints by multiplying the Lagrange multipliers by the incremental form of the constraint, as usual in the calculus of variations. Having slaved the microscopic degrees of freedom _?_ = _?_ <sup>_★_</sup> [ _?, ?_ ] to the macroscopic variables, we can define a homogenized energy functional Φ <sup>_★_</sup> [ _?, ?_ ] by inserting the stationary point _?_ <sup>_★_</sup> [ _?, ?_ ] into the original Φ, Φ <sup>_★_</sup> [ _?, ?_ ] = Φ[ _?, ?,_ _?_ <sup>_★_</sup> [ _?, ?_ ]] _._ (10) The main goal of this paper is to derive an explicit expression of the homogenized functional Φ <sup>_★_</sup> . The stationary point problem in (9) can be written formally as _?_ <sup>_★_</sup> [ _?, ?_ ] = stpt _?_ such that Q - _?_ =0 ∀ _?_ Φ[ _?, ?,_ _?_ ] _._ (11) Equations (10) and (11) are at the heart of our variational approach to homogenization. They can be motivated as follows, by considering the broader structural problem of interest: a discrete truss, for instance, is governed by a total potential energy Ψ[ _?, ?_ ] + Φ[ _?, ?,_ _?_ ], where Φ[ _?, ?,_ _?_ ] is the strain energy of the truss and Ψ[ _?, ?_ ] is the potential energy of the applied loading (under standard scaling assumptions, the latter does not depend on the microscopic degrees of freedom _?_ ). Recalling that the variable elastic properties _?_ ( _?_ ) are fixed by design, the full elastic problem is solved by making the total potential energy Ψ[ _?, ?_ ] + Φ[ _?, ?,_ _?_ ] stationary with respect to both the macroscopic unknowns _?_ ( _?_ ) and the microscopic ones _?_ ( _?_ ), subjected to the kinematic conditions Q - _?_ = 0, ∀ _?_ . Homogenization consists simply in enforcing the stationarity conditions sequentially, with respect to the microscopic degrees of freedom _?_ first and to the macroscopic strain _?_ next. Indeed, the stationarity condition of Ψ[ _?, ?_ ] + Φ[ _?, ?,_ _?_ ] with respect to _?_ is nothing but that considered in (11), given that Ψ[ _?, ?_ ] does not depend on _?_ . Next, it can be checked that the stationarity condition with respect to _?_ of Ψ[ _?, ?_ ] + Φ[ _?, ?,_ _?_ ] is equivalent to the stationarity condition of the modified functional Ψ[ _?, ?_ ] + Φ <sup>_★_</sup> [ _?, ?_ ] based on the homogenized strain energy Φ <sup>_★_</sup> introduced in (10). This argument not only provides a justification to Equations (10) and (11), it also explains why the homogenized energy Φ <sup>_★_</sup> [ _?, ?_ ] can be used as a substitute for the original energy Φ[ _?, ?,_ _?_ ] in the analysis of the structural problem. The homogenization works under the assumption that the energy is positive-definite in the subspace of admissible microscopic degrees of freedom, _i.e._, �∀( _?,_ _?_ ≠ 0) such that Q - _?_ _?_ ( _?_ )· _?_ = 0� ( _?_ _?_ ( _?_ )· _?_ )· K ( _?_ )·( _?_ _?_ ( _?_ )· _?_ ) _>_ 0 _._ (12) As we will see, this is a necessary condition for the variational problem (9) to have a unique solution at leading order. It is also a sufficient condition for the homogenization procedure to produce a result up to second-order. 3.2 Homogenization results in compact form The variational problem (9) is impossible to solve in closed form in general but thanks to the assumption of scale separation (Section 2.2), we can derive the following approximation of Φ <sup>_★_</sup> [ _?, ?_ ], 2 - _?_ [ _?_ ] : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> Φ <sup>_★_</sup> [ _?, ?_ ] = ∫ - _?_ [ _?_ ] : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> + _?_ [ _?_ ] ∴ ( _?_ ⊗∇ _?_ ) + _?_ [ _?_ ] :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> - d _?_ + Ω 2 2 ∮ - - _<u>?</u>_ ⊗ _<u>?</u>_ - ∫ Ω <sup>⊗</sup> <sup>_<u>?</u>_</sup> + _?_ [ _?_ ] ∴ ( _?_ ⊗∇ _?_ ) + _?_ [ _?_ ] :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 2 _?_ [ _?_ ] ∴ - _<u>?</u>_ ⊗ _<u>?</u>_ ⊗ _?_ 2 + _?_ [ _?_ ] :: ( _?_ ⊗∇ _?_ ⊗ _?_ ) d _?_ + O( _?_ <sup>_?_</sup> _?_ <sup>3</sup> ) _._ (13) _?_ Ω In the boundary terms ∮ _?_ Ω <sup>_. . ._</sup> <sup>d</sup> <sup>_?_</sup> <sup>in the second line,</sup> <sup>_?_</sup> <sup>Ω denotes the boundary of the domain,</sup> <sup>_?_</sup> is the unit outward normal, and d _?_ the area (if _?_ = 3) or the length (if _?_ = 2) of a boundary element, see Figure 1. The typographical variant of the integral sign ∮ will be used throughout In the boundary terms ∮ ∮ element, see Figure 1. The typographical variant of the integral sign ∮ will be used throughout for boundary integrals. The dimension and symmetries of the homogenized tensors _?_, _?_, _?_, _?_ and _?_ are specified in Table 2. Our main result is to derive their expansion in the successive gradients ∇ <sup>_?_</sup> _?_ = O( _?_ <sup>_?_</sup> ), _?_ [ _?_ ] = _?_ 0( _?_ ) + _?_ 1( _?_ ) : ∇ _?_ + _?_ 2( _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + - · · _?_ [ _?_ ] = _?_ 0( _?_ ) + _?_ 1( _?_ ) : ∇ _?_ + - · · _?_ [ _?_ ] = _?_ 0( _?_ ) + - · · _?_ [ _?_ ] = _?_ 1( _?_ ) : ∇ _?_ + - · · _?_ [ _?_ ] = _?_ 0( _?_ ) + - · · (14) The tensors _??_ ( _?_ ), _??_ ( _?_ ), _?_ 0( _?_ ), _?_ 1( _?_ ) and _?_ 0( _?_ ) appearing in the right-hand sides of (14) are obtained in explicit form in terms of the local material parameters _?_ in Appendix B, see (B.12), and in Appendix C, see Appendices C.5 and C.10. Their properties are listed in Table 3. This completes the specification of the homogenized model (13) up to order _?_ <sup>2</sup> included. Table 2 Dimensions and symmetries of the tensors appearing in the homogenized energy functional in (13). tensor space symmetry _?_ [ _?_ ] T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>)</sup> _?_ 12 _?_ [ _?_ ] T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?_</sup> <sup>)</sup> _?_ [ _?_ ] T <sup>(</sup> <sup>_??_</sup> <sup>_,?,??_</sup> <sup>_,?_</sup> <sup>)</sup> _?_ {12}{34} _?_ [ _?_ ] T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?_</sup> <sup>)</sup> _?_ 12 _?_ [ _?_ ] T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?,?_</sup> <sup>)</sup> _?_ [ _?_ ] T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> _?_ <sup>′</sup> [ _?_ ] T <sup>(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> The expansion (13–14) is established in Section 5 by solving the variational problem (9) for _?_ order by order in _?_ . The solution is found in the form _?_ <sup>_★_</sup> [ _?, ?_ ]( _?_ ) = _?_ [ _?_ ]( _?_ ) · _?_ ( _?_ ) + _?_ <sup>′</sup> [ _?_ ]( _?_ ) : ∇ _?_ ( _?_ ) + O( _?_ <sup>2</sup> ) (15) where _?_ [ _?_ ] and _?_ <sup>′</sup> [ _?_ ] are given as expansions in the successive gradients of _?_, _?_ [ _?_ ]( _?_ ) = _?_ 0( _?_ ( _?_ )) + _?_ 1( _?_ ( _?_ )) : ∇ _?_ ( _?_ ) + · · · (16) 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> _?_ <sup>′</sup> [ _?_ ]( _?_ ) = _?_ 0 <sup>′</sup> tensor space symmetry usage _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>)</sup> _?_ 12 Φ <sup>_★_</sup> [0] <sup>=</sup> _?_ 1 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,??,?_</sup> <sup>)</sup> _?_ 12 Φ <sup>_★_</sup> [1] <sup>=</sup> _?_ 2 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,??,?,??,?_</sup> <sup>)</sup> _?_ 12, _?_ {34}{56} Φ <sup>_★_</sup> [2] <sup>=</sup> _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?_</sup> <sup>)</sup> - Φ <sup>_★_</sup> [1] <sup>=</sup> _?_ 1 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?,??,?_</sup> <sup>)</sup> - Φ <sup>_★_</sup> [2] <sup>=</sup> _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,?,??_</sup> <sup>_,?_</sup> <sup>)</sup> _?_ {12}{34} Φ <sup>_★_</sup> [2] <sup>=</sup> _?_ 1 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?,??,?_</sup> <sup>)</sup> _?_ 12 Φ <sup>_★_</sup> [2] <sup>=</sup> _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>_,?,?_</sup> <sup>)</sup> - Φ <sup>_★_</sup> [2] <sup>=</sup> _?_ Ω <sup>_?_</sup> <sup>0</sup> <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>::</sup> <sup>(</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>+ · · ·</sup> Ω <sup>_?_</sup> <sup>0</sup> <sup>:</sup> <sup>_<u>?</u>_</sup> <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <u>∫</u> ∫ ∫ <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>d</sup> <sup>_?_</sup> <sup>+ · · ·</sup> <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>d</sup> <sup>_?_</sup> Ω <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_<u>?</u>_</sup> <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>d</sup> <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>_<u>?</u>_</sup> <sup><u>⊗</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> ∫Ω <sup>_?_</sup> <sup>0</sup> <sup>∴</sup> <sup>(</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>+ · · ·</sup> ∫Ω <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>(</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>+ · · ·</sup> ∫Ω ∫Ω ∮ _?_ ∮ Ω <sup>_?_</sup> <sup>0</sup> <sup>::</sup> <sup><u>∇</u></sup> <sup>_<u>?</u>_</sup> <sup><u>⊗∇</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup><u>⊗∇</u></sup> <u>2</u> <sup>_<u>?</u>_</sup> d _?_ + · · · _?_ Ω <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> - _<u>?</u>_ <u>⊗2</u> _<u>?</u>_ ⊗ _?_ d _?_ + · · · _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> - _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>0</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> _?_ 1 ( _?_ ) T <sup>(</sup> <sup>_??,??,?,??_</sup> <sup>)</sup> - _?_ <sup>_★_</sup> [1] <sup>=</sup> <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>+ · · ·</sup> 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> T <sup>(</sup> <sup>_??,??_</sup> <sup>_,?_</sup> <sup>)</sup> - _?_ <sup>_★_</sup> [ _?_ 0 <sup>′</sup> <sup>_★_</sup> [1] <sup>=</sup> <sup>_?_</sup> 0 <sup>′</sup> 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>+ · · ·</sup> _?_ 0 ( _?_ ) T <sup>(</sup> <sup>_?_</sup> <sup>c</sup> <sup>_,??_</sup> <sup>)</sup> - _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>0</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> Table 3 Tensors delivered by the homogenization procedure, defining the homogenized model in Equations (13) and (14). and the localization tensors _?_ 0( _?_ ), _?_ 1( _?_ ) and _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>) are derived in explicit form in terms of the</sup> variable material parameters _?_ in the Appendix, see (B.8) and (C.48). 3.3 Homogenization results in the form of a systematic expansion The various contributions to Φ <sup>_★_</sup> in (13) can be grouped order by order as follows, by inserting (14) into (13) and using (7): - The leading-order contribution Φ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>(</sup> <sup>_???_</sup> <sup>0)</sup> <sup>is given by</sup> Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω _?_ 0( _?_ ) : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> (17) 2 <sup>d</sup> <sup>_?,_</sup> and characterizes an equivalent Cauchy medium through a homogenized stiffness tensor _?_ 0( _?_ ) depending only on the local material parameters _?_ : this homogenized stiffness _?_ 0( _?_ ) matches that predicted by classical homogenization. - The first correction Φ <sup>_★_</sup> [1] <sup>=</sup> <sup>_?_</sup> <sup>(</sup> <sup>_???_</sup> <sup>1) is given by</sup> d _?_ _._ (18) �( _?_ 1( _?_ ) : ∇ _?_ ) : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> + _?_ 0( _?_ ) ∴ ( _?_ ⊗∇ _?_ ) 2 Φ <sup>_★_</sup> [1] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω - The second correction Φ <sup>_★_</sup> [2] <sup>=</sup> <sup>_?_</sup> <sup>(</sup> <sup>_???_</sup> <sup>2) is given by</sup> d _?_ (19) Φ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>=</sup> + ∫ Ω ∮ _?_ Ω - ( _?_ 2( _?_ ) :: (∇ _?_ ⊗∇ _?_ )) : <sup>_<u>?</u>_</sup> <sup><u>⊗</u></sup> 2 <sup>_<u>?</u>_</sup> ( _?_ 1( _?_ ) : ∇ _?_ ) ∴ 2 + ( _?_ 1( _?_ ) : ∇ _?_ ) ∴ ( _?_ ⊗∇ _?_ ) + _?_ 0( _?_ ) :: <sup><u>∇</u></sup> <sup>_<u>?</u>_</sup> <sup><u>⊗∇</u></sup> 2 <sup>_<u>?</u>_</sup> 2 - _<u>?</u>_ ⊗ _<u>?</u>_ ⊗ _?_ 2 + _?_ 0( _?_ ) :: ( _?_ ⊗∇ _?_ ⊗ _?_ ) d _?._ The homogenized energy Φ <sup>_★_</sup> [ _?, ?_ ] in (13) is nothing but the sum Φ <sup>_★_</sup> [ _?, ?_ ] = Φ <sup>_★_</sup> [ <sup>_★_</sup> [0] <sup>+ Φ</sup> <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>+ Φ</sup> <sup>_★_</sup> [ <sup>_★_</sup> [2] <sup>+ O(</sup> <sup>_???_</sup> <sup>3)</sup> <sup>_,_</sup> (20) and it is asymptotically exact up to a higher-order contribution Φ <sup>_★_</sup> [3] <sup>=</sup> <sup>O(</sup> <sup>_???_</sup> <sup>3)</sup> <sup>which we do not</sup> attempt to resolve. Remark 6 The actual derivation of the homogenized model proceeds in the reverse order than the high-level presentation above: the order-by-order expansion (17–20) is derived first, and the compact form (13–14) is obtained next by rearranging the terms. The solution for _?_ in (15–16) is derived based on the assumption that the microscopic variables _?_ = _?_ <sup>_★_</sup> [ _?, ?_ ] can be expanded in powers of _?_, _?_ ( _?_ ) = _?_ [0] ( _?_ ) + _?_ [1] ( _?_ ) + _?_ [2] ( _?_ ) + · · · _,_ (21) where _?_ [ _?_ ] ( _?_ ) = O( _?_ <sup>_?_</sup> ) denotes the contribution of order _?_ <sup>_?_</sup> to _?_ . Specifically, the microscopic solution _?_ <sup>_★_</sup> = _?_ <sup>_★_</sup> [ _?, ?_ ] = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>is derived order by order as</sup> <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>is derived order by order as</sup> _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ <sup>_★_</sup> [0 _?_ <sup>_★_</sup> [ 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> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>(</sup> <sup>_?_</sup> <sup>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>) +</sup> <sup>_?_</sup> 0 <sup>′</sup> (22a) (22b) which yields (15–16) by rearranging the terms. Remark 7 As discussed in Section 2.2, there are implicit scaling factors _?_ <sup>_?_</sup> in all our formulas. Their consistency can be checked as follows. Take Equation (22b), for instance: the subscript ‘[1]’ in the left-hand side indicates that this is a quantity of order _?_ ; this is consistent with the fact that the right-hand side is homogeneous of degree 1 with respect to the symbol ∇ = O( _?_ ). When checking homogeneity, the boundary terms must be treated with special care: in Equation (19), for instance, the integrand of the bulk integral is as quantity of order _?_ <sup>2</sup>, in line with the subscript ‘[2]’ appearing in the left-hand. The integrand of the boundary integral is however a quantity of order _?_ <sup>1</sup> ; the paradox is resolved by noting that the measure of the domain O( _?_ <sup>_?_</sup> ) for the bulk integral, but O( _?_ <sup>_?_</sup> <sup>−1</sup> ) = O( _?_ <sup>_?_</sup> _?_ ) for the boundary integral—recall that _ℓ_ = O(1) and _?_ = O( _?_ <sup>−1</sup> ). Ultimately, both integrals are of order O( _?_ <sup>_?_</sup> _?_ <sup>2</sup> ). ## 4 Illustrations In this section, we provide simple illustrations of the homogenization method. Equivalent high-order beam models are derived for various truss lattices, in the same line as a number of earlier works on periodic 1D structures, including (Hans and Boutin 2008; Abdoul-Anziz and Seppecher 2018b). This is not a fundamentally new contribution, our main goal being to illustrate how the abstract method can be applied to specific problems. The first two examples demonstrate that the homogenization can naturally handle elastic structures possessing graded properties (Section 4.1) and pre-strain (Section 4.2), two features that are not commonly addressed in the literature. A variant of this truss, this time including _rigid_ bars arranged in a way that the macroscopic strain is constrained, is proposed in the Appendix (Appendix E.9). We also demonstrate how the method can be extended to a frame made up of beams (rather than springs), and show that the homogenization method can be adapted to deliver a Timoshenko beam model (Section 4.3). 4.1 A truss lattice having slowly variable elastic properties We consider a truss lattice comprising elastic bars connected by perfect hinges, arranged in rectangular geometry made up of square cells with side length _?_, see Figure 2. _<u>α</u>_ <u>+</u> (a) _<u>α</u>_ <u>+</u> (b) _δ_ _βφ_ <sup>1</sup> _X_ _βφ_ 1 _<u>εφ</u>_ _a_ <u>4</u> 1 5 _K_ _<u>S</u>_ <sup><u>¯</u></sup> _<u>α</u>_ _<u>S</u>_ <sup>¯</sup> 3 _δ_ _βφ_ <sup>2</sup> _X_ _βφ_ <sup>2</sup> _<u>S</u>_ <sup>¯</sup> _<u>φ</u>_ <sup>_c_</sup> _t_ _φ_ _e_ 2 <u>2</u> _α_ _e_ 1 Figure 2 Truss lattice example. (a) General view, (b) a specific bar. Discrete model. Let ( _?_ 1 _, ?_ 2) be a frame of orthonormal directors with _?_ 1 aligned with the longitudinal direction of the truss. The nodes are labelled with indices _?_ ± = ( _?,_ ±) where _?_ in an integer spanning the longitudinal direction, and the symbol ± is a discrete transverse coordinate labelling the lower versus upper layer of nodes. We denote by _?_ _?_ ± = _?_ <sup>¯</sup> _?_ _?_ 1 ± <sup>_<u>?</u>_</sup> 2 <sup>_?_</sup> <sup>2 with</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_?_</sup> <sup>=</sup> <sup>_??_</sup> labelling the lower versus upper layer of nodes. We denote by _?_ _?_ ± = _?_ <sup>¯</sup> _?_ _?_ 1 ± <sup>_<u>?</u>_</sup> 2 <sup>_?_</sup> <sup>2 with</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_?_</sup> <sup>=</sup> <sup>_??_</sup> the (undeformed) position of node _?_ ±, and by _??_ ± its infinitesimal displacement. Given a bar labelled by _?_, we assign to it an orientation and denote by _??_ <sup>1</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>2</sup> <sup>its ordered</sup> end-nodes in reference configuration, by _??_ = ∥ _?_ _??_ 2 - _?_ _??_ 1 ∥ its undeformed length and by _??_ = ( _?_ _??_ 2 - _?_ _??_ 1 )/ _??_ its undeformed unit tangent. The (dimensionless) axial strain in the bar is given by Given a bar labelled by _?_, we assign to it an orientation and denote by _??_ <sup>1</sup> _?_ <sup>1</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>2</sup> _??_ = ( _?_ _??_ 2 - _?_ _??_ 1 ) · _??_ _??_ _._ (23) The discrete elastic energy in the lattice is written in the form _?_ <sup>2</sup> <sup>_._</sup> (24) _??_ ( _??_ ) with _??_ ( _??_ ) = <sup><u>1</u></sup> 2 Φd = ∑︁ _?_ <sup><u>1</u></sup> _?_ <sup>)</sup> <sup>_?_</sup> _?_ <sup>2</sup> 2 <sup>_?_</sup> <sup>( ¯</sup> <sup>_??_</sup> The lattice has graded properties as the elastic constant _?_ of the bars depends on the midpoint coordinate _?_ <sup>¯</sup> _?_ <sup>_?_</sup> <sup>=</sup> <sup><u>1</u></sup> 2 <sup>( ¯</sup> <sup>_??_</sup> _?_ <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_?_</sup> _?_ <sup>2</sup> <sup>). In order to keep the homogenization results as simple as possible,</sup> coordinate _?_ <sup>¯</sup> _?_ <sup>_?_</sup> <sup>=</sup> <sup><u>1</u></sup> 2 <sup>( ¯</sup> <sup>_??_</sup> _?_ <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>¯</sup> <sup>_?_</sup> _?_ <sup>2</sup> <sup>). In order to keep the homogenization results as simple as possible,</sup> we make the simplifying assumption that the different types of bars have identical elastic constants _?_ : the more natural assumption that all bars have identical cross-sections (and thus that their elastic constants _?_ is proportional to the length _??_ ) could be addressed by making _?_ a function of not only _?_ <sup>¯</sup> _?_ <sup>_?_</sup> <sup>but also of the type of the bar</sup> <sup>_?_</sup> <sup>, which does not raise any particular</sup> _?_ <sup>_?_</sup> <sup>=</sup> <sup><u>1</u></sup> 2 function of not only _?_ <sup>¯</sup> _?_ <sup>_?_</sup> <sup>but also of the type of the bar</sup> <sup>_?_</sup> <sup>, which does not raise any particular</sup> difficulty. Continualization, scaling assumptions Our continuous model is one-dimensional ( _?_ = 1) and involves macroscopic fields that are functions of the longitudinal coordinate _?_ <sup>¯</sup> . As part of the continualization step, the nodal displacement _??_ ± is sought in terms of continuous fields in the longitudinal direction as 2 <sup>±( ¯</sup> <sup>_??_</sup> <sup>))</sup> <sup>_?_</sup> <sup>2</sup> <sup>_,_</sup> (25) _??_ ± = - _?_ ( _?_ <sup>¯</sup> _?_ ) ∓ <sup>_?_</sup> 2 <sup>_?_</sup> 2 <sup>_?_</sup> <sup>′( ¯</sup> <sup>_??_</sup> <sup>) +</sup> <sup>_?_</sup> 1 <sup>±( ¯</sup> <sup>_??_</sup> <sup>)</sup> - _?_ 1 + ( _?_ ( _?_ <sup>¯</sup> _?_ ) + _?_ 2 <sup>±</sup> where _?_ ( _?_ <sup>¯</sup> ) and _?_ ( _?_ <sup>¯</sup> ) denote the macroscopic longitudinal and transverse displacement of the equivalent rod, respectively, and _??_ <sup>±( ¯</sup> <sup>_?_</sup> <sup>) are the components of the microscopic displacement</sup> equivalent rod, respectively, and _??_ <sup>±( ¯</sup> <sup>_?_</sup> <sup>) are the components of the microscopic displacement</sup> for either row of nodes (±). The special case _?_ 1 <sup>±</sup> <sup>=</sup> <sup>_?_</sup> 2 <sup>±</sup> <sup>= 0 corresponds to the (asymptotically</sup> for either row of nodes (±). The special case _?_ 1 <sup>±</sup> <sup>=</sup> <sup>_?_</sup> 2 <sup>±</sup> <sup>= 0 corresponds to the (asymptotically</sup> incorrect) assumption of an unshearable model having rigid cross-sections—note that the term ∓ _??_ <sup>′</sup> /2 represents the rigid rotation of the cross-section imposed by the centerline. We do _not_ impose _?_ 1 <sup>±</sup> <sup>and</sup> <sup>_?_</sup> 2 <sup>±</sup> <sup>to be zero.</sup> _?_ 1 <sup>±</sup> <sup>and</sup> <sup>_?_</sup> 2 <sup>±</sup> <sup>to be zero.</sup> We impose the kinematic constraint ⟨ _??_ <sup>±( ¯</sup> <sup>_?_</sup> <sup>)⟩</sup> <sup>= 0</sup> <sup>_,_</sup> ∀ _?_ <sup>¯</sup> ∀ _?_ ∈{1 _,_ 2} _,_ (26) _?_ <sup>±⟩</sup> <sup>=</sup> <sup><u>1</u></sup> 2 where ⟨·⟩ denotes the average over the top and bottom rows, _i.e._, ⟨ _??_ <sup>±</sup> <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>+</sup> <sup>_?_</sup> _?_ <sup>+</sup> where ⟨·⟩ denotes the average over the top and bottom rows, _i.e._, ⟨ _??_ <sup>±⟩</sup> <sup>=</sup> <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_?_</sup> _?_ <sup>−</sup> <sup>+</sup> <sup>_?_</sup> _?_ <sup>+).</sup> <sup>This</sup> warrants that ( _?_ ( _?_ <sup>¯</sup> ) _,?_ ( _?_ <sup>¯</sup> )) capture the average nodal displacement at coordinate _?_ : indeed, by combining (25–26), we have ⟨ _??_ ±⟩ = _?_ ( _?_ <sup>¯</sup> _?_ ) _?_ 1 + _?_ ( _?_ <sup>¯</sup> _?_ ) _?_ 2. As a result, the equivalent rod passes through the _midpoints_ of the sections [ _?_ _?_ - _?_ _?_ +]. This choice is somewhat arbitrary: by using different weights in the average (26), we could introduce a lateral offset in the definition of the centerline. We define the macroscopic length to be _?_ / _?_, with _?_ ≪ 1 the scale separation parameter; see Equation (6). A standard scaling analysis yields the macroscopic stretching strain as _?_ ∼ _?_ <sup>′</sup> ( _?_ <sup>¯</sup> ), the macroscopic rotation as _?_ ( _?_ <sup>¯</sup> ) ∼ _?_ <sup>′</sup> ( _?_ <sup>¯</sup> ), the relative rotation between successive transverse links as _??_ <sup>′</sup> ( _?_ <sup>¯</sup> ), and thus the differential stretching strain of bars located on the inner and outer sides (curvature effect) as _?_ ∼ _??_ <sup>′</sup> ( _?_ <sup>¯</sup> ). Natural scales are found by balancing the two sources of stretching strain _?_, yielding _?_ ∼ _?_ <sup>′</sup> ∼ _??_ <sup>′</sup> ∼ _??_ <sup>′′</sup>, which suggests introducing dimensionless quantities in the form _?_ ( _?_ <sup>¯</sup> ) = <sup>_?_</sup> _?_ <sup>_?_</sup> - _?_ ¯ _?_ / _?_ (27a) (27b) (27c) _?_ ( _?_ <sup>¯</sup> ) = <sup>_?_</sup> _?_ <sup>2</sup> <sup>_?_</sup> _?_ _?_ <sup>±</sup> _?_ <sup>±( ¯</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_??_</sup> _?_ <sup>±</sup> _?_ - _?_ ¯ _?_ / _?_ - _?_ ¯ _,_ _?_ / _?_ where _?_, _?_ and _??_ <sup>±</sup> <sup>are dimensionless unknowns and</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>is a slow variable,</sup> <sup>_i.e._</sup> <sup>,</sup> the arclength scaled by the macroscopic length _?_ / _?_ . In addition, we assume that the variations of elastic properties take place on the macroscopic scale, _i.e._, _?_ ( _?_ <sup>¯</sup> ) = _?_ - _?_ ¯ _?_ / _?_ _._ (28) In what follows, we eliminate the original quantities in favor of the dimensionless ones, _?_ ( _?_ ), _?_ ( _?_ ), _??_ <sup>±(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>everywhere. By contrast with the rest of the paper, we keep explicit track</sup> of the small coefficient _?_ in the present section. Setting up the input of the homogenization procedure In the classical theory of linear, planar beams, the two relevant strain measures are the stretching strain _?_ ( _?_ ) := _?_ <sup>′</sup> ( _?_ ) and the bending strain _?_ ( _?_ ) := _?_ <sup>′′</sup> ( _?_ ). We thus anticipate that the homogenized energy will depend on the macroscopic strain _?_ ( _??_ = 2) which we define as _?_ ( _?_ ) = ( _?_ ( _?_ ) _,?_ ( _?_ )) := ( _?_ <sup>′</sup> ( _?_ ) _, ?_ <sup>′′</sup> ( _?_ )) _._ (29) In terms of the unscaled displacement ( _?,?_ ), the dimensionless strain measures are given by _?_ ( _?_ ) = _?_ <sup>′</sup> ( _??_ / _?_ ) and _?_ ( _?_ ) = _??_ <sup>′′</sup> ( _??_ / _?_ ). In addition, we define the vector of microscopic degrees of freedom ( _??_ = 4) as _?_ ( _?_ ) = ( _?_ 1 <sup>−(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,?_</sup> 2 <sup>−(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,?_</sup> 1 <sup>+(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,?_</sup> 2 <sup>+(</sup> <sup>_?_</sup> <sup>))</sup> <sup>_._</sup> (30) These quantities _?_ and _?_ were chosen in such a way that the strain of a bar _?_ can be expressed in terms of _?_, _?_ and their successive gradients at the midpoint coordinate _??_ <sup>_?_</sup> <sup>, see Equation (32)</sup> below. In our discrete model (24), the elastic constants _?_ ( _??_ <sup>_?_</sup> <sup>)</sup> <sup>depend on the midpoint coordinate</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> <sup>.</sup> This makes the energy density _?_ in (34) depend explicitly on _?_ . Since _?_ is required by design to depend on _?_ and _?_ only, see (5), we pack up the coordinate _?_ into the list of material parameters _?_ ( _?_ ), In our discrete model (24), the elastic constants _?_ ( _??_ <sup>_?_</sup> _?_ <sup>_?_</sup> <sup>)</sup> <sup>depend on the midpoint coordinate</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> _?_ ( _?_ ) = <sup>�</sup> _?_ <sup>�</sup> _,_ _??_ = 1 _._ (31) An alternative (and ultimately equivalent) approach would be to define _?_ ( _?_ ) as _?_ ( _?_ ). Next, we define the strain _?_ as the concatenation of ( _i_ ) the discrete strains _??_ = _??_ given in (23), in each of the 5 types _?_ of bars that make up the lattice, see Figure 2, together with ( _ii_ ) the left-hand sides of the two kinematic constraints appearing in (26), 2 <sup>±⟩</sup> _._ (32) _?_ = _?_ 1 - · · _?_ 5 _?_ 6 = ⟨ _?_ 1 <sup>±</sup> 1 <sup>±⟩</sup> _?_ 7 = ⟨ _?_ 2 <sup>±</sup> We therefore have _??_ = 7 strain variables. Having included the left-hand sides of the kinematic constraint (26) at positions 6 and 7 in _?_, we can easily express the _?_ c = 2 constraints in the form Q - _?_ = 0 expected in Equation (3), by defining the constraint extraction matrix as Q = <sup>�</sup> 02×5 12×2 - using block-matrix notation. Inserting the expression (25) of the nodal displacement in the expression of _?_, using the scaled quantities introduced in (27), and performing Taylor expansions about the midpoints of the bars, we get _?_ 1 = _?_ 2 <sup>+</sup> <sup>−</sup> <sup>_?_</sup> 2 <sup>−</sup> <sup>_?_</sup> <sup><u>2</u></sup> 1 ′ + <sup>_?_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_??_</sup> <sup>−</sup> 48 _?_ 2 = _?_ 1 + <sup>_?_</sup> 2 <sup><u>2</u></sup> _?_ 3 = <sup>_?_</sup> <sup>1</sup> <sup>−</sup> <sup>_?_</sup> <u>1</u> <sup>−</sup> <u>1</u> <sup>−</sup> <sup>−</sup> <sup>_?_</sup> <u>2</u> <sup>−</sup> <sup>+</sup> <sup>_?_</sup> <u>1</u> <sup>+</sup> <sup>+</sup> <sup>_?_</sup> <u>2</u> <sup>+</sup> - <sup>_?_</sup> 2 24 <sup>_?_</sup> <sup>2</sup> 48 <sup>(2</sup> <sup>_?_</sup> 1 <sup>′′</sup> <sup>+</sup> <sup>_?_</sup> 2 <sup>′′) + O(</sup> <sup>_?_</sup> <sup>3)</sup> <sup>_?_</sup> - _?_ ′ ′+ _?_ 2 <sup>−</sup> <sup>6 �</sup> <sup>_?_</sup> 1 <sup>−</sup> 2 24 - ′+ _?_ + 2 1 + ′+ _?_ + 1 2 + ′ <sup>��</sup> 2 + <sup>_?_</sup> <sup>2</sup> - ′′− _?_ + 2 1 <sup>_?_</sup> <sup>2</sup> - _?_ ′′ ′′+ _?_ 1 <sup>−</sup> <sup>3 �</sup> <sup>_?_</sup> 1 <sup>−</sup> 2 48 + ′′− _?_ + 1 2 + ′′ <sup>��</sup> + O( _?_ 3) 2 <sup>_?_</sup> <sup><u>2</u></sup> 1 ′ + <sup>_?_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_??_</sup> <sup>+</sup> 48 _?_ 4 = _?_ 1 − <sup>_?_</sup> 2 <sup><u>2</u></sup> (33) _?_ 5 = <sup>_?_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <u>1</u> <sup>−</sup> <u>1</u> <sup>−</sup> <sup>−</sup> <sup>_?_</sup> <u>2</u> <sup>−</sup> <sup>−</sup> <sup>_?_</sup> <u>1</u> <sup>+</sup> <sup>+</sup> <sup>_?_</sup> <u>2</u> <sup>+</sup> + <sup>_?_</sup> 2 24 <sup>_?_</sup> <sup>2</sup> 48 <sup>(2</sup> <sup>_?_</sup> 1 <sup>′′</sup> <sup>−</sup> <sup>_?_</sup> 2 <sup>′′) + O(</sup> <sup>_?_</sup> <sup>3)</sup> <sup>_?_</sup> - _?_ ′ ′− _?_ 2 <sup>+ 6 �</sup> <sup>_?_</sup> 1 <sup>−</sup> 2 24 - ′+ _?_ + 2 1 + ′− _?_ + 1 2 + ′ <sup>��</sup> 2 + <sup>_?_</sup> <sup>2</sup> - ′′− _?_ + 2 1 <sup>_?_</sup> <sup>2</sup> - _?_ ′′ ′′− _?_ 1 <sup>+ 3 �</sup> <sup>_?_</sup> 1 <sup>−</sup> 2 48 + ′′+ _?_ + 1 2 + ′′ <sup>��</sup> + O( _?_ 3) 2 _?_ 6 = ( _?_ 1 <sup>−</sup> <sup>+</sup> <sup>_?_</sup> 1 <sup>+)/2</sup> _?_ 7 = ( _?_ 2 <sup>−</sup> <sup>+</sup> <sup>_?_</sup> 2 <sup>+)/2</sup> <sup>_,_</sup> which is of the form _?_ = _?_ ( _?_ ; _?, ?_ <sup>′</sup> _, ?_ <sup>′′</sup> _, . . ._ ; _?,_ _?_ <sup>′</sup> _,_ _?_ <sup>′′</sup> _, . . ._ ) expected in Equation (2). In (33), the argument of the functions _?, ?_ <sup>′</sup> _, ?_ <sup>′′</sup> _,_ _?,_ _?_ <sup>′</sup> _,_ _?_ <sup>′′</sup> is implicitly assumed to be the midpoint _??_ <sup>_?_</sup> <sup>of each</sup> bar. The details of the calculations can be found in the companion Mathematica notebook. The discrete energy (24) is finally continualized in the canonical form (4–5) as 5 ∑︁ _?_ =1 _??_ <sup>2</sup> <sup>_._</sup> (34) Φd ≈ ∫ +∞ −∞ _?_ ( _?, ?_ )d _?_ where _?_ ( _?, ?_ ) = <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup><u>1)</u></sup> 2 _?_ _?_ ( _?, ?_ )d _?_ where _?_ ( _?, ?_ ) = <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup><u>1)</u></sup> The notation _?_ ( _?_ 1) conveys the fact that the argument _?_ 1 = _?_ to be passed to the stiffness distribution _?_ ( _?_ ) is the first (and only) component _?_ 1 of _?_, see (31). In (34), the discrete energy (24) has been continualized by using the formal rule 5 ∑︁ _?_ =1 ∫ +∞ −∞ <u>1</u> _?_ 2 <sup>_??_</sup> <sup>2</sup> <u>d</u> _?_ _?_ <sup>=</sup> <u>d</u> _?_ ∫ +∞ −∞ _?_ d _?,_ (35) ∑︁ _?_ 5 ∑︁ _?_ =1 ∫ +∞ −∞ _??_ _??_ = 5 ∑︁ _?_ =1 ∑︁ _?_ ∈ _?_ _??_ ≈ <u>d</u> _?_ _?_ <sup>=</sup> where _?_ is an index running over the 5 different types of links, _?_ ∈ _?_ is included in the partial sum of all links _?_ belonging to a particular family _?_, and _??_ denotes the expression of the energy _??_ relevant to the links _?_ belonging to a particular family _?_ . The coefficient 1/ _?_ appearing in the definition of _?_ in (34) is nothing but the lineic density of links of each type per unit dimensionless length _?_ . Thanks to the assumed periodicity of the lattice, we have been able to rewrite the discrete sum in (24) into an integral in (34). Remark 8 In the argument sketched above, the continualization is based on the formal approximation rule for a discrete sum in terms of an integral, <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> _?_ <sup>≈</sup> ∫ _??_ <sup><u>d</u></sup> _?_ <sup>_<u>?</u>_</sup> <sup>, which has been used in a number</sup> _??_ <sup><u>d</u></sup> _?_ <sup>_<u>?</u>_</sup> _?_ ∈ _?_ <sup>_?_</sup> _?_ <sup>≈</sup> ∫ for a discrete sum in terms of an integral, <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> _?_ <sup>≈</sup> ∫ _??_ <sup><u>d</u></sup> _?_ <sup>_<u>?</u>_</sup> <sup>, which has been used in a number</sup> of earlier work. A rigorous justification of this approximation is known as the Euler–MacLaurin formula: it is correct to order _?_ <sup>2</sup> in an infinite domain, but needs to be corrected by boundary terms in a finite domain. At this point, we can identify the quantities that are required on input of the homogenization method, as specified in Table 1: they are listed in Table 4. The integer constants appearing in the left column of Table 4 and the constraint extraction matrix Q have been collected from the above discussion. The tensors _??_, ..., _??_ <sup>′′</sup> <sup>collect the numerical coefficients appearing in (33) and are found</sup> discussion. The tensors _??_, ..., _??_ <sup>′′</sup> <sup>collect the numerical coefficients appearing in (33) and are found</sup> by identification with Equation (2). The elastic stiffness tensor K ( _?_ ) is found by identifying (34) with (5). Expressions in Table 4 make use of the notation _?_ <sup>_?_</sup> _?_ <sup>=</sup> <sup>(01</sup> <sup>_. . ._</sup> <sup>0</sup> <sup>_?_</sup> <sup>−1</sup> <sup>1</sup> <sup>_?_</sup> <sup>0</sup> <sup>_?_</sup> <sup>+1</sup> <sup>_. . ._</sup> <sup>0</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>R</sup> <sup>_?_</sup> <sup>_?_</sup> _?_ <sup>=</sup> <sup>(01</sup> <sup>_. . ._</sup> <sup>0</sup> <sup>_?_</sup> <sup>−1</sup> <sup>1</sup> <sup>_?_</sup> <sup>0</sup> <sup>_?_</sup> <sup>+1</sup> <sup>_. . ._</sup> <sup>0</sup> <sup>_?_</sup> <sup>)</sup> <sup>∈</sup> <sup>R</sup> <sup>_?_</sup> for the _?_ -th Kronecker vector with length _?_ ; for example, _?_ <sup>5</sup> 2 <sup>5</sup> 2 <sup>=</sup> <sup>(0 1 0 0 0).</sup> <u>�</u> ⊗ _?_ <sup>2</sup> 1 2 _??_ ( _?_ ) = <u>�</u> _?_ <sup>7</sup> 2 <sup>+</sup> <sup>_?_</sup> 4 <sup>7</sup> <sup>+</sup> <sup>_<u>?</u>_</sup> <u>3</u> <sup>7+</sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>7</sup> <u>5</u> <sup>2</sup> 1 <sup>+</sup> <sup>_<u>?</u>_</sup> <u>2</u> <sup>7−</sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>7</sup> <u>4</u> ⊗ _?_ <sup>2</sup> 2 _?_ = 1 _??_ = 1 _?_ = <sup>�</sup> _?_ <sup>�</sup> _??_ = 2 _??_ = 4 _??_ = 7 _?_ c = 2 _<u>?</u>_ _?_ Q ( _?_ ) = - _?_ 2=1 <sup>_?_</sup> _?_ <sup>2</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>7</sup> 5+ _?_ _??_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> = <u>241</u> <sup>(−</sup> <sup>_?_</sup> <sup>7</sup> 3 <sup>+</sup> <sup>_?_</sup> 5 <sup>7)</sup> <sup>⊗</sup> <sup>_?_</sup> 2 <sup>2</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 _??_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> = <u>241</u> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 <sup>⊗</sup> <sup>_?_</sup> 1 <sup>1</sup> _??_ <sup>′</sup> _??_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> = <u>241</u> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 <sup>⊗</sup> <sup>_?_</sup> 1 <sup>1</sup> _?_ _?_ ( _?_ ) = _?_ <sup>7</sup> 1 <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 3 <sup>7</sup> <sup>⊗</sup> <sup>_. . ._</sup> <sup>7</sup> 1 <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 3 <sup>7</sup> <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 5 <sup>7</sup> <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 6 <sup>7</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> <u>1</u> <sup>4+</sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>4</sup> <u>3</u> + _?_ <sup>7</sup> 7 _?_ _?_ ( _?_ ) = _?_ <sup>7</sup> 1 <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 3 <sup>7</sup> <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 5 <sup>7</sup> <sup>⊗</sup> <sup>_. . ._</sup> <sup>+</sup> <sup>_?_</sup> 6 <sup>7</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> <u>1</u> <sup>4+</sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>4</sup> <u>3</u> + _?_ <sup>7</sup> 7 <sup>⊗</sup> <sup>_<u>?</u>_</sup> <u>2</u> <sup>4+</sup> <u>2</u> <sup>_<u>?</u>_</sup> <sup>4</sup> <u>4</u> _?_ _?_ <sup>′</sup> ( _?_ ) = _. . ._ <sup>7</sup> 3 <sup>⊗</sup> <sup>�−</sup> <sup>_?_</sup> 1 <sup>4</sup> <sup>−</sup> <sup>_?_</sup> <sup>4</sup> 2 <sup>+</sup> <sup>_?_</sup> <sup>4</sup> 3 <sup>+</sup> <sup>_?_</sup> <sup>4</sup> 4� + _?_ 75 <sup>⊗</sup> <sup>�</sup> <sup>_?_</sup> 1 <sup>4</sup> <sup>−</sup> <sup>_?_</sup> <sup>4</sup> 2 <sup>−</sup> <sup>_?_</sup> <sup>4</sup> 3 <sup>+</sup> <sup>_?_</sup> <sup>4</sup> 4� <sup>�</sup> ⊗ _?_ <sup>1</sup> 1 _?_ _?_ <sup>′′</sup> ( _?_ ) = <u>161</u> - _?_ <sup>7</sup> 3 <sup>1</sup> 1 <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 _?_ <u>(</u> _?_ <u>)</u> K ( _?_ ) = _<u>?</u>_ - _?_ 5=1 <sup>_?_</sup> _?_ <sup>7</sup> _?_ <sup>7</sup> <sup>⊗</sup> <sup>_?_</sup> _?_ <sup>7</sup> _<u>?</u>_ _?_ <sup>2</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>7</sup> 5 5+ _?_ Table 4 Input parameters used for the homogenization of the truss lattice. The spring constant _?_ ( _?_ ) is set up as a symbolic function of _?_ . For the sake of brevity, the terms denoted by ellipses are omitted: full expressions are available in the input file `inhomogeneous-truss.nb` included in the library (Audoly 2023). Homogenization results We propose an implementation of the general homogenization method described in this paper (Sections 5 and 6) in the form of an open-source library named `shoal` (Audoly 2023). The quantities listed in Table 4 are passed to the library in symbolic form, see the input file `inhomogeneous-truss.nb` <sup>1</sup> . The code executes without any further input from the user. It delivers the tensors listed in Table 3, which we now proceed to interpret using (13–16) and (29–30). We note that ∇ _?_ = _?_ <sup>1</sup> 1 <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 <sup>in view of the definition (31) of</sup> <sup>_?_</sup> <sup>.</sup> The homogenization method returns _?_ 0 = <sup><u>1</u></sup> 6 <sup><u>1</u></sup> 2 <sup>−</sup> <sup>_?_</sup> 4 <sup>4)</sup> <sup>⊗</sup> <sup>_?_</sup> 1 <sup>2</sup> <sup>_,_</sup> _?_ 0 <sup>′</sup> 6 <sup>(</sup> <sup>_?_</sup> <sup>4</sup> (36) 2 <sup>_?_</sup> _?_ <sup>′(</sup> ( <sup>_?_</sup> _?_ <sup>)</sup> ) <sup>(</sup> <sup>_?_</sup> 1 <sup>4</sup> <sup>−</sup> <sup>_?_</sup> 3 <sup>4)</sup> <sup>⊗</sup> <sup>_?_</sup> 2 <sup>2</sup> <sup>⊗</sup> <sup>_?_</sup> 1 <sup>1</sup> <sup>⊗</sup> <sup>_?_</sup> 1 <sup>1</sup> <sup>_._</sup> _?_ 1 = <sup>_?_</sup> <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> 2 _?_ ( _?_ ) 0 <sup>′</sup> <sup>=</sup> <sup><u>11</u></sup> 1 <sup>−</sup> <sup>_?_</sup> 3 <sup>4)</sup> <sup>⊗</sup> <sup>_?_</sup> 2 <sup>2</sup> <sup>⊗</sup> <sup>_?_</sup> 1 <sup>1</sup> <sup>_,_</sup> 24 <sup>(</sup> <sup>_?_</sup> <sup>4</sup> In view of (15–16), the microscopic displacement _?_ = _?_ 0 · _?_ + _?_ 0 <sup>′</sup> <sup>:</sup> <sup>∇</sup> <sup>_?_</sup> <sup>+ (</sup> <sup>_?_</sup> <sup>1</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>+ · · ·</sup> <sup>is</sup> found with the help of (29–30) as <sup>−</sup> = + <u>11</u> + _??_ <sup>′</sup> <u>(</u> _?_ <u>)</u> 1 24 <sup>_??_</sup> <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> 2 _?_ ( _?_ ) _?_ <sup>−</sup> _??_ <sup>′</sup> <u>(</u> _?_ <u>)</u> 2 _?_ ( _?_ ) <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> + O( _?_ <sup>2</sup> ) <sup>−</sup> = + _?_ <u>(</u> _?_ <u>)</u> 2 6 _?_ <sup>−</sup> <u>(</u> _?_ <u>)</u> + O( _?_ <sup>2</sup> ) 6 <sup>+</sup> = - <u>11</u> - _??_ <sup>′</sup> <u>(</u> _?_ <u>)</u> 1 24 <sup>_??_</sup> <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> 2 _?_ ( _?_ ) _?_ <sup>+</sup> _??_ <sup>′</sup> <u>(</u> _?_ <u>)</u> 2 _?_ ( _?_ ) <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> + O( _?_ <sup>2</sup> ) (37) <sup>+</sup> = - _?_ <u>(</u> _?_ <u>)</u> 2 6 _?_ <sup>+</sup> <u>(</u> _?_ <u>)</u> + O( _?_ <sup>2</sup> ) 6 The quantities ± _?_ ( _?_ )/6 of order _?_ <sup>0</sup> in the right-hand side represent the predictions of classical (leading-order) homogenization. Note that the correction of order _?_ <sup>1</sup> includes not only a contribution proportional to the strain gradient _?_ <sup>′</sup> but also one proportional to the gradient _?_ <sup>′</sup> of elastic properties—this corresponds, respectively, to the ∇ _?_ and ∇ _?_ contributions appearing in the right-hand side of (22b). The homogenized energy functional is obtained by interpreting the output of the code similarly using Table 3, see also (13–14), _??_ 12′ <sup>+</sup> <sup><u>23</u></sup> 48 <sup>_??_</sup> <sup>′</sup> - - <sup>_?_</sup> 2 <sup>2</sup> <sup>_?_</sup> 2 - <u>7</u> _?_ - _?_ 3 <sup>_?_</sup> <sup>2 +</sup> 2 <sup>−</sup> <sup>_?_</sup> <sup>2</sup> 2 <sup>_?_</sup> _?_ <sup>′2</sup> - _?_ <sup>2</sup> _?_ <sup>′</sup> - _?_ <sup>2</sup> Φ <sup>_★_</sup> = ∫ +∞ −∞ - <u>1</u> 2 - <u>1</u> + O( _?_ <sup>3</sup> ) 6 <sup>_?_</sup> <sup>′2 +</sup> <sup><u>11</u></sup> 24 <sup>_?_</sup> <sup>′2</sup> - _??_ ′ - <u>d</u> _?_ _?_ <sup>_._</sup> (38) The detailed expressions of the tensors _?_ 0, _?_ 1, ... underlying the above expression of Φ <sup>_★_</sup> can be found in the Mathematica notebook `inhomogeneous-truss.nb` included in the library. The energy Φ <sup>_★_</sup> in (38) depends on the stretching strain _?_ ( _?_ ), on the dimensionless curvature strain 1 See `shoal-library-v1.0/discrete_engine/illustrations/JTCAM2023-paper/inhomogeneous-truss.nb` _?_ ( _?_ ), as well as on their gradients _?_ <sup>′</sup> ( _?_ ) and _?_ <sup>′</sup> ( _?_ ), and on the gradients of elastic properties _?_ <sup>′</sup> ( _?_ ) (the dependence of _?_, _?_ and _?_ on _?_ implicit in the above integral). This result is valid for any given slowly varying distribution of spring stiffness _?_ ( _?_ ) since _?_ ( _?_ ) is treated as a symbolic function. As we consider an infinite structure, we have ignored in (38) the boundary terms that are returned by the homogenization library. In view of the negative coefficients −1/6 and −11/24 appearing in the last term in the integral, the energy Φ <sup>_★_</sup> can be made arbitrarily large and negative by incorporating oscillations into the unknowns _?_ ( _?_ ) and _?_ ( _?_ ), having both small amplitude and small wavelength. This holds even in the simple case where the elastic properties are uniform ( _?_ <sup>′</sup> = 0). This points to the lack of lower semi-continuity of the homogenized energy Φ <sup>_★_</sup>, an undesirable property of higher-order gradient models that has been documented by several authors for various elastic structures, see for instance (Le and Marigo 2018). It calls for a regularization of the functional Φ <sup>_★_</sup>, a point which we address in future work. Remark 9 Alternatively, the homogenized functional Φ <sup>_★_</sup> can be expressed in terms of the original _unscaled_ quantities, namely the elastic constant _?_ ( _?_ <sup>¯</sup> ), the axial strain _<u>?</u>_ ( _?_ <sup>¯</sup> ) = _?_ <sup>′</sup> ( _?_ <sup>¯</sup> ) = _?_ <sup>�</sup> _??_ <sup>¯</sup> / _?_ <sup>�</sup> and the curvature _<u>?</u>_ ( _?_ <sup>¯</sup> ) = _?_ <sup>′′</sup> ( _?_ <sup>¯</sup> ) = _?_ <sup><u>1</u></sup> <sup>_?_</sup> <sup>�</sup> <sup>_??_</sup> <sup>¯</sup> <sup>/</sup> <sup>_?_</sup> <sup>�. The result is free of the parameter</sup> <sup>_?_</sup> <sup>,</sup> - <u>7</u> _?_ - _?_ 3 <sup>_<u>?</u>_</sup> <sup>2 +</sup> 2 <sup>−</sup> <sup>_?_</sup> <sup>2</sup> 2 <sup>_?_</sup> _?_ <sup>′2</sup> - _?_ <sup>2</sup> Φ <sup>_★_</sup> = ∫ +∞ −∞ - <u>1</u> 2 (39) - <u>1</u> + O( _?_ <sup>3</sup> ) 6 <sup>_<u>?</u>_</sup> <sup>′2 +</sup> <sup><u>11</u></sup> 24 <sup>_<u>?</u>_</sup> <sup>′2</sup> - <u>d</u> _?_ ¯ _?_ <sup>_._</sup> - _?_ <sup>2</sup> _?_ <sup>′</sup> - _<u>??</u>_ ′ _<u>??</u>_ 12′ <sup>+</sup> <sup><u>23</u></sup> 48 <sup>_<u>??</u>_</sup> <sup>′</sup> - - <sup>_?_</sup> <sup>2</sup> 2 <sup>_?_</sup> 2 4.2 A truss lattice with pre-strain In order to illustrate the ability of our method to handle pre-strain, we now include an additional tensile pre-strain + _?_ ( _?_ )/2 in the lower layer of bars, and a contractile pre-strain − _?_ ( _?_ )/2 in the upper layer of bars. For the sake of simplicity, we focus on the case of _uniform_ elastic properties across the length, taking _?_ to be independent of _?_ . Accordingly, we change the strain definition for the two diagonal bars to _?_ 2 = _?_ 2 <sup>0</sup> Accordingly, we change the strain definition for the two diagonal bars to _?_ 2 = _?_ 2 <sup>0</sup> <sup>−</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)/2</sup> and _?_ 4 = _?_ 4 <sup>0</sup> <sup>−(−</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)/2), where the quantities</sup> <sup>_?_</sup> _?_ <sup>0</sup> <sup>refer to the expressions of</sup> <sup>_??_</sup> <sup>in the absence of</sup> and _?_ 4 = _?_ 4 <sup>0</sup> <sup>−(−</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)/2), where the quantities</sup> <sup>_?_</sup> _?_ <sup>0</sup> <sup>refer to the expressions of</sup> <sup>_??_</sup> <sup>in the absence of</sup> pre-strain given in the right-hand sides of (33) (Section 4.1). Since _?_ is required to be a function of _?_ and _?_ and their derivatives, we add a third component _?_ 3 = _?_ to the macroscopic strain _?_ and rewrite _?_ 2 = _?_ 2 <sup>0</sup> <sup>−</sup> <sup>_?_</sup> <sup>3(</sup> <sup>_?_</sup> <sup>)/2 and</sup> <sup>_?_</sup> <sup>4</sup> <sup>=</sup> <sup>_?_</sup> 4 <sup>0</sup> <sup>+</sup> <sup>_?_</sup> <sup>3(</sup> <sup>_?_</sup> <sup>)/2. Note that</sup> the pre-strain is _subtracted_ from the original element strain, so that the energy in the bar labelled 2 in Figure 2, for instance, is given by <sup>_<u>?</u>_</sup> 2 <sup>(</sup> <sup>_?_</sup> 2 <sup>0</sup> <sup>−</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)/2)2 and is minimum when</sup> <sup>_?_</sup> 2 <sup>0</sup> <sup>=</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)/2.</sup> To sum up, we make the following changes in the specification of the input problem: Since _?_ is required to be a function of _?_ and _?_ and their derivatives, we add a third component _?_ 3 = _?_ to the macroscopic strain _?_ and rewrite _?_ 2 = _?_ 2 <sup>0</sup> <sup>−</sup> <sup>_?_</sup> <sup>3(</sup> <sup>_?_</sup> <sup>)/2 and</sup> <sup>_?_</sup> <sup>4</sup> <sup>=</sup> <sup>_?_</sup> 4 <sup>0</sup> <sup>+</sup> <sup>_?_</sup> <sup>3(</sup> <sup>_?_</sup> <sup>)/2. Note that</sup> _?_ = () _,_ _??_ = 0 _,_ _??_ = 3 _,_ _?_ = ( _?_ = _?_ <sup>′</sup> _,?_ = _?_ <sup>′′</sup> _, ?_ ) _,_ _,_ 2 <sup>0</sup> <sup>−</sup> <sup>_?_</sup> <sup><u>3(</u></sup> <sup>_?_</sup> <sup>)</sup> _?_ 4 = _?_ 4 <sup>0</sup> 2 _?_ <sup>7</sup> <sup>_._</sup> (40) _?_ 2 = _?_ 2 <sup>0</sup> 4 <sup>0</sup> <sup>+</sup> <sup>_?_</sup> <sup><u>3(</u></sup> 2 <sup>_?_</sup> <sup>)</sup> _,_ K = <sup>_?_</sup> _?_ _?_ _??_ <sup>7</sup> 5 ∑︁ _?_ =1 _?_ <sup>7</sup> <sup>⊗</sup> <sup>_?_</sup> _?_ <sup>7</sup> The tensors _?_ _?_, _?_ _?_ <sup>′</sup> _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> _?_ <sup>′′</sup> <sup>are unchanged.</sup> <sup>The dimension of the tensors</sup> <sup>_??_</sup> <sup>,</sup> <sup>_?_</sup> _?_ <sup>′</sup> _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> The tensors _?_ _?_, _?_ _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> <sup>are unchanged.</sup> <sup>The dimension of the tensors</sup> <sup>_??_</sup> <sup>,</sup> <sup>_?_</sup> _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> <sup>is</sup> increased to reflect the new dimension _??_ = 3 of the macroscopic strain vector _?_ . This change of dimension takes place simply by adding zero entries to _??_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′, and by including a new</sup> _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> of dimension takes place simply by adding zero entries to _??_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′, and by including a new</sup> contribution _??_ = · · · + <sup><u>1</u></sup> 2 <sup>(−</sup> <sup>_?_</sup> 2 <sup>7</sup> <sup>+</sup> <sup>_?_</sup> <sup>7</sup> 4 <sup>)</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>3</sup> 3 <sup>to</sup> <sup>_??_</sup> <sup>, to reflect the new</sup> <sup>_?_</sup> <sup>3-terms in</sup> <sup>_?_</sup> <sup>2 and</sup> <sup>_?_</sup> <sup>4.</sup> contribution _??_ = · · · + <sup><u>1</u></sup> 2 <sup>(−</sup> <sup>_?_</sup> 2 <sup>7</sup> <sup>+</sup> <sup>_?_</sup> <sup>7</sup> 4 <sup>)</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>3</sup> 3 <sup>to</sup> <sup>_??_</sup> <sup>, to reflect the new</sup> <sup>_?_</sup> <sup>3-terms in</sup> <sup>_?_</sup> <sup>2 and</sup> <sup>_?_</sup> <sup>4.</sup> The homogenization code is run again with the modified set of input parameters, see the notebook `prestrained-truss.nb` included in the library. The homogenized energy is obtained as 2 - + <sup>_?_</sup> <sup>2</sup> <sup>_?_</sup> 2 �− <sup>_?_</sup> 6 <sup>′2</sup> 6 <sup>′2</sup> <sup>−</sup> <sup><u>11</u></sup> 24 <sup>_?_</sup> <sup>′2 +</sup> <sup><u>23</u></sup> 24 <sup>_?_</sup> <sup>′</sup> <sup>_?_</sup> <sup>′ −</sup> <sup>_?_</sup> 2 <sup>′2</sup> - <u>73</u> <sup>_?_</sup> <sup>2 +</sup> <sup>(</sup> <sup>_?_</sup> <sup>−</sup> 2 <sup>_?_</sup> <sup>)2</sup> Φ <sup>_★_</sup> = ∫ +∞ −∞ - _?_ 2 - - <u>d</u> _?_ + O( _?_ <sup>3</sup> ) _?_ <sup>_._</sup> (41) In the leading-order term, the pre-strain sets the natural curvature of the equivalent beam as _?_ 0( _?_ ) = _?_ ( _?_ ), as could be anticipated. Note that the gradient of pre-strain _?_ <sup>′</sup> ( _?_ ) contributes to the energy at order _?_ <sup>2</sup> . (a) _θα_ + (b) _X_ _βφ_ 2 _<u>S</u>_ _EI_, _EA_ _<u>α</u>_ + <u>3</u> _δ_ _α_ + <u>1</u> _β_ _εφ_ _κφ_ _τφ_ _t_ _φ_ _X_ _βφ_ <sup>1</sup> _e_ 2 _a_ _e_ 1 _<u>α</u>_ <u>−</u> <u>2</u> _δ_ _α_ _θα_ Figure 3 An elastic frame made up of identical beams having length _?_, stretching modulus _??_ and bending modulus _??_ . (a) General view, (b) the three modes of deformation of a linear beam, illustrated here for a beam _?_ in the family _?_ = 1: stretching _??_, bending _??_ and shearing _??_ . 4.3 Homogenizing an elastic frame into a Timoshenko model We now analyze the frame made up of linear elastic beams, shown in Figure 3. Specifically, we show that the homogenization procedure can deliver a Timoshenko beam model, when the rotation of the cross-sections is added to the list of macroscopic parameter _?_, implying that this parameter is kept fixed during the energy relaxation. This example has been treated in (Abdoul-Anziz and Seppecher 2018b) and we use their results to verify our method. Changes to the homogenization procedure To address the elastic frame, we start over from the model in Section 4.1, with the following changes. - There are 3 families of beams (and not 5) as indicated by the labels _?_ ∈{1 _,_ 2 _,_ 3} in Figure 3(a). - We revert to the case of uniform properties by discarding the parameter _?_ . - We change the scaling assumption on the transverse displacement _?_ in (27b) to _?_ ( _?_ <sup>¯</sup> ) = <sup>_?_</sup> _?_ <sup>_?_</sup> - _?_ ¯ _?_ / _?_ _,_ (42) in such a way that the rotation _?_ <sup>′</sup> (and not the curvature _?_ <sup>′′</sup> ) is of order _?_ <sup>0</sup> : this delivers the Timoshenko model is a more convenient form. - To model the stiff junctions, we introduce the nodal rotation _??_ ± at a node _?_ ± (in addition to the nodal displacement _??_ ± from (25)): _??_ ± is given in terms of two additional unknown continuous functions _??_ <sup>−( ¯</sup> <sup>_?_</sup> <sup>) and</sup> <sup>_?_</sup> _?_ <sup>+( ¯</sup> <sup>_?_</sup> <sup>) as</sup> _?_ <sup>−( ¯</sup> <sup>_?_</sup> <sup>) and</sup> <sup>_?_</sup> _?_ <sup>+</sup> _?_ <sup>+( ¯</sup> <sup>_?_</sup> <sup>) as</sup> _??_ ± = _?_ <sup>′</sup> ( _?_ <sup>¯</sup> _?_ ) + _??_ <sup>±( ¯</sup> <sup>_??_</sup> <sup>)</sup> <sup>_._</sup> (43) Including the centerline rotation _?_ <sup>′</sup> as the first term in the right-hand side makes the microscopic displacements _??_ <sup>±</sup> <sup>invariant by rigid-body rotations, so that they can be expressed in terms of the</sup> strain as assumed in our procedure. - For a beam of type _?_, the classical theory of linear (Euler-Bernoulli) beams can be summarized as follows. In addition to the stretching strain _??_ in (23), one has to consider a curvature strain _??_ and a shearing strain _??_, as sketched in Figure 3(b), ( _?_ _??_ 2 - _?_ _??_ 1 ) · ( _?_ 3 × _??_ ) _??_ _??_ = _???_ 2 - _???_ 1 _,_ _??_ = _???_ 1 + _???_ 2 2 _._ (44) Here, _??_ is an _apparent_ shearing strain at the scale of unit cells, which actually resolves into _bending_ microscopically, see Figure 3(b): our Euler-Bernoulli ‘microscopic’ beam model is shearless. The elastic energy of the beam is then of the form _??_ = <sup>_???_</sup> 2 <sup>_???_</sup> 2 <sup>_?_</sup> _?_ <sup>2</sup> <sup>+</sup> <sup>_??_</sup> 2 _?_ <sup>_??_</sup> 2 _?_ <sup>(</sup> <sup>_?_</sup> _?_ <sup>2</sup> <sup>+ 12</sup> <sup>_?_</sup> _?_ <sup>2</sup> _?_ <sup>2</sup> <sup>)</sup> <sup>_._</sup> (45) - We define the (apparent) rotation of the cross-sections _<u>?</u>_ as the rotation of the line passing through the nodes _?_ - and _?_ + facing each other, <u>1</u> _?_ <sup><u>1</u></sup> <sup>(</sup> <sup>_??_</sup> <sup>+</sup> <sup>−</sup> <sup>_??_</sup> <sup>−) ·</sup> <sup>_?_</sup> <sup>1</sup> <sup>=</sup> <sup>_?_</sup> <sup>′( ¯</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> <sup>+</sup> _<u>?</u>_ ( _?_ <sup>¯</sup> ) = − _?_ <sup><u>1</u></sup> <u>1</u> <sup>( ¯</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> <u>1</u> <sup>−( ¯</sup> <sup>_?_</sup> <sup>)</sup> _._ (46) <sup>+</sup> _?_ - Next, we consider the following _scaled_ macroscopic parameters: centerline extensional strain _<u>?</u>_ _?_ ( _?_ ) = _?_ <sup>′</sup> ( _?_ ) = _?_ <sup>′</sup> ( _??_ / _?_ ), centerline curvature _?_ ( _?_ ) = _?_ <sup>′′</sup> ( _?_ ) = _?_ <sup>_?_</sup> <sup>′′ (</sup> <sup>_??_</sup> <sup>/</sup> <sup>_?_</sup> <sup>),</sup> <sup>rotation</sup> <sup>of</sup> cross-sections _?_ ( _?_ ) = _?_ <sup>′</sup> ( _?_ ) −( _??_ <sup>+(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> _?_ <sup>−(</sup> <sup>_?_</sup> <sup>))</sup> <sup>=</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_??_</sup> <sup>/</sup> <sup>_?_</sup> <sup>) and shear angle</sup> _?_ <sup>+(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> _?_ <sup>−</sup> _?_ <sup>−(</sup> <sup>_?_</sup> <sup>))</sup> <sup>=</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_??_</sup> <sup>/</sup> <sup>_?_</sup> <sup>) and shear angle</sup> _?_ ( _?_ ) = _?_ ( _?_ ) − _?_ <sup>′</sup> ( _?_ ) = −( _??_ <sup>+</sup> _?_ <sup>+(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> _?_ <sup>−</sup> _?_ <sup>−(</sup> <sup>_?_</sup> <sup>))</sup> <sup>_._</sup> (47) - The vector of microscopic degrees of freedom _?_ is extended to reflect the presence of the two additional fields capturing nodal rotation: Equation (30) is changed to _?_ ( _?_ ) = ( _?_ 1 <sup>−</sup> 1 <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> 1 <sup>+</sup> 1 <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> (48) - A key modification to the homogenization procedure is that we include the shear angle in the list of macroscopic parameters, _?_ ( _?_ ) = ( _?_ ( _?_ ) _,?_ ( _?_ ) _,?_ ( _?_ )) _,_ (49) by contrast with (29). Equation (47) can then be rewritten as _?_ 3( _?_ ) + _??_ <sup>+</sup> _?_ <sup>+(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_?_</sup> _?_ <sup>−</sup> _?_ <sup>−(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0</sup> ∀ _?._ (50) This kinematic constraint is taken care of by including the left-hand side of the above equation as a component of strain (specifically, _?_ 12) and by extending the constraint matrix Q from Table 4 to include a third row filled with zeros, except for an entry equal 1 in column 12, see Equation (3). - The strain _?_ ∈ R <sup>12</sup> is now a vector of length 12, made up of the three strain measures ( _??,??,??_ ) for each of the three types of beams, _?_ ∈{1 _,_ 2 _,_ 3}, the two left-hand sides in the zero-averagedisplacement constraints (26), and the left-hand side of (50). ∫ +∞ - The discrete energy is finally approximated by a continuous integral Φ = −∞ <sup>_?_</sup> <sup>d</sup> <sup>_?_</sup> <sup>capturing the</sup> elastic potentials of the beams (45) 2 _??_ _?_ ( _?_ ) = <sup>_???_</sup> 2 _?_ - _?_ 1 <sup>2</sup> <sup>2</sup> - + <sup>_??_</sup> 1 <sup>+</sup> <sup>_?_</sup> 4 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 7 <sup>2</sup> - ( _?_ 2 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 5 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 8 <sup>2) + 12(</sup> <sup>_?_</sup> 3 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 6 <sup>2</sup> <sup>+</sup> <sup>_?_</sup> 9 <sup>2)</sup> _._ (51) The coefficient _?_ in the denominators is produced when the discrete sum over beams is approximated by an integral, as earlier in (34). The scale separation parameter _?_ ≪ 1 is unspecified so far, and we set it to be the small aspect-ratio of the beams, _i.e._, we set ~~√~~ _??_ _?_ <sup>2</sup> _??_ <sup>_._</sup> (52) _?_ := Doing so, we are anticipating that, in the forthcoming Timoshenko model, the shearing mode will relax over a typical macroscopic length _?_ / _?_ (this macroscopic length _?_ / _?_ has been introduced earlier in the definition of the scaled arclength _?_ <sup>¯</sup> = _??_ / _?_ ). The validity of this assumption will be checked later, by verifying that the the various terms in the Timoshenko model are produced with consistent powers of _?_, see Equation (55) below. Equation (52) is used to eliminate _??_ in favor of _??_ and _?_ in the elastic potential (51): in the homogenization procedure, the energy Φ provided on input may depend explicitly on _?_ . Results of the homogenization procedure The homogenization procedure is carried out in the Mathematica notebook `frame-timoshenko.nb` included in the library. With the boundary terms omitted (case of an infinitely long truss), the result of the homogenization procedure are interpreted as _?_ <sup>_?_</sup> <sup>_,_</sup> (53) Φ <sup>_★_</sup> = ∫ +∞ −∞ - _?_ ext _★_ <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,?_</sup> <sup>′(</sup> <sup>_?_</sup> <sup>)) +</sup> <sup>_?_</sup> Tm <sup>_★_</sup> Tm <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>)) + O(</sup> <sup>_?_</sup> <sup>3)�</sup> <sup><u>d</u></sup> _?_ <sup>_?_</sup> where _?_ ext <sup>_★_</sup> <sup>(</sup> <sup>_?,?_</sup> <sup>′) is a higher-order gradient bar model applicable to the longitudinal displacement</sup> _?_, <sup>_★_</sup> ext <sup>(</sup> <sup>_?,?_</sup> <sup>′)</sup> <sup>=</sup> <sup>_???_</sup> - 2 _?_ <sup>2</sup> - <sup>_?_</sup> 6 <sup>2</sup> <sup>_?_</sup> <sup>′2</sup> _,_ (54) _?_ <sup>_★_</sup> 2 and _?_ Tm <sup>_★_</sup> <sup>(</sup> <sup>_?,?,?_</sup> <sup>′)</sup> <sup>is a Timoshenko beam model applicable to the transverse displacement</sup> <sup>_?_</sup> <sup>,</sup> <sup>_★_</sup> Tm <sup>(</sup> <sup>_?,?,?_</sup> <sup>′)</sup> <sup>=</sup> <sup>_?_</sup> <sup>2</sup> <sup>_???_</sup> 2 - <u>1</u> _._ (55) 2 <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_?_</sup> <sup>′)2 + 8</sup> <sup>_?_</sup> <sup>2</sup> _?_ <sup>_★_</sup> 2 The details can be found in the Mathematica notebook. Remark 10 The square term _?_ <sup>2</sup> ( _?_ + _?_ <sup>′</sup> ) <sup>2</sup> appearing in _?_ <sup>_★_</sup> The square term _?_ <sup>2</sup> ( _?_ + _?_ <sup>′</sup> ) <sup>2</sup> appearing in _?_ <sup>_★_</sup> Tm <sup>is</sup> <sup>first</sup> <sup>obtained</sup> <sup>in</sup> <sup>_expanded_</sup> <sup>form,</sup> <sup>with</sup> <sup>the</sup> different terms _?_ <sup>2</sup> _?_ <sup>2</sup>, 2 _?_ <sup>2</sup> _??_ <sup>′</sup> and _?_ <sup>2</sup> _?_ <sup>′2</sup> appearing respectively in the successive contributions Φ <sup>_★_</sup> [0] <sup>,</sup> <sup>Φ</sup> <sup>_★_</sup> [1] <sup>and</sup> <sup>Φ</sup> <sup>_★_</sup> [2] <sup>to</sup> <sup>the</sup> <sup>energy.</sup> <sup>The</sup> <sup>factored</sup> <sup>form</sup> <sup>in</sup> <sup>the</sup> <sup>equation</sup> <sup>above</sup> <sup>emerges</sup> <sup>when</sup> Φ <sup>_★_</sup> = Φ <sup>_★_</sup> [0] <sup>+ Φ</sup> <sup>_★_</sup> [1] <sup>+ Φ</sup> <sup>_★_</sup> [2] <sup>is simplified.</sup> <sup>_★_</sup> [0] <sup>,</sup> <sup>Φ</sup> <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>and</sup> <sup>Φ</sup> <sup>_★_</sup> [2 <sup>_★_</sup> [0] <sup>+ Φ</sup> <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>+ Φ</sup> <sup>_★_</sup> [ <sup>_★_</sup> [2] <sup>is simplified.</sup> With _?_ ext <sup>_★_</sup> <sup>(</sup> <sup>_?,?_</sup> <sup>′)</sup> <sup>=</sup> <sup>O(</sup> <sup>_?_</sup> <sup>0)</sup> <sup>while</sup> <sup>_?_</sup> Tm <sup>_★_</sup> <sup>(</sup> <sup>_?,?,?_</sup> <sup>′)</sup> <sup>=</sup> <sup>O(</sup> <sup>_?_</sup> <sup>2), the stretching energy is dominant:</sup> this agrees with the fact that Abdoul-Anziz and Seppecher (Abdoul-Anziz and Seppecher 2018b) reported an inextensible model ( _?_ ≡ 0). Turning therefore attention to the transverse displacement, we eliminate the shear angle _?_ in favor of the apparent rotation _?_ = _?_ <sup>′</sup> + _?_ of cross-sections. Recalling the definition of the scaled curvature _?_ = _?_ <sup>′′</sup>, and rearranging using (52), we obtain the Timoshenko model in standard form, ext <sup>_★_</sup> <sup>(</sup> <sup>_?,?_</sup> <sup>′)</sup> <sup>=</sup> <sup>O(</sup> <sup>_?_</sup> <sup>0)</sup> <sup>while</sup> <sup>_?_</sup> Tm <sup>_★_</sup> With _?_ ext <sup>_★_</sup> <sup>_★_</sup> Tm <sup>=</sup> <sup><u>1</u></sup> 2 - _??_ ′( _?_ )� 2 + _??_ - _?_ ′( _?_ ) − _?_ ( _?_ )� 2 <sup>�</sup> _,_ (56) _?_ <sup>_★_</sup> 2 _??_ and the elastic moduli are identified as <sup>_???_</sup> _??_ = <sup><u>8</u></sup> <sup>_??_</sup> 2 <sup>_,_</sup> _?_ _??_ = <sup>_???_</sup> _?_ <sup>_??_</sup> <sup>_._</sup> (57) The same elastic frame has been homogenized in (Abdoul-Anziz and Seppecher 2018b) and the authors reported homogenized moduli _??_ = 1/2 and _??_ = 2. These values are a special case of (57), implying that our homogenization results are consistent. Indeed, a careful analysis of the beam model used by these authors reveals that they limited attention to the special case _??_ = 1/ _?_ and _??_ = _?_ /4 (when setting both their elastic moduli _?_ AS and _?_ AS to 1, see the note `frame-timoshenko-AS18-beam-model.pdf` in the library). Remark 11 In terms of the original (un-scaled) deflection _?_ ( _?_ <sup>¯</sup> ) and cross-section rotation _<u>?</u>_ ( _?_ <sup>¯</sup> ) = _?_ <sup>�</sup> _??_ <sup>¯</sup> / _?_ <sup>�</sup>, the Timoshenko model appearing in (53–56) can be rewritten as <sup>_??_</sup> _?_ <sup>2</sup> <sup>(</sup> <sup>_?_</sup> <sup>′( ¯</sup> <sup>_?_</sup> <sup>) −</sup> <sup>_<u>?</u>_</sup> <sup>( ¯</sup> <sup>_?_</sup> <sup>))2</sup> - _???_ 2 2 _<u>?</u>_ <sup>′2</sup> ( _?_ <sup>¯</sup> ) + <sup><u>8</u></sup> <sup>_??_</sup> 2 _?_ <sup>2</sup> d _?._ <sup>¯</sup> (58) Φ <sup>_★_</sup> transv <sup>=</sup> ∫ +∞ −∞ <u>1</u> 2 Remark 12 We obtained a Timoshenko model as a consequence of the fact that the shear angle _?_ = _?_ 3 is treated as a macroscopic parameter, and not just because the lattice is made up of beams. Indeed, lattices made up of bars ( _??_ = 0) can yield Timoshenko models as well when homogenized. The motivation for using beams in this example was to compare with the earlier work of (Abdoul-Anziz and Seppecher 2018b). ## 5 Derivation of the homogenized model 5.1 Leading order (classical homogenization) At order _?_ <sup>0</sup>, the microscopic displacement (21) is given by _?_ ( _?_ ) = _?_ [0] ( _?_ ) + O( _?_ ). The gradients terms ∇ <sup>_?_</sup> _?_, ∇ <sup>_?_</sup> _?_ and ∇ <sup>_?_</sup> _?_ are of order _?_ <sup>_?_</sup> by (7) and can be ignored for _?_ ⩾ 1. With the gradients neglected, we denote the microscopic strain in (2) as _?_ <sup>(0)</sup> ( _?, ?,_ _?_ ) = _?_ ( _?_ ; _?,_ 0 _,_ 0 _, . . ._ ; _?,_ 0 _,_ 0 _, . . ._ ) = _??_ ( _?_ ) · _?_ + _?_ _?_ ( _?_ ) · _?,_ (59) and the bulk energy density in (5) as _?_ <sup>(0)</sup> ( _?, ?,_ _?_ ) = _?_ ( _?, ?_ <sup>(0)</sup> ( _?, ?,_ _?_ )) _._ (60) The order _?_ <sup>0</sup> approximation of the strain energy (4) can then be obtained as Φ[ _?, ?,_ _?_ ] = Φ[0] [ _?, ?,_ _?_ [0]] + O( _?_ <sup>_?_</sup> _?_ ), where Φ[0] [ _?, ?,_ _?_ [0]] = ∫ _?_ <sup>(0)</sup> ( _?_ ( _?_ ) _, ?_ ( _?_ ) _,_ _?_ [0] ( _?_ ))d _?_ _._ (61) Ω At leading order _?_ <sup>0</sup>, the variational problem (9) can be written as   Q - ( _?_ _?_ ( _?_ ( _?_ )) · _?_ [0] ( _?_ ) + _??_ ( _?_ ( _?_ )) · _?_ ( _?_ )) = 0 ∀ _?_ ∫ Ω D _?_ Φ[0] [ _?, ?,_ _?_ [0]; _??_ ] + (( Q - _?_ _?_ ( _?_ ( _?_ )) <sup>_?_</sup> - _?_ [0] ( _?_ )) · _??_ ( _?_ )d _?_ = 0 ∀ _??._ (62a) (62b) Its solution is denoted as ( _?_ [0] _, ?_ [0]) = ( _?_ <sup>_★_</sup> [0] <sup>_, ?★_</sup> [0] <sup>).</sup> No gradient of ∇ _?_ [0] is present in the expression of Φ[0] in (61) nor in the integral in (62b), implying that this variational problem is _local_ : at any point _?_, we must solve the following problem for the unknowns _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>),</sup> Its solution is denoted as ( _?_ [0] _, ?_ [0]) = ( _?_ <sup>_★_</sup> [0 <sup>_★_</sup> [0] <sup>_, ?★_</sup> [ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>),</sup> <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?★_</sup> [ Q - _?_ _?_ ( _?_ ( _?_ )) · _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>Q</sup> <sup>·</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> = 0 _??_ <sup>(0)</sup> Q - _?_ _?_ ( _?_ ( _?_ )) · _?_ <sup>_★_</sup> [ ( _?_ ( _?_ ) _, ?_ ( _?_ ) _,_ _?_ <sup>_★_</sup> [ _??_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)) + (</sup> <sup>Q</sup> <sup>·</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>_?_</sup> <sup>·</sup> <sup>_?★_</sup> [0 (63) <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> = 0 _,_ where we have used the expression of Φ[0] in (61). The solution ( _?_ <sup>_★_</sup> [ where we have used the expression of Φ[0] in (61). The solution ( _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>at</sup> <sup>any</sup> particular point _?_ depends on the local values of _?_ ( _?_ ) and _?_ ( _?_ ) only. In Appendix B, the solution _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>is obtained in the form announced earlier in (22a),</sup> <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [0 <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>is obtained in the form announced earlier in (22a),</sup> _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,_</sup> (64) and an explicit expression for the localization tensor _?_ 0( _?_ ) is given in (B.7–B.8). Inserting (64) into (61), we derive in Appendix B the dominant contribution to the energy Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>= Φ[0]</sup> <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [0] <sup>]</sup> <sup>that was announced in (17), namely</sup> <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>= Φ[0]</sup> <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [0 <sup>_★_</sup> [0] <sup>]</sup> <sup>that was announced in (17), namely</sup> Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω <u>1</u> 2 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>_._</sup> (65) The expression of the leading-order stiffness tensor _?_ 0( _?_ ) is given in Equation (B.12) in the Appendix. 5.2 Analysis of the gradient effect We now proceed to solve the next orders in the microscopic displacement, see (21) and (64), _?_ ( _?_ ) = _?_ 0( _?_ ( _?_ )) · _?_ ( _?_ ) + _?_ [1] ( _?_ ) + _?_ [2] ( _?_ ) + · · · (66) Inserting this into (4), we derive a Taylor expansion of the energy as Φ = Φ <sup>_★_</sup> [ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>] + Φ</sup> <sup>_★_</sup> [1 <sup>_★_</sup> [1] <sup>[</sup> <sup>_?, ?_</sup> <sup>] + Φ[2]</sup> <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?_</sup> [1] <sup>]</sup> (67) where Φ[ _?_ ] denotes the term of order _?_ <sup>_?_</sup>, and the star is used to mark energy contributions that do not depend on the yet-unknown corrector _?_ [1]. The dominant term Φ <sup>_★_</sup> [0] <sup>is the functional</sup> found earlier in (65), while the next-order terms Φ[1] and Φ[2] are obtained in Equations (C.20) and (C.24) in Appendix C as Φ <sup>_★_</sup> [1] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω ( A ( _?_ ) : _?_ ⊗ _?_ ) : ∇ _?_ ( _?_ )d _?_ - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 - B “ <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) ∫ �� C <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) Ω - ∴ ∇ <sup>2</sup> _?_ + Φ[2] [ _?, ?,_ _?_ [1]] = ∫ Ω ���� + + ( B <sup>“</sup> <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ⊗ _?_ [1]) + W _??_ ( _?_ ) : (68a) (68b) ���� d _?_ _?_ [1] ⊗ _?_ [1] 2 - C <sup>(1)</sup> ( _?_ ) · _?_ : ∇ _?_ [1] d _?,_ Closed-form expressions for the operators appearing in the right-hand side are derived in Appendix C. In the right-hand sides above, we have introduced the vector _?_ = ( _?, ?,_ (1)) obtained by concatenating the macroscopic variables _?_ and _?_, and adding a trailing entry 1, see Appendix C.1: this notation trick simplifies the calculations significantly. It is remarkable that Φ <sup>_★_</sup> [1] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>does not depend on the corrector</sup> <sup>_?_</sup> <sup>[1], even though both are</sup> of order _?_ . As a result, the first correction Φ <sup>_★_</sup> [1] <sup>depends on the macroscopic variables</sup> <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> It is remarkable that Φ <sup>_★_</sup> [ of order _?_ . As a result, the first correction Φ <sup>_★_</sup> [1] <sup>depends on the macroscopic variables</sup> <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> only, as conveyed by the star notation which we reserve for the output of the homogenization procedure. For a similar reason explained in the Appendix, Φ[2] [ _?, ?,_ _?_ [1]] does not depend on _?_ [2] even though both are of order _?_ <sup>2</sup> . It does depend on the unknown correction _?_ [1], however. The gradient term ∇ _?_ [1] appearing in the integrand of Φ[2] in (68b) can be removed by integrating by parts the C <sup>(1)</sup> term—the benefit is that the problem of optimizing Φ[2] with respect to the function _?_ [1] ( _?_ ) then becomes a _local_ problem. We choose to integrate the C <sup>(0)</sup> by parts as well, as the result can be merged with the B <sup>“</sup> <sup>(0)</sup> ( _?_ ) term. These two integration by parts are carried out in the Appendix and the result is Φ[2] [ _?, ?,_ _?_ [1]] = Φ <sup>bt</sup> [2 <sup>bt</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?_</sup> [1] <sup>] + Φit</sup> [ <sup>it</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?_</sup> [1] <sup>]</sup> <sup>_,_</sup> (69) where the boundary terms Φ <sup>bt</sup> [2 <sup>bt</sup> [2] <sup>and integral terms Φit</sup> [ <sup>it</sup> [2] <sup>are given in (C.29), respectively, as</sup> - ∴ (∇ _?_ ⊗ _?_ ) + ( C <sup>(1)</sup> ( _?_ )· _?_ ) : ( _?_ [1] ⊗ _?_ ) d _?_ (70) Φ <sup>bt</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?_</sup> [1] <sup>]</sup> <sup>=</sup> ∮ _?_ Ω �� C <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) and - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 ���� + ( B <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ⊗ _?_ [1]) + W _??_ ( _?_ ) : - B <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) Φ <sup>it</sup> [2] <sup>[</sup> <sup>_?,_</sup> <sup>_?_</sup> [1] <sup>]</sup> <sup>=</sup> ∫ Ω d _?_ _._ (71) ���� _?_ [1] ⊗ _?_ [1] 2 As anticipated, the gradient terms ∇ _?_ [1] have all disappeared. Having worked out the expansion of the energy, we proceed to solve the variational problem (9) at order _?_ : inserting the expansion _?_ ( _?_ ) = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>into the energy (67) we get</sup> a variational problem for the corrector _?_ [1] and a Lagrange multiplier _?_ [1], = 0 ∀ _?_ (72a) (72b)   Q - _?_ _?_ ( _?_ ( _?_ )) · _?_ [1] ( _?_ ) + ( J <sup>1</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ∇ _?_ ( _?_ ) ∫ D _?_ Φ[2] [ _?, ?,_ _?_ [1]; _??_ ] + Ω _?_ [1] ( _?_ ) · Q - _?_ _?_ ( _?_ ( _?_ )) · _??_ ( _?_ )d _?_ = 0 (∀ _??_ ) _._ The incremental form of the kinematic constraint appearing in (72a) above is established in the Appendix in terms of an operator J <sup>1</sup> ( _?_ ), see (C.13), (C.10a) and (C.12a). In the absence of any gradient of _?_ [1], see (71), the variational problem for _?_ [1] in (72) is local. This variational problem is solved in the Appendix, §C.8: - The boundary integral Φ <sup>bt</sup> [2] <sup>from Equation (70) yields a stationarity condition applicable on</sup> the boundary _?_ Ω of the domain, see Equation (C.31) in the Appendix. This condition does not depend on _?_ [1] and it warrants variational consistency of the input model Φ. We will analyze this condition further in future work. - The bulk integral Φ <sup>it</sup> [2] <sup>from Equation (71) yields a stationarity condition applicable in the interior</sup> Ω <sup>◦</sup> of the domain, that yields the corrector _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>Lagrange</sup> <sup>multiplier</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>).</sup> <sup>The</sup> Ω <sup>◦</sup> of the domain, that yields the corrector _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>Lagrange</sup> <sup>multiplier</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>).</sup> <sup>The</sup> solution is of the form announced in (22b), <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>Lagrange</sup> <sup>multiplier</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>(</sup> <sup>_?_</sup> <sup>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>) +</sup> <sup>_?_</sup> 0 <sup>′</sup> _?_ <sup>_★_</sup> [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> (73) where the localization tensors _?_ 1( _?_ ) and _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>are</sup> <sup>derived</sup> <sup>in</sup> <sup>Equation</sup> <sup>(C.48)</sup> <sup>in</sup> <sup>the</sup> Appendix. Inserting this solution into (69–71) yields the functional Φ <sup>_★_</sup> [2 <sup>it</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [ Inserting this solution into (69–71) yields the functional Φ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>= Φit</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [1] <sup>]+</sup> Φ <sup>bt</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [1] <sup>]</sup> <sup>that has been announced in (19).</sup> <sup>bt</sup> [2] <sup>[</sup> <sup>_?, ?,_</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>]</sup> <sup>that has been announced in (19).</sup> <sup>_★_</sup> [2] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>= Φit</sup> [ ## 6 Symbolic implementation: The shoal library We have implemented the method in the symbolic calculation language Wolfram Mathemat ica (Wolfram Research, Inc. 2021), and we distribute it as an open-source library named `shoal` (for Second-order HOmogenization Automated using a Library) (Audoly 2023). The data listed in Table 1 describing the problem at hand is passed to this library, which then returns the tensors listed in Table 3. The extension to rank-deficient problems presented in Appendix E is implemented. The homogenization proceeds by computing the following quantities, in the following order: - W _??_ ( _?_ ), W _??_ ( _?_ ) using (B.3b–B.3c), - _?_ ( _?_ ) using (B.5), its null vectors _?_ _?_ ( _?_ ) in (E.3), its Moore–Penrose inverse _?_ <sup>†</sup> ( _?_ ), as well as I <sup>ˇ</sup> and I <sup>ˆ</sup> in (E.8), - R ( _?_ ) using (E.19), _?_ 0( _?_ ), _?_ 0( _?_ ) using (B.8–B.9), and then _?_ 0( _?_ ), _?_ 0( _?_ ) and _?_ 0( _?_ ) using (B.11), (B.12) and (B.14), see also Table 5, - V <sup>_?_</sup>, V <sup>_?_</sup>, V <sup>1</sup> using (C.2), - L ( _?_ ) using (C.5), L <sup>1</sup> ( _?_ ), L <sup>11</sup> ( _?_ ), L <sup>2</sup> ( _?_ ) using (C.7), J <sup>1</sup> ( _?_ ), J <sup>11</sup> ( _?_ ), J <sup>2</sup> ( _?_ ) using (C.10), - A ( _?_ ) using (C.21), and then _?_ 0( _?_ ) _?_ 1( _?_ ) using (C.23), - B <sup>“</sup> <sup>(0)</sup> ( _?_ ), B <sup>“</sup> <sup>(1)</sup> ( _?_ ), C <sup>(0)</sup> ( _?_ ), C <sup>(1)</sup> ( _?_ ) using (E.24), - Δ B <sup>(0)</sup> ( _?_ ), Δ B <sup>(1)</sup> ( _?_ ) using (C.28), and then B <sup>(0)</sup> ( _?_ ), B <sup>(1)</sup> ( _?_ ) using (C.30), - R <sup>′</sup> ( _?_ ), Y <sup>′</sup> ( _?_ ), G <sup>′</sup> ( _?_ ) using (C.35–C.37), and then _?_ 1( _?_ ), _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>using (C.48a–C.48b),</sup> - B ( _?_ ), C ( _?_ ) using (C.45) and (C.39), and then _?_ 2( _?_ ), _?_ 1( _?_ ), _?_ 0( _?_ ), _?_ 1( _?_ ), _?_ 0( _?_ ) using (C.48c– C.48g), - if _?_ d _>_ 0, the solvability conditions appearing in (E.14), (E.25) and (E.30). The implementation makes use of standard tensor algebra operations on symbolic tensors, including general transpositions and multiple contractions, as well as symbolic differentiation with respect to _?_, see (C.28). Note that the vector _?_ never appears explicitly in the implementation. At leading order and in the non-deficient case, the procedure is implemented by the equations listed in Table 5, corresponding to the first three bullet points above. The homogenization at the two following orders makes use of the subsequent bullet points. The special case of uniform properties, when the parameter _?_ is absent, is worked out in Appendix D, see Table D.2 in particular. Table 5 Implementation of the leading-order procedure in the non-deficient case ( _?_ d = 0), based on the formulas referenced in the first three items in the bullet list from Section 6. _?_ ( _?_ ) = �� W _??_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ ( _?_ ) · K ( _?_ ) · _?_ _?_ ( _?_ ) W _??_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ ( _?_ ) · K ( _?_ ) · _??_ ( _?_ ) �� W _??_ ( _?_ ) ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> Q - _?_ _?_ ( _?_ ) 0 _?_ c× _?_ c R ( _?_ ) = - _?_ <sup>−1</sup> ( _?_ ) · <sup>�</sup> W _??_ ( _?_ ) Q - _??_ ( _?_ ) R ( _?_ ) = - _?_ <sup>−1</sup> ( _?_ ) · <sup>�</sup> - �� Q - _??_ ( _?_ ) - - - _?_ 0 ( _?_ ) = _?_ _??_ 0 _??_ × _?_ c - R ( _?_ ) - - - _?_ _??_ 0 _??_ × _?_ c - R ( _?_ ) _?_ 0 ( _?_ ) = 0 _?_ c× _?_ c _?_ _?_ c - R ( _?_ ) _?_ 0 ( _?_ ) = _??_ ( _?_ ) + _?_ _?_ ( _?_ ) · _?_ 0 ( _?_ ) _?_ 0 ( _?_ ) = _?_ <sup>_?_</sup> 0 <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ 0 ( _?_ ) = K ( _?_ ) · _?_ 0 ( _?_ ) + Q <sup>_?_</sup> - _?_ 0 ( _?_ ) ## 7 Connection with the second-order homogenization of periodic continua In this section, we show that the extension of the proposed homogenization method to the case of periodic elastic continuum gives similar results to the classical approach (Smyshlyaev and Cherednichenko 2000; Boutin 2019; Durand et al. 2022). Similarly to the discrete example discussed earlier, we consider an infinite medium, so that boundary terms do not matter. We consider a periodic microstructure: the extension to slowly varying material properties or geometry could be considered as well, and would yield a derivation similar to the one proposed in (Le and Marigo 2018). Figure 4 A continuum with a periodic microstructure. ? _x_ _X_ It is possible to derive the homogenization for periodic continua from the homogenization results for discrete systems established in the previous sections but this is quite technical. We thus prefer to carry out homogenization from scratch, following the same sequence of steps again. In addition, we do not attempt to link the various quantities relevant to the periodic continua to those relevant to discrete systems in a detailed way: we will content ourselves with formal analogies between them. 7.1 Canonical form We consider a linear elastic continuum of dimension _?_ = 2 or _?_ = 3 with a periodic microstructure of unit cell U, as illustrated in Figure 4 for _?_ = 2. The displacement field in the composite depends on a slow coordinate _?_ and a fast coordinate _?_, with _?_ = _??_ where _?_ is a small parameter, see (6), as _?_ ( _?, ?_ ) = _?_ ( _?_ ) + _?_ ( _?, ?_ ) (74) where _?_ ( _?, ?_ ) ∈ R <sup>_?_</sup> denotes a rapidly fluctuating field, U-periodic with respect to its second argument and subject to a zero-average constraint over one unit-cell, ∫ ⟨ _?_ ( _?,_ ·)⟩ = _?_ ( _?, ?_ )d _?_ = 0 _,_ ∀ _?_ _._ (75) U This constraint ensures that _?_ ( _?_ ) captures the average displacement, ⟨ _?_ ( _?,_ ·)⟩ = _?_ ( _?_ ). We define the macroscopic strain _?_ as the symmetrized gradient of _?_ ( _?_ ) _?_ ( _?_ ) = ∇ <sup>s</sup> _?_ ∈ T <sup>(</sup> <sup>_?,?_</sup> <sup>)</sup> _,_ (76) where the symbol ∇ <sup>s</sup> denotes the symmetrized gradient with respect to the slow coordinate _?_ . The microscopic strain is the pair _?_ = <sup>�</sup> _?_ ( _?, ?_ ) _,_ ⟨ _?_ ( _?,_ ·)⟩ <sup>�</sup> with _?_ ∈ T <sup>(</sup> <sup>_?,?_</sup> <sup>)</sup>, _?_ ( _?, ?_ ) = _?_ ( _?_ ) + ∇ <sup>s</sup> _?_ ( _?, ?_ ) + _?_ <sup>s</sup> _?_ ( _?, ?_ ) _,_ (77) where _?_ <sup>s</sup> denotes the symmetrized gradient with respect to the fast coordinate _?_ . This definition is formally similar to (2): we can identify _??_ - _?_ ∼ <sup>�</sup> _?_ ( _?_ ) _,_ 0 <sup>�</sup>, _?_ _?_ - _?_ ∼ <sup>�</sup> _?_ <sup>s</sup> _?_ ( _?, ?_ ) _,_ 0 <sup>�</sup> and _?_ _?_ <sup>′</sup> - ∇ _?_ ∼ �∇s _?_ ( _?, ?_ ) _,_ 0� and cast the constraint (75) in a form similar to (3): Q - _?_ ( _?, ?_ ) = ⟨ _?_ ( _?,_ ·)⟩ = 0 ∀ _?_, with Q = ( 0 1 ). The energy is postulated in the form ∫ U Φ = ∫ Ω <u>1</u> _?_ ( _?_ )d _?_ where _?_ ( _?_ ) = 2|U| _?_ ( _?, ?_ ) : C( _?_ ) : _?_ ( _?, ?_ )d _?_, (78) and where _?_ ( _?, ?_ ) = <sup>�</sup> 1 _,_ 0 <sup>�</sup> - _?_ ( _?, ?_ ). In (78), C( _?_ ) ∈ T <sup>(</sup> <sup>_?,?,?,?_</sup> <sup>)</sup> is a U-periodic elasticity tensor (slowly varying properties could be considered here by including an additional dependency on _?_, _i.e._, by considering C( _?, ?_ ), see (Le and Marigo 2018)). Note that no boundary integral is present in the above expression of Φ. Boundary integrals do emerge, however, when one attempts to justify rigorously the hierarchy in the integrations postulated in (78)—over _?_ first and over _?_ next—, starting from the elastic energy of a periodic continuum in the limit of scale separation _?_ → 0. In addition, boundary terms make it possible to account for the incomplete unit cells located at the boundary of the structure. The analysis of these boundary terms is however beyond the scope of this paper. 7.2 Leading order homogenization At leading order, we neglect slow gradients by setting ∇ <sup>s</sup> _?_ ( _?, ?_ ) = 0, the energy writes in the form (61) with _?_ <sup>(0)</sup> ( _?,_ _?_ ) = <u>1</u> 2|U| ∫ U ( _?_ + _?_ <sup>s</sup> _?_ ( _?_ )) : C( _?_ ) : ( _?_ + _?_ <sup>s</sup> _?_ ( _?_ )) d _?._ (79) For a given symmetric strain tensor _?_ ∈ T <sup>(</sup> <sup>_?,?_</sup> <sup>)</sup>, we seek the stationary point _?_ ( _?_ ) = _?_ [0] ( _?_ ) subject to the constraint ⟨ _?_ ⟩ = 0. This writes, using Lagrange multiplier _?_ = _?_ [0],   ⟨ _?_ ⟩ = 0 ∫U <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_?_</sup> <sup>s</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>: C(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>s</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>+</sup> <sup>_?_</sup> <sup>· ⟨</sup> <sup>_??_</sup> <sup>⟩</sup> <sup>= 0</sup> ∀ _??_ (80) where _??_ ( _?_ ) is a test function. This problem is similar to (63). Replacing by a constant _??_ shows that _?_ = 0. Integration by parts provides the strong form of equilibrium. div _?_ _?_ <sup>(0)</sup> ( _?,_ _?, ?_ ) = 0 on U _,_ ⟨ _?_ ⟩ = 0 where we have defined the microscopic stress (81) _?_ <sup>(0)</sup> ( _?,_ _?, ?_ ) = C( _?_ ) : ( _?_ + _?_ <sup>s</sup> _?_ ( _?_ )) _._ (82) Note that _?_ <sup>(0)</sup> is automatically periodic in _?_, which warrants the equilibrium at the boundary of a cell U. In (81), we use the notation div _?_ for the divergence with respect to the microscopic (fast) coordinate _?_ . We denote the solution of (81) as _?_ = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>and build catalog such that</sup> <sup>_?★_</sup> [0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> _?_ 0( _?_ ) : _?_ . We further define the strain in homogeneous solution as _?_ [0] = _?_ 0( _?, ?_ ) where <sup>_★_</sup> [0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>and build catalog such that</sup> <sup>_?★_</sup> [ We denote the solution of (81) as _?_ = _?_ <sup>_★_</sup> [ _?_ 0( _?, ?_ ) = ( _?_ + _?_ <sup>s</sup> ( _?_ 0( _?_ ) : _?_ )) _,_ (83) as well as the stress _?_ 0( _?, ?_ ) = _?_ <sup>(0)</sup> ( _?,_ _?_ <sup>_★_</sup> [0] <sup>_, ?_</sup> <sup>)</sup> <sup>= C(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?, ?_</sup> <sup>).</sup> The principle of virtual work at dominant order (81) then takes the form ∫ U _?_ 0( _?, ?_ ) : _?_ <sup>s</sup> _??_ ( _?_ )d _?_ = 0 ∀ _??._ (84) We eventually obtain the leading order energy of the form (17), (65) as ∫ U Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>=</sup> ∫ [ <sup>_★_</sup> 0] <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))d</sup> <sup>_?_</sup> where _?_ [ <sup>_★_</sup> 0 _?_ [ <sup>_★_</sup> 0 <u>1</u> [ <sup>_★_</sup> 0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> 2|U| _?_ 0( _?, ?_ ) : C( _?_ ) : _?_ 0( _?, ?_ )d _?_ . (85) The expression (85) is formally identical to the leading order energy (35) in (Durand et al. 2022), which has been derived based on the approach of (Smyshlyaev and Cherednichenko 2000). This is akin to standard periodic homogenization (see also Equation (22) in (Le and Marigo 2018)). 7.3 Gradient correction As done earlier in (C.12), we further expand the microscopic strain _?_ order by order: _,_ _?_ <sup>(2)</sup> = - _?_ <sup>(2)</sup> ( _?, ?_ ) _,_ ⟨ _?_ [2] ( _?,_ ·)⟩ _,_ (86) (87) _?_ <sup>(1)</sup> = with - _?_ <sup>(1)</sup> ( _?, ?_ ) _,_ ⟨ _?_ [1] ( _?,_ ·)⟩ _?_ <sup>(1)</sup> ( _?, ?_ ) = ∇ <sup>s</sup> ( _?_ 0( _?_ ) : _?_ ( _?_ )) + _?_ <sup>s</sup> _?_ [1] ( _?, ?_ ) _?_ <sup>(2)</sup> ( _?, ?_ ) = ∇ <sup>s</sup> _?_ [1] ( _?, ?_ ) + _?_ <sup>s</sup> _?_ [2] ( _?, ?_ ) _._ Following (C.17), (C.18), we eliminate _?_ [1] from the energy at order 1 using (84) and obtain Φ[1] = ∫ Ω _?_ 0( _?_ ( _?_ ) _, ?_ ) : ∇ <sup>s</sup> ( _?_ 0( _?_ ) : _?_ ( _?_ )) d _?_ _._ (88) In (Durand et al. 2022), odd-order tensors are considered to be zero due to centro-symmetry assumption: here we work in a more general setting. A similar order-1 energy contribution is derived in (Le and Marigo 2018), see their equation (36), with an additional contribution coming from the macroscopic gradient of elastic properties. The energy at order 2 further writes, see (C.17), - <u>1</u> d _?_ d _?_ _._ (89) 2 <sup>_?_</sup> <sup>(1) (</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>: C(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>(1) (</sup> <sup>_?, ?_</sup> <sup>) +</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>(2) (</sup> <sup>_?, ?_</sup> <sup>)</sup> ∫ U Φ[2] = ∫ Ω <u>1</u> |U| Using relation (84), we can eliminate _?_ [2] from the second term ∫ U _?_ 0( _?_ ( _?_ ) _, ?_ ) : _?_ <sup>(2)</sup> ( _?, ?_ )d _?_ = ∫ U _?_ 0( _?_ ( _?_ ) _, ?_ ) : ∇ <sup>s</sup> _?_ [1] ( _?, ?_ ) d _?._ (90) Next, we identify the terms (C.26) and ( _?._ 27) that require an integration by parts ∫ - C <sup>(0)</sup> : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ ))� ∴ ∇ <sup>2</sup> _?_ ( _?_ ) d _?_ = 0 _,_ Ω ∫ ∫ <u>1</u> ∫ ∫ Ω - C <sup>(0)</sup> : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ )) Ω <sup>(</sup> <sup>C</sup> <sup>(1)</sup> <sup>·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>(</sup> <sup>_?_</sup> <sup>)d</sup> <sup>_?_</sup> <sup>=</sup> Ω ∫ U <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?_</sup> <sup>)</sup> <sup>: ∇s</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>(</sup> <sup>_?, ?_</sup> <sup>) d</sup> <sup>_?_</sup> <sup>d</sup> <sup>_?_</sup> <sup>_._</sup> ∫ (91) (92) <u>1</u> |U | After integration by parts, the energy (89) writes �� d _?_ d _?_ - _?_ d _?,_ �� ∫ U Φ[2] = ∫ Ω <u>1</u> |U| 21 <sup>_?_</sup> <sup>(1) (</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>: C(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>(1) (</sup> <sup>_?, ?_</sup> <sup>)</sup> - div _?_ _?_ 0( _?_ ( _?_ ) _, ?_ ) · _?_ [1] ( _?, ?_ ) ∫ U ∮ + _?_ Ω - <u>1</u> |U| _?_ 0( _?_ ( _?_ ) _, ?_ ) · _?_ [1] ( _?, ?_ )d _?_ where _?_ is the unit normal to the domain boundary. In (92), we use the notation div _?_ for the divergence with respect to the slow coordinate _?_ . The domain being infinite, we can ignore the boundary term and the associated stationarity condition on the boundary. The corrector _?_ = _?_ [1] (∇ _?, ?_ ) is eventually found as a solution to the _local_ variational problem, similar to (72),   ⟨ _?_ ⟩ = 0 ∫ - _?_ ( (93) U - _?_ (1) - _?_ s _??_ - div _?_ _?_ 0( _?, ?_ ) · _??_ - d _?_ + _?_ [1] - ⟨ _??_ ⟩ = 0 ∀ _??,_ where we have identified the first order correction to the microscopic stress _?_ <sup>(1)</sup> (∇ _?, ?,_ _?, ?_ ) = C( _?_ ) : ∇ <sup>s</sup> ( _?_ 0( _?_ ) : _?_ ) + _?_ <sup>s</sup> _?_ ( _?_ ). After integrating by parts, we obtain div _?_ _?_ <sup>(1)</sup> ( _?,_ _?, ?_ ) − _?_ [1] = − div _?_ _?_ 0( _?, ?_ ) on U _,_ ⟨ _?_ ⟩ = 0 (94) The microscopic stress _?_ <sup>(1)</sup> is automatically periodic in _?_, which warrants the equilibrium at the boundary of a cell U. This microscopic problem (94) is similar to equation (16) in (Durand et al. 2022). The correction _?_ <sup>_★_</sup> [1] <sup>(∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>to the microscopic degrees of freedom writes, following (73),</sup> The correction _?_ <sup>_★_</sup> [1] <sup>(∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>to the microscopic degrees of freedom writes, following (73),</sup> _?_ <sup>_★_</sup> [1] <sup>(∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>∇</sup> <sup>_?_</sup> <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>thus</sup> <sup>write</sup> <sup>the</sup> <sup>first</sup> <sup>order</sup> <sup>correction</sup> <sup>to</sup> <sup>strain</sup> <sup>as</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>=</sup> <sup>_★_</sup> [1] <sup>(∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> 0 <sup>′</sup> _?_ <sup>_★_</sup> [1] <sup>(∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>∇</sup> <sup>_?_</sup> <sup>.</sup> <sup>We</sup> <sup>can</sup> <sup>thus</sup> <sup>write</sup> <sup>the</sup> <sup>first</sup> <sup>order</sup> <sup>correction</sup> <sup>to</sup> <sup>strain</sup> <sup>as</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>=</sup> _?_ 1( _?,_ ∇ _?, ?_ ) where _?_ 1( _?,_ ∇ _?, ?_ ) = ∇ <sup>s</sup> ( _?_ 0( _?_ ) : _?_ ) + _?_ <sup>s �</sup> _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>∇</sup> <sup>_?_</sup> <sup>�</sup> <sup>_._</sup> (95) Inserting into (92) allows us to identify the second order contribution to the homogenized energy in the form (19) as Φ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?,_</sup> <sup>∇</sup> <sup>_?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω _?_ 0 :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> d _?,_ (96) 2 with <u>1</u> _?_ 0 :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> = 2 |U| ∫ U �� - div _?_ _?_ 0( _?, ?_ ) · <sup>�</sup> _?_ 0 <sup>′</sup> <u>1</u> 2 <sup>_?_</sup> <sup>1(</sup> <sup>_?,_</sup> <sup>∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>: C(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>1(</sup> <sup>_?,_</sup> <sup>∇</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>:</sup> <sup>_?_</sup> <sup>1(</sup> <sup>_?,_</sup> <sup>∇</sup> <sup>_?, ?_</sup> <sup>)</sup> �� d _?._ (97) 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>∇</sup> <sup>_?_</sup> <sup>�</sup> Boundary integrals have been removed in (96) due to the fact that we consider an infinite domain. This result is similar to equation (35) in (Durand et al. 2022) and equation (50) in (Le and Marigo 2018) (this latter work reports additional terms that capture the effect of a gradient of elastic properties). Note that it is possible to identify the tensors _?_ 0, _?_ 0 and _?_ 0 appearing in (13–14), by factoring out _?_, ∇ _?_ and _?_ in equations (85), (88), (96) and (97). However, this introduces cumbersome expressions and we prefer to ignore this step. ## 8 Discussion and conclusion We have proposed an asymptotically exact, second-order homogenization procedure for linear, discrete elastic structures, such as elastic trusses or networks of elastic beams. Our homogenization method works at the energy level, see Equations (10) and (11), and is similar in this respect to the approach to dimension reduction developed by (Berdichevskii 1981; Hodges 2006; Lestringant and Audoly 2020). It uses an _abstract_ energy formulation as a starting point, see Section 2, and as a result can equally cover two-dimensional or three-dimensional lattices made up of beams or springs. It is designed to be generic, and addresses the case of pre-stress or pre-strain as well as slowly modulated elastic or geometric properties—in their work on the homogenization of periodic continua, (Le and Marigo 2018) address the case of slowly modulated elastic properties but assume that the geometry of the unit cell is invariant. The method can also account for kinematic constraints, and can be readily applied to, _e.g._, a lattice made up of inextensible beams, see Appendix E. Besides, the connection with existing approaches on the homogenization of periodic continua has been pointed out in Section 7. The homogenization procedure involves a series of linear algebra calculations that have been implemented once for all in the form of an open-source library, named `shoal` and based on the symbolic calculation language Wolfram Mathematica. This work will serve as a foundation for a series of applications which we will cover in follow-up papers. In one particular follow-up paper, we will analyze more advanced beam lattices than those treated in the illustration section (Section 4). The uniqueness of the solutions _?_ <sup>_★_</sup> [0 <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [ The uniqueness of the solutions _?_ <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [1] <sup>to the variational problems (B.4) and (C.33)</sup> follows from the assumption (12) that W _??_ ( _?_ ) is positive definite on the subspace of kinematically admissible microscopic degrees of freedom _?_ defined by Q - _?_ _?_ ( _?_ ( _?_ )) - _?_ = 0. In these circumstances, _?_ <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [1] <sup>do not only make the strain energy</sup> <sup>_stationary_</sup> <sup>, as mentioned in the</sup> <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [ circumstances, _?_ <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [1] <sup>do not only make the strain energy</sup> <sup>_stationary_</sup> <sup>, as mentioned in the</sup> paper, but also _minimum_ . Classical work on homogenization postulates the displacement in the form of an expansion _?_ ( _?, ?_ ) = <sup>�</sup> _?_ <sup>_???_</sup> _?_ <sup>(</sup> <sup>_?, ?_</sup> <sup>), where (</sup> <sup>_?, ?_</sup> <sup>) are the slow and fast variables, respectively, and identifies</sup> Classical work on homogenization postulates the displacement in the form of an expansion _?_ ( _?, ?_ ) = <sup>�</sup> _?_ <sup>_???_</sup> _?_ <sup>(</sup> <sup>_?, ?_</sup> <sup>), where (</sup> <sup>_?, ?_</sup> <sup>) are the slow and fast variables, respectively, and identifies</sup> a potential Φ <sup>˜</sup> <sup>_★_</sup> [⟨ _?_ 0⟩ _,_ ⟨ _?_ 1⟩ _, . . ._ ] depending separately on each one of the macroscopic averages ⟨ _??_ ⟩ = ⟨ _??_ ( _?,_ ·)⟩, see (Le and Marigo 2018) for instance. As a result, the stationarity condition for Φ˜ <sup>_★_</sup> takes the form of separate problems for ⟨ _?_ 0⟩, ⟨ _?_ 1⟩, etc. It has apparently not been appreciated that the homogenized energy has to be a functional Φ <sup>_★_</sup> [⟨ _?_ 0⟩+ _?_ ⟨ _?_ 1⟩+ _?_ <sup>2</sup> ⟨ _?_ 2⟩+ · · · ] of the _total_ macroscopic displacement ⟨ _?_ ⟩ = ⟨ _?_ 0⟩+ _?_ ⟨ _?_ 1⟩+ _?_ <sup>2</sup> ⟨ _?_ 2⟩+ · · · : this warrants that its value is unaffected by a re-parameterization of _?_ leaving the physical displacement _?_ unchanged. Our approach works differently: with the notation of the continuous case from Section 7, we postulate _?_ ( _?, ?_ ) = _?_ ( _?_ ) + <sup>�</sup> _?_ <sup>_???_</sup> _?_ <sup>(</sup> <sup>_?, ?_</sup> <sup>), subject to the constraint ⟨</sup> <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?,_</sup> <sup>·)⟩</sup> <sup>= 0 (for any</sup> <sup>_?_</sup> <sup>and any</sup> <sup>_?_</sup> <sup>),</sup> see (74–75), compute the strain _?_ in terms of the (total) macroscopic displacement _?_ = ⟨ _?_ ⟩, and obtain a homogenized energy Φ <sup>_★_</sup> [ _?_ ] depending on the _total_ macroscopic strain _?_ (and not on each of the various contributions _??_ to the strain separately). This is simpler than the traditional approach, and ultimately equivalent. Among the perspectives opened up by the present work, we can mention the extension to non-linear elastic structures (which can be addressed by adapting our previous work on _non-linear_ dimension reduction (Lestringant and Audoly 2020)) and a careful treatment of the boundary layers (which we could incorporate into the homogenized model by means of effective boundary terms, along the lines of what has been done by (David et al. 2012)). ## Appendix A Tensor algebra The dimension of the Euclidean space is denoted as _?_ . The Euclidean space is endowed with an orthonormal Cartesian basis ( _?_ 1 _, . . ., ??_ ). A generic point in the Euclidean space is denoted as _?_ ∈ R <sup>_?_</sup> . We denote as T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> the tensor space T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> = R <sup>_?_</sup> <sup>1</sup> ⊗ R <sup>_?_</sup> <sup>2</sup> ⊗ _. . ._ ⊗ R <sup>_??_</sup> made of tensors _?_ of rank _?_ and dimensions _?_ 1 × _?_ 2 × · · · × _??_ . In particular, _?_ _?_ ∈ T <sup>(</sup> <sup>_?,?_</sup> <sup>)</sup> denotes the identity matrix in dimension _?_ and 0 _?_ 1×···× _??_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> the null tensor with dimensions _?_ 1 × · · · × _??_ . Tensors and vectors are denoted using bold symbols, while scalars (including tensor _compo-_ _nents_ ) are denoted using non-bold symbols. Given two tensors _?_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> and _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>′</sup> 1 Given two tensors _?_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> and _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>′</sup> 1 <sup>_,?_</sup> <sup>′</sup> 2 <sup>_,...,?_</sup> <sup>′</sup> <sup>_?_</sup> <sup>)</sup>, we denote as - _?_ - _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>−1</sup> <sup>_,?_</sup> <sup>′</sup> 2 <sup>_,...,?_</sup> <sup>′</sup> _?_ <sup>)</sup> their simple contraction (whose existence requires _??_ = _?_ 1 <sup>′</sup> - _?_ - _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>−1</sup> <sup>_,?_</sup> <sup>′</sup> 2 <sup>_,...,?_</sup> <sup>′</sup> _?_ <sup>)</sup> their simple contraction (whose existence requires _??_ = _?_ 1 <sup>′</sup> <sup>),</sup> - _?_ : _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>−2</sup> <sup>_,?_</sup> <sup>′</sup> 3 <sup>_,...,?_</sup> <sup>′</sup> _?_ <sup>)</sup> their double contraction (whose existence requires _??_ −1 = _?_ 1 <sup>′</sup> _?_ : _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>−2</sup> <sup>_,?_</sup> <sup>′</sup> 3 <sup>_,...,?_</sup> <sup>′</sup> _?_ <sup>)</sup> their double contraction (whose existence requires _??_ −1 = _?_ 1 <sup>′</sup> <sup>and</sup> _??_ = _?_ 2 <sup>′</sup> <sup>),</sup> _??_ = _?_ 2 <sup>′</sup> <sup>),</sup> - _?_ ∴ _?_ <sup>′</sup> ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>−3</sup> <sup>_,?_</sup> <sup>′</sup> 4 <sup>_,...,?_</sup> <sup>′</sup> <sup>_?_</sup> <sup>)</sup> their triple contraction, (whose existence requires _??_ −2 = _?_ 1 <sup>′</sup> <sup>,</sup> _??_ −1 = _?_ 2 <sup>′</sup> <sup>and</sup> <sup>_??_</sup> <sup>=</sup> <sup>_?_</sup> 3 <sup>′</sup> <sup>),</sup> _??_ −1 = _?_ 2 <sup>′</sup> <sup>and</sup> <sup>_??_</sup> <sup>=</sup> <sup>_?_</sup> 3 <sup>′</sup> <sup>),</sup> - etc. If they exist, the contracted tensors are given by ( _?_ - _?_ <sup>′</sup> ) _?_ 1 _...??_ −1 _?_ 2 <sup>′</sup> 2 <sup>′</sup> <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_??_</sup> <sup>′</sup> _??_ 2 <sup>′</sup> ( _?_ - _?_ <sup>′</sup> ) _?_ 1 _...??_ −1 _?_ 2 <sup>′</sup> <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_??_</sup> <sup>′</sup> _??_ 2 <sup>′</sup> <sup>_...??_</sup> <sup>′</sup> ( _?_ : _?_ <sup>′</sup> ) _?_ 1 _...??_ −2 _?_ 3′ <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_???_</sup> <sup>′</sup> _???_ 2 <sup>′</sup> 3′ <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_???_</sup> <sup>′</sup> _???_ 2 <sup>′</sup> ( _?_ : _?_ <sup>′</sup> ) _?_ 1 _...??_ −2 _?_ 3′ <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_???_</sup> <sup>′</sup> _???_ 2 <sup>′</sup> <sup>_...??_</sup> <sup>′</sup> ( _?_ ∴ _?_ <sup>′</sup> ) _?_ 1 _...??_ −3 _?_ 4′ <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_????_</sup> <sup>′</sup> _????_ 2 <sup>′</sup> <sup>_...?_</sup> (A.1) 4′ <sup>_...??_</sup> <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> <sup>−1</sup> <sup>_????_</sup> <sup>′</sup> _????_ 2 <sup>′</sup> 2 <sup>′</sup> <sup>_...??_</sup> <sup>′</sup> <sup>_._</sup> Note the ordering of the contracted indices _?_, _?_, _?_, etc. in the right-hand sides—in particular, the double contraction of two rank-2 tensors _?_ and _?_ is given in our notation by _?_ : _?_ = tr( _?_ - _?_ <sup>_?_</sup> ). Here and elsewhere in the paper, we use Einstein summation whereby any index that is repeated on one side of the equal sign is implicitly summed. The action of a matrix _?_ on a vector _?_ is viewed as a special case of the contraction of a tensor of rank 2 with a tensor of rank 1, and is denoted as _?_ - _?_, with a dot. The outer product of two tensors _?_ and _?_ <sup>′</sup> is denoted as _?_ ⊗ _?_ <sup>′</sup> . In particular, the outer product of two vectors is denoted as _?_ ⊗ _?_ <sup>′</sup> . Vector transposition is not a meaningful operation in our notation. Given a tensor _?_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> and a permutation ( _?_ 1 _, . . ., ??_ ) of the levels (1 _, . . ., ?_ ) of the tensor, we denote as _?_ <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> the generalized transpose of _?_, such that the level _?_ in the original tensor becomes level _??_ in the transpose: _?_ <sup>_??_</sup> <sup>1</sup> <sup>_...??_</sup> _?_ 1 _...??_ <sup>=</sup> <sup>_???_</sup> <sup>1</sup> <sup>_...???_</sup> <sup>_._</sup> (A.2) For a tensor of rank _?_ = 4 and the permutation ( _?_ 1 _, ?_ 2 _, ?_ 3 _, ?_ 4) = (1 _,_ 3 _,_ 4 _,_ 2), for instance, we have ( _?_ <sup>_?_</sup> <sup>1342</sup> ) _????_ = _?????_ . Transposing will allow us to reorder the indices of a tensor in any desired order. Suppose for instance that we wish to rewrite an expression _?????_ as the component _?????_ <sup>′</sup> <sup>of another</sup> tensor whose indices must appear in _alphabetical_ order: _?_ <sup>′</sup> is clearly a transpose of _?_, and the permutation is found by noting that the levels (1 _,_ 2 _,_ 3 _,_ 4) in the original tensor _?_, corresponding to the indices ( _?,?,?, ?_ ), become respectively the levels (1 _,_ 3 _,_ 4 _,_ 2) = ( _?_ 1 _, ?_ 2 _, ?_ 3 _, ?_ 4) in _?_ <sup>′</sup> . This yields _?????_ = ( _?_ <sup>_?_</sup> <sup>1342</sup> ) _????_ _._ (A.3) Index reordering using transposition will be routinely used in combination with contractions to remove indices in tensor algebra, as in _??????????_ <sup>′</sup> <sup>=</sup> <sup>_??_</sup> <sup>1324</sup> <sup>::</sup> <sup>_?_</sup> <sup>′.</sup> The transpose _?_ <sup>_?_</sup> of a _matrix_ _?_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2)</sup> is a particular case of the generalized transpose, _?_ <sup>_?_</sup> = _?_ <sup>_?_</sup> <sup>21</sup> . The symmetrization of a tensor _?_ with respect to a pair of indices ( _?, ?_ ) is denoted as _?_ <sup>_???_</sup> . For a tensor _?_ of rank _?_ = 4, for instance, the symmetrization with respect to the first and third indices is given by _?_ <sup>_?_</sup> <sup>13</sup> = <sup><u>1</u></sup> (A.4) 2 <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_??_</sup> <sup>3214)</sup> <sup>_,_</sup> where _?_ <sup>_?_</sup> <sup>3214</sup> is obtained from _?_ by permuting the first and third levels. A tensor invariant by a permutation of its levels _?_ and _?_ will be said to satisfy the _???_ symmetry; for instance, _?_ <sup>_?_</sup> <sup>13</sup> is _?_ 13 symmetric, by construction. More generally, a tensor will be said to satisfy the _?_ { _??_ }{ _??_ } symmetry if it is symmetric by the _combined_ permutation of indices _?_ ↔ _?_ and _?_ ↔ _?_ . For instance, _?_ is _?_ {23}{45} symmetric ⇔ _??????_ = _??????_ _._ (A.5) The symmetrization with respect to pairs of indices works similarly, _?_ <sup>_?_</sup> <sup>{23}{45}</sup> = <sup><u>1</u></sup> (A.6) 2 <sup>(</sup> <sup>_?_</sup> <sup>+</sup> <sup>_??_</sup> <sup>14523)</sup> <sup>_._</sup> Clearly, _?_ is _?_ {23}{45} symmetric if and only if _?_ <sup>_?_</sup> <sup>{23}{45}</sup> = _?_ . The composition of symmetrizations is represented by the symbol ◦. In Equation (C.7), for instance, it stands for _?_ <sup>_?_</sup> <sup>23◦</sup> <sup>_?_</sup> <sup>{45}{67}</sup> = ( _?_ <sup>_?_</sup> <sup>{45}{67}</sup> ) <sup>_?_</sup> <sup>23</sup> _._ (A.7) Given a tensor _?_ ( _?_ ) ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??_</sup> <sup>)</sup> taking an argument _?_ ∈ R <sup>_??_</sup>, we denote as d _?_ /d _?_ ∈ T <sup>(</sup> <sup>_?_</sup> <sup>1</sup> <sup>_,?_</sup> <sup>2</sup> <sup>_,...,??,??_</sup> <sup>)</sup> its gradient, - <u>d</u> _<u>?</u>_ d _?_ _?_ 1 _...??_ _?_ = _???_ 1 _...??_ _??_ _?_ _._ (A.8) By a standard convention, the index _?_ corresponding to differentiation appears _last_ in the gradient. When the parameter _?_ coincides with the spatial variable _?_ ∈ R <sup>_?_</sup>, we use the nabla notation, ∇ _?_ = <sup><u>d</u></sup> <sup>_<u>?</u>_</sup> (A.9) d _?_ <sup>_._</sup> The alternate notation _?_ ∇ has the advantage of respecting the order of indices but is also less standard. ## B Detailed analysis of leading order (classical homogenization) Inserting the microscopic strain _?_ <sup>(0)</sup> ( _?, ?,_ _?_ ) given in (59) into the expression (60) of the strain energy density _?_ <sup>(0)</sup> ( _?,_ _?_ ), we have _?_ <sup>(0)</sup> ( _?, ?,_ _?_ ) = _?_ ( _?, ??_ ( _?_ ) · _?_ + _?_ _?_ ( _?_ ) · _?_ ) (B.1) Using the expression of _?_ in (5) and expanding, we rewrite this in block-matrix notation as �� _,_ (B.2) _?_ _?_ �� _,_ where W ( _?_ ) = <sup>�</sup> - _?_ <sup>(0)</sup> ( _?, ?,_ _?_ ) = <sup><u>1</u></sup> 2 �� _?_ �� - W ( _?_ ) · <sup>�</sup> _?_ - W _??_ ( _?_ ) W <sup>_?_</sup> _??_ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> W _??_ ( _?_ ) W _??_ ( _?_ ) and the tensors W ( _?_ ) ∈ T <sup>(</sup> <sup>_??_</sup> <sup>+</sup> <sup>_??,??_</sup> <sup>+</sup> <sup>_??_</sup> <sup>)</sup>, W _??_ ( _?_ ) ∈ T <sup>(</sup> <sup>_??_</sup> <sup>_,??_</sup> <sup>)</sup>, W _??_ ( _?_ ) ∈ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> and W _??_ ( _?_ ) ∈ T <sup>(</sup> <sup>_??,??_</sup> <sup>)</sup> are given by W _??_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> W _??_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> W _??_ ( _?_ ) = _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_._</sup> (B.3a) (B.3b) (B.3c) Using (B.2), the optimality condition (63) for _?_ <sup>_★_</sup> [ <sup>_★_</sup> [0] <sup>takes the form</sup> <sup>_★_</sup> [0] <sup>and</sup> <sup>_?★_</sup> [ �� + <sup>�</sup> - �� - _?_ ( _?_ ) = 0 _._ (B.4) _?_ ( _?_ ( _?_ )) · <sup>�</sup> where _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> W _??_ ( _?_ ( _?_ )) Q - _??_ ( _?_ ( _?_ )) �� ∈ T <sup>(</sup> <sup>_??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>c</sup> <sup>_,??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>c)</sup> _._ (B.5) _?_ ( _?_ ) = <sup>�</sup> W _??_ ( _?_ ) ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> Q - _?_ _?_ ( _?_ ) 0 _?_ c× _?_ c We focus on the case where _?_ ( _?_ ) is invertible: the non-invertible (rank-deficient) case is treated in Appendix E. The solution ( _?_ <sup>_★_</sup> [ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>is then found by inverting this linear system as</sup> <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [0 �� = R ( _?_ ( _?_ )) · _?_ ( _?_ ) (B.6) �� _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> where R ( _?_ ) = − _?_ <sup>−1</sup> ( _?_ ) · <sup>�</sup> W _??_ ( _?_ ) Q - _??_ ( _?_ ) �� _._ (B.7) In the code, we implemented a more general expression of R that applies to rank-deficient matrices, see Appendix E and Equation (E.19) in particular. Equation (B.6) matches the form of the solution _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>announced in (64) and</sup> the localization tensor is identified as _?_ 0( _?_ ) = - _?_ _??_ 0 _??_ × _?_ c - R ( _?_ ) _._ (B.8) The solution for the Lagrange multipliers is _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>where</sup> - R ( _?_ ) _._ (B.9) _?_ 0( _?_ ) = 0 _?_ c× _??_ _?_ _?_ c We proceed to introduce important additional quantities that characterize the leading-order solution. The strain _?_ <sup>[0]</sup> ( _?, ?_ ) = _?_ <sup>(0)</sup> ( _?, ?,_ _?_ = _?_ 0( _?_ ) · _?_ ) is found using (59) as _?_ <sup>[0]</sup> ( _?, ?_ ) = _?_ 0( _?_ ) · _?,_ (B.10) where the strain localization tensor _?_ 0( _?_ ) is given by _?_ 0( _?_ ) = _??_ ( _?_ ) + _?_ _?_ ( _?_ ) · _?_ 0( _?_ ) _._ (B.11) The leading-order strain energy _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>(0) (</sup> <sup>_?, ?,_</sup> <sup>_?_</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>can then be written</sup> with the help of (B.2–B.3) and (B.11) in a form that matches that announced in (65), namely _?_ [ <sup>_★_</sup> 0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> 2 <sup><u>1</u></sup> <sup>_?_</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>, where the elasticity tensor</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)</sup> <sup>characterizing the equivalent</sup> Cauchy-type elastic continuum at order _?_ <sup>0</sup> is identified as The leading-order strain energy _?_ <sup>_★_</sup> [0 [ <sup>_★_</sup> 0] <sup>(</sup> <sup>_?, ?_</sup> <sup>)</sup> <sup>=</sup> 2 <sup><u>1</u></sup> _?_ 0( _?_ ) = _?_ <sup>_?_</sup> 0 <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_._</sup> (B.12) To complete the analysis of solutions at order _?_ <sup>0</sup>, we derive a useful identity that will help simplify the higher orders in the energy expansion. Inserting the solution _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> simplify the higher orders in the energy expansion. Inserting the solution _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> and _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>into the stationarity condition (B.4) and using (B.3) and identifying</sup> <sup>_?_</sup> <sup>0</sup> and _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>into the stationarity condition (B.4) and using (B.3) and identifying</sup> <sup>_?_</sup> <sup>0</sup> from (B.11), we get _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · (</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>Q</sup> <sup>_?_</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>= 0</sup> Q - _?_ <sup>[0]</sup> ( _?, ?_ ) = 0 _._ (B.13a) (B.13b) The quantity ( K ( _?_ ) · _?_ 0( _?_ ) + Q <sup>_?_</sup> - _?_ 0( _?_ )) · _?_ appearing in the first equation can be identified as the leading-order stress, consisting of the elastic stress K ( _?_ ) · _?_ 0( _?_ ) · _?_ = K ( _?_ ) · _?_ <sup>[0]</sup> plus the stress Q <sup>_?_</sup> - _?_ 0( _?_ ) · _?_ enforcing the constraint. We therefore introduce the stress localization tensor as _?_ 0( _?_ ) = K ( _?_ ) · _?_ 0( _?_ ) + Q <sup>_?_</sup> - _?_ 0( _?_ ) _,_ (B.14) and rewrite Equation (B.13), after simplification by the arbitrary factor _?_, as _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0</sup> Q - _?_ 0( _?_ ) = 0 _._ (B.15a) (B.15b) Equation (B.15a) is the principle of virtual work at leading order: multiplying by a virtual displacement _??_ on the left-hand side and by _?_ on the right-hand side, and rearranging, it takes the usual form ( _?_ 0( _?_ ) · _?_ ) · ( _?_ _?_ ( _?_ ) · _??_ ) = 0, where the left-hand side is the stress contracted with the virtual increment of strain. ## C Detailed analysis of the gradient effect C.1 Packed macroscopic variables For the analysis of the gradient effect, it is convenient to introduce the quantity _?_ ( _?_ ) obtained by concatenating the microscopic variables _?_ and _?_ together with a trailing 1: in block-vector notation, ∈ R <sup>_?ℎ_</sup> where _?ℎ_ = _??_ + _??_ + 1. (C.1) _?_ ( _?_ ) = _?_ ( _?_ ) _?_ ( _?_ ) (1) With the help of the matrices V <sup>_?_</sup> ∈ T <sup>(</sup> <sup>_??_</sup> <sup>_,?ℎ_</sup> <sup>)</sup>, V <sup>_?_</sup> ∈ T <sup>(</sup> <sup>_??,?ℎ_</sup> <sup>)</sup> and the vector V <sup>1</sup> ∈ R <sup>_?ℎ_</sup> defined in block-matrix notation by - 0 _??_ × _??_ _?_ _??_ 0 _??_ ×1 _,_ V <sup>1</sup> = - 0( _??_ + _??_ ) 1 _,_ (C.2) V <sup>_?_</sup> = - _?_ _??_ 0 _??_ ×( _??_ +1) _,_ V <sup>_?_</sup> = Table C.1 Summary of the tensors used internally by the homogenization procedure in Appendix C. All these tensors make use of the compact _?_ notation, see (C.1). on can rewrite the definition of _?_ in (C.1) as _?_ ( _?_ ) = ( V <sup>_?_</sup> ) <sup>_?_</sup> - _?_ ( _?_ ) + ( V <sup>_?_</sup> ) <sup>_?_</sup> - _?_ ( _?_ ) + V <sup>1</sup> _._ (C.3) The converse (unpacking) operation is implemented as _?_ ( _?_ ) = V <sup>_?_</sup> - _?_ ( _?_ ) _,_ _?_ ( _?_ ) = V <sup>_?_</sup> - _?_ ( _?_ ) _._ (C.4) C.2 Structure coefficients The leading-order prediction (22a) for the microscopic degrees of freedom, _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> can be expressed in terms of _?_ ( _?_ ) with the help of (C.4) as _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>L</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> where L ( _?_ ) = _?_ 0( _?_ ) · V <sup>_?_</sup> _._ (C.5) The successive gradients of _?_ ( _?_ ) in (66) can then be calculated as _?_ ( _?_ ) = L ( _?_ ( _?_ )) · _?_ ( _?_ ) + _?_ [1] ( _?_ ) + _?_ [2] ( _?_ ) + O( _?_ <sup>3</sup> ) ∇ _?_ ( _?_ ) = ( L <sup>1</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ∇ _?_ ( _?_ ) + ∇ _?_ [1] ( _?_ ) + O( _?_ <sup>3</sup> ) ∇ <sup>2</sup> _?_ ( _?_ ) = ( L <sup>11</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) :: (∇ _?_ ( _?_ ) ⊗∇ _?_ ( _?_ )) + ( L <sup>2</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) ∴ ∇ <sup>2</sup> _?_ ( _?_ ) + O( _?_ <sup>3</sup> ) (C.6) where the symbol O( _?_ <sup>3</sup> ) stands for terms of order _?_ <sup>3</sup> and higher, such as ∇ <sup>2</sup> _?_ [1] = O( _?_ <sup>2+1</sup> ) and ∇ _?_ [2] = O( _?_ <sup>1+2</sup> ). By design, the tensor L <sup>1</sup> ( _?_ ), L <sup>11</sup> ( _?_ ) and L <sup>2</sup> ( _?_ ) capture the successive gradients of _?_ <sup>_★_</sup> [ [0] as ∇ _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>and</sup> <sup>∇2</sup> <sup>_?★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>11(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>::</sup> <sup>(∇</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>) + (</sup> <sup>L</sup> <sup>2(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>(∇2</sup> <sup>_?_</sup> <sup>).</sup> as ∇ _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>and</sup> <sup>∇2</sup> <sup>_?★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>11(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>::</sup> <sup>(∇</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>) + (</sup> <sup>L</sup> <sup>2(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>(∇2</sup> <sup>_?_</sup> <sup>).</sup> They are identified by differentiating (C.5) with respect to _?_, which yields <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>and</sup> <sup>∇2</sup> <sup>_?★_</sup> [ - _?_ 15324 + ( L ( _?_ ) ⊗ V <sup>1</sup> ⊗ _?_ _?_ ) <sup>_?_</sup> <sup>13524</sup> L <sup>1</sup> ( _?_ ) = L <sup>11</sup> ( _?_ ) = - <u>d</u> L d _?_ <sup>·</sup> <sup>V</sup> <sup>_?_</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>_?_</sup> �� <u>d</u> L 1 d _?_ <sup>·</sup> <sup>V</sup> <sup>_?_</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>_?_</sup> - _?_ 12678435 + ( L <sup>1</sup> ( _?_ ) ⊗ V <sup>1</sup> ⊗ _?_ _?_ ) <sup>_?_</sup> <sup>12456837</sup> (C.7a) (C.7b) (C.7c) - _?_ 23◦ _?_ {45}{67} L <sup>2</sup> ( _?_ ) = [( L <sup>1</sup> ( _?_ ) ⊗ _?_ _?_ ) <sup>_?_</sup> <sup>1245736</sup> ] <sup>_?_</sup> <sup>23◦</sup> <sup>_?_</sup> <sup>56</sup> Table C.1 lists the properties of all the tensors used in this appendix, starting with the tensors L, L <sup>1</sup>, L <sup>11</sup> and L <sup>2</sup> just defined. The symmetrization operations outside the square brackets in (C.7b–C.7c) are a matter of convention. They reflect the symmetries of the tensors with which the operators L are contracted. The ‘content’ column in Table C.1 can be explained as follows. By design, _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>L</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> can be ‘unpacked’ ( _i.e._, expressed in terms of _?_ and _?_ ) as _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>, which is a function of</sup> The ‘content’ column in Table C.1 can be explained as follows. By design, _?_ <sup>_★_</sup> [ can be ‘unpacked’ ( _i.e._, expressed in terms of _?_ and _?_ ) as _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>, which is a function of</sup> _?_ contracted with _?_ : the dependence on _?_ will be treated implicitly, and we express this by writing that _the content of ?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>L</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>_is ?_</sup> <sup>, hence the symbol</sup> <sup>_?_</sup> <sup>appearing in the ‘content’</sup> writing that _the content of ?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>L</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>_is ?_</sup> <sup>, hence the symbol</sup> <sup>_?_</sup> <sup>appearing in the ‘content’</sup> column for the row L . Similarly, ∇ _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>can be unpacked as</sup> <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>can be unpacked as</sup> ∇ _?_ <sup>_★_</sup> [0] <sup>=∇(</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>=</sup> <sup>(d</sup> <sup>_?_</sup> <sup>0/d</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>_??,?_</sup> <sup>=</sup> (d _?_ 0/d _?_ ) ( _?_ ) : ( _?_ ⊗∇ _?_ ) + _?_ 0( _?_ ) · ∇ _?_ (C.8) this is the sum of two terms, one being a function of _?_ contracted with _?_ ⊗∇ _?_, the other one being a function of _?_ contracted with ∇ _?_ : this is conveyed by the _content_ column in the table, which shows ( _?_ ⊗∇ _?,_ ∇ _?_ ) for the row labelled L <sup>1</sup> ( _?_ ) used for reconstructing ∇ _?_ <sup>_★_</sup> [0] <sup>=</sup> <sup>(</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>.</sup> The point of the _?_ notation is to deal in a simple way with the multiplicity of terms appearing in the last column of Table 1. The remainder of the appendix will make use of this higher-level _?_ notation. On the other hand, we use Table 1 to keep track of the actual content of the various tensors. Now, we proceed to represent the strain in terms of _?_ and its successive gradients. Inserting (C.6) into the strain expression _?_ in (2), identifying _?_ <sup>[0]</sup> ( _?, ?_ ) using (B.10), and rearranging the other terms, we get _?_ = _?_ <sup>[0]</sup> ( _?, ?_ ) + ( J <sup>1</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ∇ _?_ ( _?_ ) + ( J <sup>11</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) :: (∇ _?_ ( _?_ ) ⊗∇ _?_ ( _?_ )) + ( J <sup>2</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) ∴ ∇ <sup>2</sup> _?_ ( _?_ ) + _?_ _?_ ( _?_ ) · ( _?_ [1] ( _?_ ) + _?_ [2] ( _?_ )) + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + O(</sup> <sup>_?_</sup> <sup>3)</sup> where the so-called structure coefficients are identified by (C.9) (C.10a) (C.10b) (C.10c) _?_ ′ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>L</sup> <sup>1(</sup> <sup>_?_</sup> <sup>)</sup> J <sup>1</sup> ( _?_ ) = - _??_ <sup>′</sup> _?_ _?_ _?_ 132 ( _?_ ) · V _?_ ⊗ V 1 <sup>�</sup> <sup>_?_</sup> <sup>1324</sup> + _?_ _?_ ′ J <sup>11</sup> ( _?_ ) = _?_ _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>L</sup> <sup>11(</sup> <sup>_?_</sup> <sup>)</sup> _?_ ′′ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>L</sup> <sup>2(</sup> <sup>_?_</sup> <sup>)</sup> J <sup>2</sup> ( _?_ ) = - _??_ <sup>′′</sup> _?_ <sup>′′</sup> _?_ 1423 ( _?_ ) · V _?_ ⊗ V 1 <sup>�</sup> <sup>_?_</sup> <sup>13425</sup> + _?_ _?_ ′′ As indicated in Table 1, J <sup>11</sup> is _?_ {23}{45}-symmetric: this is a consequence of the fact that L <sup>11</sup> is _?_ {45}{67}-symmetric. The _?_ 34-symmetry of J <sup>2</sup> can be justified by a similar argument. Grouping the terms order by order, we can rewrite the strain in (C.9) as _?_ = _?_ <sup>[0]</sup> ( _?, ?_ ) + _?_ <sup>[1]</sup> + _?_ <sup>[2]</sup> + O( _?_ <sup>3</sup> ) _,_ (C.11) where the contributions _?_ <sup>[1]</sup> = O( _?_ ) and _?_ <sup>[2]</sup> = O( _?_ <sup>2</sup> ) are given, respectively, by _?_ <sup>[1]</sup> = ( J <sup>1</sup> ( _?_ ) · _?_ ) : ∇ _?_ + _?_ _?_ ( _?_ ) · _?_ [1] _?_ <sup>[2]</sup> = ( J <sup>11</sup> ( _?_ ) · _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + ( J <sup>2</sup> ( _?_ ) · _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] <sup>+</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> [2] <sup>_._</sup> (C.12a) (C.12b) Inserting (C.11–C.12) into the kinematic constraint Q - _?_ = 0, see (3), we obtain the expression of the constraint order by order in _?_ as Q - _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> = 0 for _?_ = 0 _,_ 1 _,_ 2 _, . . ._ (C.13) The constraint Q - _?_ <sup>[0]</sup> ( _?, ?_ ) = 0 has been enforced during the solution of the leading order, see (B.13b). C.3 Strain energy expansion in terms of corrective displacement Inserting (C.11) into the energy (4), and using the quadratic expression (5) of the energy density, we obtain a Taylor expansion of the energy as ��� ��� <u>12</u> <sup>_?_</sup> <sup>[0]</sup> <sup>(</sup> <sup>_?, ?_</sup> <sup>)·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>)·</sup> <sup>_?_</sup> <sup>[0]</sup> <sup>(</sup> <sup>_?, ?_</sup> <sup>) +</sup> - K ( _?_ ) · _?_ <sup>[0]</sup> ( _?, ?_ ) + <sup><u>1</u></sup> 2 <sup>_?_</sup> <sup>[1]</sup> <sup>·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>+ O(</sup> <sup>_?_</sup> <sup>3)</sup> - - ( _?_ <sup>[1]</sup> + _?_ <sup>[2]</sup> ) Φ = ∫ Ω d _?_ _._ (C.14) Grouping the terms in the integrand order by order, identifying the term of order _?_ <sup>0</sup> as <sup><u>1</u></sup> 2 <sup>_?_</sup> <sup>·</sup> <sup>_?_</sup> <sup>0 ·</sup> <sup>_?_</sup> using (B.12), and the quantity K ( _?_ )· _?_ <sup>[0]</sup> ( _?, ?_ ) = K ( _?_ )· _?_ <sup>[0]</sup> ( _?_ )· _?_ = ( _?_ 0( _?_ ) − Q <sup>_?_</sup> - _?_ 0( _?_ ))· _?_ by (B.10) and (B.14), we obtain the energy expansion as Φ = Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>] + Φ[1]</sup> <sup>+ Φ[2]</sup> <sup>+ · · ·</sup> (C.15) where Φ[ _?_ ] = O( _?_ <sup>_?_</sup> ) are the successive terms in the expansion, the leading term is the quantity Φ <sup>_★_</sup> [0] <sup>[</sup> <sup>_?, ?_</sup> <sup>]</sup> <sup>identified earlier in (65) and the higher-order terms are given by</sup> Φ[1] = Φ[2] = ∫Ω <sup>((</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>Q</sup> <sup>_?_</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>[1]d</sup> <sup>_?_</sup> ∫ Ω (C.16) - <u>1</u> d _?_ _._ 2 <sup>_?_</sup> <sup>[1]</sup> <sup>·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>[1]</sup> <sup>+ ((</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) −</sup> <sup>Q</sup> <sup>_?_</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)) ·</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>[2]</sup> <sup>�</sup> The Q <sup>_?_</sup> terms appearing in both bulk integrals can be removed, as −( Q <sup>_?_</sup> - _?_ 0( _?_ ) · _?_ ) · _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> = −( _?_ 0( _?_ ) · _?_ ) · ( Q - _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) = 0 by (C.13). This yields Φ[1] = Φ[2] = ∫ Ω ∫ Ω ( _?_ 0( _?_ ) · _?_ ) · _?_ <sup>[1]</sup> d _?_ - <u>1</u> d _?_ _._ 2 <sup>_?_</sup> <sup>[1]</sup> <sup>·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <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>[2]</sup> (C.17a) (C.17b) Inserting the expression of _?_ <sup>[1]</sup> from (C.12a) in Φ[1] and using the principle of virtual work at dominant order in (B.15a), we have d _?_ �( J <sup>1</sup> ( _?_ ) · _?_ ) : ∇ _?_ + _?_ _?_ ( _?_ ) · _?_ [1] Φ[1] = = = ∫Ω <sup>(</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>) ·</sup> ∫Ω <sup>(</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>) · (</sup> <sup>J</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>d</sup> <sup>_?_</sup> d _?_ ∫ Ω �( _?_ 0( _?_ ) · _?_ ) · ( J <sup>1</sup> ( _?_ ) · _?_ ) : ∇ _?_ + ([ _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>)] ·</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> [1] (C.18) By a similar argument, the expression of _?_ <sup>[2]</sup> in (C.12b) can be inserted in the bulk integral appearing in Φ[2], which shows that the term ( _?_ 0( _?_ ) · _?_ ) · _?_ _?_ ( _?_ ) · _?_ [2] is zero. This yields ������ Φ[1] = Φ[2] = ∫ Ω ∫ Ω ( _?_ 0( _?_ ) · _?_ ) · ( J <sup>1</sup> ( _?_ ) · _?_ ) : ∇ _?_ d _?_ + ( _?_ 0( _?_ ) · _?_ ) · <u>12</u> <sup>_?_</sup> <sup>[1]</sup> <sup>·</sup> <sup>K</sup> <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>[1]</sup> (C.19a) (C.19b) �( J <sup>11</sup> ( _?_ ) · _?_ ) :: (∇ _?_ ⊗∇ _?_ ) d _?_ _._ ������ + ( J <sup>2</sup> ( _?_ ) · _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] C.4 Correction at order _?_ We can rewrite (C.19a) in terms of the packed macroscopic variable _?_ as Φ <sup>_★_</sup> [1] <sup>=</sup> ∫ Ω ( A ( _?_ ) : _?_ ⊗ _?_ ) : ∇ _?_ ( _?_ )d _?,_ (C.20) where A ( _?_ ) = [( J <sup>1</sup> ( _?_ )) <sup>_?_</sup> <sup>4123</sup> - _?_ 0( _?_ ) · V <sup>_?_</sup> ] <sup>_?_</sup> <sup>34</sup> _._ (C.21) In (C.20), we use the star notation Φ <sup>_★_</sup> [1] <sup>to emphasize that the right-hand side no longer depends</sup> on the unknown corrector _?_ [1] and only depends on the macroscopic fields _?_ and _?_, thanks to the elimination of the unknown corrector _?_ [1] done earlier in (C.18). C.5 Extraction of _?_ 0 and _?_ 1 As announced in Table C.1, the content of A ( _?_ ) is _?_ ⊗ _?_ ⊗∇ _?_ and _?_ ⊗∇ _?_, which means that the right-hand side of Equation (C.20) can be unpacked using (C.3) as d _?,_ (C.22) - _?_ 0( _?_ ) ∴ ( _?_ ⊗∇ _?_ ) + ( _?_ 1( _?_ ) : ∇ _?_ ) : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> 2 Φ <sup>_★_</sup> [1] <sup>=</sup> ∫ Ω where the tensors _?_ 0( _?_ ) and _?_ 1( _?_ ) are extracted from A ( _?_ ) as _?_ 0( _?_ ) = 2 A <sup>_?_</sup> <sup>2134</sup> ( _?_ ) ∴ _?_ 1( _?_ ) = 2 A <sup>_?_</sup> <sup>2134</sup> ( _?_ ) ∴ ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗ V <sup>1�</sup> <sup>_?_</sup> <sup>14253</sup> <sup>�</sup> <sup>_?_</sup> <sup>321</sup> (C.23) ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> <sup>�</sup> <sup>_?_</sup> <sup>142536</sup> <sup>�</sup> <sup>_?_</sup> <sup>4312</sup> No other term can be present in the right-hand side of (C.22): a term such as _?_ 0( _?_ ) :: ( _?_ ⊗ _?_ ⊗∇ _?_ ), for instance, would be inconsistent with the fact that the energy is homogeneous with degree 2 in _?_ and ∇ _?_, see (2) and (5). The properties of the tensors _?_ 0( _?_ ) and _?_ 1( _?_ ) are listed in Table 3. The expression of the first correction Φ <sup>_★_</sup> [1] <sup>to the energy in (C.22) was announced in (18).</sup> C.6 Energy correction at order _?_ <sup>2</sup> We now turn attention to the correction Φ[2] in (C.19b). Inserting the expression of _?_ <sup>[1]</sup> in (C.12a), we get after rearranging the terms - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 - B “ <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) ∫ Ω �� C <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) Φ[2] = ∫ Ω ���� + + ( B <sup>“</sup> <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ⊗ _?_ [1]) + W _??_ ( _?_ ) : ���� d _?_ _?_ [1] ⊗ _?_ [1] 2 (C.24) - ∴ ∇ <sup>2</sup> _?_ + - C <sup>(1)</sup> ( _?_ ) · _?_ : ∇ _?_ [1] d _?,_ where W _??_ ( _?_ ) is the tensor introduced in the analysis of the leading order, see (B.3c), and (C.25) B “ <sup>(0)</sup> ( _?_ ) = B “ <sup>(1)</sup> ( _?_ ) = �� J 1( _?_ )� _?_ 4123 - K ( _?_ ) · J 1( _?_ )� _?_ 125346+ 2 � J 11( _?_ )� _?_ 612345 - _?_ 0( _?_ ) · V _?_ �� J 1( _?_ )� _?_ 4123 - K ( _?_ ) · _?_ _?_ ( _?_ )� _?_ 1243 C <sup>(0)</sup> ( _?_ ) = [( J <sup>2</sup> ( _?_ )) <sup>_?_</sup> <sup>51234</sup> - _?_ 0( _?_ ) · V <sup>_?_</sup> ] <sup>_?_</sup> <sup>45</sup> C <sup>(1)</sup> ( _?_ ) = ( _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>_?_</sup> <sup>312</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>V</sup> <sup>_?_</sup> <sup>_._</sup> As indicated by the ‘delayed’ keyword in Table C.1, we do not yet enforce the natural symmetries of B <sup>“</sup> <sup>(0)</sup>, which reflect the symmetries of the tensor <sup><u>1</u></sup> 2 <sup>(∇</sup> <sup>_?_</sup> <sup>⊗∇</sup> <sup>_?_</sup> <sup>)</sup> <sup>⊗(</sup> <sup>_?_</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>) with which it gets</sup> contracted: they will be enforced later on the children of B <sup>“</sup> <sup>(0)</sup> . In the code, we implemented an extension of (C.25) that covers the rank-deficient case as well, see Equation (E.24) in Appendix E. Note that Φ[2] no longer depends on _?_ [2] thanks to the work done in Appendix C.3. It still depends on _?_ [1] ( _?_ ) and its gradient, however. We proceed to remove the dependence on the gradient ∇ _?_ [1] ( _?_ ) by integrating by parts. C.7 Integration by parts The C <sup>(</sup> <sup>_?_</sup> <sup>)</sup> terms appearing in (C.24) can be integrated by parts as ∫ - C <sup>(0)</sup> ( _?_ ( _?_ )) : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ )) ∫ - C <sup>(0)</sup> ( _?_ ( _?_ )) : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ ))� ∴ ∇ <sup>2</sup> _?_ ( _?_ )d _?_ = Ω ∮ - Ω - C <sup>(0)</sup> ( _?_ ( _?_ )) : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ )) ∴ (∇ _?_ ( _?_ ) ⊗ _?_ ( _?_ ))d _?_ ∫ _?_ Ω �Δ B <sup>(0)</sup> ( _?_ ( _?_ )) : ( _?_ ( _?_ ) ⊗ _?_ ( _?_ )) - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_<u>?</u>_</sup> <sup>)</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_<u>?</u>_</sup> <sup>)</sup> ∫ Ω (Δ B <sup>(1)</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) ∴ (∇ _?_ ( _?_ ) ⊗ _?_ [1] ( _?_ ))d _?_ Ω - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_<u>?</u>_</sup> <sup>)</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> <sup>(</sup> <sup>_<u>?</u>_</sup> <sup>)</sup> d _?_ 2 and + + ∫ ∫ ( C <sup>(1)</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ∇ _?_ [1] ( _?_ )d _?_ = Ω ∮ Ω ( C <sup>(1)</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ( _?_ [1] ( _?_ ) ⊗ _?_ ( _?_ ))d _?_ _?_ Ω where Δ B <sup>(0)</sup> ( _?_ ) = −2 - <u>d</u> C (0) d _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>V</sup> <sup>_?_</sup> (C.26) (C.27) (C.28) - _?_ 342561 - 4( C <sup>(0)</sup> ( _?_ )) <sup>_?_</sup> <sup>12435</sup> ⊗ V <sup>1</sup> - _?_ 3241 −( C <sup>(1)</sup> ( _?_ )) <sup>_?_</sup> <sup>321</sup> ⊗ V <sup>1</sup> _,_ Δ B <sup>(1)</sup> ( _?_ ) = − - <u>d</u> C (1) d _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>V</sup> <sup>_?_</sup> Note that the operator acting on (∇ _?_ ⊗∇ _?_ ) in the first equation above has been symmetrized with respect to an exchange of the ∇ _?_ ’s. Inserting (C.26–C.27) into (C.24), we have ∫ Ω - ∴ (∇ _?_ ⊗ _?_ ) + ( C <sup>(1)</sup> ( _?_ ) · _?_ ) : ( _?_ [1] ⊗ _?_ ) d _?_ Φ[2] = where ∮ _?_ Ω + �� C <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) ���� - B <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) + ( B <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ⊗ _?_ [1]) + W _??_ ( _?_ ) : - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 (C.29) (C.30) ���� d _?_ _?_ [1] ⊗ _?_ [1] 2 B <sup>(0)</sup> ( _?_ ) = B “ <sup>(0)</sup> ( _?_ ) + Δ B <sup>(0)</sup> ( _?_ ) B <sup>(1)</sup> ( _?_ ) = B “ <sup>(1)</sup> ( _?_ ) + Δ B <sup>(1)</sup> ( _?_ ) Equation (C.29) has been announced in (69–71). C.8 Optimal corrective displacement The integrand of Φ[2] in (C.29) depends on _?_ [1] but not on its gradient, thanks to the integration by parts, Appendix C.7. It does not depend on _?_ [2] either. The variational problem (72) for _?_ [1] is therefore local and we proceed to solve it. The functional Φ[2] is given in (C.29) as the sum of a bulk integral and a boundary integral. The variational problem (72) therefore yields two sets of local conditions: - at any point _?_ ∈ _?_ Ω _on the boundary_, the increment ( C <sup>(1)</sup> ( _?_ ) · _?_ ) : ( _??_ ⊗ _?_ ) coming from the boundary integral should vanish for any perturbation _??_ satisfying the incremental constraint Q - _?_ _?_ ( _?_ ) · _??_ = 0; using a Lagrange multiplier _?_ ˜, we must solve ( C <sup>(1)</sup> ( _?_ ) · _?_ ) : ( _??_ ˜ ⊗ _?_ ) + _?_ ˜ - Q - _?_ _?_ ( _?_ ) · _??_ ˜ = 0 for any _??_ ˜ ∈ R <sup>_??_</sup> . Eliminating the virtual quantity _??_ ˜, we can rewrite this as C <sup>(1)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) + ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> - _?_ ˜ = 0. A solution _?_ ˜ exists if and only if the vector C <sup>(1)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) is contained in the image of the operator ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> . Inserting the expression of _?_ in (C.3), we therefore obtain the stationarity condition in the form C <sup>(1)</sup> ( _?_ ) : ( _?_ ⊗(( V <sup>_?_</sup> ) <sup>_?_</sup> - _?_ + ( V <sup>_?_</sup> ) <sup>_?_</sup> - _?_ + V <sup>1</sup> )) ∈ Im( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> _._ (C.31) - at any point _?_ ∈ Ω <sup>◦</sup> _in the interior_ of the domain Ω, the problem for _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>is a quadratic</sup> optimization problem with a linear constraint. Using a Lagrange multiplier _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>), its solution</sup> optimization problem with a linear constraint. Using a Lagrange multiplier _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>), its solution</sup> ( _?_ ˜ _,_ _?_ ˜ ) = ( _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)) must satisfy</sup> <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)) must satisfy</sup>   Q - <sup>�</sup> _?_ _?_ ( _?_ ( _?_ )) · _?_ ˜ + ( J <sup>1</sup> ( _?_ ( _?_ )) · _?_ ( _?_ )) : ∇ _?_ ( _?_ ) <sup>�</sup> = 0 W _??_ ( _?_ ( _?_ )) : ( _?_ ˜ ⊗ _??_ ˜ ) + ( B <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ( _?_ ) ⊗ _??_ ˜ ) + _?_ ˜ - Q - _?_ _?_ ( _?_ ( _?_ )) · _??_ ˜ = 0 _,_ (∀ _??_ ˜ ∈ R <sup>_??_</sup> ) _._ (C.32) We take note of the stationarity condition (C.31) on the boundary, which we will address in future work, and proceed to solve the problem (C.32) in the interior. The latter can be rewritten in matrix form as ��� ��� _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> ( B <sup>(1)</sup> ( _?_ ( _?_ ))) <sup>_?_</sup> <sup>2314</sup> Q - J <sup>1</sup> ( _?_ ( _?_ )) _?_ ( _?_ ( _?_ )) · ��� + ��� ∴ (∇ _?_ ( _?_ ) ⊗ _?_ ( _?_ )) = 0 _._ (C.33) The matrix _?_ in the left-hand side above is identical to the one which appeared in the analysis of the leading order, see (B.4). The solution ( _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)) is obtained by inverting</sup> <sup>_?_</sup> <sup>(the case where</sup> <sup>_?_</sup> <sup>is non-invertible</sup> is treated in Appendix E). This yields the correction _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>to the microscopic degrees of</sup> The solution ( _?_ <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [1 is treated in Appendix E). This yields the correction _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>to the microscopic degrees of</sup> freedom in form _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>(</sup> <sup>Y</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> (C.34) with the localization tensor given by - R <sup>′</sup> ( _?_ ) (C.35) Y <sup>′</sup> ( _?_ ) = where _?_ _??_ 0 _??_ × _?_ c ��� ( B <sup>(1)</sup> ( _?_ )) <sup>_?_</sup> <sup>2314</sup> Q - J <sup>1</sup> ( _?_ ) R <sup>′</sup> ( _?_ ) = − _?_ <sup>−1</sup> ( _?_ ) · ��� _._ (C.36) Compared to the leading-order in (B.7), only the second factor in the right-hand side has changed. To handle the rank-deficient case, we implement an extension of (C.36) that uses the pseudo-inverse rather than the inverse, see Equation (E.27) in Appendix E. The Lagrange multiplier is given as a byproduct as - R <sup>′</sup> ( _?_ ) _._ (C.37) _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>(</sup> <sup>G</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>where</sup> <sup>G</sup> <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> 0 _?_ c× _??_ _?_ _?_ c C.9 Relaxed energy correction at order _?_ <sup>2</sup> Inserting the solution _?_ [1] ( _?_ ) = _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) given in (C.34), we can rewrite the boundary terms</sup> in (C.29) as ∮ _?_ Ω ( C ( _?_ ) : ( _?_ ⊗ _?_ )) ∴ (∇ _?_ ⊗ _?_ )d _?._ (C.38) �Φ <sup>bt</sup> [2] - _★_ [ _?_ ] = where C ( _?_ ) = C <sup>(0)</sup> ( _?_ ) + [(( C <sup>(1)</sup> ( _?_ )) <sup>_?_</sup> <sup>312</sup> - Y <sup>′</sup> ( _?_ )) <sup>_?_</sup> <sup>34125</sup> ] <sup>_?_</sup> <sup>45</sup> _._ (C.39) The optimality condition (C.33) can be split in two sets of equations, namely ( B <sup>(1)</sup> ( _?_ )) <sup>_?_</sup> <sup>2314</sup> ∴ (∇ _?_ ⊗ _?_ ) + W _??_ ( _?_ ) - _?_ <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>Q</sup> <sup>·</sup> <sup>_?_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0</sup> (C.40) <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [1 and Q - _?_ _?_ ( _?_ ) · _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>Q</sup> <sup>·</sup> <sup>J</sup> <sup>1(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>(∇</sup> <sup>_?_</sup> <sup>⊗</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0</sup> <sup>_._</sup> (C.41) Taking the dot products of the first equation by _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and of the second equation by</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> and subtracting, we obtain <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and of the second equation by</sup> <sup>_?★_</sup> [ Taking the dot products of the first equation by _?_ <sup>_★_</sup> [ ( B <sup>(1)</sup> ( _?_ ) · _?_ ) ∴ (∇ _?_ ( _?_ ) ⊗ _?_ <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>⊗</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)) +</sup> <sup>W</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> <sup>(</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>))</sup> - _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>Q</sup> <sup>·</sup> <sup>�(</sup> <sup>J</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>�</sup> <sup>= 0</sup> <sup>_._</sup> (C.42) This identity can be used to eliminate the B <sup>(1)</sup> term appearing in the bulk integral Φ <sup>it</sup> [2] <sup>over Ω</sup> in (C.29) as - :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 ���� + _?_ <sup>_★_</sup> [1] <sup>·</sup> <sup>Q</sup> <sup>·</sup> <sup>�(</sup> <sup>J</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> <sup>�</sup> <sup>−</sup> <sup>W</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>:</sup> - B <sup>(0)</sup> ( _?_ ) : ( _?_ ⊗ _?_ ) Φ <sup>it</sup> [2] <sup>=</sup> ∫ Ω ���� d _?_ _._ (C.43) _?_ [1] ⊗ _?_ [1] 2 Inserting the expressions of _?_ <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>and</sup> <sup>_?★_</sup> [ Inserting the expressions of _?_ <sup>_★_</sup> [1] <sup>and</sup> <sup>_?★_</sup> [1] <sup>obtained earlier in (C.34) and (C.37), we can rewrite</sup> this as ∫ Ω ( B ( _?_ ) : ( _?_ ⊗ _?_ )) :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> d _?,_ (C.44) 2 �Φ <sup>it</sup> [2] - _★_ [ _?_ ] = where B ( _?_ ) = B <sup>(0)</sup> ( _?_ ) +  _?_ {12}{34}◦ _?_ 56 �2 G <sup>′</sup> <sup>_?_</sup> <sup>4123</sup> ( _?_ ) · Q - J <sup>1</sup> ( _?_ ) - Y <sup>′</sup> <sup>_?_</sup> <sup>4123</sup> ( _?_ ) · W _??_ ( _?_ ) · Y <sup>′</sup> ( _?_ ) - _?_ 125346 _._ (C.45) - - _★_ - - _★_ By Equations (C.38) and (C.44), the energy contribution Φ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>=</sup> Φ <sup>it</sup> [2] [ _?_ ] + Φ <sup>bt</sup> [2] [ _?_ ] is given by [2] By Equations (C.38) and (C.44), the energy contribution Φ <sup>_★_</sup> [ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>=</sup> Φ <sup>it</sup> [2] - _★_ [ _?_ ] + Φ <sup>bt</sup> ∮ _?_ Ω Φ <sup>_★_</sup> [2] <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>=</sup> ∫ Ω ( B ( _?_ ) : ( _?_ ⊗ _?_ )) :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> d _?_ + 2 ( C ( _?_ ) : ( _?_ ⊗ _?_ )) ∴ (∇ _?_ ⊗ _?_ )d _?._ (C.46) C.10 Final extraction The last step in the homogenization procedure is to unpack the tensors Y <sup>′</sup>, B and C appearing in (C.34) and (C.46), following a similar procedure as earlier in Appendix C.5. This allows to remove any reference to the quantity _?_ used internally in this Appendix in favor of _?_ and _?_ . With the help of the ‘content tracking’ done in Table C.1, we obtain the unpacked form of these tensors as ( Y <sup>′</sup> ( _?_ ) · _?_ ) : ∇ _?_ = ( _?_ 1( _?_ ) : ∇ _?_ ) · _?_ + _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>: ∇</sup> <sup>_?_</sup> ( B ( _?_ ) : ( _?_ ⊗ _?_ )) :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> = ( _?_ 2( _?_ ) :: (∇ _?_ ⊗∇ _?_ )) : <sup>_<u>?</u>_</sup> <sup>⊗</sup> <sup>_<u>?</u>_</sup> 2 2 2 + ( _?_ 1( _?_ ) : ∇ _?_ ) ∴ ( _?_ ⊗∇ _?_ ) + _?_ 0( _?_ ) :: <sup>∇</sup> <sup>_<u>?</u>_</sup> <sup>⊗∇</sup> <sup>_<u>?</u>_</sup> 2 (C.47a) (C.47b) (C.47c) ( C ( _?_ ) : ( _?_ ⊗ _?_ ))∴(∇ _?_ ⊗ _?_ ) = ( _?_ 1( _?_ ) : ∇ _?_ ) ∴ - _<u>?</u>_ ⊗ _<u>?</u>_ ⊗ _?_ + _?_ 0( _?_ ) :: ( _?_ ⊗∇ _?_ ⊗ _?_ ) 2 where the sub-tensors _?_ 1( _?_ ), _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>),</sup> <sup>_?_</sup> <sup>2(</sup> <sup>_?_</sup> <sup>),</sup> <sup>_?_</sup> <sup>1(</sup> <sup>_?_</sup> <sup>),</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>),</sup> <sup>_?_</sup> <sup>1(</sup> <sup>_?_</sup> <sup>) and</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) are identified as</sup> ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> <sup>�</sup> <sup>_?_</sup> <sup>1324</sup> <sup>�</sup> <sup>_?_</sup> <sup>1432</sup> ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗ V <sup>1�</sup> <sup>_?_</sup> <sup>132</sup> <sup>�</sup> <sup>_?_</sup> <sup>132</sup> _?_ 1( _?_ ) = Y <sup>′</sup> <sup>_?_</sup> <sup>1324</sup> : _?_ 0 <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> Y <sup>′</sup> <sup>_?_</sup> <sup>1324</sup> : (C.48a) (C.48b) (C.48c) (C.48d) (C.48e) (C.48f) (C.48g) ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> <sup>�</sup> <sup>_?_</sup> <sup>15263748</sup> <sup>�</sup> <sup>_?_</sup> <sup>463512</sup> _?_ 2( _?_ ) = B <sup>_?_</sup> <sup>314256</sup> ( _?_ ) :: ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗ V <sup>1�</sup> <sup>_?_</sup> <sup>1526374</sup> <sup>�</sup> <sup>_?_</sup> <sup>35241</sup> _?_ 1( _?_ ) = 2 B <sup>_?_</sup> <sup>314256</sup> ( _?_ ) :: ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗ V <sup>1</sup> ⊗ V <sup>1�</sup> <sup>_?_</sup> <sup>152634</sup> <sup>�</sup> <sup>_?_</sup> <sup>2413</sup> _?_ 0( _?_ ) = B <sup>_?_</sup> <sup>314256</sup> ( _?_ ) :: ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> <sup>�</sup> <sup>_?_</sup> <sup>142536</sup> <sup>�</sup> <sup>_?_</sup> <sup>53412</sup> ( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗( V <sup>_?_</sup> ) <sup>_?_</sup> ⊗ V <sup>1�</sup> <sup>_?_</sup> <sup>14253</sup> <sup>�</sup> <sup>_?_</sup> <sup>3421</sup> _?_ 1( _?_ ) = 2 _?_ 0( _?_ ) = 2 C <sup>_?_</sup> <sup>31245</sup> ( _?_ ) ∴ C <sup>_?_</sup> <sup>31245</sup> ( _?_ ) ∴ The expression of _?_ <sup>_★_</sup> [ The expression of _?_ <sup>_★_</sup> [1] <sup>announced in (73) then follows from (C.34) and (C.47a), whereas the</sup> expression of Φ <sup>_★_</sup> [2] <sup>announced in (19) follows from (C.46) and (C.47b-C.47c).</sup> <sup>_★_</sup> [2] <sup>announced in (19) follows from (C.46) and (C.47b-C.47c).</sup> ## D Special case of homogeneous properties The special case of homogeneous properties (applicable to a perfectly periodic elastic truss for instance) is considered here. In this special case, the parameter _?_ ( _?_ ) goes away ( _??_ = 0). The analysis of leading order is unchanged: it delivers _?_ 0 and _?_ 0, which are no longer functions of _?_, as illustrated in Table 5 for the non-deficient case. There are many simplifications at the next orders and the corresponding, specialized formulas are provided in Table D.2. Note that the tensor dimensions are changed compared to the general case, see also the ‘usage’ column in the table. As a consequence, the indices used in the transpose operations are affected. Although it is straightforward in principle, the specialization of the general formulas to this special case is cumbersome—to a point that we found it easier to re-derive them from scratch. Their consistency with the general formulas is checked in a dedicated Mathematica notebook <sup>2</sup> . As can be expected, all tensors that get contracted with gradients of _?_ are zero, _?_ 1 = 0, _?_ 2 = 0, _?_ 1 = 0, _?_ 1 = 0, _?_ 1 = 0. ## E Extension to a rank-deficient matrix E.1 Special form of null vectors Assuming that they exist, let us first characterize the null vectors of the symmetric matrix _?_ ( _?_ ) introduced in (B.5), entering in both the leading order problem (B.4) and in the determination of the corrective displacement (C.33). For any _?_ = ( _??, ??_ ) ∈ R <sup>_??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>c</sup> such that _?_ ( _?_ ) · _?_ = 0, we have W _??_ ( _?_ ) · _??_ + _??_ - Q - _?_ _?_ ( _?_ ) = 0 (E.1) Q - _?_ _?_ ( _?_ ) · _??_ = 0 Multiplying the first equation by _??_, and using the second equation, we get _??_ - W _??_ ( _?_ ) · _??_ = 0. We observe that the assumption (12) (positive-definiteness of the energy on the subspace of admissible microscopic degrees of freedom) can be rewritten as: Q - _?_ _?_ ( _?_ ) - _?_ = 0 and _?_ ·W _??_ ( _?_ )· _?_ _>_ 0 implies _?_ = 0. Therefore, we have _??_ = 0, which then yields ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> - _??_ = 0, _i.e._, the _??_ block is a null vector of ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> . We have just shown _?_ ( _?_ ) · _?_ = 0 ⇒ _?_ = - 0 _??, ??_ with ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> - _??_ = 0 _._ (E.2) The only way that the matrix _?_ ( _?_ ) can be singular is because of the Q - _?_ _?_ ( _?_ ) block. With _?_ d denoting the rank deficiency of the matrix _?_ or ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup> (both are the same by the argument above), we denote as _?_ ( _?_ ) ∈ T <sup>(</sup> <sup>_?_</sup> <sup>d</sup> <sup>_,?_</sup> <sup>c)</sup> a list of null vectors of ( Q - _?_ _?_ ( _?_ )) <sup>_?_</sup>, arranged in rows. Equation (E.2) then shows that the null vectors of _?_ ( _?_ ) are the rows of _?_ _?_ ( _?_ ) = _?_ ( _?_ ) · 0 _?_ c× _??_ _?_ _?_ c ∈ T <sup>(</sup> <sup>_?_</sup> <sup>d</sup> <sup>_,??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>c)</sup> _._ (E.3) E.2 Solutions of the linear equation We consider the linear equation for a vector _?_ ∈ R <sup>_??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>c</sup>, _?_ ( _?_ ) · _?_ = _?_ _._ (E.4) Multiplying by any null vector _?_ of _?_ and using the symmetry _?_ <sup>_?_</sup> = _?_, we obtain _?_ - _?_ = 0. Repeating this argument with all the null vectors that have been arranged into _?_ _?_ ( _?_ ), we obtain _?_ d solvability conditions _?_ _?_ ( _?_ ) · _?_ = 0 _._ (E.5) When (E.5) is satisfied, the solutions _?_ of (E.4) can be expressed with the help of the Moore-Penrose inverse _?_ <sup>†</sup> ( _?_ ) of _?_ ( _?_ ) as _?_ = _?_ <sup>†</sup> ( _?_ ) · _?_ + _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆ</sup> <sup>_?._</sup> (E.6) 2 See `shoal-library-v1.0/discrete_engine/tests/verifySpecialFormulasHomogeneousCase.nb` Table D.2 Higher-order homogenization in the special case of homogeneous properties. A complete implementation of the method in this special case is possible based on Table 5 (leading order, ignoring any dependence on _?_ ) and on the definitions appearing in the first column of the table above. The quantities appearing in the grey rows are the main results (localization tensors for corrective displacement _?_ 0 <sup>′</sup> <sup>, Lagrange multipliers</sup> grey rows are the main results (localization tensors for corrective displacement _?_ 0 <sup>′</sup> <sup>, Lagrange multipliers</sup> _?_ 0 <sup>′</sup> <sup>, bulk energy contributions</sup> <sup>_?_</sup> <sup>0</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>and boundary contribution</sup> <sup>_?_</sup> <sup>0).</sup> 0 <sup>′</sup> <sup>, bulk energy contributions</sup> <sup>_?_</sup> <sup>0</sup> <sup>and</sup> <sup>_?_</sup> <sup>0</sup> <sup>and boundary contribution</sup> <sup>_?_</sup> <sup>0).</sup> for an arbitrary choice of the coefficients <sup>ˆ</sup> _?_ ∈ R <sup>_?_</sup> <sup>d</sup> . In the right-hand side, the first term is a particular solution furnished by the pseudo-inverse _?_ <sup>†</sup> ( _?_ ), and the second term is a linear combination of the column-vectors in _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>forming</sup> <sup>a</sup> <sup>basis</sup> <sup>of</sup> <sup>ker</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>),</sup> <sup>with</sup> <sup>arbitrary</sup> coefficients ( _?_ <sup>ˆ</sup> _?_ )1⩽ _?_ ⩽ _?_ d. E.3 Extended macroscopic strain vector When the matrix _?_ is rank deficient, we append the _?_ d coefficients _?_ <sup>ˆ</sup> _?_ appearing in (E.6) to the macroscopic strain vector _?_, and write ∈ R <sup>( ˇ</sup> <sup>_??_</sup> <sup>+</sup> <sup>_?_</sup> <sup>d)</sup> _,_ (E.7) _?_ = ˇ _?_ ˆ _?_ where <sup>ˇ</sup> _?_ are the usual macroscopic strain vector that defines the microscopic strain _?_, see (2), referred to as _?_ in the main body of the paper, while <sup>ˆ</sup> _?_ are the additional parameters parametrizing the solution _?_ of the rank-deficient linear problem. The dimension of _?_ is now _??_ = _?_ ˇ _?_ + _?_ d. We denote the injection matrices I <sup>ˇ</sup> and I <sup>ˆ</sup> of <sup>ˇ</sup> _?_ and <sup>ˆ</sup> _?_ into _?_, respectively, ���� ���� _?_ _?_ ˇ _?_ 0 _?_ d× _?_ ˇ _?_ 0 _?_ ˇ _?_ × _?_ d _?_ _?_ d I ˇ = ���� ∈ T <sup>(</sup> <sup>_??_</sup> <sup>×</sup> <sup>_?_</sup> <sup>ˇ</sup> <sup>_?_</sup> <sup>)</sup> (E.8a) I ˆ = ���� ∈ T <sup>(</sup> <sup>_??_</sup> <sup>×</sup> <sup>_?_</sup> <sup>d)</sup> (E.8b) which enable us to rewrite� - _?_ as _?_ = I <sup>ˇ</sup> - <sup>ˇ</sup> _?_ + I <sup>ˆ</sup> - <sup>ˆ</sup> _?_ . Since I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ �and I ˆ · I ˆ which enable us to rewrite� - _?_ as _?_ = I <sup>ˇ</sup> - <sup>ˇ</sup> _?_ + I <sup>ˆ</sup> - <sup>ˆ</sup> _?_ . Since I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ �and I ˆ · I ˆ _?_ - are orthogonal projections from the space R <sup>_??_</sup> in which _?_ lives onto the subspaces with equations <sup>ˆ</sup> _?_ = 0 and <sup>ˇ</sup> _?_ = 0, respectively, the following identity holds, I ˇ · I ˇ _?_ + I ˆ · I ˆ _?_ = _?_ _??_ _._ (E.9) To capture the fact that the macroscopic strain _?_ in (2) is a function of the original set of macroscopic degrees of freedom <sup>ˇ</sup> _?_, but not of the added <sup>ˆ</sup> _?_ part, we require that any sub-block in _??_ ( _?_ ), _??_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>or</sup> <sup>_?_</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>corresponding to a range of indices ˆ</sup> <sup>_?_</sup> <sup>vanishes,</sup> <sup>_i.e._</sup> <sup>,</sup> _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>corresponding to a range of indices ˆ</sup> <sup>_?_</sup> <sup>vanishes,</sup> <sup>_i.e._</sup> <sup>,</sup> _?_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>or</sup> <sup>_?_</sup> _?_ <sup>′′</sup> _??_ ( _?_ ) · I <sup>ˆ</sup> = 0 _,_ _??_ <sup>′</sup> _?_ _?_ _?_ 1432 ( _?_ ) · I ˆ = 0 _,_ (E.10) _?_ _?_ 132 ( _?_ ) · I ˆ = 0 _??_ <sup>′′</sup> Indeed, Equation (E.10) warrants that the strain in (2) can be rewritten in terms of <sup>ˇ</sup> _?_ and its gradients as _?_ = _?_ <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>∴</sup> <sup>∇2ˇ</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> (E.11) _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>∴</sup> <sup>_?_</sup> <sup>′′ + · · ·</sup> where _?_ ˇ _?_ ( _?_ ) = _??_ ( _?_ ) · I ˇ _,_ _?_ ˇ _?_ <sup>′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> _?_ _?_ - _??_ <sup>′</sup> _?_ 132 ( _?_ ) · I ˇ - _?_ 132 _,_ _?_ ˇ _?_ <sup>′′(</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> - _??_ <sup>′′</sup> - _?_ 1432 _._ (E.12) _?_ 1432 ( _?_ ) · I ˇ The proof of (E.11) is left to the reader. In view of Equation (E.10) and Table 1, <sup>ˆ</sup> _?_ does not appear anywhere in the specification of the problem: it is a set of _free_ parameters that are reserved for parameterizing the solution (E.6) of the rank-deficient linear problem. E.4 Changes to leading-order analysis The leading-order problem (B.4) is of the form (E.4) with ���� <u>�</u> W _??_ ( _?_ ( _?_ )) Q - _??_ ( _?_ ( _?_ )) _?_ = − ���� <u>�</u> - _?_ ( _?_ ) _._ (E.13) The solvability condition (E.5) yields  ���� � W _??_ ( _?_ ) Q - _??_ ( _?_ ) _?_ _?_ ( _?_ ) · ���� - _?_ ( _?_ ) = 0 _._ (E.14) The vector in square brackets is an output of the homogenization procedure, representing _?_ d conditions that are linear in the macroscopic strain _?_ . When (E.14) is satisfied, the solution is given by (E.6) as ���� = − _?_ <sup>†</sup> ( _?_ ) · W _??_ ( _?_ ) Q - _??_ ( _?_ ) ���� _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> ���� - _?_ + _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆ</sup> <sup>_?._</sup> (E.15) _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> ���� Thanks to the definition of the extended macroscopic strain vector _?_ in (E.7), this solutions matches the form (B.6) used in the non-deficient case, provided we replace the inverse by the Moore–Penrose inverse and include a new term in the definition of R in (B.7), ���� W _??_ ( _?_ ) Q - _??_ ( _?_ ) R ( _?_ ) = − _?_ <sup>†</sup> ( _?_ ) · ���� + _?_ <sup>_?_</sup> _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>I</sup> <sup>ˆ</sup> _?_ _._ (E.16) It is convenient to rewrite this equation in a slightly different form, for a reason that will be discussed later. Using (E.10), one can show that ���� ���� W _??_ ( _?_ ) Q - _??_ ( _?_ ) - I <sup>ˆ</sup> = 0 _,_ (E.17) _i.e._, the operators W _??_ and _??_ do not sense the added degrees of freedom <sup>ˆ</sup> _?_ . Combining with (E.9), this shows that ���� ���� ���� W _??_ ( _?_ ) Q - _??_ ( _?_ ) W _??_ ( _?_ ) Q - _??_ ( _?_ ) = ���� - I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ _._ (E.18) Inserting into the expression of R ( _?_ ), we obtain ���� W _??_ ( _?_ ) Q - _??_ ( _?_ ) _?_ _._ (E.19) R ( _?_ ) = − _?_ <sup>†</sup> ( _?_ ) · ���� - I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ + _?_ _??_ _??_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>I</sup> <sup>ˆ</sup> We use this expression of R ( _?_ ) in the code and not that proposed earlier in (B.7). Indeed, the latter can be recovered as a particular case: when the matrix _?_ is invertible, _?_ d = 0, implying that _?_ <sup>†</sup> ( _?_ ) = _?_ <sup>−1</sup> ( _?_ ) and that _?_ _?_ and I <sup>ˆ</sup> are zero-dimension array, and the last term in (E.19) vanishes. The definitions (B.8–B.15) of the other leading-order quantities such as _?_ 0, _?_ 0, etc. are unchanged. The following identity can be established using (B.8), (E.19), (E.3) and the orthogonality of the projectors I <sup>ˇ</sup> _?_ - I ˆ = 0 which follows from (E.8), _?_ 0 · I <sup>ˆ</sup> = = = = ���� ���� _?_ _?_ ( _?_ ) · _?_ ( _?_ ) · _?_ _??_ 0 _??_ × _?_ c _?_ _??_ 0 _??_ × _?_ c - R ( _?_ ) · I <sup>ˆ</sup> - _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>)</sup> _?_ �������� �� _?_ _??_ 0 _??_ × _?_ c ���� 0 _?_ c× _??_ _?_ _?_ c (E.20) _?_ �������� �� _?_ _??_ 0 _??_ × _?_ c ���� = 0 _._ As a result, the microscopic displacement _?_ [0] = _?_ 0( _?_ ) · _?_ can be expressed as _?_ [0] = _?_ 0( _?_ ) · ( I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ + I ˆ - I ˆ _?_ ) - _?_ = _?_ ˇ 0( _?_ ) - ˇ _?_ where _?_ ˇ 0( _?_ ) = _?_ 0( _?_ ) - I ˇ : it depends on the original set of degrees of freedom <sup>ˇ</sup> _?_ only and the matrix _?_ 0 has a zero block in the range of indices associated with <sup>ˆ</sup> _?_, _?_ 0( _?_ ) = <sup>�</sup> _?_ <sup>ˇ</sup> 0( _?_ ) 0 _??_ × _?_ d �. ( I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ + I ˆ - I ˆ with <sup>ˆ</sup> _?_, _?_ 0( _?_ ) = <sup>�</sup> _?_ <sup>ˇ</sup> 0( _?_ ) 0 _??_ × _?_ d �. The stress _?_ 0 · _?_, however, can depend on the <sup>ˆ</sup> _?_ -block of _?_ as well: by adapting the calculation in (E.20), one can show that _?_ 0 - I <sup>ˆ</sup> = _?_ <sup>_?_</sup> ( _?_ ) is non-zero in the rank-deficient case. The components of <sup>ˆ</sup> _?_ can therefore be interpreted as the stress associated with the macroscopic kinematic constraint (E.14); this stress is akin to a Lagrange multiplier, _i.e._, is not set by any constitutive law. Combining (E.20) with (B.11) and (B.12), one can show that the strain localization tensor _?_ 0 and the equivalent stiffness _?_ 0 are also uncoupled to <sup>ˆ</sup> _?_, implying zero <sup>ˆ</sup> _?_ -sub-blocks, _,_ _?_ 0( _?_ ) = _?_ 0( _?_ ) = _?_ ˇ 0( _?_ ) 0 _??_ × _?_ d ���� ���� _?_ ˇ 0( _?_ ) 0 _?_ ˇ _?_ × _?_ d 0 _?_ d× _?_ ˇ _?_ 0 _?_ d× _?_ d _._ In addition, we obtain the following identity by combining (B.14), (E.20) and (E.21a), _?_ 0 · I <sup>ˆ</sup> = K ( _?_ ) · [ _?_ 0( _?_ ) · I <sup>ˆ</sup> ] + Q <sup>_?_</sup> - _?_ 0( _?_ ) · I <sup>ˆ</sup> = Q <sup>_?_</sup> - _?_ <sup>_?_</sup> ( _?_ ) _._ (E.21a) (E.21b) (E.22) The reason we prefer the expression of R in (E.19) to that derived first in (E.16) is that it makes it much more evident _?_ 0, _?_ 0 and _?_ 0 are insensitive to the added degrees of freedom <sup>ˆ</sup> _?_, see the identities (E.20–E.21). E.5 Changes to the energy expansion With the help of (E.9), (E.22), (C.13), (C.12b) and (B.15a), the second term in the integrand in (C.17b) can be written as _?_ - _?_ ) · _?_ [2] + ( _?_ 0( _?_ ) · I ˆ · I ˆ ( _?_ 0( _?_ ) · _?_ ) · _?_ <sup>[2]</sup> = ( _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - _?_ ) · _?_ [2] - - _?_ <sup>[2]</sup> = ( _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - _?_ ) · _?_ [2] + = ( _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - _?_ ) · _?_ [2] + - Q <sup>_?_</sup> - _?_ <sup>_?_</sup> ( _?_ ) · I <sup>ˆ</sup> _?_ - _?_ - _?_ <sup>_?_</sup> ( _?_ ) · I <sup>ˆ</sup> _?_ - _?_ - _?_ <sup>_?_</sup> ( _?_ ) · I <sup>ˆ</sup> - Q - _?_ <sup>[2]</sup> (E.23) = ( _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - _?_ ) · �( J <sup>11</sup> ( _?_ ) · _?_ ) :: (∇ _?_ ⊗∇ _?_ ) _?_ <sup>_?_</sup> _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>I</sup> <sup>ˇ ·</sup> <sup>I</sup> <sup>ˇ</sup> - _?_ [2] +( J <sup>2</sup> ( _?_ ) · _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>) :</sup> <sup>∇</sup> <sup>_?_</sup> [1] + _?_ - _?_ , = ( _?_ 0( _?_ )· I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - _?_ )· �( J <sup>11</sup> ( _?_ )· _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + ( J <sup>2</sup> ( _?_ )· _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>) :</sup> <sup>∇</sup> <sup>_?_</sup> [1] where the terms that have been crossed out are zero. In view of this, the definition of the operators B “ <sup>(0)</sup>, B “ <sup>(1)</sup>, C <sup>(0)</sup>, C <sup>(1)</sup> can be modified by including the projector I ˇ · I ˇ _?_ onto the subspace ˆ _?_ = 0, to the right of _?_ 0( _?_ ), B “ <sup>(0)</sup> ( _?_ ) = B “ <sup>(1)</sup> ( _?_ ) = �� J 1( _?_ )� _?_ 4123 - K ( _?_ ) · J 1( _?_ )� _?_ 125346 + 2( J <sup>11</sup> ( _?_ )) <sup>_?_</sup> <sup>612345</sup> - _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - V _?_ �� J 1( _?_ )� _?_ 4123 - K ( _?_ ) · _?_ _?_ ( _?_ )� _?_ 1243 (E.24) C <sup>(0)</sup> ( _?_ ) = [( J <sup>2</sup> ( _?_ )) <sup>_?_</sup> <sup>51234</sup> - _?_ 0( _?_ ) · I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ - V _?_ ] _?_ 45 C <sup>(1)</sup> ( _?_ ) = ( _?_ _?_ <sup>′</sup> _?_ <sup>′</sup> <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>_?_</sup> <sup>312</sup> <sup>·</sup> <sup>_?_</sup> <sup>0(</sup> <sup>_?_</sup> <sup>) ·</sup> <sup>I</sup> <sup>ˇ ·</sup> <sup>I</sup> <sup>ˇ</sup> _?_ _?_ - V _?_ _._ The original and amended definitions in (C.25) and (E.24) are equally valid, but the latter has the advantage that it yields final tensors _?_ 1 and _?_ 0 having zero <sup>ˆ</sup> _?_ -sub-blocks (the sub-blocks obtained with the former set of definitions do evaluate to zero when the solvability constraints are considered but this is much less evident, and potentially confusing). Our implementation makes use of (E.24) and not (C.25), both definitions being identical for non-singular matrices: when _?_ d = 0, we have I <sup>ˇ</sup> - I <sup>ˇ</sup> _?_ = _?_ _??_ by (E.9). E.6 Changes to the corrective displacement The linear problem (C.33) makes use of the same matrix _?_ as the leading-order problem. The solvability condition for _?_ [1] is furnished by (E.5) as  ���� � ( B <sup>(1)</sup> ( _?_ ( _?_ ))) <sup>_?_</sup> <sup>2314</sup> Q - J <sup>1</sup> ( _?_ ( _?_ )) _?_ _?_ ( _?_ ) · ���� ∴ (∇ _?_ ( _?_ ) ⊗ _?_ ( _?_ )) = 0 _._ (E.25) The quantity in square brackets is an output of the homogenization procedure that encodes _?_ d conditions depending linearly on _?_ and ∇ _?_ . As we did earlier at the leading order, the solution ( _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>))</sup> <sup>of (C.33) is the sum of</sup> a particular solution furnished by the Moore-Penrose inverse and a linear combination of the null vectors of _?_ with new coefficients <sup>ˆˆ</sup> _?_, As we did earlier at the leading order, the solution ( _?_ <sup>_★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_, ?★_</sup> [1 ���� = − _?_ <sup>†</sup> ( _?_ ) · ���� _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> ( B <sup>(1)</sup> ( _?_ ( _?_ ))) <sup>_?_</sup> <sup>2314</sup> Q - J <sup>1</sup> ( _?_ ( _?_ )) ���� ∴ (∇ _?_ ( _?_ ) ⊗ _?_ ( _?_ )) + _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆˆ</sup> <sup>_?._</sup> (E.26) _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> ���� The first term in the right-hand side is taken care of by replacing the inverse of _?_ ( _?_ ) by its Moore-Penrose inverse in the definition of R <sup>′</sup> in (C.36), as we did earlier with R . The second <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆˆ</sup> <sup>_?_</sup> <sup>in</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>adds up in a straightforward way to the term</sup> <sup>_?_</sup> <sup>_?_</sup> _?_ term _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆˆ</sup> <sup>_?_</sup> <sup>in</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>adds up in a straightforward way to the term</sup> <sup>_?_</sup> <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆ</sup> <sup>_?_</sup> from leading order: the full microscopic displacement _?_ <sup>_★_</sup> ( _?_ ) = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>and</sup> term _?_ <sup>_?_</sup> _?_ <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>and</sup> <sup>_?★_</sup> [ from leading order: the full microscopic displacement _?_ <sup>_★_</sup> ( _?_ ) = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>and</sup> Lagrange multipliers _?_ <sup>_★_</sup> ( _?_ ) = _?_ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>obtained by summing up the</sup> <sup>_?_</sup> <sup>0 and</sup> <sup>_?_</sup> <sup>1</sup> contributions are now linear combinations of the null vectors in _?_ _?_ ( _?_ ) with coefficients <sup>ˆ</sup> _?_ + <sup>ˆˆ</sup> _?_ having both a leading order contribution ( <sup>ˆ</sup> _?_ ) and an order _?_ contribution ( <sup>ˆˆ</sup> _?_ ). A simple way to deal with this complication is ( _i_ ) to discard the _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆˆ</sup> <sup>_?_</sup> <sup>contribution in (E.26), and (</sup> <sup>_ii_</sup> <sup>) agree that ˆ</sup> <sup>_?_</sup> <sup>is</sup> <sup>_★_</sup> [1] <sup>(</sup> <sup>_?_</sup> <sup>) + · · ·</sup> <sup>obtained by summing up the</sup> <sup>_?_</sup> <sup>0 and</sup> <sup>_?_</sup> <sup>1</sup> <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [ <sup>_★_</sup> [0] <sup>(</sup> <sup>_?_</sup> <sup>) +</sup> <sup>_?★_</sup> [ with this complication is ( _i_ ) to discard the _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) · ˆˆ</sup> <sup>_?_</sup> <sup>contribution in (E.26), and (</sup> <sup>_ii_</sup> <sup>) agree that ˆ</sup> <sup>_?_</sup> <sup>is</sup> a _series_ in _?_ . This avoids extending the vector _?_ with _?_ d new entries for every homogenization order. Concretely, we simply replace the inverse appearing in (C.36) by the Moore–Penrose inverse: our implementation uses ���� ( B <sup>(1)</sup> ( _?_ )) <sup>_?_</sup> <sup>2314</sup> Q - J <sup>1</sup> ( _?_ ) R <sup>′</sup> ( _?_ ) = − _?_ <sup>†</sup> ( _?_ ) · ���� _._ (E.27) E.7 Solvability condition for _?_ [2] The quantity _?_ [2] entering in + _?_ <sup>_?_</sup> _?_ <sup>·</sup> <sup>_?_</sup> [2] (E.28) _?_ <sup>[2]</sup> = �( J <sup>11</sup> - _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + ( J <sup>2</sup> - _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] has been eliminated from (E.23) using the constraint Q - _?_ <sup>[2]</sup> = 0. For _?_ [2] to exist, one must have 0 = Q - _?_ <sup>[2]</sup> = Q - �( J <sup>11</sup> - _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + ( J <sup>2</sup> - _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] This leads to the compatibility condition + Q - _?_ <sup>_?_</sup> _?_ <sup>·</sup> <sup>_?_</sup> [2] <sup>_._</sup> (E.29) ∈ Im( Q - _?_ <sup>_?_</sup> _?_ <sup>)</sup> <sup>_._</sup> (E.30) Q �( J <sup>11</sup> - _?_ ) :: (∇ _?_ ⊗∇ _?_ ) + ( J <sup>2</sup> - _?_ ) ∴ ∇ <sup>2</sup> _?_ + _?_ _?_ <sup>′</sup> <sup>: ∇</sup> <sup>_?_</sup> [1] In the code, a basis of vectors perpendicular to Im( Q - _?_ <sup>_?_</sup> _?_ <sup>)</sup> <sup>is produced using a row-reduction</sup> algorithm, and we print out the conditions that each of these vectors is perpendicular to the vector Q - [ _. . ._ ] appearing in the left-hand side above: this yields conditions depending linearly on ∇ _?_ ⊗∇ _?_ ⊗ _?_ and ∇ <sup>2</sup> _?_ ⊗ _?_ . E.8 Summary: extension to rank-deficient problems The following extension of the code enables us to deal with a rank-deficient matrix _?_ ( _?_ ): - provide integers _?_ ˇ _?_ and _?_ d and the injection matrix I <sup>ˆ</sup> as a optional arguments to the homogenization procedure and check the condition (E.10) on the tensors _??_, _??_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> <sup>passed in</sup> _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> enization procedure and check the condition (E.10) on the tensors _??_, _??_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′′</sup> <sup>passed in</sup> argument; - compute a set of null vectors of the symmetric matrix _?_ ( _?_ ), check that there are _?_ d such vectors and that they are of the form (E.2), compute the Moore-Penrose inverse _?_ <sup>†</sup> ( _?_ ) if _?_ d _>_ 0; - return the solvability conditions (E.14), (E.25) and (E.30) whenever _?_ d _>_ 0; - replace Equations (B.7), (C.25) and (C.36) yielding R, B <sup>“</sup> <sup>(0)</sup>, B <sup>“</sup> <sup>(1)</sup>, C <sup>(0)</sup>, C <sup>(1)</sup> and R <sup>′</sup> with their extensions (E.19), (E.24) and (E.27) E.9 Illustration: a truss lattice with inextensible beams We consider again the truss lattice shown in Figure 2, but assume this time that the bars on the upper side (+) are _inextensible_ : the corresponding stretching strain is constrained to be zero, _?_ 4 = 0. In view of (33) and (29), the inextensibility condition for the upper beams can be rewritten as _?_ ( _?_ ) − <sup><u>1</u></sup> 2 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0 + O(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_._</sup> (E.31) This is a constraint that applies to the macroscopic strain _?_ = ( _?,?_ ): this contrasts with the illustrations presented in Section 4, where the macroscopic strain was unconstrained. The linear problems encountered in the homogenization become rank-deficient, as we show now by running the homogenization procedure. We first run the homogenization procedure with similar input parameters as those listed in Table 4, except that - we limit attention to uniform spring constants, setting _?_ = () and _??_ = 0 and _?_ ( _?_ ) = _?_ ; - we add the inextensibility constraint by incrementing _??_ = 2 + 1 = 3 and defining Q ( _?_ ) = _?_ <sup>3</sup> 1 <sup>⊗</sup> <sup>_?_</sup> <sup>7</sup> 6 <sup>+</sup> <sup>_?_</sup> <sup>3</sup> 2 <sup>⊗</sup> <sup>_?_</sup> <sup>7</sup> 7 <sup>+</sup> <sup>_?_</sup> <sup>3</sup> 3 <sup>⊗</sup> <sup>_?_</sup> <sup>7</sup> 4 <sup>, where the first two terms represent the zero-average conditions</sup> ⟨ _?_ 1 <sup>±⟩</sup> <sup>= 0 and ⟨</sup> <sup>_?_</sup> 2 <sup>±⟩</sup> <sup>= 0 already used earlier, and the last term encodes the new constraint</sup> <sup>_?_</sup> <sup>4</sup> <sup>= 0</sup> (we using the notation introduced in Table 4 for unit vectors); - optionally, we drop the term _?_ = 4 in the assembly of the stiffness matrix K in Table 4—this does not matter as the corresponding strain is zero anyway. When run with these parameters, the homogenization returns an error message indicating that the linear problem has a rank deficiency of 1, and that a single coefficient <sup>ˆ</sup> _?_ = ( _?_ <sup>ˆ</sup> 1) must be appended to the list of macroscopic parameters _?_ = ( _?,?_ ), see (E.7). We therefore modify the input further as follows: - with _?_ = ( _?,?,_ _?_ <sup>ˆ</sup> 1), we now set _??_ = 3, and we extend the dimensions of the tensors _??_, _??_ <sup>′,</sup> <sup>_?_</sup> _?_ <sup>′′</sup> accordingly, by filling them up with zeros; - we include the optional argument I <sup>ˆ</sup> = _?_ <sup>3</sup> 3 <sup>⊗</sup> <sup>_?_</sup> <sup>1</sup> 1 <sup>describing the injection ˆ</sup> <sup>_?_</sup> <sup>into</sup> <sup>_?_</sup> <sup>, see (E.8b).</sup> When run with these parameters, the homogenization procedure returns - the solvability condition for _?_ [0], see (E.14), in the form that we had announced in (E.31) _?_ ( _?_ ) − 2 <sup><u>1</u></sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>= 0</sup> <sup>_,_</sup> (E.32) - the solvability condition for _?_ [1] in (E.25) in the form 0 = 0 (it is automatically satisfied), - the homogenized energy is obtained by interpreting the output of the code as earlier in Section 4, except that we can now eliminate _?_ ( _?_ ) = <sup><u>1</u></sup> 2 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>in favor of</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>using the solvability condition:</sup> the result is Φ <sup>_★_</sup> [ _?_ ] = ∫ +∞ −∞ - <u>13</u> _?_ - <u>d</u> _?_ 24 <sup>_?_</sup> <sup>2 −</sup> <sup>_??_</sup> 4 <sup>2</sup> <sup>_?_</sup> <sup>′2 + O(</sup> <sup>_?_</sup> <sup>3)</sup> _?_ <sup>_._</sup> (E.33) ## References Abali, B. E. and E. Barchiesi (2021). Additive manufacturing introduced substructure and computational determination of metamaterials parameters by means of the asymptotic homogenization. _Continuum Mechanics and Thermodynamics_ [33(4):993–1009. [doi], [oa].](http://dx.doi.org/10.1007/s00161-020-00941-w) Abdoul-Anziz, H. and P. Seppecher (2018a). Homogenization of periodic graph-based elastic structures. _Journal de l’École polytechnique — Mathématiques_ [5:259–288. [doi], [oa].](http://dx.doi.org/10.5802/jep.70) Abdoul-Anziz, H. and P. Seppecher (2018b). Strain gradient and generalized continua obtained by homogenizing frame lattices. _Mathematics and Mechanics of Complex Systems_ 6(3):213–250. [[doi], [oa].](http://dx.doi.org/10.2140/memocs.2018.6.213) Abdoul-Anziz, H., P. Seppecher, and C. Bellis (2019). Homogenization of frame lattices leading to second gradient models coupling classical strain and strain-gradient terms. _Mathematics and_ _Mechanics of Solids_ [24(12):3976–3999. [doi], [hal].](http://dx.doi.org/10.1177/1081286519855431) Audoly, B. (2023). _The shoal library_ . Software Heritage persistent IDentifiers (SWHIDs) permalink [[SWHID]. Version 1.0. Git repository [GIT].](https://archive.softwareheritage.org/swh:1:dir:788abad82a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9) Audoly, B. and C. Lestringant (2021). Asymptotic derivation of high-order rod models from non-linear 3D elasticity. _Journal of the Mechanics and Physics of Solids_ [148:104264. [doi], [oa].](http://dx.doi.org/10.1016/j.jmps.2020.104264) Bacigalupo, A. (2014). Second-order homogenization of periodic materials based on asymptotic approximation of the strain energy: formulation and validity limits. _Meccanica_ 49(6):1407–1425. [[doi], [arxiv].](http://dx.doi.org/10.1007/s11012-014-9906-0) Bakhvalov, N. and G. Panasenko (1989). _Homogenisation: averaging processes in periodic media:_ _mathematical problems in the mechanics of composite materials_ [. Springer. [doi], [oa].](http://dx.doi.org/10.1007/978-94-009-2247-1) Bažant, Z. and M. Christensen (1972). Analogy between micropolar continuum and grid frame works under initial stress. _International Journal of Solids and Structures_ [8(3):327–346. [doi],](http://dx.doi.org/10.1016/0020-7683%0x2872%0x2990093-5) [[oa].](http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.694.5508) Berdichevskii, V. (1981). On the energy of an elastic rod. _Journal of Applied Mathematics and_ _Mechanics_ [45(4):518–529. [doi].](http://dx.doi.org/10.1016/0021-8928%0x2881%0x2990097-6) Boutin, C. (1996). Microstructural effects in elastic composites. _International Journal of Solids and_ _Structures_ [33(7):1023–1051. [doi], [hal].](http://dx.doi.org/10.1016/0020-7683%0x2895%0x2900089-5) Boutin, C. (2019). Homogenization Methods and Generalized Continua in Linear Elasticity. _Encyclopedia of Continuum Mechanics_ . Ed. by H. Altenbach and A. Öchsner. Springer, pp 1–35. [[doi].](http://dx.doi.org/10.1007/978-3-662-53605-6_112-1) Boutin, C. and J. Soubestre (2011). Generalized inner bending continua for linear fiber reinforced materials. _International Journal of Solids and Structures_ [48(3-4):517–534. [doi], [hal].](http://dx.doi.org/10.1016/j.ijsolstr.2010.10.017) Cioranescu, D. and P. Donato (1999). _An Introduction to Homogenization_ . Vol. 17. Oxford University Press. isbn: 9780198565543. Cioranescu, D. and J. S. J. Paulin (1999). _Homogenization of Reticulated Structures_ . Vol. 136. Springer. [isbn: 9781461274377. [doi].](http://dx.doi.org/10.1007/978-1-4612-2158-6) David, M., J.-J. Marigo, and C. Pideri (2012). Homogenized interface model describing inhomo geneities located on a surface. _Journal of Elasticity_ [109(2):153–187. [doi], [hal].](http://dx.doi.org/10.1007/s10659-012-9374-5) Dos Reis, F. and J. Ganghoffer (2012). Construction of micropolar continua from the asymptotic homogenization of beam lattices. _Computers & Structures_ [112-113:354–363. [doi].](http://dx.doi.org/10.1016/j.compstruc.2012.08.006) Durand, B., A. Lebée, P. Seppecher, and K. Sab (2022). Predictive strain-gradient homogenization of a pantographic material with compliant junctions. _Journal of the Mechanics and Physics of_ _Solids_ [160:104773. [doi], [oa].](http://dx.doi.org/10.1016/j.jmps.2021.104773) Gambin, B. and E. Kröner (1989). Higher-order terms in the homogenized stress-strain relation of periodic elastic media. _physica status solidi (b)_ [151(2):513–519. [doi].](http://dx.doi.org/10.1002/pssb.2221510211) Hans, S. and C. Boutin (2008). Dynamics of discrete framed structures: a unified homogenized description. _Journal of Mechanics of Materials and Structures_ [3(9):1709–1739. [doi], [oa].](http://dx.doi.org/10.2140/jomms.2008.3.1709) Hodges, D. H. (2006). _Nonlinear composite beam theory_ . Vol. 213. Progress in astronautics and [aeronautics. American Institute of Aeronautics and Astronautics. [doi].](http://dx.doi.org/10.2514/4.866821) Le, D. T. and J.-J. Marigo (2018). Second order homogenization of quasi-periodic structures. _Vietnam Journal of Mechanics_ [40(4):325–348. [doi], [oa].](http://dx.doi.org/10.15625/0866-7136/13498) Lestringant, C. and B. Audoly (2020). Asymptotically exact strain-gradient models for nonlinear slender elastic structures: A systematic derivation method. _Journal of the Mechanics and_ _Physics of Solids_ [136:103730. [doi], [arxiv].](http://dx.doi.org/10.1016/j.jmps.2019.103730) Nassar, H., H. Chen, and G. Huang (2020). Microtwist elasticity: A continuum approach to zero modes and topological polarization in Kagome lattices. _Journal of the Mechanics and Physics_ _of Solids_ [144:104107. [doi], [oa].](http://dx.doi.org/10.1016/j.jmps.2020.104107) Sanchez-Palencia, E. (1980). Non-homogeneous media and vibration theory. _Lecture Note in_ _Physics_ [320:57–65. [doi], [oa].](http://dx.doi.org/10.1007/3-540-10000-8) Smyshlyaev, V. and K. Cherednichenko (2000). On rigorous derivation of strain gradient effects in the overall behaviour of periodic heterogeneous media. _Journal of the Mechanics and Physics_ _of Solids_ [48(6-7):1325–1357. [doi].](http://dx.doi.org/10.1016/s0022-5096%0x2899%0x2900090-3) Wolfram Research, Inc. (2021). _Mathematica, Version 13.0.0_ . Champaign, IL, 2021. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the authors–the copyright holder. To view a copy of [this license, visit creativecommons.org/licenses/by/4.0.](http://creativecommons.org/licenses/by/4.0/) Authors’ contributions BA implemented the library. Both authors contributed equally to all other aspects of this work. Supplementary Material The homogenization method presented in this paper is distributed in the form of a library, named ‘ `shoal` [’, available at SoftwareHeritage https://archive.softwareheritage.org/swh:1:dir:788abad8](https://archive.softwareheritage.org/swh:1:dir:788abad82a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9) [2a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:](https://archive.softwareheritage.org/swh:1:dir:788abad82a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9) [5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9.](https://archive.softwareheritage.org/swh:1:dir:788abad82a752c44def322f4bb6c64bb63367f7e;origin=https://git.renater.fr/anonscm/git/shoal/shoal.git;visit=swh:1:snp:5013a4223e0901d9c6aa52da15e7d0ff9b5606e4;anchor=swh:1:rev:a48502c10dd2a54b3fa83acb245632fb320d4ee9) [The git repository of the library can be accessed through GIT https://git.renater.fr/anonscm/git/shoal/shoal.git. It is](https://git.renater.fr/anonscm/git/shoal/shoal.git) implemented in the symbolic calculation language Wolfram Mathematica, and distributed under CeCILL v2.1 license. The code used to produce the examples presented in this paper is included in the library. Acknowledgements We are grateful to Yang Ye for his useful feedback on the technical document that we used internally for this project. Funding Not applicable. Ethics approval and consent to participate Not applicable. Consent for publication Not applicable. Competing interests The authors declare that they have no competing interests. Journal’s Note JTCAM remains neutral with regard to the content of the publication and institutional affiliations.

섹션 본문 388문단 · 83,443자

(제목 없음)

1A higher-order homogenization method for linear elastic structures is proposed.While most existing approaches to homogenization start from the equations of equilibrium, this one works at the energy level.We start from an energy functional depending on microscopic degrees of freedom on the one hand and on macroscopic variables on the other hand; the homogenized energy functional is derived by relaxing the microscopic degrees of freedom and applying a formal two-scale expansion.This method delivers the energy functional of the homogenized model directly, including boundary terms that have not been discussed in previous work.Our method is formulated in a generic setting which makes it applicable to a variety of geometries in dimension 1, 2 or 3.An implementation using a symbolic calculation language is proposed and it is distributed as an open-source library.Simple illustrations to elastic trusses having pre-stress or graded elastic properties are presented.The approach is presented in the context of discrete elastic structures and the connection with previous work on the higher-order homogenization of periodic continua is discussed.

Introduction

2This work addresses the growing need for effective models capturing accurately the mechanical response of architected materials produced, e.g., by additive manufacturing techniques.In these materials, finite-size effects are not captured by standard (Cauchy) continuum models.Generalized continua theories, including higher-order (gradient) terms or micropolar fields have been introduced to overcome this limitation.Among various strategies proposed to obtain such models, asymptotic analysis offers a rigorous and fully predictive tool to derive exact higher-order or micropolar contributions without resorting to ad-hoc kinematic assumptions (Boutin 2019).

3Asymptotic homogenization is a well-established technique for either discrete or continuous periodic microstructures.It aims at deriving an equivalent macroscopic set of equilibrium equations by means of a formal two-scale expansion, see (Sanchez-Palencia 1980;Bakhvalov and Panasenko 1989;Cioranescu and Donato 1999;Cioranescu and Paulin 1999) among others.The results of classical periodic homogenization are recovered at leading order.Later contributions focussed on pushing the asymptotic expansion to higher-orders, with the aim of deriving gradient contributions, either as small correctors to the leading-order prediction (Gambin and Kröner 1989;Boutin 1996;Smyshlyaev and Cherednichenko 2000;Hans and Boutin 2008;Bacigalupo 2014;Le and Marigo 2018;Abali and Barchiesi 2021) or as a non-local leading-order model when the standard equivalent medium is degenerate (Boutin and Soubestre 2011;Abdoul-Anziz and Seppecher 2018a;Abdoul-Anziz and Seppecher 2018b;Abdoul-Anziz et al. 2019;Durand et al. 2022).Asymptotic analysis has also been used to derive micropolar effective theories (Bažant and Christensen 1972;Dos Reis and Ganghoffer 2012;Nassar et al. 2020).

4In spite of a large body of existing work, some aspects of higher-order homogenization remain elusive.Besides the question of applicable boundary conditions which is largely overlooked in existing work, most contributions typically start from the strong form of the equilibrium equations thus loosing the variational structure of the initial problem (some try to reconstruct the effective energy a posteriori, but systematically ignore boundary terms).Besides, natural extensions such as pre-stress or slow spatial variations of the elastic or geometric properties of the microstructure are rarely addressed, especially in higher-order contributions.

5In this paper, we adapt our earlier work on higher-order, nonlinear asymptotic dimension reduction (Lestringant and Audoly 2020) to linear homogenization of discrete elastic structures, such as elastic trusses or networks of elastic beams.Based on formal arguments, we propose a homogenization method that is directly applicable to any given discrete microstructure (the connection with the homogenization of periodic continua is discussed in Section 7. We carry out homogenization at the energy level, thereby following the pioneering work of (Le and Marigo 2018).As a benefit, important simplifications are made during the homogenization procedure, allowing the higher-order homogenized model to be obtained in compact form via a formal, systematic expansion.In addition, our method is versatile and allows for natural extensions such as the case of pre-stressed structures.We also keep track of boundary terms that have been ignored in previous work.Lastly, our method is implemented in a symbolic calculation language and distributed as an open-source library named shoal, for Second-order HOmogenization Automated in a Library (Audoly 2023).

6Our method starts from an energy formulation derived by applying a continuum approximation to a linear discrete microstructure.This preliminary continualization step is not strictly part of this paper; it is briefly illustrated based on an example.We apply to this continualized energy a two-scale expansion, assuming slow variations for macroscopic quantities such as strains and lattice properties, and rapid variations for the degrees of freedom at the microstructural scale.

7Our method aims at condensing out these rapidly varying fields, by solving an energy stationarity problem order by order.Constraints are included from the onset in the energy formulation, which helps making the derivation compact.The procedure involves solving a set of elementary linear-algebra problems, and is implemented in a formal calculation language.

82 Input to the homogenization procedure

9In this section, we present the elastic model serving as the starting point of the homogenization procedure.It is formulated in a continuous domain Ω ⊂ R of the -dimensional Euclidean space.The elastic model is specified in an abstract and generic form, making the homogenization procedure applicable to a broad range of situations including both periodic continua and discrete structures-such as one-dimensional (beam-like), two-dimensional (plate-like) and three-dimensional (bulk) elastic trusses.It is also versatile enough to handle structures possessing slowly modulated properties or pre-stress, as illustrated in Sections 4.1 and 4.2, respectively.

10The task of casting a given problem into the generic form proposed in this section is not particularly difficult but has to be carried out on a case-by-case basis: this aspect is barely touched upon in Section 4 and will be illustrated in follow-up papers.When the structure under study is a discrete elastic truss, this preliminary step involves a so-called continualization assumption that turns the original discrete energy into the continuous energy functional used as a starting point in this paper, see Equation ( 4) and the discussion in Section 4.1.

11We limit attention to linear homogenization problems.The extension to nonlinear homogenization can be done by adapting our previous work on nonlinear dimension reduction (Lestringant and Audoly 2020;Audoly and Lestringant 2021).

Energy formulation of the input model

12We proceed to specify the continuous elastic model used as an input to the homogenization procedure.The presentation is intentionally abstract: illustrations will be provided in Section 4.

13The model is formulated over a continuous domain Ω ⊂ R , and we denote by ∈ Ω the space variable, see Figure 1.A deformed configuration of the elastic body is parameterized by three vector fields ( ), ( ) and ( ) defined over Ω:

14• microscopic degrees of freedom ( ) ∈ R which we seek to eliminate using the homogenization procedure,

15B. Audoly and C. Lestringant An energy approach to higher-order homogenization

16Typical application of the method: homogenization of a beam lattice in a domain Ω ⊂ R , here with = 2.In this stylized representation of the beam lattice, the gradient of material parameters ∇ includes both gradients of elastic properties (varying thickness of beams) and geometry (mesh curvature).The mathematical domain Ω where we carry out homogenization is strictly included in the physical domain of the lattice to avoid boundary layers.The elastic lattice depicted above serves as an illustration: the homogenization method is presented in an abstract setting that does not make any reference to a lattice.

17• macroscopic variables which are held fixed during homogenization, namely:

18the macroscopic strain ( ) ∈ R -variable material parameters ( ) ∈ R .The integers , and are input parameters of the homogenization procedure.The goal of the procedure is to slave the microscopic degrees of freedom to the macroscopic variables and , thereby delivering a homogenized model depending on and only.The difference between the macroscopic variables and is that captures the slowly variable properties of the elastic structure which are prescribed once for all, although is considered fixed during the homogenization procedure but is actually an unknown of the structural problem that the homogenized energy helps solving.

19In addition, the input model makes use of microscopic strain variables, which are collected into a vector ∈ R .The geometric definition of the strain is assumed to be of the form = (( ); ( ), ∇ ( ), ∇ 2 ( ), . . .; ( ), ∇( ), ∇ 2 ( ), . ..)

20(1)

21where the dependence on the macroscopic strain and of the microscopic degrees of freedom and their gradients is linear in the context of linear elasticity, (; , ′ , ′′ , . . .; , ′ , ′′ , . ..) = () • + ′ () : ′ + ′′ () ∴ ′′ + . . .

22Here, ∈ R , ′ = ∇ ∈ T ( ,) , ′′ = ∇ 2 ∈ T ( ,,) , ∈ R , ′ = ∇ ∈ T (,) , ′′ = ∇ 2 ∈ T (,,) are dummy variables representing the local values of , and their successive gradients.The homogenization procedure is implemented in a symbolic calculation language, and the tensors () ∈ T ( , ) , ′ () ∈ T ( , ,) , ′′ () ∈ T ( , ,,) , ..., () ∈ T (,) , ′ () ∈ T (,,) and ′′ () ∈ T (,,,) are provided as input, see Table 1, in the form of symbolic, tensor-valued functions of .Expressions for these tensors that are applicable to specific examples are provided in Section 4, see Table 4.Our tensor notations such as T ( ,,) for tensor spaces are given in Appendix A.

23Remark 1 We work in the discrete case, i.e., assume a finite number ( < ∞) of microscopic degrees of freedom.This is typically relevant to elastic truss structures, see Section 4. The extension of the method to infinitely many microscopic degrees of freedom ( = ∞), relevant to periodic continua, is discussed in Section 7.

24Remark 2 We will present the homogenization method without providing definitions of the macroscopic strain , variable material parameters and microscopic degrees of freedom .These quantities can be anything as long as they match the postulated forms of the strain, constraints and energy in Equations ( 2) to ( 5).This abstract presentation makes the method quite versatile, and opens up the way for extensions that we will cover in future work.Specific choices of , and are proposed in the illustration examples (Section 4).

25The model used on input may make use of constraints and we denote by c ⩾ 0 the number of applicable (scalar) kinematic constraints.By convention, the left-hand sides of these kinematic constraints are incorporated into the microscopic strain vector ∈ R , and are extracted from using an appropriate matrix Q ∈ T ( c , ) .In view of this, the kinematic constraints are written in the form Q • (( ); ( ), ∇ ( ), . . .; ( ), ∇( ), . ..) = 0 c ∀ .

26(3)

27Section 4 provides a specific illustration on how and Q can be set up to conform to Equation (3).

28The constant tensor Q is provided as an input of the homogenization procedure, see Table 1.

29In the input model, the strain energy is assumed to be of the form

30where the strain energy density in the bulk term is given in the context of linear elasticity by

31Explicit expressions of the strain , energy Φ and elasticity matrix K appearing in (4-5) will be provided in the illustration Section 4, see for example (33)(34) The elasticity tensor K () ∈ T ( , ) is provided as an input to the homogenization method in the form of a tensor-valued, symbolic function of , see Table 1.

32The square brackets around the arguments of Φ[, ; ] in the left-hand side of Equation ( 4) denote a functional dependence: the strain energy Φ depends on the functions , and over the entire domain Ω.

33The list of parameters passed as an input to the homogenization procedure is recapitulated in

34stiffness matrix, see Equation ( 5)

35Table 1 List of parameters passed as an input to the homogenization procedure.The notation used in the last two columns is defined in Appendix A.

36Remark 3 This formulation of the input model is designed to be versatile.For instance, the presence of pre-strain can be accommodated by adding a coefficient capturing the pre-strain intensity as an additional entry in the vector (whose definition is up to the user), and by propagating it to by an appropriate definition of (), as illustrated in Section 4.2.Similarly, the presence of pre-stress can be accommodated by including a constant entry with value 1 in , propagating it to , and inserting the pre-stress into the corresponding rows and column of K.

Assumption of slow variations

37One of the key assumptions of homogenization is that there is a separation of scales between a microscopic length ℓ (typically the spatial period of the underlying discrete lattice or periodic continuum) and the size of the domain, ℓ ≪ , as sketched in Figure 1.The goal of homogenization is to deliver an effective model applicable at the macroscopic scale , by hiding the 'details' taking place at the microscopic scale ℓ.

38Mathematically, this separation of scale is captured by the small parameter

39The various fields ( ), such as = , = or = , are assumed to depend on the variable evolving on the slow scale = ℓ/, implying that their successive gradients scale as

40In the following, the gradient ∇ = / will therefore be treated implicitly as a small quantity of order .This implicit notation has the benefit of avoiding a large number of predictable occurrences of the parameter , as discussed in Remark 4 below.The scaling assumption Equation ( 7) is not applicable in the layers that are present near the boundaries or near the point of application of point-like force.The homogenization domain Ω therefore needs to be slightly smaller than the actual physical domain of the elastic body, as shown in Figure 1 (see also Equation [1] in the work of (Abdoul-Anziz and Seppecher 2018b) for an accurate description of how Ω can be shrunk).Alternatively, boundary layers can be solved rigorously and represented in the homogenized model by means of effective boundary terms, see for example (David et al. 2012), but this is beyond the scope of the present work.

Remark 4

41The scaling assumption Equation ( 7) can be motivated as follows.By convention, we consider the microscopic length ℓ to be ℓ = O (1) and the macroscopic length to be = O ( −1 ).In our notation, any macroscopic field such as , or is implicitly a function of the slow variable = , i.e., what we write as ( ) should be spelled out as ( ) = ( ), where is a dimensionless function, independent of .The gradients can then be obtained as

42where

43denotes the gradient with respect to the slow variable: this implies the scaling assumption ∇ ( ) = O ( ) in Equation ( 7).The formal rule (7) dispenses with a notation for the slow variable.

44Remark 5 The dependence on ( ) of the strain in Equations (1) to (2) and of the energy density in Equations ( 4) to (5) allows one to handle the case of structures whose elastic properties vary over the large scale = ℓ/, as conveyed by the variations in thickness of the microstructure sketched in Figure 1.The definition of ( ) is entirely up to the user.For a 2D elastic truss possessing rotational symmetry, for instance, one could define ( ) = ( 2 1 + 2 2 ) 1/2 and = 1 to capture the dependence of the local truss properties on the distance to the center of symmetry.In the case of variable properties without any particular symmetry, one should set ( ) = and = .When specifying the input model, one should ensure that any dependence of the properties of the elastic medium on the slow variable takes place through the quantity ( ), as illustrated in Section 4. For structures having uniform properties over the large scale, one can ignore any dependence on and set = 0, see Appendix D.

45B. Audoly and C. Lestringant An energy approach to higher-order homogenization 3 Summary of the main results

Homogenization as a partial energy relaxation

46In this paper, we identify an equivalent continuum by making stationary the functional Φ in Equation (4) over the microscopic degrees of freedom ( ) for a fixed distribution of the macroscopic variables ( ) and ( ).The stationary point is denoted as ★ [, ], and will be assumed to be unique-as indicated by the square brackets, the stationary point ★ is a functional of and ; it is also a function of , whose values are denoted as ★ [, ] ( ).

47In view of (2-3), the kinematic constraint can be written as

48(( )) : ∇ ( ) + . . .= 0 ∀ .It is treated using Lagrange multipliers ( ) ∈ R c .The variational problem takes the following form: for given and , we seek the solution (10)

49The main goal of this paper is to derive an explicit expression of the homogenized functional Φ ★ .The stationary point problem in (9) can be written formally as

50Equations ( 10) and ( 11) are at the heart of our variational approach to homogenization.The homogenization works under the assumption that the energy is positive-definite in the subspace of admissible microscopic degrees of freedom, i.e.,

51As we will see, this is a necessary condition for the variational problem (9) to have a unique solution at leading order.It is also a sufficient condition for the homogenization procedure to produce a result up to second-order.

Homogenization results in compact form

52The variational problem ( 9) is impossible to solve in closed form in general but thanks to the assumption of scale separation (Section 2.2), we can derive the following approximation of

53In the boundary terms ∮ Ω . . .d in the second line, Ω denotes the boundary of the domain, is the unit outward normal, and d the area (if = 3) or the length (if = 2) of a boundary element, see Figure 1.The typographical variant of the integral sign ∮ will be used throughout for boundary integrals.

54The dimension and symmetries of the homogenized tensors , , , and are specified in Table 2. Our main result is to derive their expansion in the successive gradients

55The tensors (), (), 0 (), 1 () and 0 () appearing in the right-hand sides of ( 14) are obtained in explicit form in terms of the local material parameters in Appendix B, see (B.12), and in Appendix C, see Appendices C.5 and C.10.Their properties are listed in Table 3.This completes the specification of the homogenized model (13) up to order 2 included.

56Table 2 Dimensions and symmetries of the tensors appearing in the homogenized energy functional in (13).

57tensor space symmetry

58The expansion (13-14) is established in Section 5 by solving the variational problem (9) for order by order in .The solution is found in the form

59where [] and ′ [] are given as expansions in the successive gradients of ,

60B. Audoly and C. Lestringant An energy approach to higher-order homogenization tensor space symmetry usage

61Table 3 Tensors delivered by the homogenization procedure, defining the homogenized model in Equations ( 13) and ( 14).

62and the localization tensors 0 (), 1 () and ′ 0 () are derived in explicit form in terms of the variable material parameters in the Appendix, see (B.8) and (C.48).

Homogenization results in the form of a systematic expansion

63The various contributions to Φ ★ in (13) can be grouped order by order as follows, by inserting ( 14) into (13) and using (7):

64• The leading-order contribution Φ ★

65[0] = ( 0 ) is given by

66and characterizes an equivalent Cauchy medium through a homogenized stiffness tensor 0 () depending only on the local material parameters : this homogenized stiffness 0 () matches that predicted by classical homogenization.• The first correction Φ ★

67[1] = ( 1 ) is given by

68• The second correction

69The homogenized energy Φ ★ [, ] in (13) is nothing but the sum

70and it is asymptotically exact up to a higher-order contribution Φ ★ [3] = O ( 3 ) which we do not attempt to resolve.

Remark 6

71The actual derivation of the homogenized model proceeds in the reverse order than the high-level presentation above: the order-by-order expansion (17-20) is derived first, and the compact form (13-14) is obtained next by rearranging the terms.

72The solution for in (15-16) is derived based on the assumption that the microscopic variables = ★ [, ] can be expanded in powers of ,

73where [ ] ( ) = O ( ) denotes the contribution of order to .Specifically, the microscopic solution

74which yields (15-16) by rearranging the terms.

75Remark 7 As discussed in Section 2.2, there are implicit scaling factors in all our formulas.Their consistency can be checked as follows.Take Equation (22b), for instance: the subscript '[1]' in the left-hand side indicates that this is a quantity of order ; this is consistent with the fact that the right-hand side is homogeneous of degree 1 with respect to the symbol ∇ = O ().When checking homogeneity, the boundary terms must be treated with special care: in Equation ( 19), for instance, the integrand of the bulk integral is as quantity of order 2 , in line with the subscript '[2]' appearing in the left-hand.The integrand of the boundary integral is however a quantity of order 1 ; the paradox is resolved by noting that the measure of the domain O ( ) for the bulk integral, but O ( −1 ) = O ( ) for the boundary integral-recall that ℓ = O (1) and = O ( −1 ).

76Ultimately, both integrals are of order O ( 2 ).

Illustrations

77In this section, we provide simple illustrations of the homogenization method.Equivalent high-order beam models are derived for various truss lattices, in the same line as a number of earlier works on periodic 1D structures, including (Hans and Boutin 2008;Abdoul-Anziz and Seppecher 2018b).This is not a fundamentally new contribution, our main goal being to illustrate how the abstract method can be applied to specific problems.The first two examples demonstrate that the homogenization can naturally handle elastic structures possessing graded properties (Section 4.1) and pre-strain (Section 4.2), two features that are not commonly addressed in the literature.A variant of this truss, this time including rigid bars arranged in a way that the macroscopic strain is constrained, is proposed in the Appendix (Appendix E.9).We also demonstrate how the method can be extended to a frame made up of beams (rather than springs), and show that the homogenization method can be adapted to deliver a Timoshenko beam model (Section 4.3).

A truss lattice having slowly variable elastic properties

78We consider a truss lattice comprising elastic bars connected by perfect hinges, arranged in rectangular geometry made up of square cells with side length , see Figure 2. Discrete model.Let ( 1 , 2 ) be a frame of orthonormal directors with 1 aligned with the longitudinal direction of the truss.The nodes are labelled with indices ± = (, ±) where in an integer spanning the longitudinal direction, and the symbol ± is a discrete transverse coordinate labelling the lower versus upper layer of nodes.We denote by ± = S 1 ± 2 2 with S = the (undeformed) position of node ± , and by ± its infinitesimal displacement.

79Given a bar labelled by , we assign to it an orientation and denote by 1 and 2 its ordered end-nodes in reference configuration, by = ∥ 2 − 1 ∥ its undeformed length and by = ( 2 − 1 )/ its undeformed unit tangent.The (dimensionless) axial strain in the bar is given by

80The discrete elastic energy in the lattice is written in the form

81The lattice has graded properties as the elastic constant of the bars depends on the midpoint coordinate S = 1 2 ( S 1 + S 2 ).In order to keep the homogenization results as simple as possible, we make the simplifying assumption that the different types of bars have identical elastic constants : the more natural assumption that all bars have identical cross-sections (and thus that their elastic constants is proportional to the length ) could be addressed by making a function of not only S but also of the type of the bar , which does not raise any particular difficulty.

82Continualization, scaling assumptions Our continuous model is one-dimensional ( = 1) and involves macroscopic fields that are functions of the longitudinal coordinate S. As part of the continualization step, the nodal displacement ± is sought in terms of continuous fields in the longitudinal direction as

83where ( S) and ( S) denote the macroscopic longitudinal and transverse displacement of the equivalent rod, respectively, and ± ( S) are the components of the microscopic displacement for either row of nodes (±).The special case ± 1 = ± 2 = 0 corresponds to the (asymptotically incorrect) assumption of an unshearable model having rigid cross-sections-note that the term ∓ ′ /2 represents the rigid rotation of the cross-section imposed by the centerline.We do not impose ± 1 and ± 2 to be zero.We impose the kinematic constraint

84where ⟨•⟩ denotes the average over the top and bottom rows, i.e., ⟨ ± ⟩ = 1 2 ( − + + ).This warrants that ( ( S), ( S)) capture the average nodal displacement at coordinate : indeed, by combining (25-26), we have ⟨ ± ⟩ = ( S ) 1 + ( S ) 2 .As a result, the equivalent rod passes through the midpoints of the sections [ − + ].This choice is somewhat arbitrary: by using different weights in the average (26), we could introduce a lateral offset in the definition of the centerline.

85We define the macroscopic length to be /, with ≪ 1 the scale separation parameter; see Equation ( 6).A standard scaling analysis yields the macroscopic stretching strain as ∼ ′ ( S), the macroscopic rotation as ( S) ∼ ′ ( S), the relative rotation between successive transverse links as ′ ( S), and thus the differential stretching strain of bars located on the inner and outer sides (curvature effect) as ∼ ′ ( S). Natural scales are found by balancing the two sources of stretching strain , yielding ∼ ′ ∼ ′ ∼ ′′ , which suggests introducing dimensionless B. Audoly and C. Lestringant An energy approach to higher-order homogenization quantities in the form

86where , and ± are dimensionless unknowns and = S/(/) = S/ is a slow variable, i.e., the arclength scaled by the macroscopic length /.

87In addition, we assume that the variations of elastic properties take place on the macroscopic scale, i.e.,

88In what follows, we eliminate the original quantities in favor of the dimensionless ones, (), (), ± () and () everywhere.By contrast with the rest of the paper, we keep explicit track of the small coefficient in the present section.

89Setting up the input of the homogenization procedure In the classical theory of linear, planar beams, the two relevant strain measures are the stretching strain () := ′ () and the bending strain () := ′′ ().We thus anticipate that the homogenized energy will depend on the macroscopic strain ( = 2) which we define as

90In terms of the unscaled displacement ( , ), the dimensionless strain measures are given by () = ′ (/) and () = ′′ (/).

91In addition, we define the vector of microscopic degrees of freedom ( = 4) as

92These quantities and were chosen in such a way that the strain of a bar can be expressed in terms of , and their successive gradients at the midpoint coordinate , see Equation (32) below.

93In our discrete model ( 24), the elastic constants ( ) depend on the midpoint coordinate .This makes the energy density in (34) depend explicitly on .Since is required by design to depend on and only, see (5), we pack up the coordinate into the list of material parameters (),

94An alternative (and ultimately equivalent) approach would be to define () as ().

95Next, we define the strain as the concatenation of (i) the discrete strains = given in ( 23), in each of the 5 types of bars that make up the lattice, see Figure 2, together with (ii) the left-hand sides of the two kinematic constraints appearing in (26),

96We therefore have = 7 strain variables.

97Having included the left-hand sides of the kinematic constraint (26) at positions 6 and 7 in , we can easily express the c = 2 constraints in the form Q • = 0 expected in Equation (3), by defining the constraint extraction matrix as Q = 0 2×5 1 2×2 using block-matrix notation.

98Inserting the expression (25) of the nodal displacement in the expression of , using the scaled quantities introduced in ( 27), and performing Taylor expansions about the midpoints of the bars, we get

99which is of the form = (; , ′ , ′′ , . . .; , ′ , ′′ , . ..) expected in Equation (2).In ( 33), the argument of the functions , ′ , ′′ , , ′ , ′′ is implicitly assumed to be the midpoint of each bar.The details of the calculations can be found in the companion Mathematica notebook.

100The discrete energy ( 24) is finally continualized in the canonical form (4-5) as

101The notation ( 1 ) conveys the fact that the argument 1 = to be passed to the stiffness distribution () is the first (and only) component 1 of , see (31).In (34), the discrete energy (24) has been continualized by using the formal rule

102where is an index running over the 5 different types of links, ∈ is included in the partial sum of all links belonging to a particular family , and denotes the expression of the energy relevant to the links belonging to a particular family .The coefficient 1/ appearing in the definition of in ( 34) is nothing but the lineic density of links of each type per unit dimensionless length .Thanks to the assumed periodicity of the lattice, we have been able to rewrite the discrete sum in ( 24) into an integral in (34).

103Remark 8 In the argument sketched above, the continualization is based on the formal approximation rule for a discrete sum in terms of an integral, ∈ ≈ ∫ d , which has been used in a number of earlier work.A rigorous justification of this approximation is known as the Euler-MacLaurin formula: it is correct to order 2 in an infinite domain, but needs to be corrected by boundary terms in a finite domain.

104At this point, we can identify the quantities that are required on input of the homogenization method, as specified in Table 1: they are listed in Table 4.The integer constants appearing in the left column of Table 4 and the constraint extraction matrix Q have been collected from the above discussion.The tensors , ..., ′′ collect the numerical coefficients appearing in (33) and are found by identification with Equation (2).The elastic stiffness tensor K () is found by identifying (34) with (5).Expressions in Table 4 make use of the notation = (0 1 . . .0 −1 1 0 +1 . . .0 ) ∈ R for the -th Kronecker vector with length ; for example, 5 2 = (0 1 0 0 0).

B. Audoly and C. Lestringant

105An energy approach to higher-order homogenization

Homogenization results

106We propose an implementation of the general homogenization method described in this paper (Sections 5 and 6) in the form of an open-source library named shoal (Audoly 2023).The quantities listed in Table 4 are passed to the library in symbolic form, see the input file inhomogeneous-truss.nb1 .The code executes without any further input from the user.It delivers the tensors listed in Table 3, which we now proceed to interpret using (13-16) and (29-30).We note that ∇ = 1 1 ⊗ 1 1 in view of the definition (31) of .The homogenization method returns

107In view of (15-16), the microscopic displacement = 0 • + ′ 0 : ∇ + ( 1 : ∇) • + • • • is found with the help of (29-30) as

108The quantities ± ()/6 of order 0 in the right-hand side represent the predictions of classical (leading-order) homogenization.Note that the correction of order 1 includes not only a contribution proportional to the strain gradient ′ but also one proportional to the gradient ′ of elastic properties-this corresponds, respectively, to the ∇ and ∇ contributions appearing in the right-hand side of (22b).

109The homogenized energy functional is obtained by interpreting the output of the code similarly using Table 3, see also (13)(14),

110The detailed expressions of the tensors 0 , 1 , ... underlying the above expression of Φ ★ can be found in the Mathematica notebook inhomogeneous-truss.nb included in the library.The energy Φ ★ in (38) depends on the stretching strain (), on the dimensionless curvature strain (), as well as on their gradients ′ () and ′ (), and on the gradients of elastic properties ′ () (the dependence of , and on implicit in the above integral).This result is valid for any given slowly varying distribution of spring stiffness () since () is treated as a symbolic function.As we consider an infinite structure, we have ignored in (38) the boundary terms that are returned by the homogenization library.

111In view of the negative coefficients −1/6 and −11/24 appearing in the last term in the integral, the energy Φ ★ can be made arbitrarily large and negative by incorporating oscillations into the unknowns () and (), having both small amplitude and small wavelength.This holds even in the simple case where the elastic properties are uniform ( ′ = 0).This points to the lack of lower semi-continuity of the homogenized energy Φ ★ , an undesirable property of higher-order gradient models that has been documented by several authors for various elastic structures, see for instance (Le and Marigo 2018).It calls for a regularization of the functional Φ ★ , a point which we address in future work.

112Remark 9 Alternatively, the homogenized functional Φ ★ can be expressed in terms of the original unscaled quantities, namely the elastic constant ( S), the axial strain ( S) = ′ ( S) = S/ and the curvature ( S) = ′′ ( S) = 1 S/ .The result is free of the parameter ,

1134.2 A truss lattice with pre-strain

114In order to illustrate the ability of our method to handle pre-strain, we now include an additional tensile pre-strain + ()/2 in the lower layer of bars, and a contractile pre-strain − ()/2 in the upper layer of bars.For the sake of simplicity, we focus on the case of uniform elastic properties across the length, taking to be independent of .Accordingly, we change the strain definition for the two diagonal bars to 2 = 0 2 − ()/2 and 4 = 0 4 − (− ()/2), where the quantities 0 refer to the expressions of in the absence of pre-strain given in the right-hand sides of (33) (Section 4.1).

115Since is required to be a function of and and their derivatives, we add a third component 3 = to the macroscopic strain and rewrite 2 = 0 2 − 3 ()/2 and 4 = 0 4 + 3 ()/2.Note that the pre-strain is subtracted from the original element strain, so that the energy in the bar labelled 2 in Figure 2, for instance, is given by 2 ( 0 2 − ()/2) 2 and is minimum when 0 2 = ()/2.To sum up, we make the following changes in the specification of the input problem:

116The tensors , ′ and ′′ are unchanged.The dimension of the tensors , ′ and ′′ is increased to reflect the new dimension = 3 of the macroscopic strain vector .This change of dimension takes place simply by adding zero entries to ′ and ′′ , and by including a new contribution = • • • + 1 2 (− 7 2 + 7 4 ) ⊗ 3 3 to , to reflect the new 3 -terms in 2 and 4 .The homogenization code is run again with the modified set of input parameters, see the notebook prestrained-truss.nbincluded in the library.The homogenized energy is obtained as

117In the leading-order term, the pre-strain sets the natural curvature of the equivalent beam as 0 () = (), as could be anticipated.Note that the gradient of pre-strain ′ () contributes to the energy at order 2 .

118B. Audoly and C. Lestringant

119An energy approach to higher-order homogenization

120Figure 3 An elastic frame made up of identical beams having length , stretching modulus and bending modulus .(a) General view, (b) the three modes of deformation of a linear beam, illustrated here for a beam in the family = 1: stretching , bending and shearing .

Homogenizing an elastic frame into a Timoshenko model

121We now analyze the frame made up of linear elastic beams, shown in Figure 3. Specifically, we show that the homogenization procedure can deliver a Timoshenko beam model, when the rotation of the cross-sections is added to the list of macroscopic parameter , implying that this parameter is kept fixed during the energy relaxation.This example has been treated in (Abdoul-Anziz and Seppecher 2018b) and we use their results to verify our method.

122Changes to the homogenization procedure To address the elastic frame, we start over from the model in Section 4.1, with the following changes.• There are 3 families of beams (and not 5) as indicated by the labels ∈ {1, 2, 3} in Figure 3(a).

123• We revert to the case of uniform properties by discarding the parameter .

124• We change the scaling assumption on the transverse displacement in (27b) to

125in such a way that the rotation ′ (and not the curvature ′′ ) is of order 0 : this delivers the Timoshenko model is a more convenient form.• To model the stiff junctions, we introduce the nodal rotation ± at a node ± (in addition to the nodal displacement ± from (25)): ± is given in terms of two additional unknown continuous functions − ( S) and + ( S) as

126Including the centerline rotation ′ as the first term in the right-hand side makes the microscopic displacements ± invariant by rigid-body rotations, so that they can be expressed in terms of the strain as assumed in our procedure.

127• For a beam of type , the classical theory of linear (Euler-Bernoulli) beams can be summarized as follows.In addition to the stretching strain in ( 23), one has to consider a curvature strain and a shearing strain , as sketched in Figure 3(b),

128Here, is an apparent shearing strain at the scale of unit cells, which actually resolves into bending microscopically, see Figure 3(b): our Euler-Bernoulli 'microscopic' beam model is shearless.The elastic energy of the beam is then of the form

129• We define the (apparent) rotation of the cross-sections as the rotation of the line passing through the nodes − and + facing each other,

130• Next, we consider the following scaled macroscopic parameters: centerline extensional strain () = ′ () = ′ (/), centerline curvature () = ′′ () = ′′ (/), rotation of cross-sections () = ′ () − ( + () − − ()) = (/) and shear angle

131• The vector of microscopic degrees of freedom is extended to reflect the presence of the two additional fields capturing nodal rotation: Equation ( 30) is changed to

132• A key modification to the homogenization procedure is that we include the shear angle in the list of macroscopic parameters,

133by contrast with (29).Equation ( 47) can then be rewritten as

134This kinematic constraint is taken care of by including the left-hand side of the above equation as a component of strain (specifically, 12 ) and by extending the constraint matrix Q from Table 4 to include a third row filled with zeros, except for an entry equal 1 in column 12, see Equation ( 3).• The strain ∈ R 12 is now a vector of length 12, made up of the three strain measures ( , , )

135for each of the three types of beams, ∈ {1, 2, 3}, the two left-hand sides in the zero-averagedisplacement constraints (26), and the left-hand side of (50).• The discrete energy is finally approximated by a continuous integral Φ = ∫ +∞ −∞ d capturing the elastic potentials of the beams ( 45)

136The coefficient in the denominators is produced when the discrete sum over beams is approximated by an integral, as earlier in (34).

137The scale separation parameter ≪ 1 is unspecified so far, and we set it to be the small aspect-ratio of the beams, i.e., we set

138Doing so, we are anticipating that, in the forthcoming Timoshenko model, the shearing mode will relax over a typical macroscopic length / (this macroscopic length / has been introduced earlier in the definition of the scaled arclength S = /).The validity of this assumption will be checked later, by verifying that the the various terms in the Timoshenko model are produced with consistent powers of , see Equation ( 55) below.Equation ( 52) is used to eliminate in favor of and in the elastic potential (51): in the homogenization procedure, the energy Φ provided on input may depend explicitly on .

139Results of the homogenization procedure The homogenization procedure is carried out in the Mathematica notebook frame-timoshenko.nbincluded in the library.With the boundary terms omitted (case of an infinitely long truss), the result of the homogenization procedure are interpreted as

140where ★ ext (, ′ ) is a higher-order gradient bar model applicable to the longitudinal displacement ,

141and ★ Tm (, , ′ ) is a Timoshenko beam model applicable to the transverse displacement ,

142The details can be found in the Mathematica notebook.

143Remark 10 The square term 2 ( + ′ ) 2 appearing in ★ Tm is first obtained in expanded form, with the different terms 2 2 , 2 2 ′ and 2 ′2 appearing respectively in the successive contributions

144to the energy.The factored form in the equation above emerges when

145, the stretching energy is dominant: this agrees with the fact that Abdoul-Anziz and Seppecher (Abdoul-Anziz and Seppecher 2018b) reported an inextensible model ( ≡ 0).

146Turning therefore attention to the transverse displacement, we eliminate the shear angle in favor of the apparent rotation = ′ + of cross-sections.Recalling the definition of the scaled curvature = ′′ , and rearranging using (52), we obtain the Timoshenko model in standard form,

147and the elastic moduli are identified as

148The same elastic frame has been homogenized in (Abdoul-Anziz and Seppecher 2018b) and the authors reported homogenized moduli = 1/2 and = 2.These values are a special case of (57), implying that our homogenization results are consistent.Indeed, a careful analysis of the beam model used by these authors reveals that they limited attention to the special case = 1/ and = /4 (when setting both their elastic moduli AS and AS to 1, see the note frame-timoshenko-AS18-beam-model.pdf in the library).

149Remark 11 In terms of the original (un-scaled) deflection ( S) and cross-section rotation ( S) = S/ , the Timoshenko model appearing in (53-56) can be rewritten as

150(58)

Remark 12

151We obtained a Timoshenko model as a consequence of the fact that the shear angle = 3 is treated as a macroscopic parameter, and not just because the lattice is made up of beams.Indeed, lattices made up of bars ( = 0) can yield Timoshenko models as well when homogenized.The motivation for using beams in this example was to compare with the earlier work of (Abdoul-Anziz and Seppecher 2018b).

1525 Derivation of the homogenized model

Leading order (classical homogenization)

153At order 0 , the microscopic displacement ( 21) is given by ( ) = [0] ( ) + O ().The gradients terms ∇ , ∇ and ∇ are of order by (7) and can be ignored for ⩾ 1.With the gradients neglected, we denote the microscopic strain in (2) as (0) (, , ) = (; , 0, 0, . . .; , 0, 0, . . .

154and the bulk energy density in (5) as

155The order 0 approximation of the strain energy (4) can then be obtained as

156where

157At leading order 0 , the variational problem (9) can be written as

158Its solution is denoted as 61) nor in the integral in (62b), implying that this variational problem is local: at any point , we must solve the following problem for the unknowns ★

159[0] ( ) and ★ [0] ( ),

160where we have used the expression of Φ [0] in (61).The solution ( ★ [0] ( ), ★ [0] ( )) at any particular point depends on the local values of ( ) and ( ) only.In Appendix B, the solution ★

161[0] ( ) is obtained in the form announced earlier in (22a),

162and an explicit expression for the localization tensor 0 () is given in (B.7-B.8).

163Inserting ( 64) into (61), we derive in Appendix B the dominant contribution to the energy

164] that was announced in (17), namely

165The expression of the leading-order stiffness tensor 0 () is given in Equation (B.12) in the Appendix.

Analysis of the gradient effect

166We now proceed to solve the next orders in the microscopic displacement, see ( 21) and (64),

167Inserting this into (4), we derive a Taylor expansion of the energy as

168where Φ [ ] denotes the term of order , and the star is used to mark energy contributions that do not depend on the yet-unknown corrector [1] .The dominant term Φ ★ [0] is the functional found earlier in (65), while the next-order terms Φ [1] and Φ [2] are obtained in Equations (C.20) and (C.24) in Appendix C as

169B. Audoly and C. Lestringant

170An energy approach to higher-order homogenization 6 Symbolic implementation: The shoal library

171We have implemented the method in the symbolic calculation language Wolfram Mathematica (Wolfram Research, Inc. 2021), and we distribute it as an open-source library named shoal (for Second-order HOmogenization Automated using a Library) (Audoly 2023).

172The data listed in Table 1 describing the problem at hand is passed to this library, which then returns the tensors listed in Table 3.The extension to rank-deficient problems presented in Appendix E is implemented.The homogenization proceeds by computing the following quantities, in the following order: • W (), W () using (B.3b-B.3c),

173• () using (B.5), its null vectors () in (E.3), its Moore-Penrose inverse † (), as well as Ǐ and Î in (E.8), • R() using (E.19), 0 (), 0 () using (B.8-B.9), and then 0 (), 0 () and 0 () using (B.11), (B.12) and (B.14), see also Table 5

174• L() using (C.5),L 1 (), L 11 (), L 2 () using (C.7),J 1 (), J 11 (), J 2 () using (C.10),

175• A() using (C.21), and then 0 () 1 () using (C.23),

176• " B (0) (), " B (1) (), C (0) (), C (1) () using (E.24), • ΔB (0) (), ΔB (1) () using (C.28), and then B (0) (), B (1) () using (C.30), • R ′ (), Y ′ (), G ′ () using (C.35-C.37),and then 1 (), ′ 0 () using (C.48a-C.48b),• B(), C () using (C.45) and (C.39), and then 2 (), 1 (), 0 (), 1 (), 0 () using (C.48c-C.48g),• if d > 0, the solvability conditions appearing in (E.14), (E.25) and (E.30).

177The implementation makes use of standard tensor algebra operations on symbolic tensors, including general transpositions and multiple contractions, as well as symbolic differentiation with respect to , see (C.28).Note that the vector never appears explicitly in the implementation.

178At leading order and in the non-deficient case, the procedure is implemented by the equations listed in Table 5, corresponding to the first three bullet points above.The homogenization at the two following orders makes use of the subsequent bullet points.The special case of uniform properties, when the parameter is absent, is worked out in Appendix D, see Table D.2 in particular.

179Table 5 Implementation of the leading-order procedure in the non-deficient case ( d = 0), based on the formulas referenced in the first three items in the bullet list from Section 6.

1807 Connection with the second-order homogenization of periodic continua

181In this section, we show that the extension of the proposed homogenization method to the case of periodic elastic continuum gives similar results to the classical approach (Smyshlyaev and Cherednichenko 2000;Boutin 2019;Durand et al. 2022).Similarly to the discrete example discussed earlier, we consider an infinite medium, so that boundary terms do not matter.We consider a periodic microstructure: the extension to slowly varying material properties or geometry could be considered as well, and would yield a derivation similar to the one proposed in (Le and Marigo 2018).

182Figure 4 A continuum with a periodic microstructure.

𝒰

183It is possible to derive the homogenization for periodic continua from the homogenization results for discrete systems established in the previous sections but this is quite technical.We thus prefer to carry out homogenization from scratch, following the same sequence of steps again.In addition, we do not attempt to link the various quantities relevant to the periodic continua to those relevant to discrete systems in a detailed way: we will content ourselves with formal analogies between them.

Canonical form

184We consider a linear elastic continuum of dimension = 2 or = 3 with a periodic microstructure of unit cell U, as illustrated in Figure 4 for = 2.The displacement field in the composite depends on a slow coordinate and a fast coordinate , with = where is a small parameter, see ( 6), as

185where (, ) ∈ R denotes a rapidly fluctuating field, U-periodic with respect to its second argument and subject to a zero-average constraint over one unit-cell,

186This constraint ensures that ( ) captures the average displacement, ⟨ (, •)⟩ = ( ).We define the macroscopic strain as the symmetrized gradient of ( )

187where the symbol ∇ s denotes the symmetrized gradient with respect to the slow coordinate .The microscopic strain is the pair = (, ), ⟨(, •)⟩ with ∈ T (,) ,

188where s denotes the symmetrized gradient with respect to the fast coordinate .This definition is formally similar to (2): we can identify • ∼ ( ), 0 , • ∼ s (, ), 0 and ′ • ∇ ∼ ∇ s (, ), 0 and cast the constraint (75) in a form similar to (3):

189The energy is postulated in the form

190and where (, ) = 1, 0 • (, ).In (78), C() ∈ T (,,,) is a U-periodic elasticity tensor (slowly varying properties could be considered here by including an additional dependency on , i.e., by considering C(, ), see (Le and Marigo 2018)).Note that no boundary integral is present in the above expression of Φ. Boundary integrals do emerge, however, when one attempts to justify rigorously the hierarchy in the integrations postulated in (78)-over first and over next-, starting from the elastic energy of a periodic continuum in the limit of scale separation → 0. In addition, boundary terms make it possible to account for the incomplete unit cells located at the boundary of the structure.The analysis of these boundary terms is however beyond the scope of this paper.

Leading order homogenization

191At leading order, we neglect slow gradients by setting ∇ s (, ) = 0, the energy writes in the form (61) with

192For a given symmetric strain tensor ∈ T (,) , we seek the stationary point () = [0] () subject to the constraint ⟨⟩ = 0.This writes, using Lagrange multiplier

193where () is a test function.This problem is similar to (63).

194Replacing by a constant shows that = 0. Integration by parts provides the strong form of equilibrium.

195where we have defined the microscopic stress (0) (, , ) = C() : ( + s ()) .

196(82)

197Note that (0) is automatically periodic in , which warrants the equilibrium at the boundary of a cell U.In (81), we use the notation div for the divergence with respect to the microscopic (fast) coordinate .

198We denote the solution of (81) as = ★ [0] (, ) and build catalog such that ★ [0] (, ) = 0 () : .We further define the strain in homogeneous solution as [0] = 0 (, ) where

199as well as the stress 0 (, ) = (0) (, ★ [0] , ) = C() : 0 (, ).The principle of virtual work at dominant order (81) then takes the form

200We eventually obtain the leading order energy of the form ( 17), (65) as

201The expression ( 85) is formally identical to the leading order energy (35) in (Durand et al. 2022), which has been derived based on the approach of (Smyshlyaev and Cherednichenko 2000).This is akin to standard periodic homogenization (see also Equation ( 22) in (Le and Marigo 2018)).

B. Audoly and C. Lestringant

202An energy approach to higher-order homogenization

Gradient correction

203As done earlier in (C.12), we further expand the microscopic strain order by order:

204with

205Following (C.17), (C.18), we eliminate [1] from the energy at order 1 using ( 84) and obtain

206In (Durand et al. 2022), odd-order tensors are considered to be zero due to centro-symmetry assumption: here we work in a more general setting.A similar order-1 energy contribution is derived in (Le and Marigo 2018), see their equation ( 36), with an additional contribution coming from the macroscopic gradient of elastic properties.The energy at order 2 further writes, see (C.17),

207Using relation ( 84), we can eliminate [2] from the second term

208Next, we identify the terms (C.26) and (.27) that require an integration by parts

209After integration by parts, the energy (89) writes

210where is the unit normal to the domain boundary.In (92), we use the notation div for the divergence with respect to the slow coordinate .The domain being infinite, we can ignore the boundary term and the associated stationarity condition on the boundary.

211The corrector = [1] (∇, ) is eventually found as a solution to the local variational problem, similar to (72),

212where we have identified the first order correction to the microscopic stress (1) (∇, , , ) = C() : ∇ s ( 0 () : ) + s ().After integrating by parts, we obtain

213The microscopic stress (1) is automatically periodic in , which warrants the equilibrium at the boundary of a cell U.This microscopic problem ( 94) is similar to equation ( 16) in (Durand et al. 2022).

214The correction ★ [1] (∇, ) to the microscopic degrees of freedom writes, following (73), ★

215[1] (∇, ) = ′ 0 () ∴ ∇.We can thus write the first order correction to strain as [1] = 1 (, ∇, ) where

216Inserting into (92) allows us to identify the second order contribution to the homogenized energy in the form (19) as

217with

218Boundary integrals have been removed in ( 96) due to the fact that we consider an infinite domain.This result is similar to equation ( 35) in (Durand et al. 2022) and equation ( 50) in (Le and Marigo 2018) (this latter work reports additional terms that capture the effect of a gradient of elastic properties).Note that it is possible to identify the tensors 0 , 0 and 0 appearing in (13-14), by factoring out , ∇ and in equations ( 85), ( 88), ( 96) and ( 97).However, this introduces cumbersome expressions and we prefer to ignore this step.

Discussion and conclusion

219We have proposed an asymptotically exact, second-order homogenization procedure for linear, discrete elastic structures, such as elastic trusses or networks of elastic beams.Our homogenization method works at the energy level, see Equations ( 10) and ( 11), and is similar in this respect to the approach to dimension reduction developed by (Berdichevskii 1981;Hodges 2006;Lestringant and Audoly 2020).It uses an abstract energy formulation as a starting point, see Section 2, and as a result can equally cover two-dimensional or three-dimensional lattices made up of beams or springs.It is designed to be generic, and addresses the case of pre-stress or pre-strain as well as slowly modulated elastic or geometric properties-in their work on the homogenization of periodic continua, (Le and Marigo 2018) address the case of slowly modulated elastic properties but assume that the geometry of the unit cell is invariant.The method can also account for kinematic constraints, and can be readily applied to, e.g., a lattice made up of inextensible beams, see Appendix E. Besides, the connection with existing approaches on the homogenization of periodic continua has been pointed out in Section 7.

220The homogenization procedure involves a series of linear algebra calculations that have been implemented once for all in the form of an open-source library, named shoal and based on the symbolic calculation language Wolfram Mathematica.This work will serve as a foundation for a series of applications which we will cover in follow-up papers.In one particular follow-up paper, we will analyze more advanced beam lattices than those treated in the illustration section (Section 4).

221The uniqueness of the solutions ★ [0] and ★ [1] to the variational problems (B.4) and (C.33) follows from the assumption (12) that W () is positive definite on the subspace of kinematically admissible microscopic degrees of freedom defined by Q • (( )) • = 0.In these circumstances, ★

222[0] and ★ [1] do not only make the strain energy stationary, as mentioned in the paper, but also minimum.

223Classical work on homogenization postulates the displacement in the form of an expansion (, ) = (, ), where (, ) are the slow and fast variables, respectively, and identifies a potential Φ★ [⟨ 0 ⟩, ⟨ 1 ⟩, . ..] depending separately on each one of the macroscopic averages ⟨ ⟩ = ⟨ (, •)⟩, see (Le and Marigo 2018) for instance.As a result, the stationarity condition for Φ★ takes the form of separate problems for ⟨ 0 ⟩, ⟨ 1 ⟩, etc.It has apparently not been appreciated that the homogenized energy has to be a functional

224warrants that its value is unaffected by a re-parameterization of leaving the physical displacement unchanged.Our approach works differently: with the notation of the continuous case from Section 7, we postulate (, ) = ( ) + (, ), subject to the constraint ⟨ (, •)⟩ = 0 (for any and any ), see (74-75), compute the strain in terms of the (total) macroscopic displacement = ⟨⟩, and obtain a homogenized energy Φ ★ [] depending on the total macroscopic strain (and not on each of the various contributions to the strain separately).This is simpler than the traditional approach, and ultimately equivalent.

225Among the perspectives opened up by the present work, we can mention the extension to non-linear elastic structures (which can be addressed by adapting our previous work on non-linear dimension reduction (Lestringant and Audoly 2020)) and a careful treatment of the boundary layers (which we could incorporate into the homogenized model by means of effective boundary terms, along the lines of what has been done by (David et al. 2012)).

226Given a tensor ∈ T ( 1 , 2 ,..., ) and a permutation ( 1 , . . ., ) of the levels (1, . . ., ) of the tensor, we denote as 1 ... the generalized transpose of , such that the level in the original tensor becomes level in the transpose:

227For a tensor of rank = 4 and the permutation ( 1 , 2 , 3 , 4 ) = (1, 3, 4, 2), for instance, we have ( 1342 ) = .

228Transposing will allow us to reorder the indices of a tensor in any desired order.Suppose for instance that we wish to rewrite an expression as the component ′ of another tensor whose indices must appear in alphabetical order: ′ is clearly a transpose of , and the permutation is found by noting that the levels (1, 2, 3, 4) in the original tensor , corresponding to the indices (, , , ), become respectively the levels (1, 3, 4, 2) = ( 1 , 2 , 3 , 4 ) in ′ .This yields

229(A.3) Index reordering using transposition will be routinely used in combination with contractions to remove indices in tensor algebra, as in ′ = 1324 :: ′ .The transpose of a matrix ∈ T ( 1 , 2 ) is a particular case of the generalized transpose,

230The symmetrization of a tensor with respect to a pair of indices (, ) is denoted as .For a tensor of rank = 4, for instance, the symmetrization with respect to the first and third indices is given by

231where 3214 is obtained from by permuting the first and third levels.

232A tensor invariant by a permutation of its levels and will be said to satisfy the symmetry; for instance, 13 is 13 symmetric, by construction.More generally, a tensor will be said to satisfy the { } { } symmetry if it is symmetric by the combined permutation of indices ↔ and ↔ .For instance, is {23} {45} symmetric ⇔ = .

233(A.5)

234The symmetrization with respect to pairs of indices works similarly,

235The composition of symmetrizations is represented by the symbol •.In Equation (C.7), for instance, it stands for

236Given a tensor () ∈ T ( 1 , 2 ,..., ) taking an argument ∈ R , we denote as d/d ∈ T ( 1 , 2 ,..., , ) its gradient,

237By a standard convention, the index corresponding to differentiation appears last in the gradient.

238When the parameter coincides with the spatial variable ∈ R , we use the nabla notation, ∇ = d d .

239(A.9)

240The alternate notation ∇ has the advantage of respecting the order of indices but is also less standard.

241B Detailed analysis of leading order (classical homogenization)

242Inserting the microscopic strain (0) (, , ) given in (59) into the expression (60) of the strain energy density (0) (, ), we have

243Using the expression of in ( 5) and expanding, we rewrite this in block-matrix notation as

244and the tensors W () ∈ T ( + , + ) , W () ∈ T ( , ) , W () ∈ T (, ) and W () ∈ T (,) are given by

245Using (B.2), the optimality condition (63) for ★ [0] and ★ [0] takes the form

246where

247We focus on the case where () is invertible: the non-invertible (rank-deficient) case is treated in Appendix E. The solution ( ★ [0] ( ), ★ [0] ( )) is then found by inverting this linear system as

248In the code, we implemented a more general expression of R that applies to rank-deficient matrices, see Appendix E and Equation (E.19) in particular.Equation (B.6) matches the form of the solution ★ [0] ( ) = 0 () • announced in (64) and the localization tensor is identified as

249The solution for the Lagrange multipliers is

250B. Audoly and C. Lestringant

251An energy approach to higher-order homogenization

252We proceed to introduce important additional quantities that characterize the leading-order solution.

253The strain [0] (, ) = (0) (, , = 0 () • ) is found using (59) as

254where the strain localization tensor 0 () is given by

255The leading-order strain energy ★ [0] (, ) = (0) (, , = 0 () • ) can then be written with the help of (B.2-B.3) and (B.11) in a form that matches that announced in (65), namely ★

256[0] (, ) = 1 2 • 0 () • , where the elasticity tensor 0 () characterizing the equivalent Cauchy-type elastic continuum at order 0 is identified as

257To complete the analysis of solutions at order 0 , we derive a useful identity that will help simplify the higher orders in the energy expansion.Inserting the solution ★

258[0] ( ) = 0 () • and ★

259[0] ( ) = 0 () • into the stationarity condition (B.4) and using (B.3) and identifying 0 from (B.11), we get

260• appearing in the first equation can be identified as the leading-order stress, consisting of the elastic stress

261• enforcing the constraint.We therefore introduce the stress localization tensor as

262and rewrite Equation (B.13), after simplification by the arbitrary factor , as

263) is the principle of virtual work at leading order: multiplying by a virtual displacement on the left-hand side and by on the right-hand side, and rearranging, it takes the usual form ( 0 () • ) • ( () • ) = 0, where the left-hand side is the stress contracted with the virtual increment of strain.

264C Detailed analysis of the gradient effect

C.1 Packed macroscopic variables

265For the analysis of the gradient effect, it is convenient to introduce the quantity ( ) obtained by concatenating the microscopic variables and together with a trailing 1: in block-vector notation,

266With the help of the matrices V ∈ T ( , ℎ ) , V ∈ T ( , ℎ ) and the vector V 1 ∈ R ℎ defined in block-matrix notation by

267B. Audoly and C. Lestringant

268An energy approach to higher-order homogenization tensor space symmetry usage content L()

269T (,,ℎ,,ℎ)

270T (,,,ℎ,,ℎ,,ℎ)

271T (,,,ℎ,,,ℎ)

272()

273()

274()

275()

276T (,,ℎ)

277-

278T (,ℎ,,ℎ)

279Table C.1 Summary of the tensors used internally by the homogenization procedure in Appendix C. All these tensors make use of the compact notation, see (C.1).

B. Audoly and C. Lestringant

280An energy approach to higher-order homogenization on can rewrite the definition of in (C.1) as

281The converse (unpacking) operation is implemented as

C.2 Structure coefficients

282The leading-order prediction (22a) for the microscopic degrees of freedom, ★ [0] = 0 (( )) • ( ) can be expressed in terms of ( ) with the help of (C.4) as

283The successive gradients of ( ) in (66) can then be calculated as

284where the symbol O ( 3 ) stands for terms of order 3 and higher, such as

285By design, the tensor L 1 (), L 11 () and L 2 () capture the successive gradients of ★

286They are identified by differentiating (C.5) with respect to , which yields

287Table C.1 lists the properties of all the tensors used in this appendix, starting with the tensors L, L 1 , L 11 and L 2 just defined.The symmetrization operations outside the square brackets in (C.7b-C.7c)are a matter of convention.They reflect the symmetries of the tensors with which the operators L are contracted.

288The 'content' column in Table C.1 can be explained as follows.By design, ★ [0] = L() • can be 'unpacked' (i.e., expressed in terms of and ) as ★

289[0] = 0 () • , which is a function of contracted with : the dependence on will be treated implicitly, and we express this by writing that the content of ★

290[0] = L() • is , hence the symbol appearing in the 'content' column for the row L. Similarly, ∇ ★

291[0] = (L 1 () • ) : ∇ can be unpacked as

292this is the sum of two terms, one being a function of contracted with ⊗ ∇, the other one being a function of contracted with ∇: this is conveyed by the content column in the table, which shows ( ⊗ ∇, ∇) for the row labelled L 1 () used for reconstructing ∇ ★ [0] = (L 1 () • ) : ∇.The point of the notation is to deal in a simple way with the multiplicity of terms appearing in the last column of Table 1.The remainder of the appendix will make use of this higher-level notation.On the other hand, we use Table 1 to keep track of the actual content of the various tensors.Now, we proceed to represent the strain in terms of and its successive gradients.Inserting (C.6) into the strain expression in (2), identifying [0] (, ) using (B.10), and rearranging the other terms, we get = [0] (, ) + (J 1 (( )) • ( )) : ∇( ) + (J 11 (( )) • ( )) :: (∇( ) ⊗ ∇( ))

293where the so-called structure coefficients are identified by

294As indicated in Table 1, J 11 is {23} {45} -symmetric: this is a consequence of the fact that L 11 is {45} {67} -symmetric.The 34 -symmetry of J 2 can be justified by a similar argument.

295Grouping the terms order by order, we can rewrite the strain in (C.9) as = [0] (, ) + [1] + [2] + O ( 3 ), (C.11)where the contributions [1] = O () and [2] = O ( 2 ) are given, respectively, by

296[2] = (J 11 () • ) ::

297Inserting (C.11-C.12)into the kinematic constraint Q • = 0, see (3), we obtain the expression of the constraint order by order in as

298The constraint Q • [0] (, ) = 0 has been enforced during the solution of the leading order, see (B.13b).

C.3 Strain energy expansion in terms of corrective displacement

299Inserting (C.11) into the energy (4), and using the quadratic expression (5) of the energy density, we obtain a Taylor expansion of the energy as

300• [0] (, ) + K () • [0] (, ) • ( [1] + [2] )

301Grouping the terms in the integrand order by order, identifying the term of order 0 as 1 2 • 0 • using (B.12), and the quantity K () • [0] (, ) = K () • [0] () • = ( 0 () − Q • 0 ()) • by (B.10) and (B.14), we obtain the energy expansion as

302where Φ [ ] = O ( ) are the successive terms in the expansion, the leading term is the quantity Φ ★ [0] [, ] identified earlier in ( 65) and the higher-order terms are given by

303(C.16)

304The Q terms appearing in both bulk integrals can be removed, as [ ] ) = 0 by (C.13).This yields

305Inserting the expression of [1] from (C.12a) in Φ [1] and using the principle of virtual work at dominant order in (B.15a), we have

306By a similar argument, the expression of [2] in (C.12b) can be inserted in the bulk integral appearing in Φ [2] , which shows that the term

307is zero.This yields

308d .C.5 Extraction of 0 and 1 As announced in Table C.1, the content of A() is ⊗ ⊗ ∇ and ⊗ ∇, which means that the right-hand side of Equation (C.20) can be unpacked using (C.3) as

309where the tensors 0 () and 1 () are extracted from A() as

310No other term can be present in the right-hand side of (C.22): a term such as 0 () :: ( ⊗ ⊗ ∇), for instance, would be inconsistent with the fact that the energy is homogeneous with degree 2 in and ∇, see ( 2) and ( 5).

311The properties of the tensors 0 () and 1 () are listed in Table 3.

312The expression of the first correction Φ ★

313[1] to the energy in (C.22) was announced in (18).

314C.6 Energy correction at order 2

315We now turn attention to the correction Φ [2] in (C.19b).Inserting the expression of [1] in (C.12a), we get after rearranging the terms

316where W () is the tensor introduced in the analysis of the leading order, see (B.3c), and

317As indicated by the 'delayed' keyword in Table C.1, we do not yet enforce the natural symmetries of " B (0) , which reflect the of the 1 2 (∇ ⊗ ∇) ⊗ ( ⊗ ) with which it gets contracted: they will be enforced later on the children of " B (0) .In the code, we implemented an extension of (C.25) that covers the rank-deficient case as well, see Equation (E.24) in Appendix E.

318Note that Φ [2] no longer depends on [2] thanks to the work done in Appendix C.3.It still depends on [1] ( ) and its gradient, however.We proceed to remove the dependence on the gradient ∇ [1] ( ) by integrating by parts.

C.7 Integration by parts

319The C () terms appearing in (C.24) can be integrated by parts as where Audoly and C. Lestringant An energy approach to higher-order homogenization where With the help of the 'content tracking' done in Table C.1, we obtain the unpacked form of these tensors as

320where the sub-tensors 1 (), ′ 0 (), 2 (), 1 (), 0 (), 1 () and 0 () are identified as

321The expression of

D Special case of homogeneous properties

322The special case of homogeneous properties (applicable to a perfectly periodic elastic truss for instance) is considered here.In this special case, the parameter ( ) goes away ( = 0).

323The analysis of leading order is unchanged: it delivers 0 and 0 , which are no longer functions of , as illustrated in Table 5 for the non-deficient case.There are many simplifications at the next orders and the corresponding, specialized formulas are provided in Table D.2.Note that the tensor dimensions are changed compared to the general case, see also the 'usage' column in the table.As a consequence, the indices used in the transpose operations are affected.Although it is straightforward in principle, the specialization of the general formulas to this special case is cumbersome-to a point that we found it easier to re-derive them from scratch.Their consistency with the general formulas is checked in a dedicated Mathematica notebook2 .

324As can be expected, all tensors that get contracted with gradients of are zero, 1 = 0, 2 = 0, 1 = 0, 1 = 0, 1 = 0.

E Extension to a rank-deficient matrix E.1 Special form of null vectors

325Assuming that they exist, let us first characterize the null vectors of the symmetric matrix () introduced in (B.5), entering in both the leading order problem (B.4) and in the determination of the corrective displacement (C.33).

326For any = ( , ) ∈ R + c such that () • = 0, we have

327Multiplying the first equation by , and using the second equation, we get • W () • = 0. We observe that the assumption (12) (positive-definiteness of the energy on the subspace of admissible microscopic degrees of freedom) can be rewritten as:

328Therefore, we have = 0, which then yields (Q• ()) • = 0, i.e., the block is a null vector of (Q • ()) .We have just shown

329The only way that the matrix () can be singular is because of the Q • () block.With d denoting the rank deficiency of the matrix or (Q • ()) (both are the same by the argument above), we denote as () ∈ T ( d , c ) a list of null vectors of (Q • ()) , arranged in rows.Equation (E.2) then shows that the null vectors of () are the rows of

E.2 Solutions of the linear equation

330We consider the linear equation for a vector ∈ R + c , usage for an arbitrary choice of the coefficients l ∈ R d .In the right-hand side, the first term is a particular solution furnished by the pseudo-inverse † (), and the second term is a linear combination of the column-vectors in () forming a basis of ker (), with arbitrary coefficients ( l ) 1⩽ ⩽ d .

E.3 Extended macroscopic strain vector

331When the matrix is rank deficient, we append the d coefficients l appearing in (E.6) to the macroscopic strain vector , and write

332where ľ are the usual macroscopic strain vector that defines the microscopic strain , see (2), referred to as in the main body of the paper, while l are the additional parameters parametrizing the solution of the rank-deficient linear problem.The dimension of is now = ň + d .We denote the injection matrices Ǐ and Î of ľ and l into , respectively,

333which enable us to rewrite as = Ǐ • ľ + Î • l.Since Ǐ • Ǐ and Î • Î are orthogonal projections from the space R in which lives onto the subspaces with equations l = 0 and ľ = 0, respectively, the following identity holds,

334To capture the fact that the macroscopic strain in (2) is a function of the original set of macroscopic degrees of freedom ľ, but not of the added l part, we require that any sub-block in (), ′ () or ′′ () corresponding to a range of indices l vanishes, i.e.,

335Indeed, Equation (E.10) warrants that the strain in (2) can be rewritten in terms of ľ and its gradients as

336where

337. (E.12)

338The proof of (E.11) is left to the reader.

339In view of Equation (E.10) and Table 1, l does not appear anywhere in the specification of the problem: it is a set of free parameters that are reserved for parameterizing the solution (E.6) of the rank-deficient linear problem.An energy approach to higher-order homogenization

E.4 Changes to leading-order analysis

340The solvability condition (E.5) yields

341• () = 0.

342(E.14)

343The vector in square brackets is an output of the homogenization procedure, representing d conditions that are linear in the macroscopic strain .

344When (E.14) is satisfied, the solution is given by (E.6) as • Î = 0, (E.17)

345i.e., the operators W and do not sense the added degrees of freedom l.Combining with (E.9), this shows that

346Inserting into the expression of R(), we obtain

347We use this expression of R() in the code and not that proposed earlier in (B.7).Indeed, the latter can be recovered as a particular case: when the matrix is invertible, d = 0, implying that † () = −1 () and that and Î are zero-dimension array, and the last term in (E.19) vanishes.

348The definitions (B.8-B.15) of the other leading-order quantities such as 0 , 0 , etc. are unchanged.

349The following identity can be established using (B.8), (E.19), (E.3) and the orthogonality of the The stress 0 • , however, can depend on the l-block of as well: by adapting the calculation in (E.20), one can show that 0 • Î = () is non-zero in the rank-deficient case.The components of l can therefore be interpreted as the stress associated with the macroscopic kinematic constraint (E.14); this stress is akin to a Lagrange multiplier, i.e., is not set by any constitutive law.

350Combining (E.20) with (B.11) and (B.12), one can show that the strain localization tensor 0 and the equivalent stiffness 0 are also uncoupled to l, implying zero l-sub-blocks, (E.22)

351The reason we prefer the expression of R in (E.19) to that derived first in (E.16) is that it makes it much more evident 0 , 0 and 0 are insensitive to the added degrees of freedom l, see the identities (E.20-E.21).

352B. Audoly and C. Lestringant An energy approach to higher-order homogenization

E.5 Changes to the energy expansion

353With the help of (E.9), (E.22), (C.13), (C.12b) and (B.15a), the second term in the integrand in (C.17b) can be written as where the terms that have been crossed out are zero.In view of this, the definition of the operators " B (0) , " B (1) , C (0) , C (1) can be modified by including the projector Ǐ • Ǐ onto the subspace l = 0, to the right of 0 (),

354(E.24)

355The original and amended definitions in (C.25) and (E.24) are equally valid, but the latter has the advantage that it yields final tensors 1 and 0 having zero l-sub-blocks (the sub-blocks obtained with the former set of definitions do evaluate to zero when the solvability constraints are considered but this is much less evident, and potentially confusing).

356Our implementation makes use of (E.24) and not (C.25),both definitions being identical for non-singular matrices: when d = 0, we have Ǐ • Ǐ = by (E.9).

E.6 Changes to the corrective displacement

357The linear problem (C.33) makes use of the same matrix as the leading-order problem.The solvability condition for [1] is furnished by (E.5) as

358The quantity in square brackets is an output of the homogenization procedure that encodes d conditions depending linearly on and ∇.

359As we did earlier at the leading order, the solution ( ★ having both a leading order contribution ( l) and an order contribution ( l).A simple way to deal with this complication is (i) to discard the () • l contribution in (E.26), and (ii) agree that l is a series in .This avoids extending the vector with d new entries for every homogenization order.

360Concretely, we simply replace the inverse appearing in (C.36) by the Moore-Penrose inverse: our implementation uses

361.

362(E.27)

E.7 Solvability condition for 𝒚 [2]

363The quantity [2] entering in [2] = (J 11 • ) ::

364(E.28) has been eliminated from (E.23) using the constraint Q • [2] = 0.For [2] to exist, one must have

365. In the code, a basis of vectors perpendicular to Im(Q • ) is produced using a row-reduction algorithm, and we print out the conditions that each of these vectors is perpendicular to the vector Q • [. ..] appearing in the left-hand side above: this yields conditions depending linearly on ∇ ⊗ ∇ ⊗ and ∇ 2 ⊗ .

E.8 Summary: extension to rank-deficient problems

366The following extension of the code enables us to deal with a rank-deficient matrix ():

367• provide integers ň and d and the injection matrix Î as a optional arguments to the homogenization procedure and check the condition (E.10) on the tensors , ′ and ′′ passed in argument;

368• compute a set of null vectors of the symmetric matrix (), check that there are d such vectors and that they are of the form (E.2), compute the Moore-Penrose inverse † () if d > 0; • return the solvability conditions (E.14), (E.25) and (E.30) whenever d > 0; • replace Equations (B.7), (C.25) and (C.36) yielding R, " B (0) , " B (1) , C (0) , C (1) and R ′ with their extensions (E.19), (E.24) and (E.27) E.9 Illustration: a truss lattice with inextensible beams

369We consider again the truss lattice shown in Figure 2, but assume this time that the bars on the upper side (+) are inextensible: the corresponding stretching strain is constrained to be zero, 4 = 0.In view of ( 33) and ( 29), the inextensibility condition for the upper beams can be rewritten as

370() = 0 + O ().

371(E.31)

372(9b) where D Φ[, , ; ] = lim →0 (Φ[, + ] − Φ c [, ]) / denotes the directional derivative and ( ) is an arbitrary perturbation.Equation (9a) warrants that the stationary point = ★ [, ] satisfies the kinematic constraint, while Equation (9b) warrants that it is indeed a stationary point among the 's satisfying the kinematic constraints-the integral term takes care of these constraints by multiplying the Lagrange multipliers by the incremental form of the constraint, as usual in the calculus of variations.Having slaved the microscopic degrees of freedom = ★ [, ] to the macroscopic variables, we can define a homogenized energy functional Φ ★ [, ] by inserting the stationary point ★ [, ] into the original Φ, Φ ★ [, ] = Φ[, , ★ [, ]].

Figure 2

373Figure 2 Truss lattice example.(a) General view, (b) a specific bar.

374at order We can rewrite (C.19a) in terms of the packed macroscopic variable as ) : ⊗ ) : ∇( )d, (C.20)whereA() = [(J 1 ()) 4123 • 0 () • V ] 34 .(C.21)In (C.20), we use the star notation Φ ★ [1] to emphasize that the right-hand side no longer depends on the unknown corrector [1] and only depends on the macroscopic fields and , thanks to the elimination of the unknown corrector [1] done earlier in (C.18).

∫ΩC

375(0) (( )) : (( ) ⊗ ()) ∴ ∇ 2 ( )d = ∮ Ω C (0) (( )) : (( ) ⊗ ( )) ∴ (∇( ) ⊗ ( ))d + ∫ Ω ΔB (0) (( )) : (( ) ⊗ ( )) :: ∇( ) ⊗ ∇( ) (( )) • ( )) : ∇ [1] ( )d = ∮ Ω (C (1) (( )) • ( )) : ( [1] ( ) ⊗ ( ))d + ∫ Ω (ΔB (1) (( )) • ( )) ∴ (∇( ) ⊗ [1] ( ))d (C.27)

376) : ( ⊗ )) ∴ (∇ ⊗ )d.(C.46)C.10Final extractionThe last step in the homogenization procedure is to unpack the tensors Y ′ , B and C appearing in (C.34) and (C.46), following a similar procedure as earlier in Appendix C.5.This allows to remove any reference to the quantity used internally in this Appendix in favor of and .

377) • = .(E.4) Multiplying by any null vector of and using the symmetry = , we obtain • = 0. Repeating this argument with all the null vectors that have been arranged into (), we obtain d solvability conditions () • = 0. (E.5)When (E.5) is satisfied, the solutions of (E.4) can be expressed with the help of the Moore-Penrose inverse † () of () as = † () • + () • l. (E.6)

378The leading-order problem (B.4) is of the form (E.4) with = − W (( )) Q • (( ))• ( ).(E.13)B.Audoly and C. Lestringant

379definition of the extended macroscopic strain vector in (E.7), this solutions matches the form (B.6) used in the non-deficient case, provided we replace the inverse by the Moore-Penrose inverse and include a new term in the definition of R in (B.7),R() = − † () • W () Q • () + () • Î .(E.16)It is convenient to rewrite this equation in a slightly different form, for a reason that will be discussed later.Using (E.10), one can show that W ()Q • ()

𝑇

380projectors Ǐ • Î = 0 which follows from (E.8), 0 • Î = 0 × c • R() • Î = 0 × c • () = () • 0 × c = () • 0 c × c • 0 × c , the microscopic displacement [0] = 0 () • can be expressed as [0] = 0 () • ( Ǐ • Ǐ + Î • Î ) • = Y 0 () • ľwhere Y 0 () = 0 () • Ǐ: it depends on the original set of degrees of freedom ľ only and the matrix 0 has a zero block in the range of indices associated with l, 0 () = Y 0 () 0 × d .

3810 () = F 0 () 0 × d , 0 () = Ǩ 0 () 0 ň × d 0 d × ň 0 d × d. we obtain the following identity by combining (B.14), (E.20) and (E.21a), 0 • Î = K () • [ 0 () • Î] + Q • 0 () • Î = Q • ().

=

382( 0 () • Ǐ • Ǐ • ) • (J 11 () • ) :: (∇ ⊗ ∇) +(J 2 () • ) ∴ ∇ 2 + ′ () : ∇ [1] + () • 0 () • Ǐ • Ǐ • • [2] = ( 0 ()• Ǐ • Ǐ •) • (J 11 () •) :: (∇⊗∇) + (J 2 () •) ∴ ∇ 2 + ′ () : ∇ [1] ,(E.23)

383[1] ( ), ★ [1] ( )) of (C.33) is the sum of a particular solution furnished by the Moore-Penrose inverse and a linear combination of the null vectors of with new coefficients l, ★ [1] ( ) ★ [1] ( ) = − † () • (B (1) (( ))) 2314 Q • J 1 (( )) ∴ (∇( ) ⊗ ( )) + () • l. (E.26)The first term in the right-hand side is taken care of by replacing the inverse of () by its Moore-Penrose inverse in the definition of R ′ in (C.36), as we did earlier with R. The second term () • l in ★ [1] ( ) and ★ [1] ( ) adds up in a straightforward way to the term () • l from leading order: the full microscopic displacement ★ ( ) = ★ [0] ( ) + ★ [1] ( ) + • • • and Lagrange multipliers ★ ( ) = ★ [0] ( ) + ★ [1] ( ) + • • • obtained by summing up the 0 and 1 contributions are now linear combinations of the null vectors in () with coefficients l + l

384the compatibility conditionQ • (J 11 • ) :: (∇ ⊗ ∇) + (J 2 • ) ∴ ∇ 2 + ′ : ∇ [1] ∈ Im(Q • ).(E.30)

Table 1 .

385next.Indeed, the stationarity condition of Ψ[, ] + Φ[, , ] with respect to is nothing but that considered in (11), given that Ψ[, ] does not depend on .Next, it can be checked that the stationarity condition with respect to of Ψ[, ] + Φ[, , ] is equivalent to the stationarity condition of the modified functional Ψ[, ] + Φ ★ [, ] based on the homogenized strain energy Φ ★ introduced in (10).This argument not only provides a justification to Equations (10) and (11), it also explains why the homogenized energy Φ

386★ [, ] can be used as a substitute for the original energy Φ[, , ] in the analysis of the structural problem.

Table 4

387(Audoly 2023ters used for the homogenization of the truss lattice.The spring constant () is set up as a symbolic function of .For the sake of brevity, the terms denoted by ellipses are omitted: full expressions are available in the input file inhomogeneous-truss.nb included in the library(Audoly 2023).

Table D .

3882 Higher-order homogenization in the special case of homogeneous properties.A complete implementation of the method in this special case is possible based on Table5(leading order, ignoring any dependence on ) and on the definitions appearing in the first column of the table above.The quantities appearing in the grey rows are the main results (localization tensors for corrective displacement ′ 0 , Lagrange multipliers ′ 0 , bulk energy contributions 0 and 0 and boundary contribution 0 ).

참고문헌 25건

  1. Nonlinear Composite Beam Theory 2006 10.2514/4.866821
  2. An Introduction to Homogenization Oxford University Press eBooks · Oxford University Press · 1999 10.1093/oso/9780198565543.001.0001
  3. Non-Homogeneous Media and Vibration Theory Lecture notes in physics · Springer Science+Business Media · 1980 10.1007/3-540-10000-8
  4. Higher‐Order Terms in the Homogenized Stress‐Strain Relation of Periodic Elastic Media physica status solidi (b) · Wiley · 1989 10.1002/pssb.2221510211
  5. On the energy of an elastic rod Journal of Applied Mathematics and Mechanics · Russian Academy of Sciences · 1981 10.1016/0021-8928(81)90097-6
  6. Generalized inner bending continua for linear fiber reinforced materials International Journal of Solids and Structures · Elsevier BV · 2010 10.1016/j.ijsolstr.2010.10.017
  7. Construction of micropolar continua from the asymptotic homogenization of beam lattices Computers & Structures · Elsevier BV · 2012 10.1016/j.compstruc.2012.08.006
  8. Second-order homogenization of periodic materials based on asymptotic approximation of the strain energy: formulation and validity limits Meccanica · Springer Science+Business Media · 2014 10.1007/s11012-014-9906-0
  9. Microstructural effects in elastic composites International Journal of Solids and Structures · Elsevier BV · 1996 10.1016/0020-7683(95)00089-5
  10. Homogenized Interface Model Describing Inhomogeneities Located on a Surface Journal of Elasticity · Springer Science+Business Media · 2012 10.1007/s10659-012-9374-5
  11. On rigorous derivation of strain gradient effects in the overall behaviour of periodic heterogeneous media Journal of the Mechanics and Physics of Solids · Elsevier BV · 2000 10.1016/s0022-5096(99)00090-3
  12. Dynamics of discrete framed structures: a unified homogenized description Journal of mechanics of materials and structures · Mathematical Sciences Publishers · 2008 10.2140/jomms.2008.3.1709
  13. Analogy between micropolar continuum and grid frameworks under initial stress International Journal of Solids and Structures · Elsevier BV · 1972 10.1016/0020-7683(72)90093-5
  14. Homogenization of periodic graph-based elastic structures Journal de l’École polytechnique — Mathématiques · Cellule MathDoc/CEDRAM · 2018 10.5802/jep.70
  15. Strain gradient and generalized continua obtained by homogenizing frame lattices Mathematics and Mechanics of Complex Systems · Mathematical Sciences Publishers · 2018 10.2140/memocs.2018.6.213
  16. Second order homogenization of quasi-periodic structures Vietnam Journal of Mechanics · Publishing House for Science and Technology Vietnam, Vietnam Academy of Science and Technology (Publications) · 2018 10.15625/0866-7136/13498
  17. Homogenization of frame lattices leading to second gradient models coupling classical strain and strain-gradient terms Mathematics and Mechanics of Solids · SAGE Publishing · 2019 10.1177/1081286519855431
  18. Asymptotically exact strain-gradient models for nonlinear slender elastic structures: A systematic derivation method Journal of the Mechanics and Physics of Solids · Elsevier BV · 2019 10.1016/j.jmps.2019.103730
  19. Microtwist elasticity: A continuum approach to zero modes and topological polarization in Kagome lattices Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104107
  20. Additive manufacturing introduced substructure and computational determination of metamaterials parameters by means of the asymptotic homogenization Continuum Mechanics and Thermodynamics · Springer Science+Business Media · 2020 10.1007/s00161-020-00941-w
  21. Asymptotic derivation of high-order rod models from non-linear 3D elasticity Journal of the Mechanics and Physics of Solids · Elsevier BV · 2020 10.1016/j.jmps.2020.104264
  22. Predictive strain-gradient homogenization of a pantographic material with compliant junctions Journal of the Mechanics and Physics of Solids · Elsevier BV · 2022 10.1016/j.jmps.2021.104773
  23. Homogenization Methods and Generalized Continua in Linear Elasticity Springer eBooks · Springer Nature · 2019 10.1007/978-3-662-53605-6_112-1
  24. Homogenisation: Averaging Processes in Periodic Media Mathematics and its applications. Soviet series · Springer Nature (Netherlands) · 1989 10.1007/978-94-009-2247-1
  25. Homogenization of Reticulated Structures Applied mathematical sciences · Springer Nature · 1999 10.1007/978-1-4612-2158-6