Introduction

The shape memory effect (SME) of wood, also referred to as hygrolock-springback1,2 or set-recovery3, is one of the most intriguing mechanical effects. Wood, after deformation in the wet state and being dried under maintained deformation, retains the deformed shape even after the removal of the mechanical loading, denoted as fixation. Wood recovers the original shape upon subsequent wetting, denoted as recovery. Wood fixation is frequently sought, for example, to obtain shape stability of bentwood in curved furniture. In contrast, the recovery tendency may pose difficulties, for example, in the case of densified wood, which may recover a certain volume upon water adsorption and experience weakening4. A better understanding of the mechanisms of the SME can be helpful in inspiring the design and fabrication of nature-inspired smart materials, e.g., cell-bundle torsional actuators with memory5, and improvement of the stability of deformed wood4.

This study focuses on the moisture-induced SME at the wood cell wall level. The reasoning is described as follows: the SME can be observed at different scales under varying conditions. At the timber level, the SME has been attributed to the multiscale hierarchical structure of wood tissue6. However, increasing evidence suggests that it is highly possible that the SME of wood originates from the cell wall material. For example, Plaza et al. 5 observed a memory effect in nanoindentation, where an indented dry middle lamella fully recovered upon wetting with a drop of water. In another example, Derome et al. 7 observed half-cell moisture-induced shape recovery after a cell was mechanically deformed. To date, the microscopic mechanism of wood cell wall-level SMEs has rarely been mentioned in previous studies. The SME can be triggered by various stimuli, such as temperature6, moisture6, and temperature–moisture combined8,9. It is noted that a high temperature may induce a series of chemical reactions, e.g., pyrolysis, which is beyond the scope of this study. Instead, this study focuses on the moisture-induced SME.

It is imperative to differentiate the SME from the shape change effect (SCE). The SCE is a common phenomenon of almost all materials. Materials deform in response to environmental stimuli, such as heat, mechanical loading, magnetic field, light, and moisture, and materials revert to their original shape after loading removal. A typical example of the SCE is the hygroscopic swelling of wood, where wood expands due to the adsorption of water and shrinks with desorption. This reversible swelling and shrinking feature of plant cell walls is the source of several natural actuation mechanisms that facilitate processes in plant life cycles, such as the release of seeds from pine cones upon humidity changes10 or the self-planting mechanism of wheat seeds11. In contrast to the SCE, the SME indicates that the deformation of materials is maintained even after the removal of environmental stimuli and that the original shape is recovered only when certain conditions are satisfied. The SME is similar to the SCE in the sense that the affected materials finally recover their original shapes, whereas deformation maintenance in an intermediate state is the main characteristic of the SME.

Although the SME of wood has been described in numerous reports, the microscopic mechanisms remain unexplained. The vast majority of available literature has covered either practical solutions to reduce springback of densified wood or phenomenological descriptions of the macroscopic behavior of wood, leaving the microscopic mechanism of the moisture-induced SME of wood cell walls barely elucidated. In one of the few examples, Colmars developed a one-dimensional discrete formulation of a hygrolock model describing the mechanical behavior with humidity cycles12 and found that extra high creep occurs in dry wood, which could be attributed to the presence of high internal stresses.

The mechanism of the polymer SME seems well established. Two submechanisms are essential13,14: 1. potential energy or topological information is stored via chemical or physical crosslinking bonds; 2. a molecular switch kinetically controls two states via glass transition, (re)crystallization, etc. Although wood cell walls are in principle polymer composites, to date, only speculations or hypotheses regarding the question of which wood microstructures are responsible for these submechanisms have been reported. As the SME likely originates from molecular interactions at the nanometer scale, a major difficulty lies in the experimental challenges faced when gathering high-resolution information on these sophisticated hydrated biopolymer composite structures. Atomistic numerical studies are thus warranted as a complement to experimental investigations to consider which nanoscale wood features could be involved in the SME.

