Introduction

Interfacial solar water evaporation (ISE) offers a promising pathway to address water scarcity by utilizing solar energy for decentralized water purification1,2,3,4,5. This renewable and sustainable technology achieves evaporation at the air–water interface, minimizing thermal losses to the bulk liquid and supporting diverse applications such as desalination and wastewater treatment6,7,8,9,10. Among the various designs of ISE systems, membrane-based evaporators have garnered significant attention due to their unique capabilities in enhancing evaporation efficiency. Membrane evaporators distinguish themselves by their inherently short water transport distance, which facilitates rapid replenishment of water to the evaporation interface. Additionally, membranes exhibit scalability and adaptability, making them attractive for large-scale water purification applications11,12,13,14. However, despite these advantages, the performance of membrane evaporators is often constrained by a critical trade-off: balancing efficient water transport with effective heat localization. Generally, achieving high water flux requires a highly porous and hydrophilic structure, yet such designs can lead to increased heat dissipation, undermining the thermal efficiency essential for interfacial evaporation15,16. This trade-off becomes particularly pronounced when comparing membrane evaporators with alternative designs. Conventional monolayered membranes typically feature dense nanopores across both surfaces, which significantly limit water permeability and hinder efficient transport (Fig. 1a)17,18. In contrast, through-hole monolayered membranes, such as ordered porous and textile membranes, improve water uptake by enabling more direct transport pathways. However, this enhancement comes at the cost of reduced surface area for light absorption and heat localization, which are critical for maximizing evaporation efficiency (Fig. 1b)19,20,21.

Fig. 1: Concept of FDMs.
figure 1

a Common membrane. b Through-hole membrane, and (c) gradient-pore membrane in this study. d MD simulation of water molecules transport in homogeneous pores, gradient pores and reverse gradient pores. e The number of water molecules traversing the pore channels over simulation time. f Potential energy distribution of gradient pores and homogeneous pores. g Schematic illustration of the diode-like effect of the gradient pore membrane. Source data are provided as a Source Data file.

To address this challenge, we propose a gradient pore membrane design that leverages spatial variations in pore size and wettability to optimize water transport and heat management (Fig. 1c). By integrating a hierarchical structure, the gradient pore membrane directs water efficiently to the evaporation interface while maintaining localized heat confinement, overcoming the limitations of uniform pore structures. This design concept is elaborated by simple models referring to gradient pores and homogeneous pores that are built through molecular dynamics (MD) simulations (Fig. 1d, Supplementary Movie S1 and Method S1). The results indicate that the water molecules can spontaneously traverse the gradient pore channels from the larger pore to the smaller pore within 20 ns (Fig. 1e). Yet, this process is difficult to realize in both homogenous pore channels and reverse gradient pores. It is ascribed to the ratchet effect of molecular transport in confined channels22,23. In this scenario, the entropic barrier, an essential component of the ratchet effect, can stem from asymmetric potential induced by gradient pores from large size to small size. The large negative pressure in the gradient pore rather than the homogenous pore enables the absorption of water molecules (Fig. 1f). Thus, the asymmetrical gradient pore structure is promising for inducing the water directional transport and establishes a Janus structure in the monolayered membranes with a diode-like effect for boosting ISE (Fig. 1g).

Herein, a phase-separation combined with template assembly (PCTA) strategy is developed to fabricate superstructured monolayered fluidic diode membranes (FDMs). These FDMs feature regularly arrayed macropores on one side, dense nanopores on the other, and gradient pores across their thickness. This pronounced structural asymmetry effectively balances the trade-off between water supply and heat localization in conventional membranes. Consequently, key properties, including directional water transport, solar evaporation performance, and salt resistance, are significantly enhanced. For example, under 1 sun illumination, the FDMs-based evaporator operating along the macroporous-to-nanoporous direction achieves at least 40% enhancement of evaporation rate compared to conventional membrane cases, as well as outperforms many state-of-the-art designs. Besides, a high evaporation rate of a maximum 3.82 kg m−2 h−1 can be achieved under a three-dimensional (3D) configuration. Furthermore, the revealed structure-function relationship also improves hydrovoltaic electricity generation, expanding its potential for power output. This work provides a versatile design framework for monolayered membrane structures, advancing solar desalination and hydrovoltaic applications.

Results

Fabrication and characterization of FDMs

