1 Introduction

Changes in the physicochemical parameters of springs are observed from their points of outflow along their flow paths. The main driving force of these changes is the degassing of CO2 due to the significant difference between the partial pressure of CO2 in the air and in the water. One consequence of CO2 escape is an increase in pH. Additionally, the oxidative environment, i.e. the air, causes a rise in the dissolved oxygen content of the water. The rate and spatial extension of the variations depends on many factors, such as the change in pressure, the initial physicochemical parameters, the flow velocity and depth of the water, parameters related to the air, and the irregularities of the bottom of the spring or stream bed, i.e. turbulence (Chen et al. 2004; Dandurand et al. 1982; Hammer et al. 2008; Herman and Lorah 1986, 1987; Hoffer-French and Herman 1989, 1990; Lorah and Herman 1988, 1990; Nordstrom et al. 2005; Zhang et al. 2001).

The aquatic chemistry of the outflowing water is dependent on the groundwater flow system feeding the spring (Tóth 1963). In the case of the discharge of a regional groundwater flow system, thermal water rises to the surface, and this is characterized by a low dissolved oxygen content, neutral or acidic pH, a high total dissolved solid (TDS) content, elevated temperature and, usually, a high concentration of CO2 (Goldscheider et al. 2010; Mádl-Szőnyi and Tóth 2015; Tóth 1963). As a consequence of these characteristics, the gradient between the discharging thermal water and the air is high, so the physicochemical parameters change abruptly closer to the outflow than in the case of lukewarm and cold springs. The 38.5–93 °C thermal waters in Yellowstone National Park display remarkable variations in the parameters over the first 6–30 m from the outflow (Nordstrom et al. 2005). In the case of colder waters (9.3–35 °C), however, at locations with similar surface temperatures, a greater distance from the outflow (ranging from 47 m up to as far as 10 km) is required for such differences to be observed (Amundson and Kelly 1987; Dandurand et al. 1982; Das and Mohanti 2015; Dreybrodt el al. 1992; Herman and Lorah 1986, 1987; Hoffer-French and Herman 1989, 1990; Lorah and Herman 1988, 1990).

The latitudinal and altitudinal location of a given spring discharge is another crucial factor in defining the gradient between the water and the air. The temperature, humidity, air pressure, seasonality, daily variations of these parameters are further factors influencing changes in the physicochemical parameters of the flowing water, so as the density and type of vegetation (e.g. Das and Mohanti 2015; Herman and Lorah 1986; Hoffer-French and Herman 1989, 1990).

It is a special case when the spring discharges into a cave. There are no or quite smoothened seasonality and daily variations in air conditions in caves compared to the outside air. Furthermore, in the absence of light, there is no photosynthetic vegetation, but there are plenty of nutrients for chemoautotrophic and chemolithoautotrophic bacteria, which inhabit the walls and the water, usually forming biofilms (e.g. Engel et al. 2001; Sarbu et al. 1996). Biofilms also form in subaerial springs (e.g. Amundson and Kelly 1987; Das and Mohanti 2015; Nordstrom et al. 2005). The bacteria influence their environment via metabolization and therefore take part in the processes of dissolution and precipitation (e.g. Ehrlich 2001).

Carbonates are also common phenomena in caves and springs. The increasing pH of water causes a rise in the saturation index with respect to calcite (SIcalcite) and after reaching the appropriate state of supersaturation, CaCO3 precipitates. Biofilms and carbonates often occur together, connected to the same water body, and characterized by the same water chemistry. Because of that, and the complexity of natural spring systems, it is challenging to measure and take into consideration all the governing factors in the process of precipitation. Laboratory experiments are often executed to study the evolution of precipitates and the effects of specific parameters. However, it is not possible to make such a complex system in the laboratory, what exists in the nature. In situ experiments, i.e. artificially controlled natural systems provide a key solution in overcoming these problems. Parameters can be added, excluded or stabilized during the in situ experiment. The changes of the water chemistry and the formation of the precipitates can be followed in time and space.

Based on these preliminary considerations, an in situ experiment was conducted in the active hypogenic karst area of Buda Thermal Karst (BTK) in Hungary, where biofilm formation and carbonate precipitation are active processes (Erőss 2010; Mádl-Szőnyi and Erőss 2013). The direct observation of ongoing precipitation processes is possible near the surface in thermal spring caves and hypogenic caves (Erőss 2010), and thus providing an excellent natural laboratory. The thermal springs of the BTK are anthropogenically controlled, so in situ experiments cannot be made at these locations. But there is a canal in the artificial tunnel of Gellért Hill, which is located close to the thermal water discharge in the south part of the BTK. Here, thermal water can be directed into a trapezoid canal, simulating thermal spring discharge in a cave environment. The known and constant initial volume discharge, the easily measurable water chemistry along the flow path and the regular canal profile provide good input data to a reactive transport model. The integration of in situ experiment and numerical simulation gives a detailed picture of the changing physicochemical parameters and the underlying biogeochemical processes.