The shape memory behavior of wood involves multiple mechanical and sorption loading/unloading steps. Thus, the origin of the SME behavior of this complex material can involve multiple sources. We considered several possibilities. In the first hypothesis, swelling-induced deformation and alteration of the hydrogen-bonded state are suspected to be at the origin. When dried in the deformed state, reformation of hydrogen bonds results in material stiffening and deformation maintenance. When wetted again, the structure swells, possibly driving shape recovery. One critical missing point is the agent of memory. While the shape changes in response to wetting, how is the structure recovery direction determined? Information on the initial shape is somehow stored which is yet to be explained9. In the second hypothesis, glass transition is suspected to play a role in structure switching between rigid and flexible states, but a possible explanation of how information on the initial shape is stored is not provided. Third, the mechanosorptive effect, i.e., the coupling between deformation and sorption, was considered. This has been an active research area recently15. Mechanosorptive creep could explain the retention of the deformed shape but does not explain the subsequent recovery. These considerations lead to the conclusion that the matrix alone cannot fully explain the SME. Cellulose fibers should thus be considered. Recent observations of the plant cell wall suggest that the mainly crystalline cellulose (CC) fibers come into contact at certain positions, referred to as hotspots, thus forming possible connected fiber meshes16,17,18,19. These fiber contacts can be considered a type of interface formed between the fibers, while the fiber–matrix interface prevails in the cell wall material. The co-occurrence of two different interfaces has been largely overlooked and might play a role in the SME. In this study, we analyze whether the occurrence and configuration of interfaces between fiber–matrix and between fiber–fiber, and their dependence on moisture comprise a system functioning as the necessary molecular switch between fixation and recovery.

In this study, finite-element (FE) models of prototype wood cell wall layers are built. The hygromechanical properties of the interfaces are obtained via atomistic simulations, mainly molecular dynamics (MD) simulations, while the other mechanical parameters needed for FE model construction are retrieved from atomistic works in the literature. A loading protocol, applied to evaluate the moisture-induced SME, questions two main aspects: whether deformation imposed under wet conditions can be sustained under dry conditions and whether the original shape can be recovered when wetted again.

Materials and methods

Three systems, representing possible configurations of the S2 cell wall, are simulated with continuum mechanics. The computational domains, material properties, boundary conditions, and loading protocol are presented.

Geometry of the model

The wood cell wall S2 layer features a complex hierarchical ultrastructure for which a definitive understanding of its material arrangement has not yet been attained20. The S2 layer, the thickest layer of the cell wall, is commonly treated as a unidirectional fiber-reinforced composite with CC fibers aligned at an angle, referred to as the microfibril angle (MFA), to the axial direction of the cell, as illustrated in Fig. 1a. Studies have assumed that hemicellulose chains connect cellulose fibers, forming the so-called tethered network21,22. Recent observations of the plant cell wall suggest that the abovementioned fibers are not perfectly parallel. In contrast, they may come into contact either directly or mediated by a monolayer of hemicellulose16,17,18,19. The contacts between fibers, in addition to the resultant connected network structure, have been referred to as mechanical hotspots, structures that remain to be investigated.

Fig. 1: Schematic material arrangements in wood cell wall.
figure 1

a secondary cell wall layers with b close-up of S2.

It should be noted that the S2 material is different between the three directions, i.e., radial (R), tangential (Ta), and longitudinal (L). The currently widely accepted model is the so-called concentric lamella model, suggesting that S2 comprises concentric rings, layer upon layer, as shown in Fig. 1a. The building elements of these concentric lamella are cellulose aggregates, with a thickness of ~25 nm, formed by microfibrils ~3–4 nm in diameter23,24,25. In the radial direction, the connection between lamellae is weak. It can be assumed that mechanical hotspots may only be present in the tangential plane, while in the radial plane, cellulose fibers mainly remain parallel, as shown in Fig. 1b. Considering these assumptions, three two-dimensional subunits are considered basic building elements of the S2 layer, as shown in the dashed square, triangular, and circular regions in Fig. 1b, covering all possible scenarios. The subunit marked with a square includes cellulose fibers surrounded by the matrix. The subunit marked with a triangle indicates two fibers in direct contact surrounded by the matrix. The subunit marked with a circle is similar to the triangular subunit, except that the fibers are not in perfect contact and are only in contact over a finite length. These subunits are applied as representative two-dimensional geometries, namely, Models 1–3, respectively, as shown in Fig. 1c. For simplicity, only 2D models are considered assuming plane stress conditions. The interfaces and materials are represented with lines and bulk colors, respectively. Models 1 and 2 are parallel combinations, but in Model 3, the fibers form an undulating pattern, where the axial direction remains parallel to the domain edges. In the following, the longitudinal (L) and transverse (R/Ta) directions are referred to as the x and y directions, respectively. In terms of polymers, the fibers comprise CC. For the sake of simplicity, the matrix is assumed to consist only of hemicellulose galactoglucomannan (GGM), as experimental results have suggested that GGM is the matrix material most adjacent to CC fibers in wood26.

