This work investigated the partition walls or baffles’ effects on hydraulic parameters and water retention time in a reservoir. According to this aim, the water system was equipped with remote sensing (RS), networked sensors, advanced modems, and data loggers. The study showed how to control hydraulic parameters by the Internet of things and RS. The higher retention time led to the probability growth of rebar oxidation in concrete in the presence of chlorine and increased the possibility of water loss. This work also showed how to decrease the probability of water leakage in reservoirs. The computational fluid dynamics analysis results showed that the two baffles case led to the emergence of three eddy currents in the three zones created. The better fluid interpenetration caused the reduction in retention time. In the areas where the vortex was formed, the number of eddy currents decreased and the retention time increased. Regression analysis showed that the P value was 0.998 and 0.977 for the inlet flow and outlet flow for the reservoir, respectively (two baffles case perpendicular to the flow direction). The curve estimation showed that the power function had a suitable correlation on the scatter diagram and with the best curve fit.

  • Analysis of water reservoir in the water system.

  • Access to the reservoir by (computational fluid dynamics) and regression analysis.

  • Baffles and control of water retention time in a reservoir.

  • Control of hydraulic parameters in a reservoir as a water supply.

  • Control of water retention time in a reservoir by remote sensing.

ρ

Fluid density

ui

Components of speed

Cartesian coordinate direction

t

Time

μ

Kinematic viscosity

P

Pressure vector

V

Velocity vector

g

Gravity acceleration

Derivative of the velocity vector over time

P

Average static pressure

ρ g

Gravitational physical force

Tension tensor

Calm current stress tensor

Turbulent current stress tensor

Newtonian viscous stresses plus an additional tensor

Specific heat capacity at constant pressure

Temperature

k

Thermal conductivity

Turbulent heat flux

K

Kinetic energy of turbulence

v

Dynamic viscosity

TI

Intensity of perturbation with kinetic energy

Uref

Reference average flow rate

SM

Sum of physical forces

Effective viscosity

P

Pressure

ε

Vortex viscosity model

k

Kinetic energy flow of energy

Fixed numeric

, , CƐ2, CƐ1

Constants

Pkb, PƐb Pkb, PƐb

Influence of buoyancy forces

Pk

Perturbation due to viscous forces

ω

Specific rate of dissipation

Q

Water flow rate

Reservoirs in the water distribution network are responsible for storing water for use in emergencies, firefighting, and controlling fluctuations in consumption. Several decisions such as the location, size, and type of reservoir operation in the design of the reservoir in water distribution networks should be made. In general, very few modelling studies have been done to investigate the flow inside the water storage tanks as well as the quality of the stored water (Walski 2000).

Mau et al. (1995) presented an explicit model for simulating water flow and water quality inside a reservoir. In their study, they defined three different behaviours (different scenarios) for the reservoir and examined the water quality in each case. They wrote mass transfer, mixing, and kinetic reaction relations for reservoirs. Then the obtained equations were solved numerically. They used two different numerical methods to solve the equations. Then, the amount of chloride and fluoride injected into the reservoir was calculated in certain points which were called sensitive points by using a numerical solution and measured experimentally. Then, by using experimental data, they verified the accuracy of the presented numerical method. The numerical data were in good agreement with the experimental data. Also, they calculated the concentration of fluoride and chloride for different reservoir volumes at a given point. Their article can be considered a primer on mathematical modelling of water reservoirs with appropriate accuracy. Therefore, their article is important from this point of view.

Rossmann (2000) considered four different models for the reservoir and examined the water flow and water quality in each case. He stated that the water quality inside the reservoir is highly dependent on the geometry of the flow and consequently on the geometry of the reservoir. He showed that the flow entering the reservoir leads to complete mixing of the flow inside the reservoir or not depending on the ratio of the momentum of the incoming flow to the buoyancy force of the incoming flow. A similar situation exists for output currents. He showed that there are only limited geometries in which complete mixing can take place, which, of course, is related to the volume of the reservoir and the ratio of its height to its base. Therefore, he finally defined the four factors of reservoir geometry, the number of inlets and outlets of the reservoir, and the ratio of height to base as four basic parameters in retention time. Rossmann & Grayman (2000) concluded that complete mixing can be achieved for cylindrical reservoirs with a ratio of height to diameter less than one, and in other reservoirs, complete mixing will never be established. They simulated the ideal reservoir for filling and emptying. In most of the cases investigated by them, the results of the geometry of the reservoir showed that a major part of the volume of the reservoir is located in a retention area, that is, an area between complete mixing and creep flow.

Yeung (2001) investigated the behaviour of several rectangular reservoirs using the computational fluid dynamics (CFD) method. He examined the pattern of the flow field and the age of water and showed that better mixing occurs in reservoirs with horizontal inlets than in vertical inlets at a high level. As the ratio of length to width increases in reservoirs with a vertical inlet, the flow characteristics move toward creeping flows at a faster rate.

Mahmood et al. (2005), using the CFD model, investigated different samples of existing reservoirs in the drinking water supply system of Virginia. They compared the obtained numerical results with experimental data obtained from measurements at different points of the reservoir. Their results showed that the CFD model has good accuracy in simulating the fluid flow inside the reservoir. It can be used to determine the proper location of reservoir inlets and outlets. They first examined the speed of the flow entering the reservoir and also the position of the pipe entering the reservoir on the mixing rate of the reservoir. For this purpose, they performed the simulation in a reservoir with a storage volume of 3.8 m3. They assumed that a flow with a volumetric flow rate of 63 L per second enters the reservoir at a speed of 29 m/min through a vertical inlet with a diameter of 400 mm. They considered the fluid temperature inside the reservoir to be 20°C and the inlet fluid temperature to be 18°C. Then they calculated the concentration distribution inside the reservoir after 60 min using CFD.