The aim of the study was to examine the rate and spatial extension of the physicochemical parameter changes of flowing thermal water via an in situ experiment in the “artificial cave” of a natural laboratory to reveal the circumstances of the evolution of organic and inorganic precipitation in advance of their formation. Furthermore, to examine the distribution of radionuclides and trace elements along the flow path of the thermal water, before the adsorbing precipitates form. Besides the measurements, reactive transport modelling was used to simulate the main chemical reactions along the flow path of the thermal water.

2 The Study Area

2.1 Gellért Hill

The BTK is the regional discharge area of a thick carbonate system lying on the boundary of confined and unconfined carbonates (Mádl-Szőnyi and Tóth 2015). The BTK is situated on the northeastern edge of this carbonate system, the Transdanubian Range (Fig. 1a, b). Hydraulic and hydrochemical studies and the radionuclide analysis of the BTK have assisted in the delineation of the flow components of the discharge area (Erhardt et al. 2017; Erőss et al. 2012; Mádl-Szőnyi et al. 2017a, b). In the Gellért Hill area, only thermal springs, originating from regional groundwater flow systems discharge. These waters are characterized by not only fresh karst water, but by some additional basinal fluid component from the confined part. The discharging thermal water has elevated concentrations of HCO3, Ca2+, Mg2+ and SO42− (Erőss 2010; Kovács and Erőss 2017). The basinal fluids, on the other hand, are responsible for the Na+, Cl, Ra2+, CO2, H2S, H2SiO3 and trace element content of the discharging water (Mádl-Szőnyi and Tóth 2015; Mádl-Szőnyi et al. 2017a) (Fig. 2). Associated with the discharge of groundwater flow systems, springs, thermal caves (e.g. Leél-Őssy 1995; Leél-Őssy and Surányi 2003; Takács-Bolner and Kraus 1989), inorganic and organic precipitates are to be found in this specific hydrogeologic environment (Erőss 2010; Mádl-Szőnyi and Erőss 2013). It has been discovered that biofilms are formed where the discharging reduced thermal water become oxidized, i.e. meets the air (Borsodi et al. 2012; Erőss et al. 2012). Bacteria, inhabiting the biofilms, take part mainly in the iron and sulphur cycle via iron (FeII)/sulphur-oxidation or iron(FeIII)/sulphate-reduction (Anda et al. 2014, 2015; Borsodi et al. 2012; Makk et al. 2016). Furthermore, biofilms in spring caves and springs can adsorb 226Ra from the water and are responsible for the elevated 222Rn content of thermal springs in the BTK (Erőss et al. 2012), similar phenomena have been observed in Japan (Fujisawa and Tazaki 2003; Nagai et al. 2001; Tazaki 2009) and in Switzerland (Gainon et al. 2007). Trace elements also tend to accumulate in biofilms (Dobosy et al. 2016; Le Guern et al. 2003).

Fig. 1
figure 1

a Location of Hungary in Europe, b the study area in the Transdanubian Range (modified after Fülöp in Haas 2001; Mádl-Szőnyi et al. 2001) and c the Gellért tunnel

Fig. 2
figure 2

Conceptual hydrogeological model of the Gellért Hill discharge area (Erőss 2010 modified by Mádl-Szőnyi et al. 2017a)

2.2 Location of the In Situ Experiment

A canal in an artificial tunnel in Gellért Hill was the location of the in situ experiment. The tunnel was built between 1969 and 1978 to act as a gallery and to supply the spas of Buda along the River Danube with unpolluted thermal water. The tunnel is 1100 metres long and situated by 2–3 m above the groundwater level. It connects three spas (Fig. 3a).

Fig. 3
figure 3

a Route of the Gellért tunnel, with the location of spas, wells, thermal springs, ventilation ducts and the pit and b the pit

The groundwater and Danube are hydraulically connected, so when the river floods, the river water pushes the discharge of thermal water down into river bed, causing the shifting of this extra thermal water discharge to the river bank (Alföldi et al. 1968; Schafarzik 1920; Somogyi 2009; Striczki 2010 etc.). Consequently, during floods the tunnel is submerged under thermal water. To facilitate access to the tunnel during these high-water episodes and control the outflowing water, pits (Fig. 3b) and a trapezoid canal (average size: bases 27 and 39 cm, legs 9 and 7 cm) have been excavated into the concrete floor of the tunnel.

