1 Introduction

Metamaterials are artificially-designed materials possessing characteristics that do not exist naturally. Such physical behavior arise from the architectured microstructure and not due to the base material properties. The term metamaterial is derived from a Greek word μετά (meta), which means beyond, because they exhibit properties beyond those that are found naturally. Of late, metamaterials have proven their capabilities to achieve great practical importance. For example, Tümkaya et al. [1] developed an efficient metamaterial-based portable fuel oil sensor in order to distinguish branded fuel–oil samples from unbranded ones, while Abdulkarim et al. [2] proposed a broadband coplanar waveguide (CPW)-fed monopole antenna based on conventional CPW-fed integration with an organic solar cell (OSC) of 100% insolation for Ku band satellite communication. This configuration was designed to permit 100% insolation of the OSC, thereby enhancing the performance of the antenna. In the investigation by Ozdemir et al. [3], a resonator layer was suggested for reducing the mutual coupling effect between each antenna element of a cross dipole antenna. The results were noted for improving isolation in multiport antenna systems, based on artificial neural network approach. A new metamaterials-based hypersensitized liquid sensor integrating omega-shaped resonator with microstrip transmission line was proposed by Abdulkarim et al. [4]; this metamaterial integrated transmission line-based sensor can be a potential candidate for precise detection of fluidics and for applications in the fields of medicine and chemistry. In addition, Dalgac et al. [5] designed a chiral metamaterial-based sensor for detecting the variation in substance ratio of chemical substances when combined with distilled water. Their investigation provides distinctive sensing results and therefore avails a novel method to the microfluidic sensor applications by using the sample holder.

Although negative material properties—such as negative Poisson’s ratio [6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22], negative thermal expansion [23,24,25,26,27,28,29,30,31], negative compressibility [32,33,34,35,36,37] and negative moisture expansion [38,39,40]—have been investigated for a few decades due to their capability of behaving in ways that are not achievable by conventional materials, it remains that some applications may require both positive and negative properties depending on the circumstances. For this reason, a series of metamaterials in which their effective material properties can switch between positive and negative signs have been introduced. These include the change in the Poisson’s ratio sign upon reversal of stress direction [41, 42], the change in the coefficient of thermal expansion sign upon temperature fluctuation [43, 44], the change in Poisson’s ratio sign with temperature fluctuations [45, 46], and negative Poisson’s ratio metamaterial with sign-switching expansion coefficients with environmental fluctuations [47, 48].

While the above-mentioned metamaterials exhibit properties with sign-toggling capabilities in order to suit the changing loading and/or environmental condition, the artistic aspects are lacking. Inspired by Islamic art, Rafsanjani and Pasini [49] developed a set of metamaterial microstructures that manifest negative Poisson’s ratio behaviour. In this paper a class of square grids made from bimaterial strips that transforms into arrays of 8-pointed stars is introduced. The array of 8-pointed stars, as exemplified in Fig. 1, is prevalent in Islamic art and architecture. The motivation of choosing this design, therefore, is not only confined to the potential for creating metamaterials with physical properties that switch between positive and negative values by environmental changes and without any active control, but also to pay homage to an ancient art that is associated with a great religion. This geometry is also chosen because the art forms are hidden at the reference environmental condition and are only manifested when the environmental condition changes, thereby creating a dynamic micro-lattice structure. As illustrated in Fig. 2, this paper proposes a 2D metamaterial in which the increase in temperature \(dT>0\) and/or moisture concentration \(dC>0\) as well as decrease in pressure \(dP<0\) lead to material contraction, thereby exhibiting negative expansivity. However, the decrease in temperature \(dT<0\) and/or moisture concentration \(dC<0\) as well as increase in pressure \(dP>0\) also lead to material contraction, thereby exhibiting positive expansivity instead.

Fig. 1
figure 1

Examples of Islamic 8-pointed connected star: a single star in sixteenth century Humayun’s tomb, India (top left), a few stars arranged vertically and horizontally in an interior part of the fourteenth century Al-Attarine Madrasa, Egypt (top centre), stars arranged diagonally in tiles from thirteenth century Iran (top right), overlapping design (bottom left), and simplified schematics (bottom right)

Fig. 2
figure 2

Transformation of a square grid (top) to an 8-pointed star array under a change of environmental condition (bottom left) and its conjugate form under an opposing change of environmental condition (bottom right)

2 Analysis