Prasad (2010) designed a water distribution system with reservoirs. He explained a method for designing the water distribution network along with the correct selection of various elements such as pipes, pumps, and reservoirs. He used the genetic algorithm in a steady state to optimize the water distribution system. His objective function was to minimize the total cost. In his work, the total cost is defined as the sum of initial investment costs and energy costs. His goal was to determine the size of the pipes, the required pump, and the pump's operating time, and to choose the number of reservoirs and the capacity of the reservoirs so that the objective function is optimized. Finally, he used it to minimize the water retention time in the network as a quality parameter for the third objective function. His results showed that the design of the network in this way leads to a network with high capability so that the network obtained has optimal pipes and the best arrangement for reservoirs in high consumption points.

Marek et al. (2007) investigated the jet flow inside the reservoir by solving the averaged Navier–Stokes unsteady state equations. They stated that the mixing process inside the water reservoirs is a basic parameter in the quality of the stored water. They emphasized that various factors are effective on the mixing inside the reservoir, including the power of the inlet jet speed, nozzle diameter, and nozzle inlet angle. Their goal was to determine the optimal value for the nozzle angle and the diameter of the nozzle entering the reservoir. They compared the results of their simulations with the available experimental data and showed that the presented results were in good agreement with each other. They considered a cylindrical reservoir with one inlet and one outlet in three dimensions and investigated it numerically and experimentally. They investigated the influence of the angle and diameter of the inlet nozzle on the flow field. For this purpose, they obtained the contour of the velocity field in three cases. In the first case, the angle of the inlet nozzle was considered equal to 45 degrees and the diameter of the inlet nozzle was equal to 21 mm. As a result, the speed of the inlet jet was equal to 2.1 m/s. In the second case, the angle of the nozzle was considered equal to 45 degrees according to the previous case. In this case, the diameter of the inlet nozzle was considered equal to 8 mm, and as a result, the speed of the inlet jet was equal to 4.4 m/s. In the third case, the angle of the inlet nozzle was considered equal to 90 degrees and the diameter of the inlet nozzle was assumed to be equal to 8 mm. The velocity contour along the middle plane y = 0. They found that the most optimal mode is obtained when the nozzle angle is equal to 45 degrees and the inlet nozzle diameter is equal to 8 mm. As a result, they investigated the concentration of substances injected into the reservoir under these conditions to see how the distribution of the injected substances would be at different times. The concentration of the substance injected into the reservoir can be considered as a measure of the retention time of the water inside the tank. That is, the areas that do not change after the injection the water remain in stagnation condition and the quality of the water decreases.

Van Zyl & Haarhoff (2007) presented a random analysis method for the size of reservoirs based on the reliability criterion. They performed a sensitivity analysis to estimate the critical parameters for the size of the reservoirs (reliability of the reservoir). The results showed that water demand has the greatest effect on the size of the reservoir. In this research, they showed that the fire reserve had the least effect on the size of the reservoir. The main purpose of the study was to check the reliability of Yeovile city reservoirs under different conditions. Therefore, the operation code of the water distribution system was tested in different conditions and calculations for different capacities. They checked how many times a year the water distribution system may fail (failure means the lack of supply of water required by the network), how long the failure will be, and what the maximum time the system will fail. They introduced the average number of network failures per year and the duration of network failures per year as two basic parameters for evaluating the water distribution system and by comparing these two parameters for reservoirs with different capacities, the optimal number and capacity of reservoirs. They presented the average annual network failure time and the reservoir capacity.

Gualtieri (2009) compared the hydrodynamics as well as the turbulence of the flow inside a cylindrical storage tank. He investigated the problem in a two-dimensional mode and assumed that the flow is stable and also the flow is unstable. He investigated the problem for four different configurations of the reservoir and compared their hydraulic performance. He numerically investigated the problem once in a steady state and once in a transient state. Then, for four different geometries of the baffle inside the columnar reservoir, the mixing rate was compared with each other.

Some researchers designed baffle to improve fluid mixing in the reservoir (Nasyrlayev et al. 2020).

On the basis of numerical simulation results, they manufactured the two sets of polycarbonate perforated baffles that yielded the highest performance. A comparison of numerical and experimental results demonstrated that the numerical model developed was reliable in simulating the flow through the perforated baffles and the associated mixing level in the contact reservoir. Numerical simulations indicated that the jet flow structure through the perforated baffle penetrates into the recirculation zones in the neighbouring chambers and turns the dead zones into active mixing zones. Furthermore, large-scale turbulent eddies shed by the perforations contribute to the mixing process in the chambers of the reservoir. With the use of the perforated baffle design, it was shown that the hydraulic efficiency of the tank was improved from average to superior.

Martínez-Solano et al. (2006) defined a method based on CFD to simulate a two-dimensional flow inside a rectangular reservoir. They considered a rectangular reservoir with dimensions of 20 m × 25 m, a height of 3 m, and a volume of 1,500 m3, which has an inlet, an outlet, and a place for injecting. The flow rate at the entrance was considered equal to 50 L per second, and for the system to work in stable mode, accordingly, the flow rate at the outlet must be equal to 50 L per second. They considered the diameter of the inlet and outlet pipes to be equal to 250 mm assuming that the injected materials are added by a third pipe with a diameter of 40 mm. They assumed that the inlet velocity of the inlet pipe and the injection pipe was equal to 1 m/s. They considered the resilience provided by Todini (2000) as their goal to increase the availability of water when pipes break. Their goal was to design a water distribution system with high reliability and overall cost. They used a multi-objective optimization algorithm and defined total cost, reliability, and water quality as objective functions. They defined three types of distribution systems and calculated the total cost for each and compared them.