A 400-m-long section of the canal was studied in the course of the in situ experiment, because thermal water discharges in the area of Gellért Hill at a temperature of 31.4–46.7 °C (Erőss et al. 2012), so the gradient is high and fast changes are to be expected in the physiochemical parameters of the water, surely stabilizing in the 400-m-long section.

Based on measurements made within the in situ experiment, two main factors influence the air temperature in the tunnel (Weidinger et al. 2016). The first is the presence of the district heating pipes of the city, which are attached to and follow the ceiling of the tunnel. The second is the location of various junctions and ventilation ducts. In the studied 400-m-long section of the tunnel, there are two places where fresh air can enter. One is where the thermal water outflows from the pit (at the Rudas Spa junction) and the other is at a distance of around 300 m from the pit (Fig. 3).

3 Data and Methods

3.1 Experimental Settings

The in situ experiments were carried out when the water level of the Danube was relatively low, so the effects of flood could be excluded. To provide thermal water outflow, a pump (Barwig BWV 01 low voltage submersible pump) was inserted into the pit (width * length * depth: 25 * 35 * 39 cm) (Fig. 3b) at the Rudas Spa junction. This pump ensured a constant and manageable level of water discharge.

The one-day-long experiment was performed on two separate occasions, 23 March 2016 and 22 April 2016. On both occasions, pumping was started a few hours before the measurements to ensure the water filled the entire examined length (400 m) of the canal. Later on, the experiment was repeated for 6 weeks to study the thermal water precipitates, to validate the results of the integration of one-day-long experiments and numerical simulations.

3.2 Measured and Sampled Parameters, Sampling Strategy and Procedure

On both experimental occasions, parameters were measured at defined distances from the pit, i.e. from the outflow of the thermal water. Those parameters were measured which can influence precipitation processes or can be affected by the precipitates (temperature, pH, specific electric conductivity, dissolved oxygen content, concentration of anions, cations and trace elements, activity of 226Ra and 222Rn). The location of the March sampling points may be seen in Fig. 4a. The sampling density was more frequent over the first 50 m based on the literature, i.e. the physicochemical parameters of the thermal water change fast close to the outflow. Temperature, specific electric conductivity, pH, dissolved oxygen content, concentration of HCO3 and water discharge were recorded on site. Furthermore, samples were collected for laboratory measurement of major ion analysis (Ca2+, Mg2+, Na+, K+, Cl, SO42−) from the pit and at distances of 50 and 400 m in order to obtain a general overview of the changes in ion concentrations. As calcite is the main evolving precipitate in the area, only Ca2+ and HCO3 were measured on site at every sampling point.

Fig. 4
figure 4

Sampling points of the in situ experiment along the flow path on a 23rd March and b 22nd April 2016

In the course of the second experimental session, the location of sampling points (Fig. 4b) was modified based on the results of the first one. The number of measured parameters was also increased. Besides the parameters measured earlier, samples were also collected for the laboratory measurement of 226Ra and 222Rn from all sampling points and for the analysis of trace elements from the pit. As water temperature is the parameter most sensitive to the variations of air conditions, air temperature was also monitored during the second sampling session to understand the effects of the heating pipes and the ventilation ducts.

3.3 Applied Methods

The applied methods, the accuracy/detection limit of the measurements and the laboratories are summarized in Table 1. The major ions were determined with the usual analytical laboratory techniques, following standard methods (Eaton et al. 2005). For these measurements, samples were collected in 1.5 l PET bottles with no free head space and were kept cool until the analysis (within 1–2 days).

Table 1 Summary of the measured parameters, methods, accuracies/detection limits and laboratories

To determine 222Rn activity, 10 ml samples were injected into glass vials containing 10 ml Optifluor-O cocktail at the site. The cap of the vial was additionally wrapped with parafilm. The activity was determined within 24 h because of the short half-life of the isotope (3.82 days).

For 226Ra sampling, 0.25 l PET bottles were used. The radionuclides were measured using Nucfilm discs (Surbeck 2000). The samples were kept cool between the sampling and the measurements (within 3–4 weeks).

On the second occasion, samples of trace elements for analysis were collected in 15 ml polypropylene tubes. At each sampling point, both an unfiltered and a 0.2 µm filtered sample were taken, in order to determine the distribution of the trace elements between the dissolved and suspended matter. The samples were acidified with HNO3 on site to ensure a pH of < 1. After adding 10 μg/l indium internal standard, the analysis was carried out with the use of inductively coupled plasma-mass spectrometry (ICP-MS). Quantification was performed following the external calibration method.

Water discharge was measured by scaling at the outflow of thermal water. Along the flow path of the canal, discharge was calculated from flow velocities determined by surface floating method and trapezoid sections of the canal.