Two configurations of bimaterial strips within the square grids are identified and illustrated in Figs. 3 and 4 to demonstrate the manner at which the bending of the straight bimaterial strips in response to changing environmental condition can transform the square grids into arrays that approximate 8-pointed stars found in Islamic art. Specifically, we term the configurations furnished in Figs. 3 and 4 as the Type A and Type B, respectively. The bimaterial strips in both types consist of two materials, with material 1 (indicated by yellow) possessing a higher expansion coefficient than material 2 (indicated by green), such that different extent of expansion leads to materials 1 and 2 being convex and concave, respectively, as shown in Fig. 3 (right) and Fig. 4 (right). Conversely, under an opposing change in environmental condition, the differential contraction leads to materials 1 and 2 being concave and convex, respectively, as furnished in Fig. 3 (left) and Fig. 4 (left). In both Type A and Type B metamaterials, one end of each bimaterial strip is built into rigid squares (shown in red) and each square is attached to four bimaterial strips. Unlike Type B, the configuration in Type A permits free rotation at the other end of each bimaterial strip, which is attached to a pillow block bearing (indicated in blue) such that the curved outer surface of each pillow bearing is in contact to another pillow block bearing via connectors (indicated in black) through the holes. Unlike Type A, each bimaterial strip in Type B consists of three segments with length ratio 1:2:1 whereby materials 1 and 2 alternate from one segment to the next.

Fig. 3
figure 3

Type A square grid in its original state (top) and its deformation approximating the 8-pointed star under opposing conditions that lead to opposing curvatures in the bimaterial strips (bottom), where the material 1 (yellow) has greater expansion coefficients than material 2 (green)

Fig. 4
figure 4

Type B square grid in its original state (top) and its deformation approximating the 8-pointed star under opposing conditions that lead to opposing curvatures in the bimaterial strips (bottom), where the material 1 (yellow) has greater expansion coefficients than material 2 (green)

The bimaterials are permitted to curve based on three types of environmental changes—temperature, pressure and moisture concentration—through contrasting (i) coefficient of thermal expansion (CTE), (ii) compressibility, or coefficient of pressure expansion (CPE), and (iii) coefficient of moisture expansion (CME). The volumetric CTE for any matter—be it in the form of solid, liquid or gas—is a measure of the volumetric change in response to temperature change at constant pressure, and is expressed as

$${\alpha }_{V}^{(T)}=\frac{1}{V}{\left(\frac{\partial V}{\partial T}\right)}_{P}$$
(1)

Due to anisotropy, which is common in solids, it is more meaningful to write separate CTEs in each orthogonal direction. Hence we have the linear CTE

$${\alpha }^{(T)}=\frac{1}{L}\frac{dL}{dT}=\frac{{\varepsilon }_{T}}{dT}$$
(2)

where \({\varepsilon }_{T}\) is thermal strain. In thermofluid mechanics, the coefficient of compressibility, or more conveniently the “compressibility”, quantifies the volumetric change in response to pressure change. When these changes take place at constant temperature, we have the isothermal compressibility

$${\alpha }_{V}^{(P)}=-\frac{1}{V}{\left(\frac{\partial V}{\partial P}\right)}_{T}$$
(3)

The negative sign indicates a decrease in size with an increase in pressure. For the purpose of consistency with the linear CTE, we herein introduce its linear version as the CPE

$${\alpha }^{(P)}=-\frac{1}{L}\frac{dL}{dP}=\frac{{\varepsilon }_{P}}{\left(-dP\right)}$$
(4)

where \({\varepsilon }_{P}\) is the strain due to pressure change. To obtain an analogous coefficient due to moisture absorption into or moisture dissipation from a solid, we recall the definition of moisture concentration in solids

$$C=\frac{m}{M}\times 100$$
(5)

where \(m\) is the mass of water and \(M\) is the mass of the dry material, hence the change in moisture concentration is

$$dC=\frac{dm}{M}\times 100$$
(6)

where \(dm\) is the change in moisture mass in the solid. This also applies for the environmental moisture concentration wherein \(dm\) is the change in moisture mass per unit volume of the environment while \(M\) refers to the mass of dry air in the same volume. Therefore the CME due to the change in moisture concentration in the solid is

$${\alpha }^{(C)}=\frac{1}{L}\frac{dL}{dC}=\frac{{\varepsilon }_{C}}{dC}$$
(7)

where \({\varepsilon }_{C}\) is the strain arising from the change in moisture concentration. Due to different absorptivity level, various materials absorb differing amount of moisture from the environment. As such, a change in environmental moisture concentration \(dC\) leads to changes in moisture concentration in materials 1 and 2 \((d{C}_{1},d{C}_{2})\) in a two-phase composite wherein \(dC\ne d{C}_{1}\ne d{C}_{2}\) at moisture transfer equilibrium. This is unlike temperature change where \(dT=d{T}_{1}=d{T}_{2}\) is attained at thermal equilibrium [40]. Analogies can be formed with the various coefficients of expansion and their corresponding strains and environmental changes, as listed in Table 1.