The key findings of the previous works can be organized into the following items:

  • The location, size, and type of reservoir operation in the design of the reservoir in water distribution networks should be made (Walski 2000).

  • The experimental data are used to verify the accuracy of the numerical method (Mau et al. 1995).

  • The number of inlets and outlets of the reservoir, and the ratio of height to base are effective in retention time (Rossmann & Grayman 2000).

  • The CFD analysis showed in reservoirs with horizontal inlets, better mixing occurs than vertical inlets at a high level (Yeung 2001).

  • The CFD model has good accuracy in simulating the fluid flow inside the reservoir (Mahmood et al. 2005),

  • The design of the network by genetic algorithm in a steady state to optimize the water distribution system leads to a network with high capability so that the network obtained has optimal pipes and the best arrangement for reservoirs in high consumption points (Prasad 2010).

  • Various factors are effective on the mixing inside the reservoir, including the power of the inlet jet speed, nozzle diameter, and nozzle inlet angle (Marek et al. 2007).

  • A sensitivity analysis to estimate the critical parameters for the size of the reservoirs (reliability of the reservoir) showed that water demand has the greatest effect on the size of the reservoir (Van Zyl & Haarhoff 2007).

  • A comparison of the hydrodynamics as well as the turbulence of the flow inside a cylindrical storage tank showed the problem in a two-dimensional mode and assumed the flow is stable and also the flow is unstable (Gualtieri 2009).

  • Numerical simulations indicated that the jet flow structure through the perforated baffle penetrated the recirculation zones in the neighbouring chambers and turned the dead zones into active mixing zones. Furthermore, large-scale turbulent eddies shed by the perforations contribute to the mixing process in the chambers of the reservoir (Nasyrlayev et al. 2020).

  • A method based on CFD was used to simulate a two-dimensional flow inside a rectangular reservoir (Martínez-Solano et al. 2006).

The comparison of the previous works showed the following limitations:

  • Very few modelling studies have been done to investigate the flow inside the water reservoir as well as the CFD analysis for smart control of water supply based on RS and the Internet of things (IoT).

In the present work, according to the limitations of the previous works of other researchers, the 1,500 m3 rectangular concrete reservoir was selected to improve the advanced techniques for smart control of retention time in the reservoirs. The average water retention time in the reservoir was 8 h. The water inlet velocity as well as the injection rate of the plug was achieved to reach a flow rate of 50 L per second at about 1 m per second. The length of the pipes was equal to 4 m and its length was 3 m outside the reservoir and 1 m inside the reservoir. Also, the inlet, outlet, and injection pipes were assumed to be in the middle height of the reservoir, and the distance of the inlet pipe from the side wall was equal to 0.5 m. The distance of the outlet pipe from its side wall was assumed to be equal to 0.5 meters. For the inlet pipe, the inlet velocity condition was used. For the walls of the reservoir, the non-slip condition was used. The value of the wall roughness was assumed to be 0.1 mm. For the free surface, the symmetry boundary condition was used. This condition increased the number of required iterations and decreased the degree of convergence in the problem. Then the zero shear stress boundary condition was used. This boundary condition somewhat improved the solution criteria. Therefore, it can be concluded that this boundary condition is more appropriate. The output pressure limit condition was used for the reservoir output. In this case, no partition walls (baffles) were intended for the reservoir. This case was considered as the base. Results showed that increasing the angle of baffle plates was strongly effective in increasing the eddy currents formed. As can be seen, few researchers have investigated the hydraulic properties of the reservoir and the effect of different parameters on the mixing inside the reservoir. The research done in this area is often done for the reservoir with one inlet and one outlet. Therefore, there has been no research in which the effect of the number of inputs and outputs on the mixing inside the reservoir has been seen. In the present work, the aim is to investigate the simultaneous effect of the water flow rate of the inlet and outlet and the baffles arrangement on the mixing process inside the reservoir, which has not been investigated before.

Generally, the water reservoirs in minimum and maximum demand are inevitable. A hydraulic model can simulate the flow and the quality of water inside the reservoir. It can define the different behaviours of the reservoir. The hydraulic model examines the state of water flow. The relationships between mass transfer, mixing, and kinetic reaction for reservoirs can be found. The obtained equations are solved numerically for the state of water flow. This can be considered the beginning of mathematical modelling of water storage reservoirs with appropriate accuracy. Today, the CFD model is an accurate method for investigating the effect of different parameters on the state of water flow and water retention time in the corners of the reservoirs.

Methodology

In this work, in July 2018, a 1,500 m3 rectangular concrete reservoir with a 25-m length and 20-m width was studied for water retention time. The height of the water reservoir was 3 m. The diameter of the inlet and outlet pipes was 25 cm, the diameter of the injection pipe of the plug was 4 cm, and the inlet and outlet water flow rate was measured at about 50 L/s. These data were detected by the RS flowmeters. The variation of hydraulic parameters including velocity and water retention time was investigated related to the simulation of the position of baffles in the concrete reservoirs. This work tried to improve the advanced techniques for the control of retention time in the reservoirs. The research method was stated in the form of the chart in Figure 1.
Figure 1

Research flowchart for water retention time control in reservoirs.

Figure 1

Research flowchart for water retention time control in reservoirs.

Close modal

The main purpose of this work is to determine the impact of reservoir design specifications on hydraulic behaviour. Therefore, determining the dimensions, number, and optimal angles for the baffles was also considered in this work, and as a research hypothesis, the option angle of the baffles and their effect on the field and flow lines were investigated.