In terms of the full geometry, Models 1–3, as shown in Fig. 1c, are replicated three times along both the x and y directions to reduce edge effects. The resulting geometries are shown in Fig. 1d. The total length and height are l = 72 nm and h = 36 nm, respectively. The length is chosen to closely reflect the experimentally reported cellulose nanocrystal length of ~100 nm27. The height in principle can be any arbitrary value, but here, the height is chosen to include three repetitions along the y direction. As is shown below, the resulting specimen size is sufficiently large to simulate the SME effect but is sufficiently small from a computational cost point of view.

To facilitate comparison, the models are constructed as similar as possible. The mass ratio of fibers to the matrix is 1:1, in line with experimental reports28. The three models are of the same length and height. The cellulose fibers are 3 nm in width28. The CC–CC contact length in Model 3 is assumed to be 6 nm29. Details on the meshing of Model 1 are included in Supporting Information Fig. S1 as an example. In general, the meshes are refined at the interfaces or boundaries and coarser in the bulk region, and a mesh sensitivity analysis is carried out.

These models represent three basic probable configurations of the above assumed representative volume element of the wood cell wall layer. Much care is taken toward appropriate implementation of the swelling behavior of the matrix and moisture weakening phenomenon of the matrix and interfaces, as described in the following section.

Constitutive laws of the components and interfaces

Modeling wood cell wall material can be overwhelmingly complicated because of the multiple components and hierarchical structure, in addition to the rate-dependent response of mechanical loading and coupled deformation-sorption behavior. For the sake of feasibility, this study is limited to the hygroelastic response involving stick–slip behavior at the interfaces. Moisture-related mechanical features of the components and interfaces are obtained based on MD. Comprehensive validations are performed to ensure the validity of the molecular models against experimental data, such as density, modulus, and swelling coefficient, the details of which can be found in our previous reports30,31,32,33,34,35,36.

As presented above, the FE models contain two materials, namely, CC and GGM, and two interfaces, namely, CC–GGM and CC–CC. These two materials are modeled with a linear-elastic material model and hygroscopic swelling, as described in the following equation:

$$\varepsilon = \varepsilon _{{{{\mathrm{elastic}}}}} + \varepsilon _{{{{\mathrm{hygroscopic}}}}\,{{{\mathrm{swelling}}}}} = {{{C}}}\sigma + \beta {{{m}}}$$
(1)

where ε, C, σ, β and m are the strain, compliance, stress, hygroscopic swelling coefficient and moisture content, respectively. The mechanical properties of CC are independent of moisture, as suggested in many experimental and simulation studies37,38, and the hygroscopic swelling coefficient is set to 0. The stiffness of CC along the R and Ta directions varies considerably (at 11.3 and 72.6 GPa, respectively39). Since this study is 2D research, CC is assumed to be a transversely isotropic material, and the average stiffness along the R and Ta directions is adopted as the stiffness along the transverse direction (T). The elastic behavior of transversely isotropic fibers is described by five mechanical properties, as retrieved from the literature39,40,41,42 and listed in Table 1. GGM is an isotropic material that interacts with moisture and, therefore, can be represented by Young’s and shear moduli and swelling coefficient based on MD measurements in previous work of our research group36, as summarized in Table 1.

Table 1 Elastic properties of CC and GGM36,39,40,41,42.

Based on the elastic properties in Table 1, the other elastic properties of isotropic materials can be calculated with the following equations according to continuum mechanics:

$$K = \frac{{EG}}{{3(3G - E)}}\,{{{\mathrm{and}}}}\,\nu = \frac{E}{{2G}} - 1$$
(2)

In regard to a transversely isotropic material, the following equations apply:

$$\frac{{\nu _{{{{\mathrm{LT}}}}}}}{{E_{{{\mathrm{L}}}}}} = \frac{{\nu _{{{{\mathrm{TL}}}}}}}{{E_{{{\mathrm{T}}}}}}\,{{{\mathrm{and}}}}\,G_{{{{\mathrm{TL}}}}} = G_{{{{\mathrm{LT}}}}}$$
(3)