Table 1 Analogies between specific coefficients of environmental expansions and related parameters

Recall that for a straight bimaterial strip with materials 1 and 2 possessing CTEs of \({\alpha }_{1}^{(T)}\) and \({\alpha }_{2}^{(T)}\), respectively, the radius of curvature \({r}^{(T)}\) that is formed under a temperature change of \(dT\) is [50]

$$\frac{1}{{r}^{(T)}}=\frac{\left({\alpha }_{1}^{(T)}-{\alpha }_{2}^{(T)}\right) dT}{\frac{h}{2}+\frac{2}{h}({E}_{1}{I}_{1}+{E}_{2}{I}_{2})\left(\frac{1}{{E}_{1}{h}_{1}}+\frac{1}{{E}_{2}{h}_{2}}\right)}$$
(8)

where

$$h={h}_{1}+{h}_{2}$$
(9)

and

$${I}_{1}=\frac{{h}_{1}^{3}}{12} ,\quad {I}_{2}=\frac{{h}_{2}^{3}}{12}$$
(10)

with \({h}_{1}\) and \({h}_{2}\) being the thicknesses of materials 1 and 2, respectively. By similar reasoning on the differential expansion of the bonded strips due to pressure change \(dP\), the resulting curvature \({r}^{(P)}\) is

$$\frac{1}{{r}^{(P)}}=\frac{\left({\alpha }_{1}^{(P)}-{\alpha }_{2}^{(P)}\right) (-dP)}{\frac{h}{2}+\frac{2}{h}({E}_{1}{I}_{1}+{E}_{2}{I}_{2})\left(\frac{1}{{E}_{1}{h}_{1}}+\frac{1}{{E}_{2}{h}_{2}}\right)}$$
(11)

where \({\alpha }_{1}^{(P)}\) and \({\alpha }_{2}^{(P)}\) are the CPEs of materials 1 and 2, respectively, of the bimaterial strip. As mentioned earlier, the negative sign in Eq. (4) implies the decrease in dimension with increase in pressure; this results in the negative sign in Eq. (11), which indicates that the bimaterial strip curves in the opposite direction with increasing pressure when compared to the case of increasing temperature. While the temperature change in bimaterial strip is equal to that in the environment at thermal equilibrium \(d{T}_{1}=d{T}_{2}=dT\), and that the pressure change experienced by the bimaterial strips are common to the pressure change in the environment \(d{P}_{1}=d{P}_{2}=dP\), the same cannot be said so for the case of moisture change. Due to different level of moisture concentration change between the environment and materials even at hygroscopic equilibrium, as well as the different extent of moisture retention in each material, the change in moisture concentration at hygroscopic equilibrium for the environment and in both materials in the bimaterial strip are different. As a result of the different coefficients of moisture expansion \(({\alpha }_{1}^{\left(C\right)},{\alpha }_{2}^{\left(C\right)})\) and different extent of moisture concentration change at hygroscopic equilibrium \((d{C}_{1},d{C}_{2})\) in materials 1 and 2, we write the resulting bimaterial curvature \({r}^{(C)}\) due to a change in the environmental moisture concentration \(dC\) as

$$\frac{1}{{r}^{(C)}}=\frac{{\alpha }_{1}^{(C)}d{C}_{1}-{\alpha }_{2}^{(C)}d{C}_{2}}{\frac{h}{2}+\frac{2}{h}({E}_{1}{I}_{1}+{E}_{2}{I}_{2})\left(\frac{1}{{E}_{1}{h}_{1}}+\frac{1}{{E}_{2}{h}_{2}}\right)}$$
(12a)

or

$$\frac{1}{{r}^{(C)}}=\frac{\left[{\alpha }_{1}^{\left(C\right)}\left(\frac{d{C}_{1}}{dC}\right)-{\alpha }_{2}^{\left(C\right)}\left(\frac{d{C}_{2}}{dC}\right)\right]dC}{\frac{h}{2}+\frac{2}{h}({E}_{1}{I}_{1}+{E}_{2}{I}_{2})\left(\frac{1}{{E}_{1}{h}_{1}}+\frac{1}{{E}_{2}{h}_{2}}\right)}$$
(12b)

where \((d{C}_{1}/dC)\) and \((d{C}_{2}/dC)\) in Eq. (12b) quantify the ratio of moisture concentration changes in materials 1 and 2 vis-à-vis the moisture concentration change in the surrounding environment. Suppose \(d{C}_{1}/dC=d{C}_{2}/dC=1\), Eq. (12) reduces to the form similar to Eq. (8). In order to focus on the effects of the individual material’s expansion coefficient, we consider the bimaterial strips to possess equal thicknesses \(({h}_{1}={h}_{2}=h/2)\) and equal Young’s moduli \(({E}_{1}={E}_{2})\), such that Eqs. (8), (11) and (12) simplify to