The fabrication of the FDMs was enabled by a scalable PCTA strategy (Fig. 2a). Briefly, the polymer solution was spread on a silicon wafer with an array of cylindrical micropatterns (Supplementary Fig. S1), followed by spin-coating to ensure uniform distribution. Afterwards, the coated template was immersed in a coagulation bath to induce the phase separation of the polymer matrix. Finally, the freestanding FDMs were formed after peeling from the template. Noticeably, the thickness and morphology can be well-tuned by the coating speed, time, and viscosity (Supplementary Fig. S2 and Table S1). The PCTA strategy can produce large-scale FDMs by increasing the template size (Supplementary Fig. S3). In this work, by modulating the precursors, we achieved two types of FDMs, both featuring regularly arrayed macropores and dense nanopores on their surfaces, but with distinct internal pore structures: FDM-1 exhibited finger-like gradient pores, while FDM-2 presented sponge-like gradient pores. For comparison, common monolayered membranes (CMMs) without superstructures were also prepared by ordinary phase separation, named as CMM-1 and CMM-2 accordingly. More details of morphology were shown in scanning electron microscope (SEM) images (Fig. 2b, c and Supplementary Figs. S4 and S5). On the array-pore side (A), the array macropores with a diameter of 20 μm were orderly arranged. Magnification of a single array macropore revealed abundant secondary pores (~1–2 μm), forming hierarchically porous structures. Noticeably, compared with FDM-1, such secondary pores were also distributed on the A side of FDM-2, indicating a higher porosity due to a slower phase-separation process24,25. Furthermore, the cross-sections of the FDMs revealed gradient pores ranging from macroporous to nanoporous features from top to bottom within an integrated membrane. Therefore, the FDM-1 reflected the finger-like pores with a transition from large cavities to narrow apertures, whereas the FDM-2 presented sponge-like pores with gradually changing pore size, hence interpreting a more continuous architecture. On the dense side (D), both the FDMs showed dense and compact surfaces with nanopores (Supplementary Fig. S6), similar to the CMMs (Supplementary Figs. S7 and S8). The depth of the array-pores in FDMs was further measured through an optical 3D surface profiler (Fig. 2d). The macropores were regular and uniform with a pore diameter of 20 μm and depth of 15 μm, which greatly increased the surface roughness on A. We also investigated the optimal topology by preparing a series of FDMs with different array-pore sizes. When fabricating the FDM with a smaller 10 μm array-pore (Supplementary Fig. S9), the macropores were fragile and easily dislocated by the slim template pillars during peeling, leaving the pore shapes irregular. In contrast, the FDMs with 50 μm and 100 μm array-pore tended to present variable and uneven secondary pores or holes inside the array-pore (Supplementary Figs. S10 and S11), owing to heterogeneous phase separation between template-patterned and interstitial regions. The 20 μm design achieved an optimal balance: it maintained structural uniformity and hierarchical porosity gradients while avoiding these fabrication-induced defects, ensuring high reproducibility across multiple fabrication batches. Compared to conventional phase separation or electrospinning methods that typically yielded homogeneous porosity or multilayered structures, the PCTA strategy enabled direct formation of monolithic membranes with through-thickness pore gradients as well as diverse wettability domains. This structural programmability hence circumvented the trade-off between hydraulic permeability and thermal confinement in conventional evaporators.

Fig. 2: Fabrication and characterizations of FDMs.
figure 2

a Schematic illustration of the FDMs fabrication by PCTA. SEM images of (b) FDM-1 and (c) FDM-2 with both sides and cross-sections. d 3D surface micromorphology and depth profile of the FDM. e In-plane scanning images of FDMs from micro CT. f Local porosity and (g) Pore size distribution of different layers in FDM-1. h SEM image and photograph of the FDM, showing the flexibility. i Tensile stress-strain curves of different membranes. j Water fluxes (1 bar at room temperature) and (k) breakthrough pressures of different membranes. Data are shown as mean ± SD (n = 3 independent experiments). Source data is provided as a Source Data file.

Diode-like water transport behavior of FDMs

To further specify the hierarchical pore phases throughout the membrane, we adopted micro-computed tomography (micro-CT) to enable the in-plane layer scanning (Fig. 2E). Taking FDM-1 as an example, we selected five layers from D side to A side (D → A). The outcomes showed a trend of decreased porosity and average pore size along this direction. (Fig. 2f, g), which embodied the pore gradients and structural heterogeneity. Despite such a superstructure, FDMs maintained good flexibility (Fig. 2h) and mechanical properties (Fig. 2i) as CMMs. We also tested the ultrafiltration performance of the membranes. Compared with CMMs, the water fluxes of the FDMs were generally increased (Fig. 2j), with little bovine serum albumin retention ratio loss (Supplementary Fig. S12). Interestingly, for the asymmetric FDMs, when feeding water from A side to D side (marked as FDM-AD, AD was the water transport direction: A→D), the water fluxes were approximately twice as high as those from the opposite direction (marked as FDM-DA). It therefore implied a diode-like effect of water permeability in FDMs. We further measured the breakthrough pressures through a dead-end filtration cell. As shown in Fig. 2k, when water permeated along D → A, the breakthrough pressures of the FDMs-DA were as high as ~20 kPa, close to those of the CMMs (~24 kPa). Conversely, they dropped dramatically below 10 kPa along A → D for the FDMs-AD, which accounted for the diode-like effect of asymmetric water permeation.

