Introduction

Acid mine drainage (AMD) is one of the most concerning environmental challenges characterized by acidic water containing dissolved metals, sulphates, and trace elements1. The low pH of AMD, often aggravated by deposits of iron pyrite, facilitates the dissolution of hazardous metals2. Consequently, this renders AMD a threatening source of water pollution in various water bodies and surrounding ecosystems3. Due to a range of abandoned and closed mines, various countries with an extensive history of mining activities are faced with a legacy of AMD crisis4. This is no exception in South Africa, a country of various mining activities for the past 120 years5. This issue is further intensified by the semi-arid climate conditions heightening water scarcity, resultantly amplifying the socio-economic impacts6,7. Based on South African National Water Act No. 36 of 1998 and Water Quality Guidelines (DWAF, 1996), the discharge of AMD is regulated based on the following conditions: pH (5.5–5.9), total dissolved solids ( ≤1000 mg·L−1), sulphate ( ≤250 mg·L−1 for drinking water and ≤1000 mg·L−1 for environmental water bodies) and iron (0.3 mg·L−1 for drinking/aquatic ecosystem and 1.0 mg·L−1 for effluent)8,9. Upon analysis, the AMD assessed in this study exceeded these limits greatly, with sulphate and iron concentrations reaching 9790 mg·L−1 and 1421 mg·L−1 and extremely high acidity with pH 3.58. These high levels of chemical contamination and extreme acidity emphasized the urgent need for effective treatment strategies.

Traditionally, remediation of AMD was previously focused on conventional treatment processes including neutralization, adsorption, bacterial reduction, ion exchange (IE), and reverse osmosis (RO)10,11. However, neutralization and adsorption often generate secondary waste such as sludge requiring further managed and supervised discharge12. For example, the AMD neutralization of three shafts in closed mines in Johannesburg, South Africa generate large volumes of sludge which is characterized by leaching of high concentrated metals upon disposal as landfill13. Similarly, coagulation which is often applied in conjunction with neutralization is commonly limited by high generation of sludge and low potential for resource recovery. Previously reported membrane technologies explored for AMD remediation include microfiltration (MF), nanofiltration (NF), and reverse osmosis (RO)14,15. The RO presented effective removal of particulate matter. Furthermore, the RO offered high quality water recovery with efficient ions removal. However, it remains insufficient to remove nitrates16. Also, RO is often associated with high operational costs and brine disposal challenges, limiting its sustainability and scalability in AMD treatment17. The NF demonstrated high rejection efficiencies for removal of sulphate and heavy metals. However, it is affected by severe membrane fouling, requiring extensive pretreatment18. Although water recovery technologies have sought to integrate desalination processes to mitigate water shortages, their high energy requirements, and operational complexities have presented substantial challenges to widespread adoption, particularly in resource-limited countries19.

Membrane distillation (MD) emerged as a promising thermally-driven separation process capable of treating chemically complex waters20. Although it is energy-intensive process because of its dependency on thermal energy, its advantage lies in its capability to operate from low-grade or waste heat, potentially reducing the overall energy requirements when integrated with renewable or industrial waste heat. Dissimilar from high pressure-driven separation RO, the MD utilizes low to moderate temperatures creating a temperature gradient as a vapor driver across a hydrophobic membrane21,22. Consequently, only vapor passes through the membrane while rejecting non-volatile solutes. This feature makes MD highly suitable to treat high-salinity and chemically aggressive feedwaters, including AMD23. Although the MD has received a remarkable attention in treating high salinity and metal-rich effluents, its industrial adoption is constrained by the energy costs and scaling at high feed temperatures24. Integration of crystallization to MD, termed membrane distillation crystallization (MDCr) offers simultaneous recovery of high-purity water and precipitation of valuable mineral salts, thus ensuring zero liquid discharge and circular economy23,25. The MDCr presents an opportunity to reduce fouling while recovering resources.

Even though MDCr has prospective industrial applications, it is insufficiently explored as a treatment option for AMD, thereby necessitating the optimum operating conditions in the separation and crystallization processes, including the temperature of the feed and the pH26. The composition of AMD vary significantly depending on its source, thus affecting the MDCr process performance due to changes in pH and mineral content27. For example, AMD with pH values of 3.58 and 6.47, representing acidic and near-neutral conditions, respectively, poses distinct challenges for membrane degradation, scaling, and crystallization kinetics28. Furthermore, while previous studies have established the relevance of MDCr to seawater extraction and efficient industrial brine management29, its applicability to AMD collected directly from mine shafts (a complex and multi-component effluent) requires rigorous investigation. Most prior studies including our recently reported work focused on synthetic AMD solutions without capturing the multi-component nature and high acidity of the real AMD30,31. Environmentally collected AMD differs significantly from synthetic AMD because of its dynamic and complex composition which can potentially affect the membrane performance32. For instance, oxidized Fe3+ into Fe(OH)3 contributes to membrane scaling while high concentrations of sulphate facilitate gypsum precipitation, further affecting flux stability33. Previously reported studies typically used simplified chemical composition which do not represent the intricacies of scaling mechanisms and competitive ion interactions present in real AMD30,34. Also, limited studies evaluated the interplay between the feed temperature and pH on MDCr performance to understand their impact on water quality, flux, and crystallization kinetics. For these reasons, in-depth evaluation of AMD in MDCr systems is required to assess the practical feasibility prior to process scale-up, which is the key baseline of the current reported study.

Different from previous studies evaluating the recovery of verily pure water and salts from synthetic feed waters, the current study investigated the novel application of hollow fibre MDCr towards treatment of environmentally collected AMD, with detailed analysis of crystal morphology, composition and water recovery. This practical approach with field environmental AMD strengthened the MDCr applicability for real-world deployment. Specifically, two feedwaters with pH values of 3.58 and 6.47 were collected from the mine shaft (low pH) and the neutralization pond (near-neutral pH) in Witwatersrand Central Basin, Johannesburg, South Africa. Also, the study investigated the influence of feed temperatures (50, 60, and 70 °C) on MDCr performance to assess possible membrane chemical resistance and scaling under the complex chemical matrix and challenging acidic pH of the feed water. Notably, hollow fibre propylene membranes are prone to chemical attach and presented scaling under high operating temperatures, especially when subjected to feed solutions rich in calcium and magnesium sulphates35. The integration of crystallization in the membrane distillation (MD) process introduced a transformative approach to valorising AMD as a resource instead of a waste stream. Moreover, the study addressed critical knowledge gaps regarding the operational stability and efficiency of MDCr under variable AMD conditions, advancing the potential for its deployment in real-world scenarios. Also, the influence of feed temperatures on dominant crystallization pathways was critically assessed. By addressing these gaps, this study advances the understanding of MDCr as sustainable AMD treatment within the framework of circular economy.