$$\begin{array}{c}\frac{l}{{r}^{(T)}}=\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(T\right)}-{\alpha }_{2}^{\left(T\right)}\right)dT\\ \frac{l}{{r}^{(P)}}=\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)(-dP)\\ \frac{l}{{r}^{(C)}}=\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)\end{array}$$
(13)

In modelling any effective coefficient of expansion, consideration is made to the strain induced by the environmental change. As such, reference points are to be identified for tracking relative displacements. These reference points are the center of the rigid square and the center of its nearest neighbour, as furnished in Fig. 5.

Fig. 5
figure 5

Elements between two rigid blocks for the Type A grid (top) and Type B grid (bottom) in their original state (left) and deformed state (right). Reference points for relative displacements are the centers of rigid squares indicated in red. The thicknesses have been exaggerated for clarity

Due to the different radii of curvatures encountered by the bimaterial strip imposed by the different types of environmental changes, the following analyses begin with modelling for the effective CME, followed by reduction to the effective CTE and effective CPE for both grids. Arising from the large deflection and the corresponding finite relative displacement between the rigid squares, the usual definition of strain for infinitesimal deformation is written as an increment strain

$$d\varepsilon =\frac{dL}{L}$$
(14)

so as to pave a way for describing the total strain as

$$\varepsilon =\int d\varepsilon =\mathrm{ln}\frac{{L}_{f}}{{L}_{i}}$$
(15)

where \({L}_{i}\) and \({L}_{f}\) are the initial and final distances between reference points, respectively. This gives the moisture strain

$${\varepsilon }_{C}=\mathrm{ln}\frac{2\left({r}^{(C)}\mathrm{sin}\theta +f\mathrm{cos}\theta +R\right)+h}{2\left(l+f+R\right)+h}$$
(16)

for Type A (Fig. 5, top), and

$${\varepsilon }_{C}=\mathrm{ln}\frac{4{r}^{(C)}\mathrm{sin}\theta +h}{4l+h}$$
(17)

for Type B (Fig. 5, bottom). The length of a bimaterial strip is typically 2 or 3 orders higher than its thickness, which means that \(r\sim l\gg h\approx f\approx R\) such that both Eqs. (16) and (17) abridge to

$${\varepsilon }_{C}=\mathrm{ln}\left\{\frac{{r}^{(C)}\mathrm{sin}\theta }{l}\right\}$$
(18)

Substituting \(\theta =l/r\) and Eq. (13) into Eq. (18) gives

$${\varepsilon }_{C}=\mathrm{ln}\left\{\frac{\mathrm{sin}\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)\right]}{\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)\right]}\right\}$$
(19)

With reference to Eq. (7), we have the effective CME

$${\alpha }^{(C)}=\frac{1}{dC}\mathrm{ln}\left\{\frac{\mathrm{sin}\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)\right]}{\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)\right]}\right\}$$
(20)

By comparing Eq. (7) against Eqs. (2) and (4)—or by comparing Eq. (12a) against Eqs. (8) and (11)—one may infer the effective CTE and the effective compressibility as

$${\alpha }^{(T)}=\frac{1}{dT}\mathrm{ln}\left\{\frac{\mathrm{sin}\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(T\right)}-{\alpha }_{2}^{\left(T\right)}\right)dT\right]}{\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(T\right)}-{\alpha }_{2}^{\left(T\right)}\right)dT\right]}\right\}$$
(21)

and

$${\alpha }^{(P)}=\frac{1}{(-dP)}\mathrm{ln}\left\{\frac{\mathrm{sin}\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)(-dP)\right]}{\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)(-dP)\right]}\right\}$$
(22a)

respectively, whereby \((-dP)\) indicates that for a conventional or positive value of compressibility, an increase in pressure results in decrease in size. As the sine function is odd, i.e. \(\mathrm{sin}\left(-z\right)=-\mathrm{s}\mathrm{i}\mathrm{n}(z)\), Eq. (22a) can also be written as

$${\alpha }^{(P)}=-\frac{1}{dP}\mathrm{ln}\left\{\frac{\mathrm{sin}\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)dP\right]}{\left[\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)dP\right]}\right\}$$
(22b)