To enable the photothermal property, we coated polypyrrole (Ppy) throughout the membranes via vapor-phase polymerization (Supplementary Fig. S13). The successful polymerization was confirmed by Fourier transform infrared spectra (FT-IR), X-ray photoelectron spectroscopy (XPS) and energy dispersive spectroscopy mapping (Supplementary Fig. S14S16). Additionally, the as-obtained black membranes (FDMs-P) were stable, without damage under ultrasonic treatment in water (Supplementary Fig. S17). Notably, for ISE, water transport behaviors were essential. The factors, such as pore size, porosity, and pore distribution, profoundly influenced the water transport capability of membrane evaporators16,26. Here, a red dye solution was dropped onto the surfaces of the membranes to observe the wetting behaviors (Fig. 3a). When a droplet was deposited on the D side of the FDMs, it became pinned and remained steady. In contrast, when dropped on the A side, it rapidly spread and got absorbed within less than 3 seconds. Similar behaviors were observed in FDMs-P as well. However, for the CMMs and CMMs-P, the droplets were kept pinned on both sides (Supplementary Fig. S18). To further verify the asymmetric wettability, the water contact angles were measured. As shown in Fig. 3b and Supplementary Fig. S19, for all the FDMs and FDMs-P, the water contact angles on the D side were ~90°, with a mere slight decrease in 300 s. On the contrary, the dynamic water contact angles on the A side dropped to 0° within ~2 seconds, indicating the improved wettability. Besides, although the introduction of Ppy as a solar absorber slightly reduced the hydrophilicity of FDM-1-P and FDM-2-P, their dynamic water contact angles still dropped to 0° within 4 seconds, and they also exhibited diode-like asymmetric water flux (Fig. S20). It is worth noting that the FDMs consisted of homogeneous materials, but showcased disparate wetting behaviors on two sides. We attributed it to the asymmetrical structure that endowed the diode-like effect. As the simplified model in Fig.  S21, when a droplet contacted the membrane, the droplet experienced a downward pressure PH and an upward Laplace pressure PL. The PH was a constant related to the droplet height, while PL increased with decreasing pore size16,27. In our case, when a droplet landed on the nanopore of D side, the Laplace pressure PL was higher than PH, which impeded further downward permeation, and thus pinned the droplet. Conversely, when a droplet landed on the macropore of A side, the Laplace pressure PL was low (PL < PH), allowing the liquid to pass through and spread out. Nevertheless, although the droplet can permeate beneath A side, it cannot fully penetrate the D side because of the increased PH in the nanopores on the D side. The permeation accessible, yet non-penetration property facilitated the water confinement and kept the thermal concentration during ISE28.

Fig. 3: Water transport performance of membranes.
figure 3

a Wetting behaviors of water droplets on different sides of membranes. b Static water contact angles of FDMs. c Observation of anti-gravity water transport of FDMs. Data are shown as mean ± SD (n = 3 independent experiments). d Micro-CT images of cross-section and in-plane section of FDMs. e Numerical simulation results of water volume fraction distribution in FDMs. Source data are provided as a Source Data file.

To further interpret the diode-like water transport capabilities, anti-gravity water transport experiments were carried out. The design of anti-gravity water transport tests can mimic the water transport upwards during photothermal evaporation. As shown in Fig. 3c and Movie S25, for both FDM-1 and FDM-2, upon contact with the A side, the water droplet was rapidly absorbed and infiltrated into the membrane. Oppositely, when the droplet touched the D side, no absorption and infiltration occurred. It thus reflected the diode-like water transport character macroscopically. Then, micro CT was employed to microscopically probe the water transport condition in the FDMs from either D → A (DA) or A → D (AD). A copper ion aqueous solution was prepared as a contrast agent to visualize the water upward absorption. When the aqueous solution passed through the membrane, the copper ions remained in some areas, leaving bright regions that were identified. As displayed in Fig. 3d, along D → A at the cross-section, the bright spots only accumulated on the surface of the D side, suggesting no water transport along this direction. Conversely, along A → D at the cross-section, distinct bright spots were observed within the membrane, thus unveiling the directional transport property. Besides, the scanned images of in-plane layers also reflected that the bright spots only appeared in the gradient pore layers along A → D, highlighting the diode-like water transport in FDMs. Numerical simulations were conducted to elaborate on the structural advantages of FDMs upon water transport (Fig. 3e, Supplementary Method S2, and Fig.  S22). The symmetric structure was simplified to an orthogon (40 × 40 μm) with non-gradient pores, whereas the asymmetric superstructure was modeled with a macropore (20 × 15 μm) with hierarchically gradient pores. For a symmetric structure, it took 90 μs for water to completely infiltrate. By contrast, in the asymmetric superstructure, it took 30 μs and 110 μs for full permeation along A → D and D → A, respectively. It hence revealed that the superstructure of the FDMs not only induced the diode-like water transport, but also accelerated the water movement towards the evaporation interface. Taken together, the diode-like directional water transport mechanism of FDM was fundamentally rooted in its asymmetric macro-to-nanopore gradient. Spatial decoupling of water supply (macropores on A side) and evaporation interface (nanopores on D side) created distinct functional zones. The macro array-pores minimized hydraulic resistance for rapid water uptake, while the nanopores simultaneously facilitated capillary-driven unidirectional flow as well as establishing thermal confinement. This structural asymmetry thus reconciled the intrinsic contradiction between permeability and heat localization in conventional membranes.