There are two types of interfaces between the materials, namely, the CC–CC and CC–GGM interfaces. The moisture-dependent interface properties and shear strength as a function of the moisture content, as summarized in Table 2, are extracted from the results of pulling tests carried out via atomistic modeling, as described in refs. 30,43. The shear strength is found to linearly correlate with the interfacial hydrogen bond density. At the atomistic scale, hydrogen bonds are formed between hydrogen donors and acceptors, and both are negatively charged oxygen atoms. Hydrogen bonding is stronger than other nonbonded interactions and plays a pivotal role in the mechanics of biomolecules such as proteins, DNA, and cellulose fiber. Hydrogen bonds constitute a microscopic feature present in large quantities, and these bonds strongly influence the macroscopic mechanical behavior of wood cell wall components. When moisture is adsorbed at the interface, the hydrogen bond network is partly broken, resulting in interface weakening and shear strength reduction. The interface subjected to shear undergoes a typical stick–slip behavior with a sawtooth profile in stress-displacement curves. This study assumes a simplified interface model where the interface sticks when the shear stress is below the friction threshold equal to the maximum shear stress. Sliding occurs when the shear stress at the interface equals the maximum shear stress. With increasing sliding, the shear stress remains constant and equal to the maximum shear stress. The maximum shear stress depends on the moisture level. Friction is assumed to be independent of the normal pressure15. Sliding along the direction parallel to the interface is permitted, but separation along the direction perpendicular to the interface is not allowed.

Table 2 Interface laws30,43.

These interface laws are implemented using contact elements in the FE modeling. The adopted FE software is Ansys Mechanical APDL 16.2. The bulk material is modeled with the PLANE182 element. The contact elements are TARGE169 and CONTA171.

Boundary conditions and loading protocol

The three models bear the same boundary conditions and loading protocol. In wood steam bending in practice, a form is employed. Inspired by this practice, the bending model used is shown in Fig. 2a, where the specimen is mounted atop a cylindrical support and a displacement or load is applied on the ends6. There exists a symmetry plane, and therefore, only half of the beam model is considered as the computational domain to reduce the computational cost. This setup is modeled with the FEM, and it is found that the results of this setup correspond to the results of the FE model under the given boundary conditions, as shown in Fig. 2b. A roller constraint is applied on the left edge, allowing only transverse displacement. The left bottom node is fixed, which is also adopted as the origin of the coordinate system. It is noted that cylinder support is also tested, and the results are identical to the point support results. A vertical point load is applied by imposing a displacement d along the y-axis on the free right top node. Moisture affects the system via the constitutive equations of the materials and interfaces, causing swelling and weakening of GGM and weakening of the interfaces.

Fig. 2: Boundary conditions and loading protocols.
figure 2