Since \(\left|\mathrm{sin}z\right|<\left|z\right|\) except when \(z=0\), it follows that \(\mathrm{ln}\left\{\cdots \right\}<0\) in Eqs. (20) to (22). Therefore the signs of \({\alpha }^{(C)}\) and \({\alpha }^{(T)}\) are always opposite to the signs of \(dC\) and \(dT\), while the sign of \({\alpha }^{(P)}\) is always the same as that for \(dP\), in consistency with the overall deformation conceptualized in Figs. 3 and 4. Having obtained models of expansion coefficients which switch signs for opposing change of environmental condition such that the Type A and Type B metamaterials always exhibit in-plane isotropic contraction based on the magnitude of the environmental change, an attempt in now made to specify the condition by which the deformed grid fits into the 8-pointed star. If the bimaterial deflection is insufficient, the pointed corners of the star along the diagonals are further from the center than those aligned along the vertical and horizontal axes. Beyond a certain value of bimaterial deflection, the diagonal pointed corners are nearer to the center than those lying on the axes. To fit the deformed metamaterial grid onto the 8-pointed star, the distance of the diagonal pointed corners from the center must be equal to those on the axes. This is shown from the superposition of an 8-pointed star (Fig. 6, top) onto each unit of the metamaterial (Fig. 6, middle).

Fig. 6
figure 6

Superposition of an 8-pointed star (top) onto a unit of the deformed metamaterials (middle), with parameters assigned for analysis (bottom)

Geometrical parameters \(a\) and \(b\) in Fig. 6 (bottom) facilitates the determination of conditions for fitting the deformed metamaterial onto the 8-pointed star. The parameter \(a\) is half of the distance between the centers of two nearest rigid squares (indicated in red). Therefore, with reference to the vertical distance between the centers of the rigid squares in Fig. 5 (right),

$$a=r\mathrm{sin}\theta +f\mathrm{cos}\theta +R+\frac{h}{2}$$
(23)

for Type A, and

$$a=2r\mathrm{sin}\theta +\frac{h}{2}$$
(24)

for Type B. The parameter \(b\) in Fig. 6 (bottom left) corresponds to the horizontal distance component between the center of a rigid square and the outermost surface of the pillow block bearing in Fig. 5 (top right), i.e.

$$b=r\left(1-\mathrm{cos}\theta \right)+f\mathrm{sin}\theta +R$$
(25)

for Type A, while the same parameter in Fig. 6 (bottom right) refers to the horizontal distance component between the center of a rigid square and the maximum deflection at the mid-point of the bimaterial strip in Fig. 5 (bottom right), i.e.

$$b=2r(1-\mathrm{cos}\theta )$$
(26)

for Type B. These give the distances from the center of each deformed grid to the grid rib intersecting the vertical and horizontal axes as

$$a+b=r\left(1+\mathrm{sin}\theta -\mathrm{cos}\theta \right)+f\left(\mathrm{sin}\theta +\mathrm{cos}\theta \right)+2R+\frac{h}{2}$$
(27)

and

$$a+b=2r\left(1+\mathrm{sin}\theta -\mathrm{cos}\theta \right)+\frac{h}{2}$$
(28)

for Type A and Type B, respectively. Perusal to Fig. 6 (bottom) implies that the diagonal distances between the center of the deformed grid and the center of each rigid square are the hypotenuse, i.e.

$$\sqrt{2} a=\sqrt{2}\left(r\mathrm{sin}\theta +f\mathrm{cos}\theta +R\right)+\frac{h}{\sqrt{2}}$$
(29)

and

$$\sqrt{2} a=2\sqrt{2} r\mathrm{sin}\theta +\frac{h}{\sqrt{2}}$$
(30)

for metamaterials of Types A and B, respectively. Hence to implement equidistance for all the eight points of the star from the deformed grid center, we let \(a+b=\sqrt{2} a\) such that

$$r\left(1+\mathrm{sin}\theta -\mathrm{cos}\theta \right)+f\left(\mathrm{sin}\theta +\mathrm{cos}\theta \right)+2R+\frac{h}{2}=\sqrt{2}\left(r\mathrm{sin}\theta +f\mathrm{cos}\theta +R\right)+\frac{h}{\sqrt{2}}$$
(31)

for Type A, and

$$2r\left(1+\mathrm{sin}\theta -\mathrm{cos}\theta \right)+\frac{h}{2}=2\sqrt{2} r\mathrm{sin}\theta +\frac{h}{\sqrt{2}}$$
(32)

for Type B. Recall that the length of a bimaterial strip is typically 2 or 3 orders higher than its thickness, thereby implying \(r\sim l\gg h\sim f\sim R\), such that Eqs. (31) and (32) simplify to a common expression

$$1-\mathrm{cos}\theta =(\sqrt{2}-1)\mathrm{sin}\theta$$
(33)

This relation is satisfied if \(\mathrm{sin}\theta =\mathrm{cos}\theta =1/\sqrt{2}\), i.e. the deformed metamaterials fit the 8-pointed star array geometry shown in Fig. 1 if \(\theta =\pi /4\). With reference to Eq. (18) and \(l/r=\theta\), one may elegantly express the various environmental strains as