ISE performances of FDMs

Next, we investigated the ISE performances of membrane evaporators. In terms of previous water transport behaviors, it was speculated that the optimal performance could be achieved by FDMs-P-AD, where the A side served as the water supplier and the D side was the solar absorber (Fig. 4a). Moreover, the SEM images implied that the superstructure maintained in the FDMs-P and the array-pores were not blocked after Ppy coating (Supplementary Fig. S23). The ultraviolet-visible-near-infrared (UV-Vis-NIR) absorption spectra were illustrated in Fig. 4b. Among them, the D side of FDM-1-P, i.e., FDM-1-P (D) presented a higher light absorption rate of 93.19% than the A side of FDM-1-P, i.e., FDM-1-P (A) (85.27%). Similar results were also obtained for FDM-2-P (85.91% for the A side and 93.72% for the D side), which confirmed the larger absorption area of the D side without macropores. The real-time surface temperatures of the evaporators under one sun illumination were recorded by an infrared camera (IR). As shown in Fig. 4c, the average surface temperatures of all evaporators reached equilibrium within ~3 mins, indicating the rapid photothermal response. Since the D side had better light absorption and heat concentration, the FDMs-P-AD exhibited higher temperatures of ~6 °C than those of the FDMs-P-DA (Supplementary Fig. S24a). However, their temperatures were slightly lower than those of the CMMs-P (Supplementary Fig. S24b), due to the faster evaporation of FDMs-P-AD that carried more heat away on the surface.

Fig. 4: Photothermal conversion ability and solar evaporation performance.
figure 4

a Schematic illustration of the FDMs-P-AD and the SEM Images of both sides. b UV-Vis-NIR spectra of FDMs-P. c IR images showing the temperature distribution of the evaporators. d Mass changes of evaporators during evaporation under 1.0 kW m-2 solar radiation. e Evaporation rate and energy conversion efficiency of evaporators. Data are shown as mean ± SD (n = 3 independent experiments). f Schematic illustration of the 3D evaporation device and the dependence of evaporation rate on the tilt angle of the FDMs-P in the 3D evaporation device. g Comparison of the evaporation rate between FDM-2-P-AD and other evaporators. Source data are provided as a Source Data file.

Evaporation experiments were carried out through the device shown in Figs.  S2–5. The membrane sample was placed on absorbent paper-wrapped polystyrene (PS) foam, which floated on the water surface to ensure a continuous water supply. A xenon lamp was used to simulate sunlight irradiation, while a balance connected to a computer recorded the real-time mass changes. The mass changes of different membrane evaporators were collected to calculate the evaporation rate. Besides, the energy conversion efficiency was obtained (Supplementary Methods S3 and Method S4). As shown in Fig. 4d and Supplementary Fig. S26, compared to pure water (0.23 kg m−2 h−1), all evaporators exhibited significantly improved evaporation rates under 1 sun radiation. Among them, the FDMs-P-AD displayed a higher evaporation rate and energy efficiency than FDMs-P-DA, corresponding to the results of directional water transport and photothermal conversion tests. Particularly, the FDM-2-P-AD possessed the highest evaporation rate of 2.03 kg m−2 h−1 and efficiency of 94.54%, respectively, better than FDM-1-P-AD (1.90 kg m−2 h−1 and 91.24%, respectively) and superior to CMMs-P (1.43 kg m−2 h−1 and 78.27% respectively for CMM-1-P, 1.57 kg m−2 h−1 and 82.81%, respectively, for CMM-2-P) (Fig. 4e). Although both the FDM-1-P and FDM-2-P possessed superstructures that benefited ISE, the performances existed fine distinction for the following reasons. On one hand, the highly interconnected and continuous sponge-like gradient pores in the FDM-2-P were more advantageous than finger-like gradient pores in the FDM-1-P for constant water uptake and transport, for the reason that the finger-like cavities in FDM-1-P were much larger than the sponge-like pores in FDM-2-P. According to the capillary formula29,30, the smaller and more continuous pores in FDM-2-P facilitated higher capillary-driven ascent, thus benefiting the anti-gravity water transport (Supplementary Movie S2 and 3). In contrast, for FDM-1-P, the capillary effect was not that obvious in the larger cavities. To further explain this phenomenon, finite element simulations were conducted to investigate the capillary-driven transport behavior of water molecules within channels of varying gradient pore sizes (Supplementary Fig. S27). The simulation results indicated that in smaller pore channels, water molecules exhibited faster transport rates upwards, consistent with the results of our anti-gravity water transport experiments and theoretical predictions. On the other hand, these tubular cavities impeded vertical heat conduction more severely, thereby triggering greater heat loss. In addition, many secondary pores on the A side of FDM-2-P afforded more capillary channels for water uptake. It hence highlighted the structural superiority of FDM-2-P according to the structure-function relationship of monolayered membranes. We also analyzed the Raman experiment to evaluate the states of water in FDM-2-P. From the Raman spectra (Supplementary Figs. S2831), there were two bands derived at 3449 and 3610 cm−1, attributed to the intermediate water (IW)31,32,33.