a Schematic of loading condition. b Boundary conditions applied in finite element modeling. The loading protocol to test shape memory effect with co-occurring: c displacement loading and d moisture loading. The seven steps are: 1. null loading (N); 2. wet (W); 3. mechanical loaded under wet condition (WS); 4. maintaining the displacement under dry condition (S); 5. remove displacement (N'); 6. wet again (W'); 7. dry again (N").

Based on experimental studies demonstrating the recovery of half-cell walls from the deformed state7 and the macroscopic timber SME6, a loading protocol is proposed. The mechanical and moisture loading protocol can be summarized as a 7-step procedure: initial state with null moisture and mechanical loading (N), uniform wet state (W), mechanical loading under wet conditions imposing displacement (WS), dry state while maintaining displacement (S), displacement removal (N′), wet state again (W′) and dry state again (N″). The 7 steps are illustrated in Fig. 2c, d. In the wet states, i.e., W, WS and W′, the moisture content in the system is assumed to be uniform and equal to m = 0.3. In the mechanically loaded states, i.e., WS and S, the vertical displacement applied is d = −7.2 nm, corresponding to a deflection ratio of γ = d/l = 0.1. The deflection ratio in experimental shape memory studies is usually high, e.g., close to 16. However, here, a lower ratio value is applied to improve convergence and maintain material deformation within the elastic range. The N, N′, and N″ states correspond to the initial, deformed, and final states, respectively. The S state is the state with the largest deformation.

Results

SME with the three models

The three models, representing possible wood cell wall material arrangements, are subjected to the 7-step loading protocol. Qualitatively similar behaviors are observed in all the systems. Since Model 3 reveals the most evident shape memory, i.e., fixation and recovery, it is discussed first.

Snapshots of Model 3 are shown in Fig. 3. The color denotes the normal stress σx (Fig. 3a) and shear stress τxy (Fig. 3b). The displacement is magnified by a factor of 2 for the sake of clarity. The dashed line indicates the y = 0 plane. A magnified view of the center region is shown in Fig. S2.

Fig. 3: Distribution of normal stress σx.
figure 3

(a), shear stress Txy (b) and deformation (ab) of the seven states for model 3. The color denotes the normal and shear stress levels in unit of GPa.

The models are subjected to the proposed 7-step loading protocol, comprising states N, W, WS, S, N′, W′, and N″, as described in the “Materials and methods” section. In state W, the matrix swells due to moisture sorption, while the CC phase does not. Swelling generates internal stresses, i.e., tensile stress in the CC phase and compressive stress in the GGM matrix, with shear stresses in the material and at the interfaces. In the WS state, the normal tensile stresses increase in the top region, while compressive normal stresses arise at the bottom due to bending. The shear stresses also increase at the CC–GGM and CC–CC interfaces, reaching maximal shear stress values at certain locations where sliding occurs. CC–GGM is a weaker interface than is CC–CC, therefore sliding commences at the CC–GGM interface, followed by sliding at select CC–CC hotspots. Upon drying to reach the S state, the matrix shrinks, and the shear stresses decrease due to a reduction in differential deformation between the matrix and CC phase. Upon unloading to attain state N′, residual shear stresses and deformation remain in the specimen, indicating that the specimen partially maintains its deformed state, referred to as fixation. When the specimen is wetted thereafter (W′), the matrix swells again, and differential stresses between CC and the matrix again occur, but it is observed that the vertical deformation decreases since slip behavior may occur at the interfaces. The decrease in deformation after wetting is referred to as recovery. Finally, when the specimen is dried again (N″), residual stresses and permanent deformation may remain in the specimen.

Snapshots of Models 1 and 2 are shown in Figs. 4 and 5, respectively. Recall that Model 1 comprises several alternating layers of CC and GGM with CC–GGM interfaces. Model 2 also consists of layers of CC and GGM, with both CC–CC and CC–GGM interfaces. Models 1 and 2 achieve similar behavior to that of Model 3 across the seven states. However, the above laminated structures are much softer than is Model 3 with an undulating fiber mesh. As a result, the point loads in Models 1 and 2 are lower than those in Model 3 for the same deflection. Consequently, the normal and shear stresses in Models 1 and 2 are much lower than those in Model 3. Due to the lower shear stresses at the interfaces, less sliding occurs in Models 1 and 2. This indicates that Model 3 with a stiff undulating fiber mesh containing CC hotspots promotes interface sliding and, as is shown below, leads to the most notable SME, while the SME is not as evident in Models 1 and 2. The gray areas in Figs. 4 and 5 denote high-stress zones.

Fig. 4: Distribution of the normal stress σx.
figure 4

(a), shear stress Txy (b) and deformation (ab) of the 7 states for model1. The color denotes the normal and shear stress level in unit of GPa.

Fig. 5: Distribution of the normal stress σx.
figure 5

(a), shear stress Txy (b) and deformation (ab) of the seven states for model 2. The color denotes the normal and shear stress levels in unit of GPa.

Deformation is quantified by the deflection ratio γ defined as the ratio of y-direction displacement uy to length l:

$$\gamma = \frac{{u_y}}{l}$$
(4)

It is noted that y-direction displacement uy is the difference in y-direction displacement between x = 0 nm and x = 72 nm. The deflection ratio is averaged along the right outer edge at x = 72 nm. As uy attains a negative value, the absolute values of γ are considered below for the sake of convenience.

The shape fixation behavior can be identified by comparing the deformation levels between states S and N′. Upon deformation under mechanical loading in the wet state, the specimen is dried, reaching state S characterized by \(\left| {\gamma _{{{\mathrm{S}}}}} \right|\). After removal of the mechanical load, state N′ is reached, as characterized by \(|\gamma _{{{{\mathrm{N}^{\prime}}}} }|\). In state N′, three possible scenarios apply: \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right| = \left| {\gamma _{{{\mathrm{S}}}}} \right|\), \(|\gamma _{{{\mathrm{S}}}}| > |\gamma _{{{{\mathrm{N}^{\prime}}}} }| > 0\) and \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right| = 0\). For \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right| = \left| {\gamma _{{{\mathrm{S}}}}} \right|\), the material maintains the applied deformation, referred to as perfect fixation. For \(|\gamma _{{{\mathrm{S}}}}| > |\gamma _{{{{\mathrm{N}^{\prime}}}} }| \, > \, 0\), the material reveals permanent intermediary deformation, referred to as partial fixation. However, in the case of \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right| = 0\), the material returns to the initial state, indicating no fixation nor shape memory. The deflection ratio \(\gamma\) of the three models over the specimen length in the S, N′ and N″ states is shown in Fig. 6. The three models all demonstrate partial fixation, i.e., \(\left| {\gamma _{{{\mathrm{S}}}}} \right| > |\gamma _{{{{\mathrm{N}^{\prime}}}} }| > 0\). This suggests that the deformed shape in the S state is partially maintained, which is in accordance with previous experimental observations6. The difference between \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right|\) and \(\left| {\gamma _{{{\mathrm{S}}}}} \right|\) is attributed to the decrease in elastic deformation after specimen drying and mechanical loading removal.

