Main

The mechanical properties of glassy polymers are important for many consumer products1,7. Owing to the strong interactions between polymer chains, glassy polymers are stiff (around 1 GPa modulus) and strong (10–100 MPa fracture strength)1. Solvating a glassy polymer renders it a gel. For example, contact lenses are polymeric gels swollen with water. The solvent in a gel decreases polymer–polymer interactions and softens the polymer network, thereby diminishing the mechanical properties8,9. Gels typically have a modulus of 0.0001 GPa and fracture strength <1 MPa 2,3. Yet, the high loading of solvent and, thus, increased free volume (that is, volume not occupied by polymer) found in gels can provide benefits: increasing the stretchability of polymer networks by one to two orders of magnitude relative to glassy polymers while providing additional functionality, such as serving as an electrolyte4,10. Thus, glassy polymers and gels have distinct trade-offs: glassy systems are dry, stiff and strong, whereas gels are solvated, soft and weak. Furthermore, glassy polymers typically undergo brittle failure or plastic deformation at low strains, whereas gels can extend elastically, often to high strains.

Strategies to toughen gels generally focus on promoting or mediating polymer–polymer interactions, including (1) secondary bonds between polymer chains to dissipate energy during deformation2,6,11; and (2) polymer entanglements or fillers to help distribute stress in a gel network12,13,14. Despite occupying a large portion (>50 wt%) of gels, solvents are effectively ignored or even regarded as detrimental to stiffening or toughening because they lessen polymer–polymer interactions. In principle, if a solvent could interact strongly between polymer chains, it could have the benefits of a solvent (for example, extensibility), but without compromising stiffness or strength.

Here we report homogeneous glassy gels toughened and vitrified by solvents. The solvent—ionic liquid—imparts gel-like extensibility to the polymer similar to a conventional solvent. Yet, at optimized ionic liquid concentrations, the ionic liquid forms abundant and strong non-covalent interactions with the polymer chains (that is, ‘solvent crosslinking’) to impart glassy properties (Fig. 1a). As a result, these glassy gels possess modulus and strength similar to glassy polymers yet maintain gel-like elongation and recovery (Extended Data Fig. 1). Combined, these properties result in substantial toughness, similar to that of common thermoplastics such as polyethylene (PE). Herein, we use the term ‘toughness’ to refer to the area under a stress–strain curve, although it could also be called fracture energy. Tough ionogels have been prepared previously using phase separation to promote polymer–polymer interactions in a heterogeneous network6. By contrast, glassy gels—which are an order of magnitude stiffer and tougher—achieve toughness by solvent crosslinking the polymer in a homogeneous network. The solvent crosslinks are useful for self-healing and shape memory, whereas the use of ionic liquid gives the glassy gel notable thermal stability and remarkable adhesive properties.

Fig. 1: Mechanical properties of glassy gels.
figure 1

a, The glassy polymer (here, poly(acrylic acid), PAA) is solvent-free, stiff and strong, but brittle. The glassy gel (that is, PAA solvated by ionic liquid, PP) is physically crosslinked by the ionic liquid solvent and becomes stiff, strong and extensible, whereas the gel (that is, PAA solvated by water) lacks solvent crosslinking and becomes soft and weak, but extensible. As a result, the glassy polymer and glassy gel can hold 4,000 g, whereas the gel can only hold up to 20 g despite being about seven times wider. The scale bar is 10 mm. b, Tensile stress–strain behaviour is highly composition dependent (inset, the magnification of b). c, Summary of Young’s modulus and yield strength of gels with different concentrations of AA monomer, Cm. d,e, Comparison of this work and various gels, glassy and plasticized polymers, biological tissues such as skin, cartilage, tendon collagen and spider dragline silk in terms of Young’s modulus and liquid content (d) and fracture strength and toughness (e). B-DN, block double-network. Error bars on the data show standard deviation from three independent samples.

Source Data