Results and discussion

Physicochemical characteristics of AMD samples

The AMD from the closed mine shaft decanting into Witwatersrand Basin presented severe water pollution characterized by exorbitant levels of iron, sulphates, phosphates, nitrates, calcium, magnesium and toxic metals above the threshold limits for discharge into environmental bodies (Table 1). The chemical characteristic of this AMD presents an appropriate insight into the environmental impact caused by historical mining activities.

Table 1 The Physicochemical characteristics of the AMD from the mine shaft and neutralization pond at Witwatersrand Central Basin Treatment Plant (Germiston closed mine)

The water sample collected directly from the underground mine shaft was generally acidic with a pH of 3.58. This was consistent with typical AMD characteristics caused by production of sulfuric acid during oxidation of pyrite mineral rocks. The acidic pH triggered mineral dissolution, presenting the significant ionic strength of the water with elevated conductivity of 26,580 µS·cm−1 and total dissolved solids (TDS) of 16999 mg·L−1. The reported conductivity fell within the reported range (7000 – 155,000 µS·cm−1) from AMD in similar environmental settings11. However, the TDS exceeded the desirable limit (500 mg·L−1) in underground water as well as acceptable limit of 600 mg·L−1 in drinking water, reflecting high concentration of dissolved solids36. This highlighted severe contamination with concerning discharge to the environment. Upon lime neutralization, the AMD pH increased to 6.47, approaching near-neutral conditions, and reduced the solubility of the metal ions, encouraging settling and precipitation of metal hydroxides and sulphates. Subsequently, the conductivity and TDS of the neutralized AMD were reduced, suggesting removal of dissolved ionic metals. However, concentrations remained relatively high prior to coagulation/flocculation.