Fig. 6
figure 6

Deflection ratio of the models 1, 2 and 3 over the length of the specimen at states S, N' and N".

The shape recovery behavior can be identified by comparing the deformation levels between states N′ and N″. Starting from the N′ state, the system is again wetted and dried, reaching the final state N″. The deflection ratio \(\left| {\gamma _{{{{\mathrm{N}^{\prime\prime}}}} }} \right|\) varies between 0 and \(\left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right|\). For \(\left| {\gamma _{{{{\mathrm{N}^{\prime\prime}}}} }} \right| = \left| {\gamma _{{{{\mathrm{N}^{\prime}}}} }} \right|\), the material retains its deformation associated with the N′ state, indicating that no recovery occurs. The other extreme, i.e., \(| {\gamma _{\mathrm{N}^{\prime\prime}}}| = 0,\) indicates full recovery to the initial state, also referred to as total shape recovery. All three systems reveal recovery behavior, although the recovery of Models 1 and 2 is negligible, as shown in the insets of Fig. 6.

The fixation behavior can be quantified by the fixation ratio Rf, defined as44

$$R_{{{\mathrm{f}}}} = \frac{{\gamma _{{{{\mathrm{N}}}}^{\prime }} - \gamma _{{{\mathrm{N}}}}}}{{\gamma _{{{\mathrm{S}}}} - \gamma _{{{\mathrm{N}}}}}}$$
(5)

In effect, this quantity represents the deformation amount maintained in intermediate state N′ over deformed state S. It should be noted that, in our study, the initial state \(\gamma _{{{\mathrm{N}}}} = 0\). The recovery ratio is similarly defined, representing the deformation amount maintained in the final N″ state over the deformed S state:

$$R_{{{\mathrm{r}}}} = \frac{{\gamma _{{{{\mathrm{N}}}}^{\prime\prime }} - \gamma _{{{\mathrm{N}}}}}}{{\gamma _{{{\mathrm{S}}}} - \gamma _{{{\mathrm{N}}}}}}$$
(6)

A fixation ratio of 1 suggests full fixation, and a recovery ratio of 0 suggests full recovery. Conversely, a fixation ratio of 0 indicates no fixation, and a recovery ratio of 1 indicates no recovery. When the fixation and recovery ratios are nonzero and equal values, there is no recovery and almost no SME is observed.

The deflection, fixation and recovery ratios of the three models, considered at the right edge, x = 72 nm, are listed in Table 3. Model 3 attains the highest fixation and recovery ratios, and Model 2 attains the lowest fixation and recovery ratios. It should be noted that the fixation and recovery ratios are almost equal between Models 1 and 2.

Table 3 Summary of the models: deflection, fixation and recovery ratios.

It is necessary to understand why Model 3 yields a more evident SME. The deflection ratio at the right edge x = 72 nm in the S, N′, and N″ states is shown in Fig. 7. This figure exhibits a semilog scale. The magnitude of the deformation in state S (red color) is similar across all models. The fixation in state N′ (brown color) is the highest for Model 3, while for Model 2, it is the smallest. For Model 3, the fibers undulate and form connected networks with CC–CC hotspots, leading to a much stiffer structure than that of Models 1 and 2. Consequently, the mechanical load and shear stresses in Model 3 are higher, leading to much greater sliding at the CC–GGM interfaces. Then, the CC–CC contacts act as zones constraining system deformation, and this behavior prevents springback and contributes to locking of the deformed shape.

Fig. 7
figure 7

Deflection ratio at the right edge for models 1, 2 and 3 in states S, N' and N".

Origin of the SME: interface-controlled fixation and recovery mechanisms