Notably, the glassy gels form in a single step by photopolymerization at room temperature. Yet, many polymers with similar mechanical properties, such as PE, are not readily compatible with photopolymerization and thus require two separate steps: synthesis in a chemical plant using catalysts followed by melt processing at highly elevated temperatures and/or pressures, such as injection moulding. Moreover, glassy gels can be formed using a variety of ionic liquids and monomers. Thus, these findings provide a simple and versatile route to make polymeric parts or coatings on demand with attractive properties of gels (high solvation and large elongation), glasses (stiffness and strength), thermoplastics (toughness), crosslinked networks (strain recovery) and ionic liquids (nonvolatility and conductivity).

Synthesis and properties of glassy gels

The glassy gel forms by one-step photopolymerization of a solution containing monomer (acrylic acid, AA), crosslinker (N,N′-methylenebis(acrylamide), MBAA), photoinitiator (Irgacure 2959, I2959) and ionic liquid (tributyl(methyl)phosphonium dimethyl phosphate, PP) (Extended Data Fig. 2a, Supplementary Fig. 1 and Supplementary Video 1). We fabricated a series of gels with the nomenclature PM-S-Cm, where M, S and Cm are the monomer, solvent and molar concentration of monomer, respectively. P stands for ‘poly’ as in polymer. For example, PAA-PP-4.0 M gel is prepared by polymerizing 4.0 M AA in PP solvent. The polymerization proceeded to high apparent conversion (>94%; Supplementary Fig. 2a). The resulting gels have a high liquid content (>54 wt%) and are highly transparent, similar to PAA-H2O, a common conventional hydrogel (Extended Data Fig. 2b and Supplementary Fig. 2b). Yet, compared with PAA-H2O, the resulting glassy gels exhibit stable weight and mechanical properties because of the low volatility of PP relative to H2O (Extended Data Fig. 2c and Supplementary Fig. 2c–f).

The tensile properties of PAA-PP gels are remarkable considering they are highly solvated (Fig. 1b). Depending on the concentration of AA, the gels can vary from being either stiff and brittle, stiff and tough, or soft and stretchable (Supplementary Fig. 3). For example, when Cm is 4.0 M, the PAA-PP gel is stretchable and soft, as expected for a highly solvated gel (Supplementary Fig. 3d,e). However, as Cm increases, the Young’s modulus and yield strength increase by nearly three orders of magnitude, reaching a maximum modulus of about 1 GPa, yield strength of 73 MPa, and toughness of 110 MJ m−3 depending on the composition (Fig. 1c and Supplementary Table 1). The glassy gels can support at least 2.6 × 104 times their own weight (Supplementary Video 2). By contrast, PAA-H2O hydrogels are weak and their Young’s modulus (0.07–0.18 MPa) changes negligibly over the same Cm (Fig. 1c and Supplementary Fig. 4).

Figure 1d,e and Supplementary Table 2 show that the Young’s modulus, fracture strength and toughness of PAA-PP gels far exceed those of skin, cartilage and most synthetic gels3,15,16,17,18,19,20,21,22,23,24,25,26,27. Although most of the gel is liquid (>54 wt%), the mechanical properties of PAA-PP glassy gels are still comparable to or better than those of glassy polymers (for example, polymethylmethacrylate (PMMA) and polystyrene), plasticized polyvinyl chloride (PVC, <30 wt% plasticizer), and spider dragline silk (an ultra-tough natural fibre containing around 20 wt% liquid)28,29,30,31,32,33,34. Furthermore, the stress–strain behaviour of PAA-PP glassy gels is similar to that of many thermoplastics such as PE that cannot be photopolymerized35. Notably, glassy polymers (and, more broadly, thermoplastics) undergo brittle failure or permanent plastic deformation in response to strain, whereas PAA-PP glassy gels can recover fully and rapidly (<1 min at 80 °C; Supplementary Fig. 5 and Supplementary Video 3).

Characterization and toughening mechanism

The distinct difference in mechanical behaviours of PAA-PP and PAA-H2O gels suggests that the solvent plays an important part in toughening. For example, PAA-H2O-6.0 M has a Young’s modulus approximately 10,000 times smaller than the PAA-PP-6.0 M gel (Supplementary Fig. 4). The differences cannot be attributed to toughening via phase separation6, because the PAA-PP gels show a homogeneous morphology under scanning electron microscopy while having a single glass transition temperature (Tg; Fig. 2a and Supplementary Fig. 6a).