Air temperature was measured about 20 centimetres above the bottom of the tunnel.

To support the interpretation of the concentration patterns measured in March and April, reactive transport modelling was conducted using the PHREEQC code (Parkhurst and Appelo 2013). The reactions considered were similar to those in the work of Keppel et al. (2012) in their study of spring outflow into a wetland, i.e. gas exchange between the water and atmosphere and calcite precipitation. In the present study, the degassing of CO2 and 222Rn and the ingassing of O2 were modelled using the rate expression, Eq. (1):

$$r = k(m - m_{\text{eq}} )$$
(1)

where r is the rate of gas transfer between the water and the air in the tunnel (M/s, where M is molality), k is the gas exchange rate constant (1/s), m is the concentration of the gas (M), and meq is the concentration of the gas in equilibrium with the water at the prevailing temperature (M). The latter value is calculated using PHREEQC. Calcite precipitation was modelled using the kinetic rate equation developed by Plummer et al. (1978). This rate expression is implemented in the standard database of PHREEQC (phreeqc.dat) used in this study. The gas exchange rate constant k depends on several factors, including turbulent dissipation at the air–water interface, water depth, flow velocity, the kinematic viscosity of the water, and the diffusion rate of the gas (Raymond et al. 2012). While theoretical relationships are available to calculate k, poor agreement has been reported between these and values of k measured in tracer injection experiments (Genereux and Hamond 1992). In the present study, the value of k was therefore optimized by fitting the model to the measured concentrations.

The morphology of the evolved precipitates was examined by scanning electron microscopy (SEM). The samples were filtered onto 0.2 µm polycarbonate filter (Millipore) fixed in glutaraldehyde (5% in 0.1 M phosphate buffer) for 4–5 h at room temperature. The fixed samples were rinsed twice with phosphate buffer solution (pH 7), shock frozen in liquid nitrogen and freeze-dried (until 2 × 10−2 mbar, at − 60 °C for 6–8 h). After lyophilization, the dried samples were mounted on metal stubs, and sputter-coated with gold. The samples were examined using an EVO MA 10 Zeiss scanning electron microscope at an accelerating voltage of 10 kV.

The mineral composition of the crystalline precipitates was investigated by X-ray powder diffractometer (XRD), using a Siemens D5000 type device (Bragg–Brentano setup, Cu radiation).

4 Results of the In Situ Experiment

4.1 Field Parameters and Major Ions

Water temperature decreased overall from 36 to 32.6 °C in the first session, and from 36.9 to 31.5 °C in the second. In the first occasion, the temperature dropped from 36 to 30.8 °C over the first 200 m and then increased to 32.6 °C. In the second session, the water temperature dropped (36.9–33.2 °C) over the first 150 m, then increased (33.2–34.2 °C) by 250 m, and decreased again (34.2–31.5 °C) (Fig. 5).

Fig. 5
figure 5

Variations in the field parameters along the flow path for the two occasions (error of measurements: DO: ± 0.1 mg/l, EC: ± 2%, pH: ± 0.01, T: ± 1 °C)

The air temperature ranged from 35 to 37 °C (Fig. 5). 50 m from the pit it increased, then it became stable, decreasing after 300 m.

The change in pH was very sharp. The thermal water in the pit was slightly acidic (6.84; 6.79), and it changed to alkaline (8.05; 8.42) between the two ends. In the March sampling session, pH increased rapidly, 6.84–7.84, between the pit and the 25 m point. Between 25 and 50 m, it was stable at around 7.8. Then, it increased slightly to 8.22 and finally dropped to 8.05 at the end of the canal. In April, pH increased abruptly from 6.79 to 8.23 between the pit and the 80 m point. After 80 m, it barely changed (Fig. 5).

Dissolved oxygen increased along the flow path on both occasions. In the first case, it was 1.7 mg/l at the pit and 7.3 mg/l at 400 m. It changed rapidly between the pit and 100 m, then at a lower rate. On the second occasion, it changed from 0.9 to 7.5 mg/l, with an abrupt rise between the pit and the 100 m point (Fig. 5).

Specific electric conductivity decreased from 2059 to 1666 μS/cm in March and from 2011 to 1732 μS/cm in April. In both sampling sessions, the greater part of the drop in specific electric conductivity took place over the first 100 m (Fig. 5).

At the outflow of the thermal water, the volume discharge was an average of 1.8 × 10−4 m3/s in March and 1.2 × 10−4 m3/s in April. The measured volume discharge was 2.14 × 10−4 m3/s in the canal in March and fell between 3.57 × 10−5 and 3.61 × 10−4 m3/s in April.