Moisture induces three changes in the system, namely, swelling of the matrix, weakening of the matrix and weakening of the interfaces. To study the effect of these three moisture influences on the SME, we activated and deactivated these moisture dependencies by modifying the constitutive relationship. To omit matrix swelling, the swelling coefficient of the matrix can be set to 0. To omit weakening of the matrix and interfaces, the parameter m in the corresponding controlling functions can be set to 0. In total, 23 = 8 different cases can be generated based on these three effects. The conclusion is that fixation and recovery are only possible when introducing moisture-dependent interface mechanics, while moisture-induced swelling and weakening of the matrix are not sufficient to generate the SME.

Here, we include one of the 8 systems, referred to as Model 4, built by deactivating the moisture dependency of the interfaces in Model 3. The fixation ratio of Model 4 is zero, indicating that after the removal of external displacement, the system fully regains its original shape. There is no fixation, leading to the absence of SME. This indicates that interface weakening and strengthening, the so-called molecular switch, is the source of the moisture-induced SME. The molecular-level mechanism of interface switching between hydrogen-bonded and nonhydrogen-bonded states controls the fixation and recovery phenomena of the system.

The size of the moisture-induced molecular switch can be assessed by determining the sliding distance. Among the four models, the average sliding distance dslid. of the two interfaces of CC–GGM and CC–CC (except Model 1) are shown in Fig. 8a. Model 3 achieves much larger sliding distances than do the other models. Model 1 attains small sliding distances at the CC–GGM interfaces, while Model 2 indicates that sliding mainly occurs at the CC–CC interfaces. All models exhibit permanent sliding in the final N″ state, suggesting that there is no full backslip and thus no full recovery.

Fig. 8: Sliding distance of the CC-GGM and CC-CC interfaces in.
figure 8

a model 1, b model 2, c model 3 and d model 4.

In state N′, the interface occurs in the strong dry state and is prevented from slipping back at the interfaces, which further prevents the springback phenomenon of the specimen and explains the resulting fixation. During specimen wetting (the N′-W′-N″ steps), the interface is weakened by moisture and can slide back, releasing a portion of the deformation until the point where the shear stress attains equilibrium with friction, as provided by the wet weak interface. The elastic energy stored in the material is the driving force of the recovery process.

Following the discussion above, the moisture-induced SME mechanism can be summarized as follows and is shown in Fig. 9, capturing the evolution of the deflection ratio γ versus the moisture content:

  1. 1.

    N, which is the initial state without deformation and stress. The interfaces are strong, achieved by abundant hydrogen bonding. The molecular switch is not active, and no sliding is allowed.

  2. 2.

    W, the material is wetted and swells. Hydrogen bonds are broken, thereby weakening the interfaces. The molecular switch is active, i.e., deformation is likely to occur.

  3. 3.

    WS, a vertical mechanical load is applied to the wet material. In addition to mainly elastic deformation, components slide against each other at the interfaces, thereby forming a new material configuration.

  4. 4.

    S, moisture is removed with the applied mechanical loading maintained. Upon water removal, hydrogen bonds are reformed across the interfaces, thus strengthening these interfaces. The molecular switch is not active, hence locking the material configuration.

  5. 5.

    N′, the external loading is removed. Most of the deformation is maintained by the locking effect of the interfaces, referred to as fixation. A portion of the deformation is lost due to the release of elastic energy. The shear stress at the interface occurs in equilibrium with the strength of the dry interface.

  6. 6.

    W′, the material is wetted again. The interface is weakened. Thus, the material loses its ability to maintain the deformed shape, and recovery occurs. The deformation retained in state N′ decreases, as the non-negligible friction provided by the weak interface prevents full recovery. The shear stress at the interface is reduced to match the strength level of the wet interface.

  7. 7.

    N″, the material is dried again. Compared to the initial state N, residual deformation is observed.

Fig. 9
figure 9

Schematic of the moisture-induced shape memory effect.

Discussion