Fig. 2: Characterization of PAA-PP gels.
figure 2

a, Temperature dependence of the loss tangent (tan δ). Inset, the Tg (measured from the peak of tan δ) of different gels. b, Tensile stress–strain curves of glassy gels with and without MBAA, the covalent crosslinker. c, FTIR of various materials. d, Magnification of c (800–1,600 cm−1). The transmittance in c and d is normalized. e, 13C NMR spectra of PP solvent, AA monomer and their mixture (Cm = 6.0 M). The magnified 13C NMR spectra of carbon in the carboxyl group of AA is shown at the top. Taken in sum, these results show strong solvent (PP) and monomer (AA) interactions.

Source Data

The tensile properties of the glassy gels are nearly identical at 0 mol% and 0.1 mol% MBAA crosslinker, which indicates that covalent crosslinking is not responsible for the enormous stiffness in the glassy gels (Fig. 2b). To avoid decreasing extensibility (Supplementary Fig. 6b–i), the MBAA concentration is fixed at 0.1 mol% in which its only notable role is to enable full strain recovery.

Strong solvent–polymer interactions can be inferred from the exothermic mixing (Supplementary Fig. 7a,b and Supplementary Video 4) and by the presence of a Tg above room temperature at Cm > 4.0 M despite the free volume provided by the ionic liquid (Fig. 2a, inset). Fourier transform infrared (FTIR) spectroscopy helps identify the nature of these interactions (Fig. 2c,d). Using Cm = 5.5 M as an example, the in-plane bending vibration of OH in the carboxyl group (COOH) of AA at 1,435 cm−1 red shifts to 1,417 cm−1 and 1,411 cm−1 in the precursor solution and glassy gel, respectively36,37 (Fig. 2d). This shift is consistent with COOH dissociating to form COO and H+ in PP. Moreover, a peak at 2,412 cm−1 occurs in the spectra of both the precursor solution and the glassy gel that is absent in the spectra of both pure PP and pure AA (Fig. 2c). This peak is assigned to POH, which suggests an interaction between the ionic liquid anion (PO) and the H+ cation dissociated from AA38. Notably, the peak at 944 cm−1 in the PP spectrum corresponds to the POP vibration of the PO anion and P+ cation shifted to 937 cm−1 in the precursor solution and 939 cm−1 in the glassy gel39. This may be ascribed to the altered cation–anion interactions in PP arising from the new interactions between PP and AA on mixing. The interaction between PP and AA is also evidenced by the 13C NMR spectra (Fig. 2e). A large chemical shift of carbon in the carboxyl group is observed because of the electrostatic interactions between COO and P+. Collectively, these results indicate that the ionic liquid anion (PO) interacts with the dissociated H+ and the ionic liquid cation (P+) interacts with COO of the polymer (Supplementary Fig. 7c). Apart from electrostatic interactions, hydrogen bonds may also form between the anion of ionic liquid and non-dissociated PAA to promote their compatibility40. As further evidence of strong binding facilitated by the solvent, PAA-PP-6.0 M barely swells when submerged in ionic liquid for 7 days, whereas PAA-H2O-6.0 M gel swells markedly in water (Supplementary Fig. 8). These results are consistent with the presence of strong non-covalent crosslinking of the glassy gel, which seems to originate from the interaction of ions in the ionic liquid (that is, P+ cation and PO anion) and the interaction of ionic liquid and polymer (for example, P+ cation and COO) discussed above.