$$\varepsilon =\mathrm{ln}\left\{\frac{\mathrm{sin}\theta }{l/r}\right\}=\mathrm{ln}\left\{\frac{\mathrm{sin}\theta }{\theta }\right\}$$
(34)

such that substitution of \(\theta =\pi /4\) suggests that the effective strain \(\varepsilon =\mathrm{ln}\left\{2\sqrt{2}/\pi \right\}=-0.10501\) must be achieved to attain the desired 8-pointed star array. Furthermore, matching Eq. (34) against Eqs. (20) to (22) implies

$$\theta =\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}\right)=\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(T\right)}-{\alpha }_{2}^{\left(T\right)}\right)dT=\frac{3}{2}\frac{l}{h}\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)dP$$
(35)

which reduces to

$${\alpha }_{1}^{\left(C\right)}d{C}_{1}-{\alpha }_{2}^{\left(C\right)}d{C}_{2}=\left({\alpha }_{1}^{\left(T\right)}-{\alpha }_{2}^{\left(T\right)}\right)dT=\left({\alpha }_{1}^{\left(P\right)}-{\alpha }_{2}^{\left(P\right)}\right)dP=\frac{\pi }{6}\left(\frac{h}{l}\right)$$
(36)

when \(\theta =\pi /4\). In other words, if properties of materials 1 and 2 of the bimaterial strip are known, then the array of 8-pointed stars can be achieved from the originally square grids of Type A and Type B metamaterial by controlling the environmental change.

3 Results and discussion

In order to ascertain that the assumption \(f=R=h=0\) is valid, we return to Eqs. (16) and (17) to divide all terms at the numerator and denominator with \({r}^{(C)}\) to obtain

$${\varepsilon }_{C}=\mathrm{ln}\frac{2\left(\mathrm{sin}\theta +\frac{f}{l}\left(\frac{l}{{r}^{(C)}}\right)\mathrm{cos}\theta +\frac{R}{l}\left(\frac{l}{{r}^{(C)}}\right)\right)+\frac{h}{l}\left(\frac{l}{{r}^{(C)}}\right)}{2\left(\frac{l}{{r}^{(C)}}+\frac{f}{l}\left(\frac{l}{{r}^{(C)}}\right)+\frac{R}{l}\left(\frac{l}{{r}^{(C)}}\right)\right)+\frac{h}{l}\left(\frac{l}{{r}^{(C)}}\right)}$$
(37)

for Type A, and

$${\varepsilon }_{C}=\mathrm{ln}\frac{4\mathrm{sin}\theta +\frac{h}{l}\left(\frac{l}{{r}^{(C)}}\right)}{4\frac{l}{{r}^{(C)}}+\frac{h}{l}\left(\frac{l}{{r}^{(C)}}\right)}$$
(38)

for Type B, such that the substitution of \({l/r}^{(C)}=\theta =\pi /4\) into Eqs. (37) and (38) leads to

$${\varepsilon }_{C}=\mathrm{ln}\frac{\frac{2\sqrt{2}}{\pi }+\frac{1}{\sqrt{2}}\frac{f}{l}+\frac{R}{l}+\frac{1}{2}\frac{h}{l}}{1+\frac{f}{l}+\frac{R}{l}+\frac{1}{2}\frac{h}{l}}$$
(39)

and

$${\varepsilon }_{C}=\mathrm{ln}\frac{\frac{2\sqrt{2}}{\pi }+\frac{1}{4}\frac{h}{l}}{1+\frac{1}{4}\frac{h}{l}}$$
(40)

respectively. Since the typical bimaterial strip aspect ratio is such that \(l\) is about 2 or 3 orders higher than \(h\), and perusal to Fig. 5 indicates that \(R=h/2\), we substitute \(h/l=2R/l=0.01\) into Eq. (39) to observe the effect of \(f/l\) for Type A moisture strain when the 8-pointed star array is attained. Figure 7 (left) shows that, under the considered typical parameter values, the percentage error hovers around 1%. Since Type B is independent from \(f\) and \(R\), evaluation is made on the effect of \(h/l\) ratio on the moisture strain. Figure 7 (right) shows that the percentage error for the typical \(h/l\) ratio falls within 0.2644%. Even if the bimaterial aspect ratio is increased to the unrealistically high value of \(h/l=0.1\), the percentage error for assuming \(h=0\) is only 2.637%. These observations validate the assumption of \(f=R=h=0\) for the typical bimaterial aspect ratio.

Fig. 7
figure 7

Plots of moisture strain versus for \(f/l\) at \(h/l=2R/l=0.01\) for Type A (left) and versus \(h/l\) for Type B (right) for comparison against the simplifying assumptions of \(f=R=h=0\)

