1 Introduction

The need for energy production and utilization is increasing tremendously throughout the world [50]. Because of the rapid increase in the world population, smart utilization of energy will help in minimizing financial and environmental problems faced by countries during the generation of energy. Currently, the contribution of fossil fuels in global energy production is more than 80% [43, 53]. The application of nonrenewable energy sources such as coal, gas, and oil produces higher amounts of environmental emissions including carbon dioxide, SOx, NOx, particulate matter and other toxic gases. The emissions of harmful contaminants into the atmosphere lead to global warming, ozone depletion, eutrophication, acidification and health-related problems globally. Though the application of fossil fuels causes serious environmental glitches, the consumption of fossil resources is increasing by nearly 2% per year. Furthermore, to deal with issues related to the fossil fuels application for energy generation, the research is more focused on renewable energy options [15]. Renewable energy options are solar, wind, geothermal, tidal, and bioenergy [28]. Among renewable energy resources, solar energy is preferred due to low investment cost, efficient and clean energy source [26]. Furthermore, to fulfill the energy demand at a global level, more research and development is required in renewable energy conversion technologies [23, 44]. Renewable energy is gathered from natural sources that can replenish within a short period [4, 5]. Moreover, researchers are more focused on solar energy which is inexhaustible, freely available, and environmentally friendly [2, 6]. The energy gathered from the sun can be used through three high-tech conversion processes that include thermal, chemical and electrical [34]. Solar energy can be converted into mechanical energy like wind energy, hydro energy, and steam energy is converted into mechanical energy [20, 41]. Solar energy is collected through a solar collector that is a special kind of heat exchanger [3, 57]. The solar collector converts solar radiation into thermal energy which is used for thermal applications and solar radiation can also be converted into electrical energy directly as in photovoltaic application [7]. During thermal applications, the radiant energy is absorbed by the solar devices and transferred into the heat [12]. Thus the heat produced through solar devices is used for the heating of working fluid [13].

Solar flat plate collectors recently developed are widely used for the domestic as well as for commercial purposes such as for water heating and space heating [35, 46]. Recently developed solar devices are easy to fabricate, install, maintain and least expensive. Solar radiant energy collectors (flat plate) are classified into two types in first type liquid is the heat transfer fluid and in the second type of flat plate, a collector is that in which air is used as a heat transfer fluid [49]. In 1958 Hottel & Woertz worked on flat plate solar collectors [30]. Later on, research was done by other researchers to establish and investigate the thermal efficiency of solar flat plate collectors. The configuration of solar plate collector mainly comprises of aluminum rails, insulators, risers, header pipes, absorber and back sheets [1, 47]. The aluminum is used for the fabrication of absorber and welded with the riser in order to transfer heat to working fluid. Different researchers have used artificial intelligence for the enhancement of efficiency of solar collectors. Kalogirou [56] observed that artificial neural network (ANN) and genetic algorithm are reliable for the prediction of solar collector’s efficiency. Mohammad Zadeh et al. [39] assessed the thermal efficiency of parabolic high trough collector and performed hybrid optimization using Nanofluid. The procedure adopted by Mohammad Zadeh et al. [39] contained sequential quadratic programming and genetic algorithm for the optimization of solar collector efficiency.

Bagheri et al. [9] worked on solar dryers in order to estimate performance efficiency using neuro-fuzzy interface system (ANFIS) modeling approach. As per their study, ANFIS predicts accurately the performance of forced convection dryers. Shahmaleki et al. [48] worked on the enhancement of power efficiency of the solar power plant. They used two different analytical approaches to predict solar power plant efficiency. During the optimization of the solar power plant applied ANFIS and GA algorithms, suggested that both algorithms were reliable in the optimization of a solar power plant. Hamdan et al. [25] investigated solar flat plate collector optimization using ANN algorithms which is the most promising and efficient algorithm. As per their findings, ANN predicts accurately the mean temperature at all solar collector surfaces.