In sum, the results indicate a solvent toughening mechanism for the glassy gel (Fig. 3). The ions in the solvent act as crosslinkers that bridge the polymer chains by strong electrostatic interactions. The molar ratio of monomer (AA) to solvent (PP), nAA/nPP, controls the mechanical behaviour of the gels from soft and stretchable, stiff and tough, to stiff and brittle (Fig. 3a, Supplementary Fig. 3 and Supplementary Table 1). At a low molar ratio (nAA/nPP < 2.25, that is, Cm < 4.5 M), the number of polymer chains per volume is low. Thus, there are few electrostatic crosslinks between chains, resulting in a gel that is soft and highly extensible with a low Tg (for example, 14.6 °C for 4.0 M, Fig. 3b). When the molar ratio increases (2.25 ≤ nAA/nPP < 4.06, that is, 4.5 M ≤ Cm < 6.5 M), the number of polymer chains per volume increases, whereas the distance between the chains decreases. This enables more direct electrostatic interactions to physically crosslink the chains, forming a glassy gel that enables gel-like stretchability and thermoplastic-like stiffness (Fig. 3b). The cation diameter of PP is about three times the length of a polymerized AA repeat unit, which may explain the magnitude of these ratios. Increasing nAA/nPP ≥ 4.06 (Cm ≥ 6.5 M) further shortens the interchain distance allowing solvent-mediated crosslinks, yet insufficient solvent to provide extensibility, resulting in a glass-like network with high yield and fracture strength, but brittle failure (Fig. 3b).

Fig. 3: Toughening mechanism of PAA-PP gels.
figure 3

a, Normalized Young’s modulus, fracture strain and toughness of glassy gels as a function of the molar ratio of monomer (AA) to ionic liquid solvent (PP), nAA/nPP. As the molar ratio changes, the mechanical behaviour of the gels varies from soft and stretchable (gel-like), stiff and tough (glassy gel), to stiff and brittle (glass-like). b, When nAA/nPP is low, the chains are separated by excess solvent, resulting in a soft gel. As the molar ratio increases, more solvent crosslinks form between the chains, resulting in a glassy gel. Further increasing nAA/nPP results in sufficient crosslinks to form a stiff network, but insufficient solvent to give extensibility; thus, a brittle glass. c, The tensile stress–strain curve of a glassy gel, PAA-PP-6.0 M, is divided into four regimes (i–iv). d, The deformation mechanism of the glassy gel during elongation. Error bars on the data show standard deviation from three independent samples.

Source Data

Figure 3c,d shows the mechanical behaviours of the glassy gels during elongation. Taking PAA-PP-6.0 M gel as an example, the stress–strain curve is divided into four regimes (Fig. 3c,d). At low strain (regime i), the network is elastic with a huge Young’s modulus (that is, slope) because of the strong non-covalent interactions. In regime ii, the network of non-covalent interactions yields, the chains start to elongate and the stress drops. In regime iii, the samples form a stable neck and undergo a cold-drawing process to their tensile limit. As a result, the stress almost plateaus (about 26 MPa), whereas the strain increases markedly from 50% to 350%. In regime iv, covalent bonds in the polymer network break and the glassy gel fails.

Generalized strategy for synthesizing glassy gels

Solvent crosslinking occurs with other polymers and ionic liquids. We synthesized PAA gels with three different ionic liquids: tributyl(methyl)phosphonium methyl sulfate (PS), 1-ethyl-3-methylimidazolium dimethyl phosphate (NP), and 1-ethyl-3-methylimidazolium ethyl sulfate (NS) (Supplementary Fig. 1). These ionic liquids were chosen based on the rationale that PS has the same cation as PP, NP has the same anion as PP and NS has nearly the same cation or anion as NP or PS (but is distinct from PP). All three ionic liquids formed homogeneous PAA glassy gels with a single Tg and a 13C NMR chemical shift of carbon in the carboxyl group, similar to PAA-PP gels (Supplementary Fig. 9). Moreover, these PAA glassy gels showed thermoplastic-like modulus (about 1 GPa), yield strength (>35 MPa) and a gel-like elongation (>300% strain) (Fig. 4a). Similar to PAA-PP, the networks formed using PS, NP and NS had mechanical properties dependent on molar ratio (Fig. 4b, Supplementary Fig. 10–12 and Supplementary Tables 3–5). The mechanical properties of the glassy gels can also be greatly tuned by mixing different ionic liquids to control their interactions with the polymer chains and thus the solvent crosslinking (Supplementary Fig. 13).