Having demonstrated the applicability of the developed models when the typical bimaterial aspect ratio is adopted, we shall now turn our attention to the various facets of bimaterial curving in order to attain the array of 8-pointed stars under varying moisture concentration, temperature and pressure. Typically, the coefficient of moisture expansion in polymers ranges between \({\alpha }_{1}^{\left(C\right)}=2\times {10}^{-3}\) and \({\alpha }_{1}^{\left(C\right)}=5\times {10}^{-3}\) [51,52,53,54]. For the case of moisture expansion, we consider the abovementioned polymers as material 1 while material 2 is of the same polymeric material but with waterproof coating so that \(d{C}_{2}=0\). The choice of same material ensures \({E}_{1}={E}_{2}\) so that the simplification of Eq. (12) to the last of Eq. (13) applies. Although \({\alpha }_{1}^{\left(C\right)}={\alpha }_{2}^{\left(C\right)}\), expansion of material 2 is inhibited due to waterproofing so that \({\alpha }_{2}^{\left(C\right)}d{C}_{2}=0\). Adopting these values for Eq. (36) gives

$$d{C}_{1}=\frac{1}{{\alpha }_{1}^{\left(C\right)}}\frac{\pi }{6}\left(\frac{h}{l}\right)$$
(41)

This is plotted in Fig. 8 for \(2\times {10}^{-3}\le {\alpha }_{1}^{\left(C\right)}\le 5\times {10}^{-3}\) within \(0\le h/l\le 0.01\).

Fig. 8
figure 8

Plots of required moisture absorbed into, or dissipated from, material 1 made from polymers while material 2 is of same material with waterproof coating \((d{C}_{2}=0)\) in order for both metamaterials Type A and Type B to attain the 8-pointed star array

For the case of thermal expansion, we consider the brass–titanium (B–T), copper–steel (C–S) and tungsten–silicon–carbide (T–SC) bimaterial pairs. The motivation for pairing of these materials can be seen from their almost equal Young’s modulus \({E}_{1}\approx {E}_{2}\) but with sufficient contrast of their individual CTEs so that, instead of using Eq. (8), one is justified to use the first of Eq. (13), which is the simplified form. Their thermomechanical properties are listed in Table 2 [55, 56] and, using these properties, the required temperature change in order for both metamaterials Type A and Type B to attain the 8-pointed star array by using pairs of tungsten–silicon carbide, copper–steel and brass–titanium bimaterial strips are plotted in Fig. 9 using Eq. (36).

Table 2 Material properties for the brass–titanium (B–T), copper–steel (C–S) and tungsten–silicon–carbide (T–SC) bimaterial pairs
Fig. 9
figure 9

Plots of required temperature change in order for both metamaterials Type A and Type B to attain the 8-pointed star array by using pairs of tungsten—silicon carbide, copper—steel and brass—titanium bimaterial strips

For the case of compressibility, we consider the magnesium–silicon (M–S), zinc–niobium (Z–N) and manganese–nickel (M–N) bimaterial pairs. The motivation for selecting these pairs of materials can be seen from their almost equal Young’s moduli \({E}_{1}\approx {E}_{2}\) but with ample disparity of their individual compressibilities so that, instead of employing Eq. (11), one is justified to adopt the reduced form given in the second of Eq. (13). Due to the lack of CPE data, these were converted from their bulk modulus data [57] as follows. From the definition of bulk modulus,

$$K=-V\frac{dP}{dV}$$
(42)

which is a reciprocal of Eq. (3) whereby \(V={L}^{3}\) and \(dV=3{L}^{2}dL\), substituting \(dV/V=3dL/L=3{\varepsilon }_{P}\) into Eq. (42) gives

$$K=\frac{-dP}{3{\varepsilon }_{P}}$$
(43)

which, upon comparison with Eq. (4), gives

$${\alpha }^{(P)}=\frac{1}{3K}$$
(44)

Their properties are listed in Table 3. The required pressure change in order for both metamaterials Type A and Type B to attain the 8-pointed star array by using pairs of magnesium–silicon, zinc–niobium and manganese–nickel strips are plotted in Fig. 10 using Eq. (36).

Table 3 Material properties for the magnesium–silicon (M–S), zinc–niobium (Z–N) and manganese–nickel (M–N) bimaterial pairs
Fig. 10
figure 10

Plots of required pressure change in order for both metamaterials Type A and Type B to attain the 8-pointed star array by using pairs of magnesium–silicon, zinc–niobium and manganese–nickel bimaterial strips