Dikmen et al. [17] worked on the modeling of an evacuated tube through the application of ANFIS and ANN algorithms. The results gathered in their study were reliable and were in good agreement with the results collected from experimental studies done by different researches. Numerous other studies revealed that the arterial neural network modeling is efficient, reliable in forecasting the solar radiations. ANN approach is simple and better than other forecasting methods [11]. The performance prediction of solar thermal energy was done by numerous researchers using artificial neural network approach including solar water heaters used in domestic applications [51], solar water heaters used on commercial scale accomplishments [55], solar collectors [32] and photovoltaic cells [33]. The feed-forward neural network comprising of the multilayer is the most appropriate and precise in the prediction of heat collection efficiency.

Most of the researchers have worked on ANN, GA, and ANFIS in their studies whereas scant literature is available on the computational fluid dynamic simulation of solar flat plate collectors and dryers. Generally, the Computational fluid dynamic (CFD) tool was related to solving the problems for non-linear partial differential equations that were described as the behaviors and phenomena of the fluid dynamics. Basically, the governing equations were derived from the mass conservation, momentum conservation, and energy conservation equations to solve any problems related to engineering in mass and heat transfer [37, 38].

Zima and Dziewa [59, 60], analyzed the effects of inertia on glass cover, such as insulation, and finding air gaps by using a one-dimensional process 5n-node method. Therefore in this study, CFD simulation is done to investigate and predict the thermal efficiency of solar flat plate collectors. The validity of the computational results gathered in this study is done through the comparison of experimental studies and simulation studies done by other researchers. Furthermore, the prime objective of this simulation study is to suggest an appropriate modeling approach that is easy, fast, precise and accurate in the prediction of results. In the present research, an attempt is made to study the performance of solar flat plate collector (SFPC) with Pakistani geological coordinates. CFD analysis of SFPC is conducted with circular tubed geometry. The effects of different fluids on thermal efficiency have been investigated in this research paper.

2 Mathematical models and computational methodology

For solving mathematical equations, the commercial computational fluid dynamics (CFD) code, ANSYS FLUENT®14.0, using the finite-volume technique was selected in a 3-D grid system. In the CFD code, algorithm solution employed was really forceful and enables the flexibility in usages of any unstructured and structured grids in the equation.

2.1 Numerical solution

The turbulent flow model was taken into consideration for the calculations that are based on the given operating conditions evaluated in the equations. The kε model was implemented for the modeling of the turbulent flow. The heat transfer in the glass cover was considered when comparing the relationship between the tube and the absorber plate. The working fluid flow was considered in these simulations. Furthermore, the heat transfer radioactivity tracing algorithm of the solar ray was applied, in the computational domain. The models were loaded with solar ray-tracing algorithm for direct illumination of energy source for predictions and that resulted in solar radiation from the incident. The heat flux was computed on the faces of the boundary that was resulted from the radiation incident. Furthermore, in the criterion of convergence, absolute residuals were normalized for all the given variables that were limited to be less than 10−4 in each cell. The upwind first-order scheme was employed for turbulent, momentum, and energy equations in the numerical solutions.

2.2 Governing equations

The governing equations of mass conservation, momentum, and energy in the steady-state conditions were solved in the Cartesian tensor form, shown in Table 1.

Table 1 Governing equations solved in the research work

The radiative transfer equation (RTE) was quite convenient and efficient in participating media for describing the radiation phenomena due to the sum of the given contributions of all the rays crossing into the cell. The discrete ordinate (DO) model was activated and that was taken the effects of heat transfer between absorber plate and cover glass. The number of rays and their directions were selected by RTE and solved on its way for each ray from boundaries to boundaries. The general basis for this method was to quantify coefficients of the absorption at the given temperature with constants. The intensities of heat radiation of cells at connections were calculated over the total spectrum [52].