Although the FDMs-P-AD presented excellent evaporation performance among two-dimensional (2D) membrane materials and the energy loss was relatively low (calculated through Supplementary Method S5), there still remained some gaps with currently reported 3D evaporators. This is because the evaporation primarily occurred at the horizontal liquid-air interface for membrane materials, rather than vertical direction. 3D monolithic materials can possess larger evaporation volumes, thus allowing more water vapor to escape into the air multi-dimensionally and therefore resulting in higher evaporation rates than 2D cases. Thus, to break the limit of dimension, we established a 3D evaporation device (Supplementary Fig. S32) based on FDMs-P-AD to further expand the spatial utilization as well as the evaporation performances34,35. As shown in Fig. 4f, the evaporation rate was enhanced with the decreased projection area from the increased tilt angles at first. It can reach a maximum value of 3.82 kg m−2 h−1 for FDM-2-P-AD at 60°. Nevertheless, a larger tilt angle at 65° caused a slight decrease in the evaporation rate, originating from the less-sufficient water supply. Interestingly, in this configuration, all the FDMs-P-AD showed larger evaporation rates than FDMs-P-DA as well, conforming to the tendency of 2D cases. Finally, the ISE performances of FDM-2-P-AD were compared among currently reported 2D and 3D evaporators8,34,35,36,37,38,39,40,41,42,43,44,45,46. As a monolayered 2D membrane evaporator, the evaporation rate of FDM-2-P-AD surpassed most 2D evaporators8,35,36,37,38,39,40. Notably, when configured as a 3D evaporator, it achieved performance comparable to other advanced 3D evaporators34,41,42,43,44,45,46 (Fig. 4g).