Fig. 4: Generalized strategy for glassy gels.
figure 4

a, Tensile stress–strain curves of PAA gels with different ionic liquids are all tough and glassy. b, Normalized Young’s modulus, toughness and fracture strain of PAA-NS gels as a function of the molar ratio of AA to NS (nAA/nNS). c, Tensile stress–strain curves of PHEA-PP-6.0 M and PHEMA-PP-5.5 M gels. Inset, magnification of the tensile curve of PHEA-PP-6.0 M gel. d, Normalized toughness of PHEA-PP and PHEMA-PP gels as a function of the molar ratio of monomer to PP (nmonomer/nPP). High polarity and low polarity refer to the polarity of PHEMA and PHEA polymers in the gels, respectively. To make a clear comparison, both PHEA-PP and PHEMA-PP gels are normalized based on the maximum toughness of PHEMA-PP gels. In b and d, the mechanical behaviour of all the materials except PHEA-PP vary from soft and stretchable (gel-like), stiff and tough (glassy gel), to stiff and brittle (glass-like) as the molar ratio changes. Error bars on the data show standard deviation from three independent samples.

Source Data

The solvent crosslinking strategy in Figs. 13 is achieved through ion–ion interactions by dissociated AA monomer. Yet, ion–dipole interactions can also be applied to toughen polymers that cannot dissociate. Two monomers, 2-hydroxyethyl acrylate (HEA) and 2-hydroxyethyl methacrylate (HEMA), which do not dissociate as readily as AA, were studied (Supplementary Fig. 1). Both produce homogeneous gels with a single phase (Supplementary Fig. 14). Yet, the Young’s modulus (560 MPa) and fracture strength (21 MPa) of PHEMA-PP-5.5 M far exceed those of PHEA-PP-6.0 M (Young’s modulus of 0.25 MPa, fracture strength of 0.4 MPa), with a similar molar ratio of monomer to ionic liquid (Fig. 4c). Note that the PHEA-PP networks remain soft at all concentrations studied, whereas the PHEMA-PP networks are markedly toughened and show glassy behaviours at molar ratios above 2.67 (Fig. 4d, Supplementary Fig. 15 and Supplementary Tables 6 and 7). The distinct mechanical properties of PHEA-PP and PHEMA-PP likely originate from the polarity difference, which has been further verified by studying other monomers (Supplementary Figs. 16 and 17 and Supplementary Note 1).

In sum, the formation of glassy gel requires (1) solvent interacting strongly with polymer chains to form physical crosslinking, in which the interaction strength can be tuned by modifying the polarity of the monomers and varying the ions in the ionic liquid solvent; (2) an appropriate molar ratio of monomer to ionic liquid (that is, nmonomer/nionic liquid) to optimize the density of solvent crosslinks without compromising extensibility. At lower ratios of monomer to ionic liquid (that is, higher solvent content), the ionic liquids plasticize the polymer to form a gel by moving the polymer chains further apart, whereas too little solvent does not give the polymer extensibility (that is, brittle glass). In the materials studied here, the optimal molar ratio is about 3–5. The exact value should depend on the molecular sizes and interaction strength between the monomer and the ions.

Functionality and application

Apart from the outstanding mechanical properties, solvent crosslinking also endows the glassy gel with several functions, including exceptional adhesive properties, shape memory and self-healing (Extended Data Fig. 3, Supplementary Fig. 18 and Supplementary Videos 5–7), which have been discussed in Supplementary Note 2. The remarkable thermal stability of ionic liquid enables the glassy gel to be used as Joule heat-driven grippers (Supplementary Fig. 19, Supplementary Video 8 and Supplementary Note 3), whereas the modest conductivity of ionic liquid differentiates these materials from most glassy polymers (Supplementary Fig. 20). Thus, these materials could find applications in electronics, batteries and sensors.

Summary