In the management of water system facilities based on meta data management, the development and application of advanced technologies in all areas of software and hardware in the facility can have a positive impact on system performance and efficiency. The application of state-of-the-art technologies such as IoT can also provide scientific guidance and enhance the technical and hygienic safety factor of the installation systems. In the case of water system control, RS through IoT can sense the spatial structure of fluid in water reservoirs. This method provides a mathematical model which makes the possibility of online investigation for fluid conditions such as laminar conditions, transient conditions, and turbulence conditions (Kelly et al. 2013; Zhou et al. 2013; Andrade & de Freitas Rachid 2022).

The IoT is a new concept in the world of technology and communications, but IoT was first used by Kevin Ashton in 2007, describing a world in which everything, including inanimate objects, is used to have a digital identity and allow computers to organize and manage them. The Internet now connects all people, but with the IoT, all things are connected. The new economic law in the age of networks in year four addressed the issue of small smart nodes (such as open and closed sensors) that are connected to the World Wide Web (Asli 2023a, 2023b). In the 21st century, with the international water and energy-saving attitude, the international community requires the use of networked sensors, the IoT based on the geospatial information system for the management of water systems. Water loss and energy loss are important threats to cities (et al. 2014; Kudzh & Tsvetkov 2017; Asli 2022, 2023a, 2023b; Asli & Hozouri 2021). The present work showed that the smart management of water system facilities is a new topic in the field of control and optimization of water retention time in a reservoir. The awareness of this subject is especially important for facility engineers.

Today, due to the need to reduce water loss and increase water quality, as well as advances in numerical calculation methods in the last decade, much research has been done in different parts of the world on how to reduce water retention time or age in water supply networks and reservoirs. Increasing the age of water in the presence of chlorine causes oxidation of rebar in concrete reservoirs and water pipelines increasing the possibility of water leakage based on the guide to operation and maintenance of water reservoirs. One of the available ways is to improve the hydraulic condition of concrete tanks, which was discussed in the present work. The subject was in line with the implementation of water loss management and includes the following items.

  • Water loss reduction in the water facilities: More water retention time causes more possibility of oxidation of rebel. The oxidation of rebel leads to water leakage through concrete reservoirs.

  • Durability of the water distribution system: The water leakage through concrete reservoirs leads to instability of the water distribution.

Materials

The computational model is based on solving the mass conservation of mass equations and the Navier–Stokes equations for fluid motion. Therefore, if the flow is turbulent, the turbulent flow equations are added to the basic equations. Numerical methods used in the computational model are the finite element method (FEM), finite volume method (FVM), and finite difference method (FDM). Therefore, the FVM is more used in modelling incompressible flows. The CFD software output based on the FVM was used for modelling in the present work. The reservoir was meshed by using the CFD software. For roughness, 0.1 mm was considered for the inner wall of the tank, and it was assumed that the water level inside the tank was constant. Unstructured mesh type was used to mesh the volume inside the tank, and for this purpose, mesh with hexagonal (octagonal) cells was used. Mesh with different dimensions and types were examined, and the duration and number of repetitions required for the convergence of the problem in each case were compared with each other to use the best type of mesh. Finally, the view of meshing criteria embedded in CFD software was used.

Boundary conditions

For the inlet pipe, the inlet speed boundary conditions were used. For reservoir walls, the non-slip condition was used, and the wall roughness was assumed to be 0.1 mm. However, the boundary condition used for the free surface as well as the outlet pipe needed to be examined. First, the symmetry boundary condition was used for the free surface. The solution showed that this condition led to an increase in the number of required iterations and a decrease in the degree of convergence in the problem. Then the zero shear stress boundary condition was used. This boundary condition improved the solution criteria to some extent. Therefore, this condition was more appropriate. The output pressure limit condition was also used for the output (Figure 2).
Figure 2

Symmetry boundary condition for the free surface reservoir.

Figure 2

Symmetry boundary condition for the free surface reservoir.

Close modal

Formulation

For simulation, input turbulence parameters such as input kinetic energy (k) and turbulence intensity (IT) at the input were specified. Turbulence intensity was defined as the ratio of the square root of the oscillating velocity to the mean velocity of the flow. Also, the length of the perturbation was a physical parameter that was proportional to the size of the flow eddies.

In this work, the computational model was based on solving the conversion of mass equations and the Navier–Stokes equations for fluid motion. Therefore, if the flow was turbulent, the turbulent flow equations were added to the basic Equations (1)–(7):

Conservation of mass:
(1)
Conservation of momentum:
(2)
where is the kinematic viscosity, is the pressure vector, is the velocity vector, g is the gravity acceleration, and expresses the complete derivative of velocity vector with respect to time.
(3)
where expresses the tension tensor, which is defined as follows:
(4)
where and express the laminar current stress tensor and the turbulent current stress tensor, respectively.
Conservation of energy:
(5)
where expresses the specific heat capacity at constant pressure, is the temperature, and k is the thermal conductivity.
The direct differential equations of kinetic energy transfer and perturbation energy drop rates are obtained as follows:
(6)
(7)