The concentration of HCO3 and Ca2+ decreased along the whole flow path from 531 to 295 mg/l and from 173 to 101 mg/l, respectively in March. In April, the concentration of HCO3 and Ca2+ decreased from 554 to 331 and from 170 to 98 mg/l, respectively (Fig. 6). The concentrations of the other major ions did not change significantly along the flow path (Cl (147–153 mg/l), Mg2+ (58–58 mg/l), Na+ (119–128 mg/l) and K+ (17–19 mg/l)) according to the widely spaced measurements (at 0, 50 and 400 m) (Table 2).

Fig. 6
figure 6

Variations in the concentrations of Ca2+ and HCO3 along the flow path (error of measurements for both ions: 2%)

Table 2 Concentrations of the major ions at 0, 50 and 400 m in April (error of measurements: 2%, for SO42−: 5%)

4.2 226Ra and 222Rn Activity

The concentration of 226Ra in the water (mean value: 351 mBq/l) remained the same along the flow path within the error of analysis (Fig. 7).

Fig. 7
figure 7

Variations in the activity of 226Ra and 222Rn along the flow path

The 222Rn activity decreased from 167 ± 9 to 3 ± 2 Bq/l (between the pit and the 400-metre point) with an increase at 20 m in April. It dropped to the level of the background radiation (2–3 Bq/l) at 100 m (Fig. 7).

4.3 Trace Elements

The concentration of trace elements in the original (unfiltered) samples and in the suspended solid (= unfiltered-filtered) are depicted in Fig. 8. Be, Bi, Cd, Cr, Hg, Mo, Pb, Sb, Sn, Te, Th, Tl, U, V and Y were present at the lowest concentration in both the unfiltered samples and in the suspension, between 0 and 0.5 μg/l (Fig. 8a). Bi, Cr and Th were below the detection threshold in the filtered samples. The concentrations of Al, As, Cu, P, Sc, Se, Ti and Zn fell within the range of 1–12 μg/l (Fig. 8b), while Ba, B, Br, Cs, Fe, I, Li, Mn and Rb were between 10 and 620 μg/l (Fig. 8c). The concentration of S and Si were the highest (4000–55,000 μg/l) in both the unfiltered samples and in the suspension (Fig. 8d).

Fig. 8
figure 8

Trace element concentrations in unfiltered water and in the suspended solid of the pit in the range of a 0–0.5, b 1–12, c 10–620, d 4000–55,000 μg/l

In the case of many elements (Be, Bi, Cd, Cr, Pb, Th, Tl, V, Y, Al, Cu, Se, Ti, Zn, Fe, Mn), the concentration in the suspension is close to the total concentration. Other elements like Mo, U, As, P, B, Li, S are represented in relatively less abundance in the suspended solid (Fig. 8).

4.4 Simulated SIcalcite and pCO2 and Reactive Transport Modelling

The saturation index with respect to calcite was modelled using the measured concentrations and parameters. The indices were positive along the whole flow path. The indices increased over the first 80 m (0.4–1.55), then the values were almost the same between 80 and 150 m (around 1.55), and decreased from 1.55 to 1.35 in the next 50 m (150–200 m), then remained around 1.35 (Fig. 9).

Fig. 9
figure 9

Modelled variations in SIcalcite and pCO2 along the flow path

The partial pressure of CO2 (pCO2) changed in the opposite direction to SIcalcite. It steeply decreased in the first 100 m, then, increased slightly in the next 100 m (100–200 m), and slightly decreased between 200 and 400 m (Fig. 9).

The reactive transport model was fitted to the measured data using a model optimization software, PEST (Watermark Numerical Computing 2016), by adjusting the gas exchange rate constants for CO2, O2 and 222Rn (kCO2, kO2, kRn) and the surface area over volume parameter (A/V) in the rate expression of calcite. While kO2 and kRn could be fitted to the data independently, it was found during trial runs that the value of kCO2 correlated to the value of A/V in the expression of the rate for calcite precipitation. It was found that because of this dependence, a better fit of the measured pH values, which are very sensitive to the value of kCO2, could only be obtained at the expense of a worse fit of the Ca2+ and HCO3 concentrations.

Flow and solute transport were modelled using the following form of the advection–dispersion equation, Eq. (2):

$$\frac{\partial m}{\partial t} = - v\frac{\partial m}{dx} + D_{L} \frac{{\partial^{2} m}}{{dx^{2} }} + r$$
(2)

where m is the aqueous concentration (M), t is time (s), v is the water flow velocity (m/s), x is the distance from the outflowing (m), and DL is the hydrodynamic dispersion coefficient, which is defined as DL = αLv + De (m2/s), where αL is the dispersivity (m) and De is the diffusion coefficient (m2/s).