To prove the practicability, the FDM-2-P-AD was selected for further tests of durability and purification capabilities. As shown in Fig. 5a, the evaporation rate was approximately proportional to the sunlight intensity under 1, 2, and 3 sun illumination, maximumly arriving at 5.93 kg m−2 h−1. The results reflected that the water supply was sufficient in the evaporator, which could adaptively maintain a suitable internal water volume. Long-term cyclic evaporation was conducted to test the stability. The evaporation rate kept steady between 1.89 and 2.08 kg m−2 h−1 under 1 sun illumination, and no sudden decrease was observed for 1 week (Fig. 5b). Next, the salt resistance was measured. We conducted long-term evaporation in 3.5 wt% brine. After 10 hours, the evaporation rate can maintain ~90% (Fig. 5c). This stability arose from the membrane’s asymmetric pore-gradient design, where the arrayed macropores at the bottom facilitated rapid water supply while the nanopores on the upper surface generated directional capillary flow to sustain evaporation and suppressed salt accumulation. Additionally, the upper dense side acted as a barrier to limit upward salt transport, enabling dynamic salt-water balance through continuous ion diffusion. The inset photographs confirmed the excellent salt resistance and evaporation stability by showing that only a small amount of salt crystals precipitated on the surface of FDM-2-P-AD. More importantly, the fabricated evaporator exhibited a self-cleaning capability to spontaneously re-dissolve the residual salt crystals into the brine (Fig. 5d). It was ascribed to the diode-like water transport property to allow the FDM-2-P-AD rapid recovery of evaporation activity. Then, the purification capability for water remediation was evaluated by various models. As shown in Fig. 5e, the solutions of Congo Red, Methyl Orange, and Methyl Blue with a concentration of 50 mg L−1 were prepared to simulate organic pollutants in wastewater for evaporation experiments. After distillation, the solutions of all three dyes became colorless. No absorbance bands were identified, suggesting no dye residuals in the purified water. Furthermore, simulated seawater was used to validate the desalination capability (Fig. 5f). After purification, the concentrations of ions (Na⁺, K⁺, Mg²⁺, and Ca²⁺) in seawater drastically decreased by 3–4 orders of magnitude compared to the pristine levels. Meanwhile, the concentration of Na⁺ was below the salinity levels specified by the World Health Organization (WHO) and the Environmental Protection Agency (EPA) standards47. In addition, various heavy metal ions were selected to simulate industrial wastewater in Fig. 5g. After purification, the concentrations of the ions (Mg2+, Zn2+, Ni2+, and Cu2+) in the simulated wastewater sharply reduced from 1500 to 0.086, 0.151, 0.050, and 0.102 mg L−1, respectively, below the levels specified in the drinking water standard (GB5749-2006). Furthermore, considering the potential impact of microorganisms in wastewater on evaporator stability, we conducted light-induced antibacterial tests to validate the self-antibacterial capability of FDM-2-P. The membranes were co-cultured with E. coli and S. aureus suspensions (106 CFU/mL) under both light and dark conditions. As shown in Supplementary Fig. S33, the 1-sun illuminated membranes achieved >99.9% bacterial clearance rates for both strains, thereby proving the good antibacterial property. Finally, the outdoor evaporation experiments were carried out on the lake of Donghu Park in Chengdu, China, from 10:00 to 18:00 on 19 October 2023. As illustrated in Supplementary Fig. S34, a homemade water purification device was floated on the expansive water surface. After 1 h, the generated steam was observed to condense on the inner wall of the device shell. (Fig. 5h) Meanwhile, the purified water flowed down for collection. The evaporation rate, temperature, and solar radiation intensity during this period were recorded accordingly (Fig. 5i). The average temperature during this period was 17.6 °C, and the average solar radiation intensity was 648.4 W m−2. Even in this cool autumn, the device still produced 6.13 kg m−2 of purified water within a day (8 hours), which was higher or comparable to many reported evaporators35,48,49. Additionally, on account of the average solar radiation and the measured evaporation rate indoors, we estimated the collection efficiency of vapor-condensed water during this outdoor experiment to be ~58%.

Fig. 5: Practicability of FDMs-based evaporators.
figure 5

a Mass changes of FDM-2-P-AD under 1, 2, and 3 sun. b Mass change and evaporation rate of FDM-2-P-AD during long-term cyclic evaporation experiment. c Long-term evaporation experiments in 3.5 wt% brine. The inset photos demonstrate the little salt crystallization on the membrane evaporator surface during 10-hour evaporation. d The salt dissolution experiment of the FDM-2-P evaporator. e UV absorbance (a.u.: arbitrary units) and digital photos of different dyes before and after purification. f Concentration of salt ions in simulated seawater before and after purification. g Concentration of heavy metal ions in aqueous solution before and after purification. h Digital photos of the homemade outdoor evaporation device floating on open water. A magnified view shows that generated water vapor nucleates into discrete liquid droplets. i Solar intensity, evaporation rate, and temperature for outdoor evaporation experiments from 10:00 to 18:00 in Chengdu, Sichuan Province, China. Source data are provided as a Source Data file.

Hydrovoltaic performances of FDMs

In addition to ISE, the diode-like water transport of the FDMs-P can be advantageous and applicable to many other fields. For example, current research focused on the potential of utilizing solar evaporators to simultaneously generate electricity through the hydrovoltaic effect50,51. Building on this concept, we developed a straightforward electricity generator based on FDMs-P-AD. As shown in Fig. 6a, the FDMs-P-AD is sandwiched between indium-tin-oxide-coated polyethylene terephthalate (ITO-PET) electrodes to collect the electricity. Through zeta potential measurement, the FDMs-P were negatively charged (Supplementary Fig. S35), originating from the sulfone group of the polymer substrate. According to the literature52, when the nanochannel was touched by the water, an overlapping electrical double layer formed on the nanochannel surface where the anions were repelled. Meanwhile, the cations passed through and accumulated at the top of the nanochannel. Consequently, it generated a streaming current. In our case, because of the asymmetric structure and gradient pore channels for the directional acceleration of water transport, when water and moisture entered the FDM from the A side, more cations flew upwards to the D side and thereby created a potential difference between the A and D sides. Thus, the FDMs-P-AD can generate a larger potential difference than the CMMs-P did (Fig. 6b). Particularly, for FDM-2-P-AD, an open-circuit voltage (Voc) exceeding 200 mV was achieved in an ambient environment, which was the highest among all samples. Likewise, it also showed the highest short-circuit current (Isc) (Fig. 6c). Besides, the FDM-2-P-AD was capable of steadily outputting voltage and current over a certain period (Fig. 6d). Connecting the devices in series derived a regular increase in voltage output (Fig. 6e), maximumly reaching over 1.6 V in a series of seven units. Moreover, the tandem devices were practical to power some electronics, such as e-watch (Fig. 6f) and a light-emitting diode (Supplementary Fig. S36). Thus, the optimized energy generation capability highlighted the elegant structural design of the FDMs-P.