CƐ1, CƐ2,, , σ, and ε are constants. Pkb and PƐb exert the influence of the Boeing forces. Pk produces turbulence due to viscous forces. Generally, instantaneous fluid flow equations are simulated. This type of modelling is the most complete case. Numerical methods used in the computational model are the FEM, FVM, FDM, and spectral methods. Therefore, the FVM is more used in modelling incompressible flows. In this work, computational software based on the FVM was used for modelling. The 1,500 m3 rectangular concrete reservoir was meshed by using computational software. For roughness, the value of 0.1 mm was considered. For the inner wall of the reservoir, it was assumed that the water level inside the tank was constant. Unstructured mesh type was used to mesh the volume inside the tank, and for this purpose, mesh with hexagonal (octagonal) cells was used. Mesh with different dimensions and types were examined, and the duration and number of repetitions required for the convergence of the problem in each case were compared with each other to use the best type of mesh. Finally, the view of meshing criteria embedded in computational software was used.

Research tools

This work was carried out in July 2018. The water system was equipped with measuring and RS tools such as ultrasonic flow meters (UFMs), modems, and data loggers. The IoT was used for rapid data intercommunication due to flow conditions and retention time in reservoirs. The IoT covered equipment that connected information through the Internet. In this work, the water inlet flow rate into the reservoir was measured and recorded by data loggers. The modems were applied for data transmission through data loggers to program logic control. The hydraulic model for analysis of fluid interpenetration was recognized by numerical analysis such as the FVM (Asli et al. 2010).

According to the purpose of this work, which was to simulate the mixing processes and the performance of the reservoir, first, mixing parameters were checked. Many parameters were introduced in the mixing processes. These parameters were divided into two categories: Eulerian parameters and Lagrangian parameters. The parameters of the first group (Eulerian parameters) were related to the cases that were used for mixing and were mainly based on hydrodynamic parameters. These parameters indirectly affected the mixing process and fluid flow inside the reservoir. The mixing process and fluid flow inside the reservoir need an advanced study approach to estimate air entrainment rates due to intake vortices based on large-scale laboratory measurements (Möller et al. 2015; Vardy et al. 2015; Lema et al. 2016). The main purpose of this work is to investigate the retention time and velocity profiles in the reservoir to determine the stagnation points and optimize the geometry, and to avoid the complexity of the model, the injection of additives was omitted. Flow lines were checked to determine stationary points and points with high retention times (Figure 3).
Figure 3

View of the reservoir in the second case.

Figure 3

View of the reservoir in the second case.

Close modal

Sensitivity analysis

To mesh the reservoir has been done using the Ansys Mesh software included in the Ansys Fluent software. A roughness equal to 0.1 mm was assumed for the inner wall of the tank. The water level inside the tank was constant. Unstructured meshing was used to mesh the volume inside the tank. In this work, the meshing with hexagonal (octahedron) cells was used. Meshing with different dimensions and types was investigated, and the duration and number of iterations required for the convergence of the problem in each case were compared to each other so that the best meshing was used. Finally, the selected meshing was evaluated from the point of view of the meshing criteria embedded in the software (Figure 4).
Figure 4

A view of the meshing of the problem.

Figure 4

A view of the meshing of the problem.

Close modal

As shown in Figure 2, the meshing around the inlet, outlet, and injection pipes was more compact. Due to the formation of the boundary layer around the pipes and also the sensitivity of the flow in these points, the number of meshes was increased in these points so that the phenomena that occur can be well observed. The meshing of the problem included 601,508 nodes and 2,027,645 elements.

Calibrate the model

Seven criteria were considered in the meshing software to check the quality of meshing. Of these seven criteria, four criteria – element quality, shape factor, error rate, and orthogonality – were more important. This process examined the quality of meshing from the perspective of these four criteria.

From the point of view of element quality criteria, the quality of meshing elements takes a number between zero and one. The higher the number of elements that have a quality close to one, the better the meshing quality of the problem will be from the point of view of this criterion. The quality of the meshing of the problem from the point of view of the element mesh quality criteria is shown in Figure 5.
Figure 5

Checking the quality of elements from the point of view of element quality criteria.

Figure 5

Checking the quality of elements from the point of view of element quality criteria.

Close modal

Most of the elements had a quality of around 0.88. Also, the number of elements that had a quality of less than 0.75 was very small. Therefore, it can be concluded that the meshing quality of the problem was suitable from the point of view of the quality criterion of the element.

The effect of using baffles on the flow field was studied. Using the baffle led to the formation of eddy currents, and as a result, a point of stillness was formed in the corners of the reservoir. Therefore, water age and retention time increased in these areas. By comparing the flow lines and the different modes under consideration, this work concluded that the reservoir-related option with two baffles cases mounted completely vertically in front of the inlet current was the best-expected mode. To avoid the complexity of the problem, in the next models, the injection of additives was omitted and the velocity vector and flow lines were determined to find the stationary points and points with long retention time. In this case, two baffles (Figure 6) were considered. In this case, the height of the baffles is assumed to be equal to 3 m, their width is equal to 15 m, the distance of the first baffle plate from the inlet pipe is equal to 8 m, and the distance of the second baffle plate from the first baffles is assumed to be equal to 8 m. In this regard, the velocity contour, flow lines, and velocity vector are shown in Figure 6.
Figure 6

Speed meter line of two baffles case: 8 m distance.

Figure 6

Speed meter line of two baffles case: 8 m distance.

Close modal
The two baffle plates case led to the emergence of three eddy currents in the three areas (Figures 7 and 8). This led to better flow mixing and reduced retention time in the areas where the vortex was formed. The baffle plates made three areas. The left side areas were called one, two, and three, respectively. In the lower corner of the second area and especially in the upper corner of the third area, stagnation points were formed at which the fluid retention time increased slightly. The effect of the distance between the baffle plates on the flow field and flow lines was investigated (Figures 7 and 8). For this purpose, first, it was assumed the distance between the plates was 10 m, and for the second option, it was 5 m. By comparing Figures 7 and 8, it can be concluded that by decreasing the distance between the two baffle plates, the small eddy force formed at the bottom of the first zone. A semi-vortex was formed at the bottom of the first region, which was completely formed by increasing the distance between the baffle plates. The strength of the vortex formed in the second and third regions was increased. The number of stagnation points in the second and third zones decreased due to the increase in the vortex orthogonality. Therefore, the inertial zone created less residence time in this case.
Figure 7