The value of v was derived from the discharge rates measured in the course of the experiment. For De, a value of 5 × 10−9 m/s2 was assumed, and αL was set to 0.05 m. No further optimization of these parameters was attempted, as a good fit between the modelled and measured 222Rn could be obtained with these chosen values (Fig. 11). Since 222Rn is chemically inert, this was considered to be confirmation of the model’s ability to simulate the flow and mixing processes within the canal.

4.5 Observation of Evolved Precipitates

Due to 6 weeks of thermal water flowing, reddish-brown, amorphous precipitate formed close to the outflow and up to distance of 15 m from it (Fig. 10a). Low-magnification SEM images showed extended bacterial colonization, with some minerals in the first 15-m-long section (Fig. 10b). The high-resolution SEM images reflected the networked structures and morphological variability of the biofilm-forming bacterial cells. Different sized and shaped filamentous bacteria in interwoven form (red arrow), numerous straight (yellow arrow) and curved rod-shaped (blue arrow), aggregate-forming cells of varied sizes (green arrow) were visible in the photos. The rod-shaped cells form long chains (purple arrow) (Fig. 10c).

Downstream, a beige, crystalline precipitate evolved along to the end of the studied section (Fig. 10d). Calcite crystals (also revealed by XRD) dominate this precipitate with serrated mineral surfaces. In the low-magnification SEM images, patches of bacterial colonization can be seen (Fig. 10e). The morphology of bacteria of these colonizations is the same as in the biofilms of the first 15 m (Fig. 10f).

Fig. 10
figure 10

The reddish-brown, amorphous precipitate at 8 m a on site, b, c in SEM images; crystalline precipitate at 40 m d on site, e, f in SEM images

5 Interpretation and Discussion

Thermal springs are discharge features of regional groundwater flow systems and are characterized by a near-constant volume discharge and relatively invariant physicochemical parameters at the outflow as long as the hydrogeological environment is stable (for hundreds or thousands of years) (Goldscheider et al. 2010; Mádl-Szőnyi and Tóth 2015). The natural thermal water discharge can be simulated by invariable pumping from a well. Though the initial discharge is stable, volume discharge could change along the flow path due to the roughness and route of the bed, even in regular channels, like that in the experiment.

5.1 Physicochemical Parameter Changes Along the Flow Path

The air temperature of the tunnel is affected by ventilation, but this fact does not necessarily influence the temperature of the water inside the tunnel if the temperature of the water and the air are similar, as was the case in the present study. This supposition was then confirmed by the absence of significant correlation (− 0.27) (Table 3).

Table 3 Correlation matrix (Pearson correlation) for the measured parameters in March (bold) and April (italic)

The abrupt pressure drop at the outflow results in rapid, intensive CO2 degassing and a concomitant sharp rise in pH values close to the outflow, with less intensive degassing as the volume of CO2 in the water decreases.

The strong significant negative correlation (− 0.94) (Table 3) demonstrates the converse nature of the change in dissolved oxygen content from pCO2, as O2 originating in the air of the tunnel dissolves into the water. After reaching saturation point, the dissolved oxygen content remains stable (Fig. 5).

Given the increase in the pH of the water, supersaturation and the precipitation of CaCO3 are to be expected, and this assumption gains support from the increase of SIcalcite (Fig. 9), the decrease in specific electric conductivity (Fig. 5) and the decrease in the concentration of the two major ions, Ca2+ and HCO3 (Fig. 6). The significant correlation coefficients of 0.98 and 0.90–0.92 obtained between the specific electric conductivity and the concentrations of Ca2+ and HCO3, respectively, confirm that the decrease in these two ions causes the drop in specific electric conductivity. The concentration of Ca2+ and HCO3 displayed a continual decrease along the flow path.

From the relatively spaced-out measurements, it seems that the concentration of other major ions (Mg2+, Na+, K+, Cl) remains relatively constant along the flow path (Table 2); this is related to the fact that they do not take part in precipitation processes. Though Mg-calcite has been determined as the main mineral phase of the carbonates in the spring caves of the BTK (Erőss 2010), along the flow path a decrease in Mg2+ in the water was not detectable.

5.2 Radionuclides and Trace Elements in the Water

The concentration of 226Ra remains stable (Fig. 8a) in the canal, displaying no significant correlation with any of the parameters (Table 3). 222Rn is the decay product of 226Ra, and it degasses rapidly from water, since there is no additional supply along the flow path. The 222Rn activity displays a strong significant correlation with pCO2 (0.94) and a strong significant negative correlation with pH (− 0.96) and dissolved oxygen content (− 0.99) (Table 3). The strong correlation with pCO2 demonstrates that 222Rn degasses in a way similar to CO2, as it is also a dissolved gas: its concentration dropped to the level of the background radiation within the first 100 m (Fig. 7). The high surface-to-volume-ratio of the water flowing in the canal also promotes the processes of degassing and ingassing.