An explanation on Figs. 9 and 10 can now be made in the light of metamaterials concept. As metamaterials are known to demonstrate properties from their artificially designed microarchitecture, the choice of bimaterial strip arrangements shown in Fig. 3 (top) and Fig. 4 (top) not only permits bending of the straight strips into curves that approximate the Islamic design, but the exact 8-pointed star arrays–displayed Figs.1 and 6–are attained when the base properties of the bimaterial strips, environmental changes and bimaterial aspect ratio \(h/l\) fulfil the condition set out in Eq. (36). To get the 2D array of 8-pointed stars featured in Fig. 6 in response to temperature change, one will need to refer to a relevant plot in Fig. 9 pertaining to one of the bimaterial pairs, for example. If the root mean square of the environment’s temperature fluctuation is known, then the required bimaterial aspect ratio \(h/l\) can be read from the horizontal axis of Fig. 9. Likewise, to obtain the 8-pointed star arrays of Fig. 6 due to pressure variation, one can peruse to a related plot in Fig. 10 corresponding to one of the bimaterial pairs, for instance. Suppose the root mean square of the environment’s pressure undulation is known, then the \(h/l\) ratio of the bimaterial strip can be taken from the abscissa of Fig. 10. In other words, for a given environmental variation and bimaterial pairs with known properties, the discussed Islamic motif can be achieved by choosing the slenderness of the bimaterial strip. This geometrical control of the microstructures is associated with metamaterials design concept.

Finally, a summary can be made on the responses of both the Type A and Type B units for each variable, and these are categorized into 3 groups:

  1. (a)

    The geometrical parameters, such as the Type A and Type B arrangements, the bimaterial thickness \(h\) and a segment of its length \(l\), and in the case of Type A the geometrical parameters of the connecting parts \(f\) and \(R\);

  2. (b)

    The material parameters, such as the linear coefficients of moisture expansion \({\alpha }_{1}^{(C)}\) and \({\alpha }_{2}^{(C)}\), linear coefficients of thermal expansion \({\alpha }_{1}^{(T)}\) and \({\alpha }_{2}^{(T)}\), and linear compressibilities \({\alpha }_{1}^{(P)}\) and \({\alpha }_{2}^{(P)}\) of the bimaterial phases 1 and 2; and

  3. (c)

    The environmental parameters, such as the changes of moisture concentration \(d{C}_{1}\) and \(d{C}_{2}\), temperature \(dT\), and pressure \(dP\) on bimaterial phases 1 and 2.

The radius of curvature \(r\) formed is not included as it is a function of the parameters listed in (a) to (c).

With reference to Fig. 11 for the morphing of the Type A and Type B cell shapes in response to the parameters, the extent of deformation is facilitated by the following groups of parameters:

  1. (i)

    Increase in the bimaterial aspect ratio for each segment \(l/h\) (purely geometrical parameters);

  2. (ii)

    Increase in the differences between expansion coefficients \(\left|{\alpha }_{1}^{(T)}-{\alpha }_{2}^{(T)}\right|\) and \(\left|{\alpha }_{1}^{(P)}-{\alpha }_{2}^{(P)}\right|\) (purely material parameters);

  3. (iii)

    Increase the environmental variations \(\left|dT\right|\) and \(\left|dP\right|\) (purely environmental parameters); and

  4. (iv)

    Increase in the moisture strains difference between the bimaterial phases \(\left|{\alpha }_{1}^{(C)}d{C}_{1}-{\alpha }_{2}^{(C)}d{C}_{2}\right|\) (combined material and environmental parameters).

Fig. 11
figure 11

Responses of Type A and Type B units with variation of geometrical, material and environmental parameters

The parameters are described in their magnitudes in order to include negative values. With reference to the diagonal array of 8-pointed stars with alternating cross-shaped cells–such as those shown in Fig. 2 (bottom), Fig. 3 (bottom) or Fig. 4 (bottom)—it is the adjacent neighbors that form the 8-pointed stars when the signs are negative. Effects from the geometrical parameters of the connecting parts \(f\) and \(R\) are negligible for the practical range of \(h/l\) with \(l\gg h\sim f\sim R\), and as a consequence the effects of selecting either Type A or Type B is also insignificant.

4 Conclusions

Neither positive nor negative expansion coefficients are fully advantageous across a wide range of structural applications that are exposed to environmental fluctuations. In some cases, it is advantageous for materials to possess duality in material properties so as to take advantage of negative behavior under a change in environmental condition as well as conventional behavior when the condition reverses. Unlike recent works on sign switching materials properties, which are only interesting from technological viewpoint, the current 2D metamaterial is additionally aesthetic. Originally in the form of square grids, both types considered herein deform into arrays of 8-pointed stars, which are known to be prevalent in Islamic art and architecture. These have been made achievable by the use of bimaterial strips that are arranged in a certain manner. The metamaterials concept is adopted by the arrangements of the bimaterial strips in a certain manner within each repeating units, and by controlling the bimaterial thickness-to-length \(h/l\) ratio.