Flow lines of two baffles with an angle of 15 degrees at the reservoir: 5 m distance.

Figure 7

Flow lines of two baffles with an angle of 15 degrees at the reservoir: 5 m distance.

Close modal
Figure 8

Flow lines of two baffles with an angle of 15 degrees at the reservoir: 10 m distance.

Figure 8

Flow lines of two baffles with an angle of 15 degrees at the reservoir: 10 m distance.

Close modal

Statistical technique and speed vector simulation

Speed vectors for a three-dimensional water reservoir consisting of two baffles are shown in Figures 9 and 10. The speed vectors were measured by UFMs. RS transmitted the data of entrance and discharge water flow rate by IoT for rapid control of flow conditions and retention time in the reservoir. Statistical techniques based on big data generation by UFM and RS can predict flow conditions (turbulence conditions) in the reservoirs. Turbulence conditions and flow retention time are complex phenomena. The chaotic nature of multiple spatial-temporal scales makes predictions of turbulent flows a challenging topic. Big databases can be generated by UFM and RS and numerical simulations (Sarkardeh et al. 2014; Tao 2014; Seetharamu & Hoboken 2017; Yousif et al. 2023; Zenkner & Navarro-Martinez 2023). Regression as a statistical technique was used for estimation and forecasting in the present work. Regression introduced the use of one variable to perform the prediction for another variable. In the following, flow lines and velocity vectors for baffle plates with a distance of 5 m are checked.
Figure 9

Speed vector by UFM for two baffles: 5 m distance.

Figure 9

Speed vector by UFM for two baffles: 5 m distance.

Close modal
Figure 10

Speed vector by UFM for two baffles: 10 m distance.

Figure 10

Speed vector by UFM for two baffles: 10 m distance.

Close modal

Hypothesis

There is a significant relationship between input (independent variable) and outputs (dependent variable):
(8)
where Qin is the inlet flow (dependent variable) and Qout is the outlet flow (independent variable).
The rate of change of one variable by the effect of another variable is also called the regression coefficient, which is the amount of change that occurs in the dependent variable by the unit of change in the independent variable. The regression is calculated as one variable and two variables. One-variable regression has one independent variable and one function variable, but two-variable regression has one function variable and two independent variables. To begin with, there must be a linear relationship that forms the scatter plot of the original idea. The regression line reflects the trajectory of the total distribution of points in the nominal coordinate system, which can indicate the severity and weakness and the type of correlation between the variables. In this work, the regression Equation (8) was used to draw the regression lines. The modelling results (Figure 11) were based on the entrance and discharge water flow variation data for a 1,500 m3 rectangular concrete reservoir. The diameter of the inlet and outlet pipes was 250 mm, the diameter of the injection pipe of the plug was 40 mm, and the inlet and outlet water average flow rate was measured at about 50 L/s (Tables 1 and 2).
Table 1

The inlet and outlet water flow variation data; measured by UFM for reservoir

Time (h)Inlet flow (L/s)Outlet flow (L/s)Time (h)Inlet flow (L/s)Outlet flow (L/s)
45 42 13 89 52 
63 57 14 94 78 
83 56 15 89 76 
15 12 16 52 49 
19 12 17 42 31 
52 45 18 58 43 
58 55 19 28 23 
38 32 20 73 71 
63 55 21 48 42 
10 52 53 22 26 22 
11 94 76 23 45 39 
12 86 77 24 75 71 
Time (h)Inlet flow (L/s)Outlet flow (L/s)Time (h)Inlet flow (L/s)Outlet flow (L/s)
45 42 13 89 52 
63 57 14 94 78 
83 56 15 89 76 
15 12 16 52 49 
19 12 17 42 31 
52 45 18 58 43 
58 55 19 28 23 
38 32 20 73 71 
63 55 21 48 42 
10 52 53 22 26 22 
11 94 76 23 45 39 
12 86 77 24 75 71 
Table 2

Model summary and parameter estimates – dependent variable: inlet flow, independent variable: outlet flow

EquationModel summary
Parameter estimates
R2Fdf1df2Sig.Constantb1b2b3
Linear 0.878 157.871 22 0.000 3.776 1.109   
Logarithmic 0.816 97.486 22 0.000 −94.403 40.322   
Inverse 0.637 38.581 22 0.000 84.164 −976.151   
Quadratic 0.878 75.605 21 0.000 1.824 1.210 −0.001  
Cubic 0.878 48.004 20 0.000 2.199 1.175 0.000 −6.62 × 10−006 
Compound 0.874 153.249 22 0.000 16.837 1.023   
Power 0.936 320.833 22 0.000 1.708 0.906   
0.846 121.202 22 0.000 4.592 −23.605   
Growth 0.874 153.249 22 0.000 2.824 0.023   
Exponential 0.874 153.249 22 0.000 16.837 0.023   
Logistic 0.874 153.249 22 0.000 0.059 0.977   
EquationModel summary
Parameter estimates
R2Fdf1df2Sig.Constantb1b2b3
Linear 0.878 157.871 22 0.000 3.776 1.109   
Logarithmic 0.816 97.486 22 0.000 −94.403 40.322   
Inverse 0.637 38.581 22 0.000 84.164 −976.151   
Quadratic 0.878 75.605 21 0.000 1.824 1.210 −0.001  
Cubic 0.878 48.004 20 0.000 2.199 1.175 0.000 −6.62 × 10−006 
Compound 0.874 153.249 22 0.000 16.837 1.023   
Power 0.936 320.833 22 0.000 1.708 0.906   
0.846 121.202 22 0.000 4.592 −23.605   
Growth 0.874 153.249 22 0.000 2.824 0.023   
Exponential 0.874 153.249 22 0.000 16.837 0.023   
Logistic 0.874 153.249 22 0.000 0.059 0.977   
Figure 11