Erőss (2010) found that Ca, together with smaller amounts of Si, Mg, Fe and Al, was a main element in the build-up of biofilms in the spring caves in Gellért Hill. In a comprehensive study of the water in spring caves of BTK, S and Sr were found to have the highest concentrations (10–34.5 and 0.705–3.1 μg/l, respectively) among the trace elements (Dobosy et al. 2016). In agreement with these findings, in this study, S and Si were the main trace elements both in the water and in the suspended solid (Fig. 8d). Al, Be, Cd, Cr, Cu, Fe, Mn, Pb, Ti and Zn prefer the suspension form in the pit (Fig. 8). These elements were found to be in high concentrations in precipitates in the BTK (Dobosy et al. 2016; Erőss 2010). This observation can be explained by the hydrolysis of the metal ions and their subsequent precipitation as hydroxides. Except for Li, these elements are abundant in the dissolved phase form of soluble oxoanions (e.g. UO22+, PO43−, etc.). Thus, the distribution of the trace elements between dissolved and suspended matter can be accounted for.

5.3 Comparison of the Measured and Modelled Variations of the Parameters

The simulated values for dissolved oxygen and 222Rn activity derived from the reactive transport model are in good agreement with the measured values for both the March and April experiments (Fig. 11). The pH values and HCO3 concentrations, on the other hand, do not match those of the model to such a degree. The March and April data show little change in the measured HCO3 concentration over the first 50 m of the canal, whereas in the model, HCO3 concentrations decrease almost immediately. For Ca2+, the opposite appears to be the case: the measured concentrations show an almost linear decrease starting immediately, albeit there is a wide scatter of the data points in April, while the modelled Ca2+ decrease along the canal seems to be slow initially, becoming progressively faster further downstream. The model consistently underestimates pH. Obtaining a better fit of the pH by using a faster CO2 degassing rate only worsened the fit for Ca2+. Finally, from the measurements, it appears that the decrease in HCO3 stabilizes after 300–350 m, and this is more clearly apparent in the April data. While the model similarly predicts a lower rate of decrease with downstream distance, the change in the simulated concentration-versus-distance curve is much more gradual, and not as pronounced as for the measured concentrations (Fig. 11).

Fig. 11
figure 11

The measured and modelled variations of pH, dissolved oxygen, 222Rn activity, and Ca2+ and HCO3 concentrations along the flow path

5.4 Indirect and Direct Indications and Evidences for Biological and Carbonate Precipitation

According to Eq. (3), one mole of Ca2+ reacts with two equivalent alkalinity (indicated as HCO3), so the stoichiometric ratio of Ca/alkalinity is 1:2 [Eq. (3)]. The blue line in Fig. 12 shows this ratio.

$$2{\text{HCO}}_{3}^{ - } + {\text{Ca}}^{2 + } \to {\text{CaCO}}_{3} + 2{\text{H}}^{ + }$$
(3)

The variations in the concentrations of the two major ions show that the ratio changes in the way described by Eq. (3) until 150 m from the outflow. After 150 m, less HCO3 or more Ca2+ leaves the water (Fig. 12), what is consumed in calcite precipitation.

Fig. 12
figure 12

Changes in Ca2+ and HCO3 along the flow path

The variations in the concentrations of major ions and specific electric conductivity, the measured Ca/alkalinity ratio and the simulations refer to continuous calcium carbonate precipitation along the flow path. The stoichiometric ratio of Ca/alkalinity of the measured major ions and the reactive transport model shows adverse HCO3 concentration compared to the equation and simulated values. It suggests that after 150 m from the outflow, besides CaCO3 precipitation, the simulated gas exchange, namely CO2 degassing decreases the dissolved HCO3 concentration. However, another process is supposed to further reduce it. A possible explanation is the roughness/shallowing of the canal bed (Hammer et al. 2008).

The afore-mentioned changes of physicochemical parameters are the results of the one-day-long experiments, when thermal water was pumped into the canal, where no precipitates were to be found. Though there are indications of CaCO3 precipitation, carbonates could not be observed in the canal after 1 day. Bacteria arriving with the thermal water also could not form any biofilm during the limited duration of the experiment. Consequently, the effects of the precipitates could not be examined in this part of the study.