Fig. 6: Hydrovoltaic applications.
figure 6

a Schematic depiction of the working mechanism of the flexible hydrovoltaic device based on the FDMs-P-AD. b Output voltage (Voc) and (c) shortcut current (Isc) of the membranes-based hydrovoltaic devices. Data are shown as mean ± SD (n = 3 independent experiments). d Voc and Isc of FDM-2-P-AD hydrovoltaic device as a function of time. e Voc of FDM-2-P-AD hydrovoltaic devices connected in series. f Demonstration of powering a digital watch by connecting the energy generators in series and parallel, and the equivalent circuit. Source data are provided as a Source Data file.

Discussion

In summary, we designed a class of flexible and robust FDMs via a facile PCTA strategy. The superstructure design offered a topological asymmetry and pore hierarchy to substantially modulate the water transport behavior. For ISE, the FDM-2-P-AD endowed a high evaporation performance with an evaporation rate of maximumly 3.82 kg m−2 h−1 and an evaporation efficiency of 94.54% under 1 sun illumination, which were extraordinary among current membrane evaporators. Additionally, the excellent durability, salt resistance and contaminants purification performances, together with the outdoor evaluation, validated the practicability of FDM-based evaporators. Moreover, the diode-like water transport property of FDMs-AD configuration can be further extended to magnify the hydrovoltaic effect for power generation. Going beyond industrial deployment of FDMs via PCTA strategy can be envisioned by adopting low-cost durable templates, precise control of micro-patterning, and integration of casting-phase separation-demolding processes. Hence, this work addressed the trade-off between water supply and heat localization in membrane evaporators as well as avoiding interfacial issues in multilayered evaporators, which paved the way for advanced membranes in environmental and energy-related applications.

Methods

Materials

Polyethersulfone (PES, Ultrason E6020P) and Polyvinylpyrrolidone (PVP-K16-18, PVP-K85) were obtained from BASF (Germany). N, N-Dimethylacetamide (DMAC) was purchased from Chengdu Kelong Chemical Co., Ltd (China). Pyrrole (99%), Congo Red (CR), Methyl Orange (MO) and Methylene Blue (MB) were purchased from Aladdin Reagent Co. (Shanghai, China). FeCl3·6H2O (99%) NaCl (99.9%), CaCl2 (96.0%), MgSO4 (98.0%), CuSO4 (98.5%), ZnCl2 (98.0%), and NiSO4·6H2O (98.5%) were provided by Greagent. ITO-PET was purchased from Sigma-Aldrich. Deionized water was obtained by a water purifier (UL Pure KE0119). All reagents were used as purchased without further purification.

Preparation of FDMs and CMMs

FDMs were fabricated through a PCTA strategy. The precursor formulations were precisely controlled: for FDM-1 and CMM-1, the solution comprised 17 wt% PES and 5 wt% low-molecular-weight PVP (K16-18) in DMAC, while FDM-2 and CMM-2 contained 17 wt% PES, 3.5 wt% high-molecular-weight PVP (K85), and 6 wt% H₂O in DMAC. According to these ratios, PES and PVP solution was stirred and dissolved in DMAC until a homogeneous and transparent solution was obtained. The solution was allowed to stand for 24 hours to remove bubbles. Subsequently, the solution was spin-coated onto a silicon wafer template with array patterns. For FDM-1, the spin-coating speed was set to be 700 rpm and the coating time was 8 s. While for FDM-2, the spin-coating speed was set to be 500 rpm for 20 s, followed by 1000 rpm for 10 s. Afterwards, it was immersed in deionized water for 12 hours to solidify the membrane and rinse off excess PVP with deionized water. CMMs were fabricated by a similar method, except that the glass plates were used instead of a silicon wafer template. The as-prepared membranes were stored in DI water for use.

Preparation of FDMs-P and CMMs-P

The preparation of FDMs-P and CMMs-P was enabled through the vapor polymerization of Ppy. Briefly, the FDM was immersed in an ethanol solution of FeCl3·6H2O (0.25 mol L−1) (oxidant) for 2 hours, followed by air-drying. Then, the FeCl3-impregnated membrane was placed above the liquid pyrrole monomer in a sealed container, where the pyrrole was volatilized and the membrane was fully exposed to the vapor phase. The polymerization was carried out overnight at 4 °C in a closed container. After polymerization, the black membrane was washed with water and ethanol for several times to utterly remove the unreacted oxidant, pyrrole monomer and byproducts. Finally, the as-obtained membranes were dried in air.