Regression model; curve estimation.

Figure 11

Regression model; curve estimation.

Close modal

Insufficient control of hydraulic parameters in a reservoir as a water supply case can lead to abnormal fluid conditions and high retention time. Conversely, by the fluid parameters control, the low retention time will be acquired in a reservoir. The fluid retention time may be lower or higher than the standard time. In this work, the effect of the distance of the baffles from each other on the flow field was investigated. It was shown that the reduction of baffles leads to a weakening of the vortex strength, especially in the second and third regions. Increasing the number of baffle plates is strongly effective in increasing the eddy currents formed.

This work studied the 15-degree baffles with two variants of the distance of each other that affect eddy currents in the three areas of the reservoir. In the first variant, the two baffles with a 5-m distance from each other were used, and an eddy current formed in the second area of the reservoir. The flow velocity in the corners was reduced so much that in the corners of the second area, stagnation points were formed and the age and time of water retention time in these points increased. Then for the second variant, the two baffles with a 10-m distance were considered. In this case, more eddy currents were generated. As a result, this situation was better than before. The case of two baffles with a 10-m distance from each other led to the emergence of three eddy currents in the three areas created by the two baffle plates. This led to better flow mixing, and it reduced the retention time in the areas where the vortex was formed. If the areas formed by the baffle plates from the left are called one, two, and three, then in the lower corner of the second area and especially in the upper corner of the third area, stagnation points were formed. In this case, the fluid retention time was increased slightly. Investigation of the effect of the distance of the baffles from each other on the flow field showed that the distance reduction of baffles led to a weakening of vortex strength, especially in the second and third areas.

Suggestions for future research

To use corrugated baffles and investigate the effect of the size and height of baffles on the flow field, a supplementary study should be done. Increasing the age of water can cause oxidation of rebar in concrete in the presence of chlorine and increase the possibility of water leakage and loss and economic losses. The following items are suggested to those who are interested in studying the use of corrugated baffles as well as the effect of the size and height of baffle plates on the flow field:

  • If additives are injected into the reservoir, it is necessary to study the concentration of these materials in the corners, and as a result, how many disadvantages have this type of reservoir?

  • In oblique baffle cases with an angle of 10 and 15 degrees, the number of eddy currents and the stationary points can be studied.

  • Can the use of three baffles with equal distance and completely vertical position create the maximum number of vortices and reduce the residence time and static points?