We report a glassy gel with high solvent loading using a facile one-step process, during which the gel is toughened in situ by solvent. The solvent forms abundant, strong, yet non-covalent crosslinks with polymer chains. Generally, highly solvated polymers form gels that are soft, weak and extensible. By contrast, the homogeneous glassy gels reported here have a modulus and strength similar to those of thermoplastics, yet retain the ability to reach large strains and full strain recovery similar to a highly solvated gel. These remarkable mechanical properties arise from abundant electrostatic interactions (for example, ion–ion or ion–dipole interactions) between the ionic liquid solvent and polymer chains, which place the network in a glassy state at room temperature, enable extensibility and dissipate the energy during deformation. Therefore, despite being highly solvated, the glassy gels have a Tg above room temperature, enabling shape memory and self-healing. Although the glassy gels are glassy and stiff, the solvent gives them remarkable adhesive properties because of the ability to form strong interactions with interfaces. The glassy gels can become more glass-like or gel-like depending on the ratio and selection of monomer and solvent, as well as temperature. Glassy gels form simply by photopolymerization, yet have mechanical properties similar to common plastics such as those of PE that require laborious synthesis and melt processing. These findings provide a simple route to create a new class of materials featuring attractive properties of glassy polymers, thermoplastics and gels formed with the ease of photopolymerization.

Methods

Materials

Monomers of AA, HEA, HEMA, acrylamide (AAm) and N,N-dimethylacrylamide (DMAAm); butyl acrylate (BA); the covalent crosslinker of MBAA; the ionic liquids of PP, PS, NP and NS; and the photoinitiator of I2959 were purchased from Sigma and used as received without further purification.

Synthesis of various gels

The glassy gels were fabricated by a one-step polymerization. In a typical procedure, a specified concentration of AA (for example, Cm = 6.0 M), covalent crosslinker of MBAA (0.1 mol%, in a concentration relative to Cm) and photoinitiator of I2959 (0.05 mol%, in a concentration relative to Cm) were dissolved in PP to form a uniform solution. The solution was then poured into a mould sandwiched between two pieces of glass separated by a spacer and then cured under ultraviolet light (Intelliray 400, 60 mW cm−2) for 5 min to obtain the glassy gels. The other ionogels and hydrogels were fabricated in the same process by replacing the solvents (that is, ionic liquids or water) or monomers. Note that the glassy PAA polymer was synthesized by curing AA monomer in water without MBAA, followed by drying at 100 °C until its weight was constant. We also noticed that the fracture strain of the PAA polymer was larger than that in the literature, whereas the Young’s modulus was smaller and the fracture strength was almost the same33. This may be because of a bit of residual monomer or water in the PAA polymer, which would make it softer and more extensible, but the strength is because of the polymer backbone. In Fig. 1a, the length, width and height are 15.0 mm, 1.5 mm and 10.0 mm, respectively, for the glassy polymer and glassy gel, and they are 15 mm, 10 mm and 10 mm, respectively, for the gel. The monomer concentration is 6.0 M for the glassy gel and gel, whereas the liquid content of the glassy polymer, glassy gel and gel are 0 wt%, 58 wt%, and 56 wt%, respectively.

Transmittance test

Rectangle samples (width = 20 mm, length = 50 mm and thickness = 2 mm) were used to measure the transmittance of various gels using a UV–Vis–NIR spectrometer (PE Lambda 950, Perkin Elmer) with a wavelength range of 400–800 nm.

Stability test

Disc-shaped gel samples (thickness = 2 mm and diameter = 12 mm) were prepared, and their weight changes over time at room temperature were recorded. To achieve adequate precision, three samples were measured.

Mechanical measurements