Based on cationic analysis, the high concentrations, with limited trace elements reflected metal release caused by acidification and dissolution of the minerals. Major cations incorporated Ca2+ and Mg2+ with high concentration of 2622 and 885 mg·L−1 respectively. These mineral ions emanated from dissolution of carbonate and silicate minerals, often driven by acidic media. The alkali metal ions, namely Na+ and K+ presented moderately elevated concentrations of 465 and 156 mg·L−1 respectively, possibly suggesting dissolution and dissociation from feldspars. Also, interactions with brines from industrial discharge and their infiltration to underground water increased these ions concentrations. Similarly, the AMD presented high levels of Fe2+ (1421 mg·L−1), Mn2+ (125.5 mg·L−1), Al3+ (51.5 mg·L−1), and Cu2+ (66.5 mg·L−1), Ni2+ (37.5 mg·L−1) and Co2+ (35.5 mg·L−1) caused by oxidation of pyrite (a primary mineral rock in the Witwatersrand Gold Reefs and leaching from host rocks such as rhodochrosite and chalcopyrite. Al3+ was categorised as non-essential toxic metal because of its high solubility in acidic media, presenting severe neurotoxicity. Also, toxic metals such as Pb2+, Cd2+, As2+ were recorded at high concentration of 46, 35, and 31 mg·L−1 respectively, exceeding their environmental discharge guidelines. This highlighted the significant environmental concern with threatening health risks. Upon AMD neutralization, most metal ions such as Fe3+, Mn2+, Al3+, Cu2+, Ni2+, Co2+, Pb2+, Cd2+, As2+ and Ti4+ were reduced by 50–90% due to formation of insoluble and settling precipitates. High separation potential was recorded on alkali earth metals including Be2+, Ba2+ and Mg2+. The increased concentration of Ca2+ was influenced by addition of lime during neutralization. Notably, alkali metals remained relatively unchanged due to their high solubility. Be2+ was grouped under Alkali and alkali earth metals due to its periodic table classification in group II. However, it is worth noting that Be2+ is extremely toxic.

Various non-metal ions were monitored to underpin the broad spectrum of the AMD chemical characteristics. The major anions of the acidic AMD (pH 3.58) were SO42 and Cl with extremely elevated concentrations of 9790 and 1113 mg·L−1 respectively. The domination of SO42 confirmed extensive oxidation of sulphide rocks such as pyrite. On one note, the Cl- suggested the mine water interactions with the saline aquifers and discharged industrial effluents. Minor anions with elevated concentrations were NO3 (592.47 mg·L−1) and PO43 (542.82 mg·L−1). These ions were extremely high with a possible origination from mining explosives, agricultural runoffs and infiltration from the nearby farm fields. The F, Br and I were present in moderate amounts with concentrations of 75.56, 64.08, and 22.69 mg·L−1 respectively indicating the leaching from host rocks. The concentration of these minerals presented environmental concerns and possible health challenges experienced by the end-users. Although the chemical characteristics of this AMD aligned with the literature5, phosphate and nitrates concentrations were highly elevated, potentially influenced by other sources other than mining activities37. Upon neutralization, the concentrations of most non-metal ions remained relatively unchanged, with slight reduction of F-, PO43, SO42 due to formation of precipitable CaF2, Ca3(PO4)2, CaSO4·2H2O or Ca6Al2(SO4)3(OH)12·26H2O in the presence of Al3+. Despite lime dosing at the neutralization pond, the concentration remained high since flocculation was not carried out in this pond. Several suspended and colloidal particles remained in the water phase due to absence of flocculant/coagulant dosing. Additionally, high turbulence and short residence time reduced settling efficiency, leading to high concentrations of metal ions. Despite impressive metal ions reduction, the high concentrations required additional treatment processes such as flocculation, filtration, adsorption and advanced membrane processes. This necessitated further investigation with comprehensive environmental monitoring to establish improved remediation strategies including MDCr.

Effect of feed temperature on water flux and salt rejection

Figure 1 presents the performance of membrane distillation-crystallization (MDCr) system for treating acidic AMD. Based on temperature profiles, the permeate flux was higher (3.3 kg·m−2·h−1) at high operating temperatures (70°C) compared to 2.2 and 1.3 kg·m−2·h−1 at 60 °C and 50 °C respectively, especially for pH 3.58 feed water. This was motivated by enhanced temperature difference (deltaT) acting as a driving force for vapor transport, typically 25.1, 22.7 and 18.5 at 70, 60 and 50 °C respectively. At 70 °C, the permeate flux of the near-neutral (pH 6.47) feed water reached an approximate peak of 4.0 kg·m−2·h−1 which was higher than 3.3 kg·m−2·h−1 recorded for acidic pH 3.58. Similar patterns were recorded across all feed temperatures, demonstrating a positive impact on flux at high pH values. The flux reduction at low pH values compared to near-neutral was associated with increased fouling induced by precipitation of heavy metal ions at high acidic conditions. Similar findings were reported by Charfi et al.38. where membrane surface interaction and fouling propensity were influenced by pH and the presence of specific metal cations such as Ca2+ and Fe3+, which are abundant in AMD38. The permeate flux remained relatively stable at low water recovery factors (until 70%) for all feed temperatures. Based on temperature profiles, vapour gradient remained relatively stable at lower feed temperatures, thus maintaining the stability of the permeated flux. Although high feed temperature (70 °C) improved permeate flux, severe flux decline was recorded at high recovery factors above 70%. This was accelerated by gypsum scaling due to the presence of high Ca2+ and SO42 concentrations. Despite a flux decline at high recovery factors during operations with high temperatures (70 °C), the flux remained relatively stable at high recovery factors ( >70%) during operations with low feed temperatures (60 and 50 °C). Notably, deltaT (also known as temperature difference or a measure of thermal gradient across the membrane which influence vapour transport in MDCr systems) remained relatively stable at low recovery factors ( ≤60%). However, this considerably increased at high recovery factors ( >60%) for all feed temperatures and pH values. Various factors were associated with increased deltaT at high recovery factors. This includes accumulation of solutes near the membrane surface increasing local concentration gradient, thus elevating the temperature on the feed side due to reduced thermal conductivity of the feedwater. Also, the increase in solute concentration at the membrane interface altered the vapor pressure and energy requirements for phase change. Similar trend was reported upon membrane scaling which reduced the heat transfer efficiency, causing a higher feed-side temperature39. It is worth noting that the feed flow rate decreased at high recovery factors due to low volumes available in the feed tank. The decreased feed circulation reduced the convective heat transfer, causing a rise in temperature on the feed side of the membrane, thus increasing deltaT. Based on deltaT changes, the MDCr process was affected by temperature polarization effects which reduced the efficiency and stability of vapour flux. These polarization effects were influenced by formation of thermal boundary layer at the interface of the membrane which limited heat transfer, reducing the effectiveness of temperature difference across the membrane40. These reduced convective heat transfer became more pronounced at high recovery factors ( >70%) as the crystal salts were accumulating at the membrane interface. The increased deltaT at high recovery factors suggested formation of boundary layer, reducing thermal efficiency as crystallization progressed41. This could be ascertained in future studies utilizing the computational fluid dynamics modelling to quantify the effects of feed conditions on temperature polarization effects. Although minor flux decline was recorded due to increased feed concentrations at high recovery factors which reduced water activity, the stability reported in Figs. 1 & 2 was associated with continuous crystallization in MDCr. During salt precipitation, the osmotic pressure in the feed does not increase as critically as in concentration affected processes like RO. Also, the stable deltaT at high recovery factors sustained vapour pressure differentials, ensuring minimum flux declines42. Temperature differences across the membrane were mirrored between the acidic and near pH feed waters for all temperatures, with pH 6.47 remaining stable and exhibiting slightly lower values at 50 °C feed temperature (Fig. 2). The lower deltaT was linked to steric hindrance of heat transfer induced by compromised thermal efficiency of fouled membrane.

Fig. 1: MDCr Process performance evaluation towards treatment of pH 3.58 feed water.
figure 1

a flux, b deltaT also known as temperature difference, c feed conductivity d permeate conductivity, e feed pH, and f permeate pH, all changing as function of recovery factor.

Fig. 2: MDCr Process performance evaluation towards treatment of pH 6.47 feed water.
figure 2

a flux, b deltaT also known as temperature difference, c feed conductivity d permeate conductivity, e feed pH, and f permeate pH, all changing as function of recovery factor.

The feed conductivity increased with recovery, reflecting the salts becoming concentrated in the retentate. The sharp increase took place at low recovery factors until 34.9, 40.8 and 42.4% at 70, 60 and 50 °C feed temperatures respectively. The peak conductivity values recorded were 36,890, 43,910 and 48,679 µS·cm−1 at pH 3.58. The values were smaller at pH 6.47, influenced by the presence of insoluble hydroxides at similar recovery factors. This implied high ions dissolution at low pH, influencing the crystallization kinetics. However, at high pH (6.47), the ion solubility decreased due to formation of hydroxides and carbonates characterized by low solubility constants. Above the mentioned recovery factors, the feed conductivity declined abruptly, citing the decrease in free mobile ions caused by supersaturation and formation crystal salts. This suggested that salt concentration was a limiting factor at high recoveries, potentially influencing the crystallization. Crystal formation causing a sharp decline in feed conductivity was confirmed through in-situ analysis using optical microscopy. The hypothesis of conductivity reduction caused by salt precipitation rather than dilution effects were further confirmed by reported increase in mean crystal sizes. Also, the formed crystals were confirmed through XRD analysis. The permeate conductivity remained relatively low for both pH conditions ( ≤19 µS·cm-1), confirming the MDCr process effectiveness towards removal of dissolved ions (99.9% salt rejection). The feed pH remained relatively stable with a slight decline from 3.58 at zero recovery to 3.52, 3.20, 2.93 at highest recovery as per 70, 60 and 50 °C feed temperatures respectively for pH 3.58. The slight decrease in feed pH was influenced by increased concentration of the hydrogen ions (an indicator of feed acidity). Also, the pH stabilized approximately at 6 for a feed pH of 6.47, suggesting an unchanging solution chemistry. However, the permeate pH decreased slightly at high recovery factors for all feed temperatures and pH values. This was caused by preferential transport of the volatile acidic components as suggested by previous findings43,44. Although no direct analysis of volatile species was carried out in this study, literature reported partial volatilization of weak acids such as H2CO3 and H2SO4 at high temperature, promoting diffusion and acidification of the permeate45. This aligned with reported literature in MD systems where produced CO2, NH3 and SO2 increased the permeate acidity45. However, the overall pH shift remained minimal, confirming the effectiveness of MDCr towards stabilizing the bulk chemical composition of the permeate. Despite detailed records in slight permeate contamination where changes in acidity and mineral ions were reported, the hollow fibre MDCr demonstrated excellent performance, achieving high water recoveries ( >80%) with relatively stable fluxes and efficient salt rejections. Based on feed temperatures, 60 °C was preferred due to moderately stable permeate flux. In summary, the neutralized feed water (pH 6.47) presented better performance in terms of flux and temperature gradient across the membrane compared to the acidic feed water (pH 3.58) due to minimized fouling. This highlighted the importance of feed neutralization prior MDCr, particularly in high recovery scenarios. In case of prioritizing mineral salts recovery, pH 3.58 was preferred towards recovery of precious metals.

While the permeate flux was relatively stable at high recovery factors, long-term industrial operation of MDCr may be affected by scaling/inorganic fouling, particularly in acidic conditions (pH 3.58)46. The current MDCr system demonstrated stable performance over short periods of operation. However, inorganic fouling is prominent in long-term continuous treatment conditions, especially under high recovery and high temperature conditions. Interestingly, the MDCr system demonstrated high resistance to salt rejection decline despite reports of PP membranes to be prone to wetting and degradation when exposed to low pH feed solutions, especially when operated over prolonged durations47. Under long-term continuous operations, these issues could impact flux and selectivity stability. To stabilize their performance in long-term operations, surface modifications with superhydrophobic and chemically resistant materials is recommended. Also, regular cleaning protocols should be carried out to mitigate irreversible inorganic fouling. These considerations are vital in MDCr process upscaling in remediation of real AMD.

Morphology of crystal structures

Morphological properties and crystal structures of the formed salts under varying feed temperatures and feed waters of differing pHs is presented in Fig. 3: Initially formed crystal structures were sparsely and poorly defined across all temperatures, particularly where acidic water (pH 3.58) was used as feed. The acidic conditions favoured nucleation and growth, resulting in largely pronounced and aggregated crystal salts. The particles remained localized with irregular shapes. At pH 6.47 and initial growth, the crystals were relatively abundant and evenly distributed, noticeably with elongated and branched forms towards the final growth phase. The near-neutral conditions (pH 6.47) suppressed formation of large particles, particularly due to crystal compaction. These compact structures were influenced by differences in ion paring, lattice energy effects and nucleation sites. For example, Ca2+ and Mg2+ ions formed dominating compact gypsum and ettringite due to their strong lattice interactions at near-neutral conditions48. Also, AMD neutralization promoted saturation of calcium and sulphate ions, which increased likelihood of heterogenous nucleation at membrane interface, resulting in formation of compact morphologies. At low feed temperatures (50 °C), the crystal salts exhibited smaller sizes with even distribution, suggesting low rate of supersaturation and growth. The crystal salts were more pronounced at 60 °C with larger and dense structures for all pH levels. Thus, the distribution increased with temperature, presenting a more uniform and dense distribution. Upon increasing the feed temperature further to 70 °C, the crystal salts displayed highest level of aggregation with structural complexity, especially at pH 6.47. The elongation and branching of compact crystal structures at pH 6.47 suggested potential formation of calcium/magnesium sulphates and carbonates with predominantly elongated and branched structures. At pH 3.58, large crystal particles suggested process favouring formation of transition metal salts under acidic conditions.

Fig. 3: The effect of feed temperature on morphological properties of crystal salts at various growth phases, namely initial, continuous and final.
figure 3

Two AMD feed solutions with pH 3.58 and 6.47 were used.

Effect of pH and feed temperature on crystal salts growth rate

In MDCr processes, the pH and temperature play a critical role in influencing the crystal growth rates and size30,44. For these reasons, the interplay between pH and temperature requires a careful control to achieve desired crystal size distributions, morphology. Therefore, adjusting these parameters is crucial in tailoring the crystal properties. Although the impact of various feed temperatures on crystal formation was evaluated, the acidic and near-neutral feed waters were used as collected from the mine area without further chemical alterations. The influence of both temperature and feed pH provided insightful performance of the MDCr process towards treatment of AMD.

The findings of the investigated formation and growth of crystals salts are presented in Fig. 4: The formation of the crystals began at recovery factors between 35% and 45% for both pH conditions feed waters. Based on plot insert in Fig. 4, the particle growth for both pH values followed a linear fit with correlation coefficients (R2 = 0.94–0.99), suggesting a steady-state crystallization kinetics during the recording timeframe. Comparable behaviour was reported by Zheng et al.49 where particle size growth followed a linear trajectory under controlled crystallization processes49. However, these conditions require extensive research in MDCr processes for conclusive findings. Elevating the feed temperature increased the crystal growth rate. The sizes of the crystal salts reached 40–45 μm and 19–22 μm from feed waters of pH 3.58 and 6.47 respectively within 3.5 h at the highest feed temperature 70 °C. At 50 °C, the maximum crystal sizes were smaller, specifically ~33 μm and ~19 μm from of pH 3.58 and 6.47 feed waters respectively. At higher temperatures, faster ion diffusion was facilitated, enhancing the nucleation and growth kinetics. According to Yadav et al.50, the elevated temperature improves the ionic mobility and diffusion leading to faster crystal growth50. Similarly, Mapetere et al. (2025) reported an accelerated ionic mobility upon increasing the feed temperature, leading to rapid supersaturation and enhanced nucleation rates51. These findings supported the reported large crystal formation and faster growth rates at high temperatures.

Fig. 4: The effect of pH and temperature on the crystal salts formation and growth.
figure 4

a pH 3.58, and b pH 6.47.

In classical nucleation theory, temperature increase promotes high nucleation rate, forming greater number of clusters with small crystal sizes52. However, the current reported findings deviated from classical crystallization theory where larger crystals were formed at higher temperatures. This deviating trend was associated with selective crystallization mechanisms in AMD, where metal-sulphates interactions were primarily responsible for growth kinetics. Also, the crystal impurities at high temperatures suppressed the secondary nucleation, favouring formation of fewer and larger crystals instead of many and smaller53. The ICP analysis of crystal salts confirmed the presence of metal-rich particles which altered growth dynamics. Based on growth patterns, the crystal growth of pH 6.47 feed water was slightly slower with growth rates of 2.85, 2.98 and 3.49 µm·h−1 at 50, 60, and 70 °C feed temperatures respectively compared to 4.92, 5.66, and 7.07 µm·h−1 recorded from pH 3.58 feed water (Table 2). Slower growth rates at pH 6.47 were attributed to predominant formation of calcium carbonate crystals which are more compact and dense structures54. In contrast, the large crystals recorded at pH 3.58 were formed due to precipitation of metal-rich salts such as iron sulphates, and aluminium nitrates with higher solubility limits in acidic conditions. Upon crystallization, these salts formed large particles. Other factors such as rate of nucleation and lattice structure played a significant role in sizes of crystal formed. Because of high metal solubility at pH 3.58, the rate of nucleation was reduced, promoting formation of large crystals before new nuclei formed. Also, sulphate complexes such as FeSO4 and Al2(SO4)3 crystalized into structures with low nucleation densities, favouring growth of crystals over dispersion55,56. Furthermore, the crystal sizes were influenced by lattice energy. For instance, metal sulphates which exhibit low binding energies compared to calcium salts facilitated larger crystal formation55. These combined effects contributed to different crystal growth patterns between acidic and neutralized AMD. Although particles growth patterns were significantly different upon treatment of feed waters with acidic and near-neutral conditions, the recorded particle sizes (6–44 μm) fell within reported findings where MDCr processes produced crystal sizes (4–50 μm) depending on feed chemical characteristics and process operational conditions57.

Table 2 The crystal growth rates obtained from different feed temperatures and pH values, derived from the linear plots as defined by the R2 values and linear equations

Effect of pH and feed temperature on crystal size distribution

The crystal size distribution of the produced salts from the acidic feed water (pH 3.58) and near-neutral (6.47) are reported in Fig. 5: The crystal began to form upon nucleation prompted by supersaturation (typically at higher water recovery factors). At pH 6.47, the crystal size distributions presented narrow peaks with sizes ranges (6.9–22.5 µm) suggesting dominance of smaller and dense crystals. At high pH, salts such as calcium and magnesium with low solubility formed dense and compact salt structures. These trends aligned with classical nucleation theory where ion mobility and saturation index controlled the rate of crystal growth55. However, peak broadening of crystal sizes (5–50 µm) was evident at pH 3.58 potentially with dominance of heavy metal sulphates and oxides under acidic conditions. The high solubility of sulphates and oxides promoted formation of large and metal-rich crystal induced by electrostatic interactions between the cation and anion in acidic conditions. At lower feed temperatures (50 °C), the size distribution was narrow, favouring the formation of small particle size. This was driven by slow nucleation and growth dynamics. The particle size distributions shifted towards larger crystal sizes at higher temperatures (70 °C) for both acidic and near-neutral feed waters. This trend aligned with the faster ion diffusion to nucleation accelerating the growth kinetics. Enhanced kinetic energy with reduced viscosity at higher temperatures facilitated ionic mobility and diffusion favouring formation of large crystal salts. However, excessive temperature elevation affected the width of metastable zone, resulting in formation of amorphous precipitates, rather than well-defined crystal salts. For this reason, optimization of feed temperature and pH is key to achieve desired crystal purity and morphology.

Fig. 5: Formation and growth of crystal salts evaluated from MDCr under varying feed water recovery.
figure 5

The impact of feed temperature on growth stages of particle was analysed, notably a 50 °C, b 60 °C c 70 °C for pH 3.58 feed water, d 50 °C, e 60 °C f 70 °C, for pH 6.47 feed water.

On one hand, crystal size distributions broadened with a greater fraction of large particles at higher recovery factors ( >50%) for all feed waters and temperatures. This was consistent with the reported findings where prolonged cycling of feed supersaturation induced coalescence from secondary growth of the crystals58,59. Also, the production of wide range of crystal sizes at higher recovery factors was influenced by agglomeration under high rates of supersaturation conditions. The narrow peaks at lower recovery factors (35 – 45%) were influenced by formation of monodispersed crystals predominantly due to limited nucleation and crystal growth. Summarizing the practical implications of crystal formation, the pH 6.47 was preferred for sustainable operations where narrow size distributions are required. However, the acidic condition (pH 3.58) is important towards recovery of valuable salts like iron oxides, though additional separation technology is required for specific resource recovery to reduce wide dispersion of formed salts and to improve their economic value.

XRD analysis of the recovered mineral salts

X-ray diffraction (XRD) patterns of the MDCr-processed crystal salts produced from feed waters of different pH values and varying feed temperatures were analysed to determine the dominant salts formed, their lattice structures, and their crystallographic parameters (Fig. 6). Recorded diffraction peaks corresponding to various crystal salts and their lattice system are presented in Table 3. Based on XRD patterns, the dominant salts collected from pH 3.58 feed water for all temperatures were gypsum, jarosite, ettringite, halite, melanterite and hexahydrite. However, jarosite was more pronounced at elevated temperatures (60 °C and 70 °C) induced by abundant Fe3+ and SO42 ions at acidic conditions. Similarly, melanterite formation was induced by iron-rich feed water at low pH. Based on feed water characteristics, the concentrations of Ca2+, Fe3+, SO42, Al3+ were 2622, 1421, 9790.23 and 51.5 mg·L−1 respectively facilitating abundant formation of these crystal salts at low pH. Ettringite and Halite presented sharper peaks compared to others indicating higher crystal lattice purity with improved crystallinity at pH 3.58. At pH 6.47, the dominant salts were halite, ettringite, hexahydrite and jarosite. Abundance of Ettringite was facilitated by high concentrations of calcium and moderate levels of aluminium. However, jarosite intensity was slightly reduced due to minimal solubility of Fe3+ at higher pH. Compared to neutralization, the MDCr does not only facilitate the recovery of high-quality water with 99.9% salt rejection, but enabled selective recovery of mineral salts such as gypsum, halite and ettringite. In contrast, neutralization generate large sludge presenting disposal challenges, despite its effectiveness for bulk removal of acidity and metals60. The dual functionality of MDCr reduced the waste and enabled valorisation of minerals, supporting the objectives of zero liquid discharge (ZLD) and alignment to circular economy.

Fig. 6: XRD patterns.
figure 6

The XRD patterns of the crystal salts produced from MDCr with varying feed temperature (50, 60 and 70 °C) where AMD feed waters with a pH 3.58 and b pH 6.47 were used.

Table 3 Crystallographic system identification of the crystal salts produced from AMD feed solutions of pH values 3.58 and 6.47

The identified salts span from a variety of crystal lattice systems where Jarosite and Ettringite dominated with hexagonal crystal structures in both pH 3.58 and 6.47 feed waters (Table 3). Jarosite was more intense at low pH, showcasing its dependence on acidic SO42 and Fe3+-rich environments. Monoclinic structures were melanterite, hexahydrite and gypsums dominating in acidic conditions, though gypsum was prevalent in both pH values. Cubic halite was prevalent in both feed conditions, though increased significantly in neutral environments as evidenced by the sharper diffraction peaks. The reported findings aligned proficiently with literature where jarosite formation was dominant in acidic environments, while halite dominates at near-neutral pH values and elevated temperatures during thermal evaporation of AMD. Likewise, ettringite is prevalent at neutral conditions during AMD treatment with lime61. Although the XRD results confirmed formation of well-defined crystalline structures such as halite and ettringite at pH 6.47 and jarosite at pH 3.58, minor amorphous phases were detected, suggesting the none-crystalline impurities. Therefore, further process optimization including controlled crystallization and post-processing techniques including recrystallization and selective crystallization are recommended to improve the purity of the recovered salts. Also, trace amounts of toxic metals such as Pb, As and Cd, could prohibit the direct use of the recovered salts in some applications. Therefore, future studies should explore pre-treatment separation techniques with high ion-selectivity to improve the purity of the recovered crystal salts.

The chemical analysis of the produced crystal salts

The experimental results showed good salt rejection performance (99.9%), enabling potential crystal recovery from real AMD. The Witwatersrand Central Basin where the tested AMD was collected discharges approximately 15 million litres of AMD per day, primarily from the shaft pump station. This high-volume discharge opens a substantial evaluation of MDCr at industrial scale. However, the high MDCr energy demand presented operational cost implications, requiring an offset from integration of renewable heat sources such as solar energy or industrial waste heat to improve feasible deployment of this technology. The tested feed temperatures and source of the AMD presented varying impact on the amount of crystal salts produced from MDCr (Table 4) and their chemical composition (Table 5). At pH 3.58 feed water, the mass of the salts increased with rising temperatures, reaching 18.51 ± 1.19 g at 70 °C. This was linked to MDCr efficiency and crystallization kinetics at higher temperatures, where elevated vapour pressure facilitated faster particle growth while ensuring high salt rejection. Conversely, the pH 6.47 feed water exhibited non-linear response, with the highest amount of salts (18.52 ± 1.29 g) produced at 60 °C. The mass balance analysis was performed in relation to the obtained mass of crystallized salts, where 1.0 L AMD feed volume with conductivity of 26,580 µS·cm−1 and TDS of 16,999 mg·L−1, equated to approximately 17.0 g of solutes entering the MDCr system. The crystallized salts recovered from the MDCr matched the TDS closely, with masses of 17.03 g (50 °C), 17.46 g (60 °C), 18.51 g (70 °C) at pH 3.58 and 17.63 g (50 °C), 18.52 g (60 °C), 17.48 g (70 °C) at pH 6.47. The mass of crystallized salts was slightly higher than the mass input (exceeding by 1.7–9.0%) due to co-precipitation of impurities such as water inclusion in the hydrate forms and experimental variability. These recoveries aligned with the feed TDS, confirming the complete recovery of crystallized salts through MDCr. Also, the achieved water recovery factors of 82%, 81% and 73% at feed temperatures of 50, 60 and 70 °C corresponded to 0.82, 0.81 and 0.73 kg. The unrecovered 0.18–0.27 kg (18.0–27.0%) of AMD feed water was retained as dead volume within the membrane module and tubing, with minimal losses of water leakage in the form of vapour. These results demonstrated strong process mass balance, highlighting the effectiveness of MDCr in dual recovery of mineral salts and high-purity water from the AMD without notable resource losses.

Table 4 The mass of crystal salts produced from 1.0 L of pH 3.58 and 6.47 feedwaters through MDCr, where three process temperatures were monitored
Table 5 The chemical composition of crystal salts produced from pH 3.58 and 6.47 feedwaters through MDCr, where three process temperatures were monitored

Based on collected crystal salts from MDCr, the study reported on chemical composition based on classified toxic, essential alkali/alkaline earth and non-metallic ions and trends in crystallization (Table 5). The change in pH and feed temperature presented a significant variation in concentrations of the toxic metal ions. For instance, the concentration of Pb2+ was noticeably higher (37.76 mg·L−1) at pH 3.58 compared to 28.77 mg·L−1 at pH 6.47. This observation suggested higher dissolution in acidic environments. Similarly, the higher concentrations of most toxic metal ions including As3+, Cd2+, Hg2+ peaking at 70 °C proved enhanced solubility and precipitation kinetics increasing with temperature. However, the concentrations of most toxic metal ions were generally lower across all temperatures, reflecting enhanced crystallization of hydroxides and carbonates at near-neural pH. Compared to Table 1, concentrations of the produced metal ions differed significantly with some presenting reductions while some were enriched. For example, the concentration of Al3+ from raw AMD was 51.5 mg·L−1 while the crystal salt at 60 °C reached 95.29 mg·L−1, suggesting selective crystallization.

Other metal ions presenting high concentrations in acidic conditions (pH 3.58) were Fe3+ (66.52 mg·L−1 at 60 °C), Cu2+ (39.56 mg·L−1 at 70 °C), Mn2+ (19.77 mg·L−1 at 70 °C) compared to their counterpart ions in near-neutral conditions (pH 6.47). However, their low concentrations from the crystal salts compared to their high concentrations in AMD (for example, 1421 mg·L−1 of Fe3+) was associated with metal reduction during precipitation and sand filtration pretreatment prior MDCr operations. However, the concentration of Ca2+ was higher at near-neutral conditions (pH 6.47), reaching 6553 mg·L−1 compared to 3477 mg·L−1 at pH 3.58 during salt crystallization at feed temperature of 50 °C. The increase in Ca2+ was influenced by lime dosing during AMD neutralization, achieving the feed pH of 6.47. The SO42 dominated the fraction of non-metal ions, with concentrations reaching 10,000 mg·L−1 for all pH values and temperatures. This was linked to preferential crystallization with high metal ions concentration such as Ca2+, particularly at near-neutral feed conditions (pH 6.47). Although Cl- ions presented minimal variations with temperature, their concentration was higher (1229 mg·L−1) at feed pH and temperature of 3.58 and 70 °C suggesting minimal co-precipitation. Compared to Table 1, the concentrations of NO3 dropped significantly, probably due to thermal decomposition during MDCr. Based on these findings, the MDCr paved the way for specific ion recovery, though intensive optimization of the process conditions and feed pre-treatment are required towards improved circular economy strategies. For instance, the recovered halite could potentially be used in road de-icing while ettringite could find a potential application in construction materials. Despite the mentioned potential applications, the MDCr operational costs should be compared with the market value of the recovered salts to conclude their economic feasibility. Similarly, techno-economic analysis comparing MDCr, RO and lime neutralization should be carried out to determine the cost-benefit ratio.

Reflecting on the overall findings, the current study evaluated the feasibility for simultaneous water purification and mineral salts crystallization from AMD of differing pH values through MDCr. The neutralized feedwater (pH 6.47) facilitated formation of smaller, dense crystals. At acidic conditions (pH 3.58), valuable metal-rich crystal salts were obtained. However, robust membranes are critically required to sustain low pH conditions for long-term operations. Also, 60 °C presented optimal operating feed temperature, presenting flux stability, energy efficiency and crystallization kinetics. The findings highlighted the transformative behaviour of MDCr in converting AMD into valuable resources, aligning with circular economy by addressing water scarcity and mineral shortages. Also, application of MDCr to treat real AMD with varying chemistry offered the insight into technology novelty. The dual benefit of water recovery and salt crystallization with minimal mass loss and near-complete ion rejection (99.9%) highlighted the robustness of polypropylene hollow fibre membranes in challenging environments like AMD treatment while emphasizing the importance of optimizing operating conditions to mitigate fouling and scaling. This provided a meaningful contribution to advancing the laboratory MDCr concept to field applicable technology. Nonetheless, the pilot-scale validation through field trials is critically important to validate laboratory findings to ensure scalability. This will contribute to the scientific advancements of the MDCr while aligning with global efforts to promote circular economy and sustainable water management in mining-impacted regions. Also, selective mineral extraction and integration of renewable energy should be considered to enhance process sustainability.

Methods

Materials and feed water samples

The AMD samples were collected from the Central Basin AMD Treatment Plant in Germiston, within the Witwatersrand mining region, South Africa. Prior to development of a treatment plant, this site was known to decant the untreated AMD, historically linked to closed gold mine operations. Currently, the Central Basin pumping station discharge approximately 15 million litres of AMD per day downstream. Precise geographic coordinates of sampling area identified using civilian-grade Global Positioning System (GPS) with a ± 5 m horizontal accuracy were −26.2176° latitude, 28.1742 longitude. Two untreated AMD water samples were collected to assess the MDCr process performance under different conditions: A highly acidic AMD (pH 3.58) directly from the mine shaft, and partially neutralized (pH 6.47) from lime-treated holding pond. The samples were collected in airtight high-density polyethylene (HDPE) containers, purged with nitrogen and transported to the laboratories under refrigerated conditions (4 °C) to minimize oxidation.

Physicochemical properties such as pH, conductivity, total dissolved solids (TDS) were measured onsite using Bante900 potable multiparameter water quality meter (Table 1). The concentration of the cations namely, Li, Na, K, Ca, Mg, Al, Mn, Fe, Ag, Cu, Ni, Co, Pb, Zn, Cd, As, Cr, Ti, V was analysed using Spectro Genesis inductively coupled plasma optical emission spectroscopy (ICP OES), equipped with Smart Analyzer Vision Software. A mixed standard containing the above-mentioned cations was used as a stock solution to prepare a series of 0.00, 0.1, 0.5, 1.0, 7.0 and10.0 mg·L−1 working standards, where 0.00 mg·L−1 was acquired from a blank solution. After constructing the calibration curve with the R2 of 0.998–0.999, the quality control check (QC) was evaluated by measuring the concentration of the blank and middle standard (1.0 mg·L−1). The analysis was performed at the wavelength maxima of each metal ion measured. The analysis was performed at source equilibrium, nebulizer flow, auxiliary flow, plasma flow, pump rate, read delay of 15 s, 0.8 L·min−1, 0.2 L·min−1, 15 L·min−1, 1.5 L·min−1, where peak area was used as processing mode with at least 3 replicates.

On one hand, anions namely PO43+, SO42+, NO3, Cl, F were analysed using ion chromatography (Eco IC, Metrohm) equipped with Metrosep A Supp 17-150/4.0 column and MagIC Net software. A mixed standard containing the above-mentioned anions was used as a stock solution to prepare a series of 0.5, 1.0, 5.0, 10, 50 and 100 mg·L−1 working standards. The analysis was performed under flow rate and recording time of 1.0 mL·min-1 and 13 min respectively. The buffer solution of 5 mM Na2CO3 and 16 mM NaHCO3 was used as eluent while 0.1 M H3PO4 was used as a suppressing solution. The samples concentrations were acquired from the constructed calibration plots whose correlation coefficient was 0.99 for all analytes.

Membrane crystallization tests

Prior to membrane distillation crystallization (MDCr), the samples were filtered through a sand packed column with packing density of approximately 1.45–1.50 g·cm−3, achieving the gravity-driven flow rate of ⁓0.21 L·h−1. A lab-assembled module consisting of 21 hollow fibre polypropylene (PP) membranes (42 cm length, 0.2 μm pore size, 1.8 mm inner diameter, 450 μm thickness and 73% porosity) was used in MDCr processing of pretreated AMD feed water. The PP membrane was selected based on its hydrophobicity, affordability and commercial availability. This membrane offered a balance trade-off between chemical resistance and mechanical stability, making it suitable for AMD treatment in MDCr62. Although polytetrafluoroethylene (PTFE) and polyvinylidene (PVDF) have superior chemical resistance, they are costly and often require additional modifications to improve performance63. Also, PP exhibit low thermal conductivity and favourable pore structure which maintain stable temperature gradient and improve vapour permeability while exclusively retaining non-volatile compounds64. Given the objective of this study involving treatment of AMD while maintaining cost-effectiveness for potential large-scale applications, the choice of PP membrane was inevitable.

The MDCr experimental sept-up was designed using a direct contact hollow fibre PP membrane module (Fig. 7). The feed and permeate solutions were driven by MasterFlex L/S peristaltic pump at a crossflow velocity of 14.03 mL/sec in a counter current configuration, following a previously reported method30. The permeate temperature was maintained at 10 °C with recirculating chiller while feed temperatures were varied between 50, 60 and 70 °C using PID-controlled water bath. The actual temperature of the feed and permeate were measured at module inlet and outlet. These measurements facilitated determination of the temperature difference stability across the two interfaces of the membrane using Eqs. 13. The water flux and salt rejection were calculated from Eqs. 4 and 5 using the measured permeate weight and conductivity from weighing balance (Adam Equipment LBX 3) and Hanna HI-5522-02 Professional bench top pH/ISE/EC dual channel meter respectively. Similarly, the conductivity of the feed solution was monitored to understand saturation and crystal formation. The pH of the feed and permeate were monitored using bench top pH/ISE/EC dual channel meter. All measurements were recorded at 5 min intervals except real-time monitoring of crystallization which was measured at 20 min intervals. The supersaturated solution with more than 80% water recovery was transferred to an external jacketed borosilicate glass crystallization reactor equipped with mechanical stirrer. The crystallization process was controlled under 150 mbar to improve solvent evaporation, stirring speed of 150 rpm for uniform saturation, and jacket temperature of 25 °C.

$${\Delta T}_{{In}}=\frac{{\Delta T}_{{in}}-{\Delta T}_{{out}}}{{In}\frac{{\Delta T}_{{in}}}{{\Delta T}_{{out}}}}$$
(1)
$${\Delta T}_{{in}}={T}_{{feed},{in}}-{T}_{{permeate},{out}}$$
(2)
$${\Delta T}_{{out}}={T}_{{feed},{out}}-{T}_{{permeate},{in}}$$
(3)
$$J=\frac{{dm}}{{Adt}}$$
(4)
$$R\left( \% \right)=\frac{{k}_{f-}{k}_{p}}{{k}_{f}}x100 \%$$
(5)

Where \(J,\,{R\left( \% \right),{dm},{A},{dt},{k}}_{f}\) and \({k}_{p}\) represent water flux, percentage salt rejection, mass difference at time (t), change in time, feed and permeate conductivity respectively.

Fig. 7
figure 7

Schematic illustration of the MDCr systems used for recovery of freshwater and mineral salts from the AMD of a closed mine.

Crystal characterization

The supersaturated feed samples were collected at 20-min interval to monitor crystal formation and growth under optical microscope. ImageJ software was used to measure the particles from the obtained microscopic images. To ensure a true reflection of particle size distribution, a minimum of 100 crystals was analysed. The crystal particle growth rate was calculated from a linearized plot of particle size as a function of time30,65, taking into account the effective growth rate as the time derivative of the crystal size. Equation 6 was linearized to Eq. 7 where the change in crystal length was plotted against growth time and the slope of the curve was used to calculate the crystal growth rate (Geff)30.

$${G}^{{eff}}=\frac{1}{2}\frac{{dL}}{{dt}}$$
(6)
$${{dL}=2G}^{{eff}}{dt}$$
(7)

Where \({dL}\), \({dt}\), and \({G}^{{eff}}\) were change in crystal length, growth time and effective growth rate. Constant factor (\(\frac{1}{2}\)) accounts for particle growth from crystal centre to two opposite directions.

The mineral phase of the recovered crystals was identified using Bruker D2 Phaser Powder X-ray diffractometer equipped with a Cu Kα X-ray source (1.54 nm). The elemental analysis of the dried crystals was conducted using ICP-OES and IC analysis. Prior to analysis, 0.01 g of the crystal salts was dissolved in 1.0 L of deionized water, acidified with 0.1 M HNO3 (1 mL) and digested for 60 min using the multiwave 5000 microwave reaction system. The final concentration of ions per recovered mass from MDCr system was calculated using Eq. 8.

$${C}_{{ion},{MDC}}=\frac{{C}_{{ion},{measured}}* {m}_{{MDC}}}{{m}_{{measured}}}$$
(8)

Where Cion,MDCr and mMDCr are the concentration and mass of ions per mass of crystal salts collected from the MDCr systems while Cion,measured and mmeasured are the concentration and mass of ions per used mass (0.01 g) during ICP-OES and IC analysis. All instruments were calibrated with certified standards.