The authors thank all specialists for their valuable observations and advice, and the referees for recommendations that improved the quality of this paper.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Andrade
D. M.
&
de Freitas Rachid
F. B.
2022
A versatile friction model for Newtonian liquids flowing under unsteady regimes in pipes
.
Meccanica; An International Journal of Theoretical and Applied Mechanics AIMETA
57
,
43
72
.
https://doi.org/10.1007/s11012-021-01458-5
.
Asli
H. H.
2022
Investigation of the factors affecting pedestrian accidents in urban roundabouts
.
Computational Research Progress in Applied Science & Engineering (CRPASE)
8
(
1
),
1
4
.
Article ID: 2255. Available from: https://crpase.com/archive/CRPASE-Vol-08-issue-01-15172135.pdf. https://doi.org/10.52547/crpase.8.1.2255
.
Asli
H. H.
2023a
Applications of Networked Sensors and the Internet of Things (IoT) for Water Treatment, Sustainable Water Treatment and Ecosystem Protection Strategies, in press by the Apple Academic Press, Inc., USA, 51–116. Available from: https://www.appleacademicpress.com/sustainable-water-treatment-and-ecosystem-protection-strategies-/9781774915189
.
Asli
H. H.
2023b
Modeling of Corrosion for Water System by Networked Sensors and the Internet of Things (IoT) in Compliance with Geography Information System (GIS), Sustainable Water Treatment and Ecosystem Protection Strategies, In Press by the Apple Academic Press, Inc., USA, 117–260. Available from: https://www.appleacademicpress.com/sustainable water-treatment-and-ecosystem-protection-strategies-/9781774915
.
Asli
H. H.
&
Hozouri
A.
2021
Non-revenue water (NRW) and 3d hierarchical model for landslide
.
Larhyss Journal
48
,
189
210
. .
Asli
H. K.
,
Nagiyev
F. B.
,
Haghi
A. K.
,
Aliyev
S. A.
&
Asli
H. H.
2010
Nonlinear heterogeneous model for water hammer disaster
.
Journal of the Balkan Tribological Association
16
(
2
),
209
222
.
Gualtieri
C.
2009
Analysis of flow and concentration fields in a baffled circular storage tank
. In
XXXIII IAHR Congress
,
August 10/14, 2009
,
Vancouver, Canada
, pp.
4384
4392
.
Kelly
S. D. T.
,
Suryadevara
N. K.
&
Mukhopadhyay
S. C.
2013
Towards the implementation of IoT for environmental condition monitoring in homes
.
IEEE Sensors Journal
13
(
10
),
3846
3853
.
Kudzh
S. A.
&
Tsvetkov
V. Y.
2017
Netcentered control an cyper-physical system
.
Educ. Res. Technol
2
(
19
),
86
91
.
Lema
M.
,
Peña
F. L.
,
Buchlin
J. M.
,
Rambaud
P.
&
Steelant
J.
2016
Analysis of fluid hammer occurrence with phase change and column separation due to fast valve opening by means of flow visualization
.
Experimental Thermal and Fluid Science
79
(
4
),
143
153
.
doi:10.1016/j.expthermflusci.2016.07.008
.
X.
,
Lu
T.
,
Kibert
C. J.
&
Viljanen
M.
2014
A novel dynamic modeling approach for predicting building energy performance
.
Applied Energy
114
(
C
),
91
103
.
Mahmood
F.
,
Pimblett
J. G.
,
Grace
N. O.
&
Grayman
W. M.
2005
Evaluation of water mixing characteristics in distribution system storage tanks
.
J. AWWA
97
(
3
),
74
88
.
Marek
M.
,
Stoesser
T.
,
Roberts
P. J. W.
,
Weitbrecht
V.
&
Jirka
G. H.
2007
CFD modeling of turbulent jet mixing in a water storage tank
. In
XXXII IAHR Congress
,
July 1/6, 2007
,
Venice, Italy
.
Martínez-Solano
F. J.
,
López-Jiménez
P. A.
,
Iglesias-Rey
P.
&
Pérez
R.
2006
‘Utilización de la fluidodinámica computacional (CFD) como herramienta para la determinación de parámetros de los depósitos en modelos de calidad del agua’ (in Spanish). V Congreso Ibérico sobre gestión y planificación del agua. Universidad de Algarbe, Faro, Portugal
.
Mau
R. E.
,
Boulos
P. F.
,
Clark
R. M.
,
Grayman
W. M.
,
Tekippe
R. J.
&
Trusell
R. R.
1995
Explicit mathematical models of distribution storage water quality
.
ASCE Journal of Hydraulic Engineering
121
(
10
),
669
709
.
Möller
G.
,
Detert
M.
&
Boes
R. M.
2015
Vortex-induced air entrainment rates at intakes
.
Journal of Hydraulic Engineering
141
(
11
).
doi:10.1061/(ASCE)HY.1943-7900.0001036
.
Nasyrlayev
N.
,
Kizilaslan
M. A.
,
Kurumus
A. T.
,
Demirel
E.
&
Aral
M. M.
2020
A perforated baffle design to improve mixing in contact tanks
.
Water
12
(
4
),
1
17
.
1022. https://doi.org/10.3390/w12041022
.
Prasad
T. D.
2010
Design of pumped water distribution networks with storage
.
Journal of Water Resources Planning and Management, ASCE
136
(
1
),
129
132
.
Rossmann
L. A.
2000
EPANET 2 Useŕs Manual. Water Supply and Water Resources Divison. U.S. 2000. Environmental Protection Agency. Cincinnati, EE.UU. Available from: http://www.epa.gov/ORD/NRMRL/wswrd/epanet.html
Rossmann
L. A.
&
Grayman
W. M.
2000
Scale-model studies of mixing in drinking water storage tanks
.
Journal of Environmental Engineering
125
(
8
),
755
761
.
Sarkardeh
H.
,
Zarrati
A. R.
,
Jabbari
E.
&
Marosi
M.
2014
Numerical simulation and analysis of flow in a reservoir in the presence of vortex
.
Engineering Applications of Computational Fluid Mechanics
8
(
4
),
598
608
.
doi:10.1080/19942060.2014.11083310
.
Seetharamu
K. N.
&
Hoboken
N. J.
2017
Distributed smart control
.
State Counsel
1
,
16
22
.
Tao
F.
2014
IoT-based intelligent perception and access of manufacturing resource toward cloud manufacturing
.
IEEE Transactions on Industrial Informatics
10
(
2
),
1547
1557
.
Van Zyl
J. E.
&
Haarhoff
J.
2007
Reliability analysis of municipal storage reservoirs using stochastic analysis
.
Journal of the South African Institution of Civil Engineering
49
(
3
),
27
32
.
Vardy
A. E.
,
Brown
J. M. B.
,
He
S.
,
Ariyaratne
C.
&
Gorji
S.
2015
Applicability of frozen-viscosity models of unsteady wall shear stress
.
Journal of Hydraulic Engineering
141
(
1
),
1
13
.
https://doi.org/10.1061/(ASCE)HY.1943-7900.0000930
.
Walski
T. M.
2000
Hydraulic design of water distribution storage tanks
. In:
Water Distribution Systems Handbook, Chapter 10
(
Mays
L. W.
, ed.).
McGraw-Hill
,
New York
, pp.
6
12
.
Yeung
H.
2001
Modelling of service reservoirs
.
Journal of Hydroinformatics
3
(
3
),
165
172
.
Yousif
M. Z.
,
Yu
L.
&
Hoyas
S.
2023
A deep-learning approach for reconstructing 3D turbulent flows from 2D observation data
.
Scientific Reports
13
,
25
29
.
https://doi.org/10.1038/s41598-023-29525-9
.
Zenkner
G.
&
Navarro-Martinez
S.
2023
A flexible and lightweight deep learning weather forecasting model
.
Applied Intelligence
53
,
24991
25002
.
https://doi.org/10.1007/s10489-023-04824-w
.
Zhou
L.
,
Liu
D.
&
Karney
B.
2013
Investigation on hydraulic transients of two entrapped air pockets in a water pipeline
.
Journal of Hydraulic Engineering
139
(
9
).
doi:10.1061/(ASCE)HY.1943-7900.0000750
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).