Characterization

The morphology characterizations were performed by scanning electron microscopy (SEM, Regulus8220, Japan) with Energy dispersive X-ray (EDX, Octane Elect Super, EDAX, U.S.A). A 3D profilometer (Veeo Contour GT-K1) was employed to observe the surface topography. A FT-IR spectrometer (Nicolet-6700, USA) was utilized to analyze the structural composition of the samples. XPS experiments were conducted on an ESCALab250Xi using monochromatic Al Kα X-rays with hυ = 1486.6 eV. UV-visible absorption spectra were recorded with a spectrophotometer (UV 3600I plus). Contact angles of the membranes were measured by using a contact angle tester (Kruss DSA100, Germany). Raman spectra were recorded by a micro confocal laser Raman spectrometer with a 532 nm exciting wavelength (HR Evolution). Differential scanning calorimetry (DSC) measurements were conducted by METTLER DSC3. Metal ions in the solution were determined by inductively coupled plasma spectrometry (ICP-MS, Perkin Elmer, Optima 8300).

Water transport experiments

For macroscopic observation, a Congo Red dye solution droplet was carefully deposited on the membrane surface to observe its wettability behavior, namely, whether it remained pinned or spread out. For evaluating the anti-gravity water transport ability, a water contact angle instrument equipped with a camera was employed. The FDM was fixed with one side facing down, and a droplet of water was placed on a hydrophobic substrate. The droplet was brought into contact with the membrane sample from below, and the entire process was recorded for analysis.

For microscopic observation, a 0.5 M copper ion aqueous solution was prepared as a contrast agent. The contrast agent was applied to either A or D side of the membrane, followed by drying naturally. Subsequently, micro computed tomography (micro CT) was used to observe the internal morphology of the membrane samples. Regions reached by the contrast agent presented bright spots, enabling the evaluation of water transport from different directions through the membrane.

Water evaporation experiments

Water evaporation was measured based on the mass loss of water using an electronic balance (FA224). In summary, the membrane sample was in direct contact with polystyrene (PS) foam wrapped in absorbent paper, which floated on the water surface. The absorbent paper helped provide a continuous water supply. Additionally, the PS foam served as thermal insulation to minimize heat transfer loss and maintain heat at the interface. A xenon lamp light source was used to simulate vertical sunlight irradiation on the sample surface, and a balance was connected to a computer to record the mass change in real-time. For the setup of the 3D evaporation device, the membrane samples were cut into strips of 40 mm × 15 mm, tilted at an angle, and placed under a xenon lamp for illumination. Their projection area was used to calculate the evaporation rate.

Salt resistance evaluation

The salt resistance of the evaporators was evaluated through dynamic evaporation and self-cleaning experiments. For the dynamic evaporation test, a 3.5 wt.% NaCl aqueous solution (simulating seawater salinity) was used as the feed under 1-sun illumination. The mass change of the solution was monitored in real-time using a high-precision balance (±0.1 mg), and the evaporation rate was calculated from the mass loss curve. Simultaneously, the membrane surface was observed over time to detect potential salt crystallization during the evaporation process. To further assess the self-cleaning capability, a separate experiment was conducted under no solar illumination to eliminate photothermal effects. Specifically, 1.0 g of NaCl crystals were uniformly dispersed on the membrane surface. The system was then exposed to ambient humidity without external rinsing. The spontaneous dissolution and migration of salt particles were tracked through optical imaging.

Multifunctional water remediation tests

Firstly, 50 mg/L solutions of CR, MO, and MB were prepared respectively as typical pollutants to characterize the dye wastewater purification capability of the samples. To assess the desalination capability of samples, simulated seawater was prepared by thoroughly mixing 24.53 g of NaCl, 11.09 g of MgSO4, 4.09 g of Na2SO4, 1.16 g of CaCl2, 0.70 g of KCl, and 0.20 g of NaHCO3 with 1 L of water until fully dissolved through agitation. Using MgSO4, CuSO4, ZnCl2, and NiSO4·6H2O raw materials, four different ion solutions of Mg2+, Cu2+, Zn2+, and Ni2+ were prepared to simulate heavy metal wastewater and then evaluate the purification capacity of the samples. The prepared solutions mentioned above were used instead of pure water for evaporation experiments. The purification capability was assessed by collecting condensed water and characterizing the changes in composition between the condensed water and the original solution.

Hydrovoltaic electricity generation experiments

To collect the electricity from the hydrovoltaic effect, the membrane was sandwiched between ITO-PET electrodes. Electricity generation performances (including voltage and current) were recorded via a digital multimeter (OWON B35T). In addition, a 1 farad capacitor was used to store and release the generated current of FDMs-P devices to support the electronic devices.