$$i_{n + 1}^{'} = i_{n}^{'} \left( {1 - \varepsilon \left( {T,x_{i} } \right)} \right) + i_{b}^{'} \left( T \right)\varepsilon \left( {T,x_{i} } \right)$$
(4)

where \(\varepsilon \left( {T,x_{i} } \right)\) represents the emissivity, \(i_{b}^{'} = \sigma \cdot T^{4} /\pi\), is the blackbody radiation intensity in the control volume, and σ is the Stephan–Boltzmann constant that is equal to 5.67 × 10−8 W/m2 K4.

2.3 Computational domain

The geometry of the SFPC was developed in the ANSYS DesignModler®14. Half of the geometry was developed with defining symmetry planes. The developed 3D geometry of SFPC is shown in Fig. 1. The SFPC model contains one tube in which the working fluid is flowing. The fluid is inserted from the inlet zone of geometry and it exits from outlet zone. The upper plate of SFPC was considered as made up of glass. The bottom plate of the SFPC was considered as an absorbing plate. Figure 2 shows the meshed computational domain of the developed SFPC. The mesh was developed with tetrahedron cells using an uneven meshing strategy.

Fig. 1
figure 1

3-D geometry of SFPC

Fig. 2
figure 2

Meshed structure of computational domain of SFPC

To study the grid convergence four grids were developed from the finest to coarse mesh density with cell sizes of 142,578, 118,815, 95,052 and 71,289. The temperature profile study was conducted with all the grids for water at medium flow rates. The temperature profiles are given in Fig. 3. It is observed from the temperature profile that the fine grids 118,815 and 142,578 shows almost similar temperature profile whereas the coarser grids show less temperature. Hence the grid with mesh size 118,815 was selected for further simulations.

Fig. 3
figure 3

Grid independence study

The minimum orthogonal quality was 0.54. Usually, the orthogonal quality greater than 0.3 is considered good for computations. Further, the grid independence test was carried out and this grid gave optimum results.

2.4 Assumptions, convergence criteria and boundary conditions

Firstly, the flow of the fluid was assumed fully-developed and to be a steady flow. The heat losses were neglected in these circumstances and the flow of the fluid was assumed to be incompressible within the boundary conditions. The fluid flow directions were along the axis of the tube. The properties, such as thermo-physical, thermal conductivity, temperature and density of fluids were taken into consideration. The condition of non-slip was applied, for all the wall surfaces. Thermal conditions for absorber plate were set at Radiation with external emissivity at 1 and default external radiation temperature at 300 K. Whereas the thermal conditions for glass and other walls were set at convection with heat transfer coefficient at 2 W/m2 K and default-free stream temperature at 300 K.

The conduction of the heat for the riser tube and the absorber using the approach of shell conduction was computed. The algorithm SIMPLE between the pressure and velocity was used for solving the combinations. Such values that are used for the absorptivity of the absorber and transmissivity of glass of flat plate solar collector were 00.95 and 00.91 respectively. The solution converge when the mass, turbulent kinetic energy and momentum residuals satisfied at 10−3 and energy residuals and radiation at 10−5 were achieved. Table 2 defines the variations in the parameters in different simulated cases. A total of 6 simulations was performed, 3 were performed on the water as working fluid whereas the rest of the 3 was performed by taking air as working fluid. Both the fluids were tested at a low, medium and high mass flow rates. The boundary conditions along with absorptivity and transmissivity of absorbing plate and glass are tabulated in Table 3. The constant values of different properties of selected materials are given in Table 4.

Table 2 Varying parameters of simulated cases
Table 3 Fixed properties of absorbing and glass plates
Table 4 Fixed properties of flowing fluids

3 Results and discussion

The solar flat plate collector (SFPC) was numerically simulated using Ansys FLUENT commercial CFD Code. The SFPC contained a single circular tube. The upper plate was considered of glass sheet whereas the bottom plate was considered as an absorber. Two working fluids were tested i.e., water and air. The inlet temperature for both the fluids was maintained at 300 K. The Hyderabad coordinates were used to calculate the solar radiation intensity. Both water and air were inserted with 3 different flow rates termed as low flow, medium flow, and high flow. The detailed results are discussed in the subsequent paragraphs.

3.1 Exit average temperature

In all simulations an increase in the exit temperature was observed for both the fluids as compared to inlet temperature due to solar radiation. Figure 4 shows the average exit temperatures for both the working fluids at three different flowing conditions. The water at low flowrate (5 × 10−6 kg/s) leaving the tube at 79.74 °C which is the highest gain in temperature for all the cases. The probable reason is higher thermal conductivity and increased residence time due to low flow rate [10]. The temperature of water at a medium flow rate (8 × 10−6 kg/s) increased up to 67.1 °C from the ambient condition. This is further decreased up to 58.62 °C at a high flow rate (1.1 × 10−5 kg/s) due to very low residence time. The temperatures of air could not increase as compared to water temperatures due to low thermal conductivity. Its maximum temperature reached up to 73.33 °C at a low flow rate, which is decreased up to 55.54 °C at the medium flow rate and further decreased up to 47.2 °C at a high flow rate. So conclusively it was observed that the performance of SFPC decreased in terms of decreased average outlet temperate of working fluid with an increase in fluid flow [31]. Another important observation is that the difference between water and air temperatures at a low flow rate is small whereas it is wider as the fluid flow increases.

Fig. 4
figure 4

Exit temperatures of fluid in all the simulated cases

3.2 Temperature contours

In any CFD analysis, the contours show the rendered solution field within the computational domain. The temperature contours of all six simulated cases are shown in Figs. 5, 6 and 7. Whereas Fig. 5 shows the temperature contours of three cases with water as working fluids calculated at a low, medium and high flow rate of water. Figure 6 shows a similar contour for air as the working fluid. In all the contours it was observed that the fluid either water or air enters at the same ambient temperature i.e., 300 K (27 °C) in all the cases. This is visualized by a red color. The temperature of entering fluid is starting raising once it enters in the SFPC chamber [27]. One thing should be notable here that the chamber is filled with stationary water when water is used as working fluid in the circular tube (Fig. 5) whereas chamber environment is taken stationary when the air is used as working fluid in the circular tube (Fig. 6). A uniform increase in temperature is observed in Fig. 5 for both the tube fluid as well as the chamber fluid. But with air case (Fig. 6), the air encapsulated in the chamber got high temperature but it could not transfer its maximum temperature to the flowing air in tube side due to low heat transfer rates. This is because air has low-density and possesses less thermal conductivity as compared to water [45].

Fig. 5
figure 5

Contours of temperatures for simulated cases with water as working fluid

Fig. 6
figure 6

Contours of temperatures for simulated cases with air as working fluid

Fig. 7
figure 7

Temperature behavior at different length

3.3 Temperature profile

The temperature profiles for both working fluids are developed at central line of tube from all cases, as shown in Fig. 7. The blue lines with filled markers points are for water fluid, whereas the red lines with empty marker points are for air fluid. It is observed from Fig. 5 that water gets hotter earlier as compared to air along the tube length. The temperature of the water gets its peak at the mid-length of the tube and then becomes constant. Contrary to this, air temperature increases slowly and almost the trend is increasing up to the exit point. This indicates that the length of the tube is enough for water fluid but it is a little shorter for air as working fluid. The decrease in the slope of the curve with increasing flow rate is an important observation in Fig. 7. This clearly indicates that heat transfer rate with a low flow rate is higher [29] whereas high fluid flow decreases the overall heat transfer coefficient for the SFPC [36].

3.4 Comparison of results

The comparative study was done with published literature regarding the efficiency of the solar plate collector. Both working fluids water and air were compared with the studies conducted by other researchers on solar flat plate collectors using water and air as working fluids. A variation was observed in the results in some of the studies that are due to the variations in the inlet temperature of the working fluid. Moreover the flow rate of the working fluids was not same for the studies investigated for comparison. Besides that various researchers used different nanofluids for the efficiency improvement of solar flat plate collectors. The geometrical configuration was also different as compared to the research done by other researchers. Figure 8 shows the comparison of results with the literature [8, 14, 16, 18, 19, 21, 24, 42, 54, 58].

Fig. 8
figure 8

Comparison of results with published literature

3.5 Numerical studies on SFPC

Numerous researchers have worked on the CFD simulation through the application of commercial simulation tools in order to understand the behavior of solar collectors. A research done by Fan et al. [22] used Fluent 6.1® for the analysis of the practical data collected during the outdoor test. They compared the outdoor results collected during their experimental study with the results gathered using the CFD software. In case of high flow rates the experimental and simulated results were in good agreement however at low flowrate there were few discrepancies in results. These discrepancies may be due to the oversimplification of the collector particularly inside the air gap of the panel. The researchers [40] performed the investigation using different configuration of inside flat plate integrated collector solar water heater systems. The inside flat plate integrated collector solar water heater system was configured having single and double rows inside it. The diameter of both inside tubes were of different size. The steady-state 3D CFD approach was used to estimate the thermal performance of the system. As per findings double row design is not suitable due to high cost and high power requirement during pumping of fluid. The double row configuration had no additional benefit as compared to single row. The researchers [24] performed transient numerical simulations on flat plate solar collectors. In their research study nanofluids were used to increase the energy harvesting potential. The efficiency of solar flat plate collectors was investigated by maintaining different mass flow rates of water and varying volumetric concentrations of nanofluids Al2O3 1%, 2%, and 3% respectively. As per their research, best performance of solar flat plate collectors was achieved at the water flowrate of 0.004 kg/s and at the volumetric concentration of nanofluids 3%. The nanofluids helped in increasing efficiency of solar flat plate collector at lower mass flow rates of working fluid.

3.6 Challenges for efficient application of SFPC

Numerous challenges are yet to be addressed for the efficient utilization of solar flat plate collector. The most critical challenges include the effect of dust settlement on the surface of solar flat collector and its estimation of effect on efficiency of solar collectors. The settlement of dust particles on solar installations misleads the experimental results. Therefore the estimation of the level of pollution and its composition is very important before performing the experimental study of solar installations. The high polluted areas affect the efficiency of solar installing at larger scale. Therefore simulation studies need to be carried out in order to understand effect of polluted areas on solar installations. Another challenge that needs to be addressed through the experimental and simulation studies is the effect of wind movements such as speed and direction of wind is to be estimated in high wind areas. The speed and direction of wind also increase the dust level settlement on solar installations. The size, geometry deposition behavior, biological and electrochemical behavior of dust needs to be assessed numerically and experimentally. The effect of working fluid such as dissolved salts in the water deposit on the glass surface affect the performance of the installed solar system. Therefore above-mentioned parameters are yet the challenges that need further research to understand the true performance of the solar installations.

4 Conclusion

The solar flat plate collector (SFPC) performance was evaluated through CFD simulations. It was observed that water gave higher efficiency due to high density and thermal conductivity. The simulation results gathered revealed that the temperature of water and air was raised up to 79 °C and 73 °C. It was observed from the temperature profile that the fine grids 118,815 and 142,578 show almost similar temperature profile as compared to coarser grids. The minimum orthogonal quality was 0.54. Usually, the orthogonal quality greater than 0.3 is considered good for computations. The maximum exit temperature was achieved 79.74 °C for water at its lowest flow rate i.e., 5 × 10−6 kg/s whereas minimum temperature of 47.2 °C was achieved with air–fluid at the highest flow rate i.e., 1.1 × 10−5 kg/s. The water fluid presented good performance over the air for SFPC due to the high density and thermal conductivity. The gradual increase for both stationary and flowing water was observed whereas in case of air, the stationary air got hotter but could not transfer heat properly due to low density. Increased slopes of temperature rise were observed for water fluid whereas air temperature rise was slower. Overall it was concluded that the SFPC has shown excellent performance with water fluid. Proper design, transient studies and increased number of tubes could be the future work from this research.