As shown above, interface mechanics are at the core of the SME. Elaborating on the interpretation, a more abstract and conceptual representation of the SME can be elucidated in terms of an energy landscape, as shown in Fig. S3. The potential energy of the system is denoted as \(\Gamma\), which is a function of the location of the system in the phase space denoted by a variable q(γ, dslid.), which combines the influence of γ, the deflection ratio, and dslid., the sliding distance. Therefore, the state of the specimen is characterized by its loading state q and energy state \(\Gamma\). The system starts in the initial N state located at the minimum of the dry potential surface. When wetting occurs to reach state W, the molecular switch is active, and the system moves from the dry potential surface to the minimum of the wet potential surface. When mechanically loaded, the system moves away from the minimum of the wet potential energy surface to state WS. Upon drying to attain state S, the system moves from the wet potential surface to the dry potential energy surface, remaining at a high energy level since the applied mechanical loading is maintained. When mechanically unloaded to reach state N′, the system follows the dry potential energy surface to its minimum, remaining at a certain potential energy level due to fixation, i.e., with the molecular switch inactive. Upon wetting, i.e., as the molecular switch is activated, to reach state W′, the system again moves to the wet potential energy surface, but energy is lost and the system moves down along the wet energy surface. It should be noted that state W′ is located at higher q and \(\Gamma\) levels above state N, indicating that some deformation and energy remain stored in the system. Finally, the system is dried to reach state N″. In summary, these two energy minima correspond to the fixed and recovered states, while moisture acts as the activator. Through the wet potential energy surface, the system can migrate from a surface with a high potential energy to a low-energy surface.

For any material exhibiting an SME, there should be at least two local energy minima/metastable states. Under activation by external stimuli, e.g., moisture in this case, the energy barrier between these two states is lowered, kinetically locked potential energy is released, and the system reaches a more thermodynamically stable state.

The SME of wood entails a complex phenomenon involving multiple scales and a wide range of physical and mechanical sub-mechanisms. This study presents a possible mechanism of the moisture-induced SME intrinsic to wood cell wall composite materials. In contrast to most existing studies, where the SME is attributed to bulk properties, such as crystallization, glass transition, and chemical bonding, this study aims to demonstrate that interface mechanics play an important role, a largely overlooked factor. It is demonstrated that with moisture-dependent interface mechanics, the material can exhibit the SME, including fixation and recovery, and removal of the interface moisture dependency eliminates SME occurrence. It should be noted that moisture-induced interface weakening does not encompass a glass transition-like process, a phenomenon normally defined as the process whereby a supercooled melt yields, upon cooling, a glassy structure45.

Notably, this study is focused on a possible mechanism of the SME of wood cell wall material. To date, the finest-scale experiment involved a half-cell study7, where both the cell wall material and cellular structure exhibited shape memory. Since wood mostly comprises cell walls, it is highly likely that the macroscopic wood behavior also originates at the cell wall material level. As verified in the half-cell study, the recovery process of the macroscopic cellulose structure shape can be regarded as a result of the deformed cell wall regaining its initial shape. To further demonstrate this finding, it is feasible that, in a future study, a macroscopic wood cellular structure can be modeled with shape memory behavior embedded in the constitutive cell wall material laws.

Although the composite material in this study can capture the major moisture-related behavior aspects of cell wall composite materials, it differs from realistic cell wall materials in several aspects: 1. the considered materials include CC and GGM, whereas the other hemicelluloses and lignins are not included. 2. The materials are assumed to act elastically, which might be valid under small deformation at short timescales. Based on these considerations, future studies can be expected to include the following features: 1. more components of the cell wall should be introduced into the FE model; 2. nonlinear material laws should be considered, such as mechanosorptive effects described by poromechanics15,46, and time-dependent viscoelastic effects and moisture transport through diffusion should be accounted for. 3. Three-dimensional models that may bestow a more obvious SME should be developed.

In conclusion, this study probes one of the possible mechanisms of the SME of wood cell wall composite materials, i.e., a moisture-controlled molecular switch based on interface mechanics. The shape memory of wood may have multiscale origins, but few studies have been conducted at the cell wall level. Prototypical cell wall systems propose a mechanism of the SME that is dominated by the stick–slip behavior of interfaces: first, breakage and reformation of hydrogen bonds at the fiber–matrix interface serve as a moisture-induced molecular switch responsible for shape fixation and recovery. Second, the elastic energy stored in the fibril functions as the driving force of shape recovery. To achieve these findings, this study considers the co-occurrence of two different interfaces under specific configurations.

Atomistic insights into interface mechanics obtained via MD modeling are employed as constitutive laws for both the materials and interfaces, as implemented in FE modeling. Three representative models are established covering the various possible material arrangements in wood cell walls. Under a 7-step loading protocol, all the models exhibit fixation, but only some models reveal a notable shape memory, where mechanical hotspots strengthen both fixation and recovery. SME elimination via removal of the moisture dependency of the interface clearly indicates the deterministic role of interface mechanics in the moisture-induced shape memory process. The shape memory steps are further explained from an energetics point of view. For any material exhibiting the SME phenomenon, there should be at least two substable states, corresponding to different moisture conditions in this study.