The increase in pH and the decrease in the concentration of Ca2+ and HCO3 can be observed along the flow path in travertine-depositing streams and springs (Amundson and Kelly 1987; Dandurand et al. 1982; Herman and Lorah 1986, 1987; Hoffer-French and Herman 1989, 1990; Lorah and Herman 1988, 1990; Nordstrom et al. 2005 etc.). In many cases, physical evidence (e.g. travertines) for calcite precipitation are to be seen in springs, where the streambed is steep and especially around waterfalls (Chen et al. 2004; Zhang et al. 2001). In such places, calcite supersaturation by at least a factor of five is required for calcite precipitation (Hoffer-French and Herman 1989, 1990; Jacobson and Usdowski 1975; Lorah and Herman 1988, 1990).

According to the observations of the formed precipitates during the six-weeks-long experiment, there is continuous precipitation along the flow path, dominated by bacteria close to the outflow and by calcite further downstream. The change from the organic to the inorganic precipitate is to be found in the abruptly changing section of physicochemical parameters. The appearance of the reddish-brown biofilm is consistent with the field observations, that biofilms are forming at the mixing of reduced thermal water and oxidative air (Borsodi et al. 2012; Erőss et al. 2012; Mádl-Szőnyi and Erőss 2013; Mádl-Szőnyi et al. 2017a). The reddish-brown colour is the usual colour of biofilms in the BTK, caused by Fe(III), refers to the presence of iron(FeII)-oxidizing bacteria (Anda et al. 2014, 2015; Borsodi et al. 2012).

In the experimental canal, from 15 m downstream, calcite precipitates, also the parameters became stable. At the beginning of this section, SIcalcite is 0.82–0.86, which means that this rate of supersaturation is required for calcite precipitation under the circumstances of the experiment. Inorganic processes seem to control the precipitation and they suppress organic ones after 15 m from the outflow. It was revealed by SEM images, where patches of biofilms can be seen on the surfaces of calcite crystals.

It seems that in the scale and time period of the measurements and observations, there is no evidence for the effect of bacteria on calcite precipitation and changes of aquatic chemistry. The study of the interrelationships between water chemistry and the precipitates needs longer time scale, which was not part of this study.

6 Conclusions and Summary

Springs display changes in their physicochemical parameters from their discharge along their flow path. The main driving force of these changes is the pressure drop, resulted in CO2 degassing. The variations have a direct effect on the formation of organic and inorganic precipitates. The complexity of natural spring systems and the limitations of laboratory experiments make it difficult to understand all the governing factors. In situ experiments, integrated with reactive transport modelling, provide a useful tool to monitor the physicochemical parameters and to better understand the background processes.

The in situ experimental study, carried out in the canal of the Gellért tunnel, BTK, was conducted to simulate thermal spring discharge into a warm-air cave. It was found that the main driving forces of the physicochemical parameter changes along the flow path are CO2 degassing and in this context, calcite precipitation. The latter had no physical evidence after the one-day-long experiment, only indirect indications, namely the gradual decrease in specific electric conductivity, Ca2+ and HCO3 concentrations and increase in pH and SIcalcite.

Due to the high gradient between the air and the water, the changes are fast and occur in the first 100 m from the outflow. The temperature difference between water and air temperatures is a less influential factor in the changes in the parameters and SIcalcite. The dissolving of oxygen from the air into the water and the degassing of 222Rn are controlled by pure chemical reactions, as was also confirmed by reactive transport model. Besides the modelled CO2 degassing and calcite precipitation, another process influences pH and the concentration of HCO3, which is probably the roughness of the stream bed. In the scale and time period of the in situ experiments, the effect of bacteria and calcite precipitation could not be detected.

In the absence of organic and inorganic precipitates, most of the trace elements which are usually adsorbed by biofilm occurring in the natural spring caves of the BTK were present in the form of suspended solids in the water, a fact which seems to be related to early precipitation processes. The activity of 226Ra in the water remained stable along the flow path in the lack of adsorbing precipitates.

The presence of bacteria in the form of biofilm close to the outflow was observed after 6 weeks of the flow of the same thermal water as used in the experiment. The appropriate circumstances for bacteria forming biofilm are where thermal water discharges and interacts with the oxidative air. Reddish-brown colour reflects the presence of iron(FeII)-oxidizing bacteria.

In the circumstances of the experiment, supersaturation levels of 0.82–0.86 with respect to calcite proved to be sufficient for precipitation. The key to the change from biological to chemical precipitates is to be found in the abruptly changing section of physicochemical parameters. The precipitation of calcite continued after the parameters became stable. Further downstream inorganic processes suppress microbiological life, and bacterial colonization could be observed only patchily on the surface of calcite crystals.

This study was able to demonstrate that a method integrating experimental study and numerical modelling is a suitable approach in the quest to better understand precipitation processes around thermal springs.