Tensile properties were measured using a tensile-compressive tester (Instron 5943) at a deformation rate of 100 mm min−1. For recovery testing, the sample was first loaded to a certain strain and then unloaded to zero force at a constant velocity of 100 mm min−1. The sample was then stored at 80 °C for 1 min to recover. After cooling the sample to room temperature, its tensile stress–strain curve was recorded. The mechanical stability was measured by storing the samples under vacuum at 80 °C, and the tensile stress–strain curves (deformation rate = 100 mm min−1) at room temperature were recorded for different durations. Dog-bone-shaped samples with a length of 35 mm, width of 2 mm and gauge length of 12 mm were used in the tensile, recovery and mechanical stability tests. The fracture strength and fracture strain were obtained from the failure point of the tensile stress–strain curve. For gels with a yield point, their modulus was determined by the slope of the linear elastic region (generally ≤5% strain). For gels without a yield point, their modulus was determined from the slope of the first 10% strain of the stress–strain curve.

NMR test

13C NMR spectra of various monomers, ionic liquids and their mixtures in CDCl3 were recorded using Bruker Avance III 700 MHz NMR.

Adhesion test

The 90° peeling test was used to evaluate the adhesive properties of the PAA-PP glassy gels. The peeling rate is 50 mm min−1. The peeling test samples were prepared with 60 mm length, 19 mm width and 1 mm thickness. The adhesion strength was calculated as the peeling force per width of the gel sheet.

Conductivity test

The resistance of the glassy gel was measured by the four-point method. The conductivity was calculated as σ = l/Rs, where l, s and R are the length, cross-sectional area and resistance of the glassy gel, respectively.

Monomer conversion measurement

To measure the conversion, we extracted the unreacted monomer. Specifically, PAA-PP gels were swollen in a large amount of deionized water for 3 days (requiring a water change every 8 h) to extract unreacted monomers and ionic liquids. Then, the swollen gels were vacuum-dried at 80 °C for 48 h. Therefore, the monomer conversion (r) of AA monomer is approximated according to the equation: r = mPAA/mAA, where mPAA and mAA are the mass of PAA and the mass of AA in the gels, respectively. It should be noted that the PAA-PP-4.0 M gel swelled too much to change the water, so the unreacted monomer was measured instead. Specifically, the PAA-PP-4.0 M gels were soaked in a large amount of deionized water and fully swollen and then vacuum-dried at 80 °C for 48 h. The unreacted AA monomer evaporates during drying, leaving the PAA polymer and ionic liquid. The monomer conversion of the PAA-PP-4.0 M gel is calculated as r = (mAA − munreacted AA)/mAA, where mAA and munreacted AA are the mass of AA and mass of unreacted AA in the gels, respectively.

SEM imaging

The gel morphologies were characterized by scanning electron microscopy (SEM) (FEI Verios 460 L) at an operating voltage of 2 kV. To observe the morphology, the gels were measured in situ, that is, the ionic liquid solvent in the polymer network was not removed. The gel samples were frozen in liquid nitrogen and then broken by hand to observe their cross-section. A 10-nm layer of gold was coated onto all samples before the SEM analysis.

Dynamic mechanical analysis

The temperature dependence of the loss tangent (tan δ) of various gels was measured using a dynamic mechanical analyser (DMA 850, TA Instruments). All the temperature scans were run at 1 Hz frequency at an oscillating strain of 0.1%. The temperature range was −100 °C to 150 °C. A temperature ramp of 3 °C min−1 was used, and the peak in the tan δ curve was used to define the glass transition temperature (Tg).

FTIR test

The chemical structures of various materials were analysed using FTIR spectroscopy (Spectrum Two FT-IR Spectrometer, Perkin Elmer). All spectra were measured in transmission mode, with data recorded in the range of 4,000–800 cm−1 over 16 scans.

Swelling measurements

The swelling performance of various gels were studied by recording the swelling ratios, that is, Qv and Qw. Qv was defined as the ratio of the sample volume at a specific duration, V, to that of the solution state, V0, Qv = V/V0. Similarly, Qw was defined as the ratio of the sample weight at a specific duration, W, to that of the solution state, W0, Qw = W/W0. To achieve adequate precision, three samples were measured.

Joule heating test

Joule heating was demonstrated by a sample consisting of liquid metals sandwiched by two pieces of gels. A current of 3 A was applied to the sample through a DC power supply (SPS3010, Nice-Power), and the sample temperature was recorded in real time using an infrared camera (FLIR SC300-series).