Modeling of the Natural Objects’ Temperature Field Distribution Using a Supercomputer
Abstract
:1. Introduction
2. Problem Statement
3. Research Methodology
Algorithm 1. Fields temperature calculation. |
int l=10; int timer, timer_1; int r, fi, x; double dT[I][J][K][M]; double ****dev_dT; double a, lam1=0.00038, lam2=0.00003026, N; Next, you need to allocate memory on the GPU, into which the data for the calculation will later be copied. HANDLE_ERROR( cudaMalloc( (void**)&dev_dT, I*J*K*M *sizeof( float ) ) ); One of the main difficulties of working with memory is the allocation of a memory array, which will be copied to the CPU for subsequent display. The program code that copies the result from the GPU to the CPU is as follows: HANDLE_ERROR( cudaMemcpy( dT, dev_dT, I*J*K*M *sizeof( float ), cudaMemcpyDeviceToHost ) ); for (r=1; r<=8; r++) for (fi=1; fi<=30; fi++) for (x=1; x<=1199; x++) { printf ("%d %d %d %d \n", r, fi, x, dT[r][fi][x]); } HANDLE_ERROR( cudaFree( dev_dT ) ); return 0; } Code generated for functions such as the kernel runs on the GPU. __global__ void Cuda_proccedure(double ****dT) { for (r=1; r<=8; r++) for (fi=1; fi<=30; fi++) for (x=1; x<=1199; x++) { T[r][fi][x][timer]=0; dT[r][fi][x][timer]=0; } for (r=1; r<=I-1; r++) for (fi=1; fi<=30; fi++) for (x=1; x<=1199; x++) { if ((r<5)||(r>8)) {a=22.16;} else a=0.3769; dT[r][fi][x][timer]=((T[r-1][fi][x][timer]-2*T[r][fi][x][timer]+T[r+1][fi][x][timer])/r*r+(T[r][fi-1][x][timer]-2*T[r][fi][x][timer]+T[r][fi+1][x][timer])/fi*fi+(T[r][fi][x-1][timer]-2*T[r][fi][x][timer]+T[r][fi+1][x+1][timer])/x*x); } for (r=0; r<=9; r++) for (fi=0; fi<=30; fi++) { T[r][fi][0][timer]=10; T[r][fi][30][timer]=T[r][fi][30][timer]; } for (fi=0; fi<=359; fi++) for (x=1; x<=1199; x++) { T[0][fi][x][timer]=T[1][fi][x][timer]; T[5][fi][x][timer]=(lam1*T[6][fi][x][timer]-lam2*T[4][fi][x][timer])/(lam1+lam2); T[9][fi][x][timer]=T[4][fi][x][timer]; T[8][fi][x][timer]=(lam1*T[7][fi][x][timer]-lam2*T[9][fi][x][timer])/(lam1+lam2); } ****************************************************** } |
4. Results
5. Discussion
6. Conclusions
- The increasing of the mineral layer’s heating points number both increases the computational complexity and modeling accuracy, which is so important in the case of complex structured object exploitation, because if the field’s structure entirety or exploitation process sustainability are disturbed, it causes to the possibility of damaging the well or the whole aquifer. Assuming this, it can be concluded that the use of a supercomputer for the hydrodynamic modeling processes is justified.
- When modeling the process, it was seen that the heating process does not proceed uniformly, but depends on the height above sea level. It can also be concluded that it is necessary to develop methods for analyzing and constructing observers in the design of drilling rigs for the extraction of mineral water.
- Simulation of this process on a hybrid supercomputer led to a real calculation time of 10 min. In turn, a linear algorithm on a conventional computer simulates this process for 6 h. This speed is realized mainly due to the 96-core processor, which operates at a higher total frequency than a conventional personal computer processor. It completes the equations approximately sixty times faster, and its implementation will cost only eight to ten times more than a regular one.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Conflicts of Interest
References
- Resniova, E.; Ponomarenko, T. Sustainable Development of the Energy Sector in a Country Deficient in Mineral Resources: The case of the Republic of Moldova. Sustainability 2021, 13, 3261. [Google Scholar] [CrossRef]
- Pomelyaiko, I.S.; Malkov, A.V. Quality Problems of Surface Water and Groundwater at the Health Resorts in the Regions of Caucasian Mineral Waters and Ways to Their Solution. Water Resour. 2019, 46, 214–225. [Google Scholar] [CrossRef]
- Guidelines on Alignment of Russian Minerals Reporting Standards and the CRIRSCO Template. Available online: https://www.crirsco.com/docs/conversion_guidelines_final.pdf (accessed on 17 December 2021).
- Golovina, E.; Grebneva, A. Some Aspects of Groundwater Resources Management in Transboundary Areas. J. Ecol. Eng. 2021, 22, 106–118. [Google Scholar] [CrossRef]
- Golovina, E.; Karennik, K. Modern Trends in the Field of Solving Transboundary Problems in Groundwater Extraction. Resources 2021, 10, 107. [Google Scholar] [CrossRef]
- Hombeck, R.; Keskin, P. The Evolving Impact of the Ogallala Aquifer—Agricultural Adaptation to Groundwater and Climate; US National Bureau of Economic Research Working Paper; NBER Inc.: Cambridge, MA, USA, 2011. [Google Scholar]
- Pershin, I.M.; Kukharova, T.V.; Tsapleva, V.V. Designing of Distributed Systems of Hydrolithosphere Processes Parameters Control for the Efficient Extraction of Hydromineral Raw Materials. J. Phys. Conf. Ser. 2021, 1728, 012017. [Google Scholar] [CrossRef]
- Medici, G.; Smeraglia, L.; Torabi, A.; Botter, C. Review of Modeling Approaches to Groundwater Flow in Deformed Carbonate Aquifers. Ground Water 2021, 59, 334–351. [Google Scholar] [CrossRef] [PubMed]
- Hirsch, R.M.; Slack, J.R.; Smith, R.A. Techniques of Trend Analysis for Monthly Water Quality Data. Water Resour. Res. 1982, 18, 107–121. [Google Scholar] [CrossRef] [Green Version]
- Golovina, E.I.; Khloponina, V.S. Problems of modern legislation in the sphere of underground waters extraction management. Geol. Miner. Resour. Sib. 2020, 1, 106–114. [Google Scholar] [CrossRef]
- Khabarov, N.; Smirnov, A.; Balkovič, J.; Skalský, R.; Folberth, C.; Van Der Velde, M.; Obersteiner, M. Heterogeneous Compute Clusters and Massive Environmental Simulations Based on the EPIC Model. Modelling 2020, 1, 215–224. [Google Scholar] [CrossRef]
- Dvoynikov, M.V.; Kuchin, V.N.; Mintzaev, M.S. Development of viscoelastic systems and technologies for isolating water-bearing horizons with abnormal formation pressures during oil and gas wells drilling. J. Min. Inst. 2021, 247, 57–65. [Google Scholar] [CrossRef]
- Feng, G. A Survey on Analysis and Design of Model-Based Fuzzy Control Systems. IEEE Trans. Fuzzy Syst. 2006, 14, 676–697. [Google Scholar] [CrossRef] [Green Version]
- Iverson, R.M. Landslide triggering by rain infiltration. Water Resour. Res. 2000, 36, 1897–1910. [Google Scholar] [CrossRef] [Green Version]
- Zhukov, V.S.; Kuzmin, Y.O. Experimental evaluation of compressibility coefficients for fractures and intergranular pores of an oil and gas reservoir. J. Min. Inst. 2020, 251, 658–666. [Google Scholar] [CrossRef]
- Golubev, V.; Litvinova, T. Dynamic simulation of industrial-scale gibbsite crystallization circuit. J. Min. Inst. 2021, 247, 88–101. [Google Scholar] [CrossRef]
- Hou, Z.; Xiong, S. On Model-Free Adaptive Control and Its Stability Analysis. IEEE Trans. Aut. Contr. 2019, 64, 4555–4569. [Google Scholar] [CrossRef]
- Tavernini, D.; Metzler, M.; Gruber, P.; Sorniotti, A. Explicit Nonlinear Model Predictive Control for Electric Vehicle Traction Control. IEEE Trans. Contr. Syst. Tech. 2019, 27, 1438–1451. [Google Scholar] [CrossRef]
- Xing, L.; Wen, C.; Liu, Z.; Su, H.; Cai, J. Event-Triggered Adaptive Control for a Class of Uncertain Nonlinear Systems. IEEE Trans. Fuz. Syst. 2017, 62, 2071–2076. [Google Scholar] [CrossRef]
- Cao, Z.; Niu, Y.; Lam, H.-K.; Zhao, J. Sliding Mode Control of Markovian Jump Fuzzy Systems: A Dynamic Event-Triggered Method. IEEE Trans. Fuz. Syst. 2021, 29, 2902–2915. [Google Scholar] [CrossRef]
- Hu, X.; Li, Y.; Che, X.; Hou, Z. Event-Based Adaptive Fuzzy Asymptotic Tracking Control of Uncertain Nonlinear Systems. IEEE Trans. Fuz. Syst. 2021, 29, 3003–3013. [Google Scholar]
- Shklyarskiy, Y.E.; Batueva, D.E. Operation mode selection algorithm development of a wind-diesel power plant supply complex. J. Min. Inst. 2022, 253, 115–126. [Google Scholar] [CrossRef]
- Kenda, K.; Čerin, M.; Bogataj, M.; Senožetnik, M.; Klemen, K.; Pergar, P.; Laspidou, C.; Mladenić, D. Groundwater Modeling with Machine Learning Techniques: Ljubljana polje Aquifer. Multidiscip. Digit. Publ. Inst. Proc. 2018, 2, 697. [Google Scholar]
- Aderemi, B.A.; Olwal, T.O.; Ndambuki, J.M.; Rwanga, S.S. A Review of Groundwater Management Models with a Focus on IoT-Based Systems. Sustainability 2022, 14, 148. [Google Scholar] [CrossRef]
- Jourabchi, P.; Lin, G.K. Modeling Vapor Migration for Estimating the Time to Reach Steady State Conditions. Ground Water Monit. Remediat. 2021, 41, 25–32. [Google Scholar] [CrossRef]
- Antonov, V.V. Environmental factors in case of appraisal of groundwater resources. J. Min. Inst. 2012, 197, 184–186. [Google Scholar] [CrossRef]
- Klizas, P. Geofiltration studies of clay at the future radioactive waste repository for Ignalina nuclear power plant. J. Environ. Eng. Landsc. Manag. 2021, 22, 219–225. [Google Scholar] [CrossRef] [Green Version]
- Golovina, E.I.; Pasternak, S.N.; Tsiglianu, P.P.; Tselischev, N.A. Sustainable management of transboundary groundwater resources: Past and future. Sustainability 2021, 13, 12102. [Google Scholar] [CrossRef]
- Reinecke, R.; Wachholz, A.; Mehl, S.; Foglia, L.; Niemann, C.; Döll, P. Importance of Spatial Resolution in Global Groundwater Modeling. Ground Water 2020, 58, 363–376. [Google Scholar] [CrossRef] [Green Version]
- Kupfersberger, H.; Rock, G.; Draxler, J. Combining Groundwater Flow Modeling and Local Estimates of Extreme Groundwater Levels to Predict the Groundwater Surface with a Return Period of 100 Years. Geosciences 2020, 10, 373. [Google Scholar] [CrossRef]
- Ponomarenko, T.; Nevskaya, M.; Jonek-Kowalska, I. Mineral Resource Depletion Assessment: Alternatives, problems, results. Sustainability 2021, 13, 862. [Google Scholar] [CrossRef]
- Vasilev, Y.; Cherepovitsyn, A.; Tsvetkova, A.; Komendantova, N. Promoting Public Awareness of Carbon Capture and Storage Technologies in the Russian Federation: A System of Educational Activities. Energies 2021, 14, 1408. [Google Scholar] [CrossRef]
- Qin, H. Numerical groundwater modeling and scenario analysis of Beijing plain: Implications for sustainable groundwater management in a region with intense groundwater depletion. Environ. Earth Sci. 2021, 80, 499. [Google Scholar] [CrossRef]
- Meshkov, A.A.; Kazanin, O.I.; Sidorenko, A.A. Improving the efficiency of the technology and organization of the longwall face move during the intensive flat-lying coal seams mining at the Kuzbass mines. J. Min. Inst. 2021, 249, 342–350. [Google Scholar] [CrossRef]
- Takemura, J.; Yao, C.; Kusakabe, O. Development of a Fault Simulator for Soils Under Large Vertical Stress in a Centrifuge. Int. J. Phys. Model. Geotech. 2020, 20, 118–131. [Google Scholar] [CrossRef]
- Tarabarinova, T.A.; Golovina, E.I. Capitalization of mineral resources as an innovation ecological strategy. Geol. Miner. Resour. Sib. 2021, 4, 86–96. [Google Scholar] [CrossRef]
d = 9 | d = 8 | d = 7 | d = 6 | d = 5 |
tp [1,690] = 0.19 | tp [1,690] = 0.19 | tp [1,690] = 0.18 | tp [1,690] = 0.18 | tp [1,690] = 0.48 |
tp [2,690] = 0.37 | tp [2,690] = 0.36 | tp [2,690] = 0.31 | tp [2,690] = 0.32 | tp [2,690] = 0.39 |
tp [3,690] = 0.49 | tp [3,690] = 0.47 | tp [3,690] = 0.43 | tp [3,690] = 0.37 | tp [3,690] = 0.39 |
tp [4,690] = 0.56 | tp [4,690] = 0.51 | tp [4,690] = 0.43 | tp [4,690] = 0.32 | tp [4,690] = 0.38 |
tp [5,690] = 0.56 | tp [5,690] = 0.47 | tp [5,690] = 0.34 | tp [5,690] = 0.18 | tp [5,690] = 0.45 |
tp [6,690] = 0.49 | tp [6,690] = 0.36 | tp [6,690] = 0.19 | tp [6,690] = 0.26 | |
tp [7,690] = 0.37 | tp [7,690] = 0.19 | tp [7,690] = 0.42 | ||
tp [8,690] = 0.19 | tp [8,690] = 0.78 | |||
tp [9,690] = 0.14 | ||||
d = 14 | d = 13 | d = 12 | d = 11 | d = 10 |
tp [1,690] = 0.20 | tp [1,690] = 0.20 | tp [1,690] = 0.19 | tp [1,690] = 0.19 | tp [1,690] = 0.19 |
tp [2,690] = 0.39 | tp [2,690] = 0.38 | tp [2,690] = 0.38 | tp [2,690] = 0.38 | tp [2,690] = 0.37 |
tp [3,690] = 0.56 | tp [3,690] = 0.55 | tp [3,690] = 0.54 | tp [3,690] = 0.53 | tp [3,690] = 0.51 |
tp [4,690] = 0.70 | tp [4,690] = 0.68 | tp [4,690] = 0.66 | tp [4,690] = 0.64 | tp [4,690] = 0.60 |
tp [5,690] = 0.80 | tp [5,690] = 0.77 | tp [5,690] = 0.74 | tp [5,690] = 0.69 | tp [5,690] = 0.63 |
tp [6,690] = 0.87 | tp [6,690] = 0.82 | tp [6,690] = 0.76 | tp [6,690] = 0.69 | tp [6,690] = 0.60 |
tp [7,690] = 0.89 | tp [7,690] = 0.82 | tp [7,690] = 0.74 | tp [7,690] = 0.64 | tp [7,690] = 0.51 |
tp [8,690] = 0.87 | tp [8,690] = 0.77 | tp [8,690] = 0.66 | tp [8,690] = 0.53 | tp [8,690] = 0.37 |
tp [9,690] = 0.80 | tp [9,690] = 0.68 | tp [9,690] = 0.54 | tp [9,690] = 0.38 | tp [9,690] = 0.19 |
tp [10,690] = 0.70 | tp [10,690] = 0.55 | tp [10,690] = 0.38 | tp [10,690] = 0.19 | tp [10,690] = 0.50 |
tp [11,690] = 0.56 | tp [11,690] = 0.38 | tp [11,690] = 0.19 | tp [11,690] = 0.85 | |
tp [12,690] = 0.39 | tp [12,690] = 0.20 | tp [12,690] = 0.21 | ||
tp [13,690] = 0.20 | tp [13,690] = 0.56 | |||
tp [14,690] = 0.92 |
d = 9 | d = 8 | d = 7 | d = 6 | d = 5 |
tp [1,690] = 2.03 | tp [1,690] = 2.01 | tp [1,690] = 1.99 | tp [1,690] = 1.95 | tp [1,690] = 1.89 |
tp [2,690] = 3.82 | tp [2,690] = 3.73 | tp [2,690] = 3.59 | tp [2,690] = 3.39 | tp [2,690] = 3.07 |
tp [3,690] = 5.15 | tp [3,690] = 4.87 | tp [3,690] = 4.48 | tp [3,690] = 3.91 | tp [3,690] = 3.07 |
tp [4,690] = 5.86 | tp [4,690] = 5.27 | tp [4,690] = 4.48 | tp [4,690] = 3.39 | tp [4,690] = 1.89 |
tp [5,690] = 5.86 | tp [5,690] = 4.87 | tp [5,690] = 3.59 | tp [5,690] = 1.95 | tp [5,690] = 1.75 |
tp [6,690] = 5.15 | tp [6,690] = 3.73 | tp [6,690] = 1.99 | tp [6,690] = 2.12 | |
tp [7,690] = 3.82 | tp [7,690] = 2.01 | tp [7,690] = 2.49 | ||
tp [8,690] = 2.03 | tp [8,690] = 2.86 | |||
d = 14 | d = 13 | d = 12 | d = 11 | d = 10 |
tp [1,570] = 2.07 | tp [1,570] = 2.06 | tp [1,570] = 2.06 | tp [1,570] = 2.05 | tp [1,570] = 2.04 |
tp [2,570] = 4.04 | tp [2,570] = 4.01 | tp [2,570] = 3.98 | tp [2,570] = 3.94 | tp [2,570] = 3.89 |
tp [3,570] = 5.80 | tp [3,570] = 5.73 | tp [3,570] = 5.63 | tp [3,570] = 5.51 | tp [3,570] = 5.36 |
tp [4,570] = 7.28 | tp [4,570] = 7.11 | tp [4,570] = 6.90 | tp [4,570] = 6.64 | tp [4,570] = 6.30 |
tp [5,570] = 8.39 | tp [5,570] = 8.08 | tp [5,570] = 7.70 | tp [5,570] = 7.22 | tp [5,570] = 6.62 |
tp [6,570] = 9.08 | tp [6,570] = 8.58 | tp [6,570] = 7.97 | tp [6,570] = 7.22 | tp [6,570] = 6.30 |
tp [7,570] = 9.31 | tp [7,570] = 8.58 | tp [7,570] = 7.70 | tp [7,570] = 6.64 | tp [7,570] = 5.36 |
tp [8,570] = 9.08 | tp [8,570] = 8.08 | tp [8,570] = 6.90 | tp [8,570] = 5.51 | tp [8,570] = 3.89 |
tp [9,570] = 8.39 | tp [9,570] = 7.11 | tp [9,570] = 5.63 | tp [9,570] = 3.94 | tp [9,570] = 2.04 |
tp [10,570] = 7.28 | tp [10,570] = 5.73 | tp [10,570] = 3.98 | tp [10,570] = 2.05 | tp [10,570] = 3.59 |
tp [11,570] = 5.80 | tp [11,570] = 4.01 | tp [11,570] = 2.06 | tp [11,570] = 3.95 | |
tp [12,570] = 4.04 | tp [12,570] = 2.06 | tp [12,570] = 4.32 | ||
tp [13,570] = 2.07 | tp [13,570] = 4.68 | |||
tp [14,570] = 2.07 |
d = 9 | d = 8 | d = 7 | d = 6 | d = 5 |
tp [1,690] = 0.11 | tp [1,690] = 0.37 | tp [1,690] = 0.33 | tp [1,690] = 0.23 | tp [1,690] = 0.24 |
tp [2,690] = 0.21 | tp [2,690] = 0.57 | tp [2,690] = 0.60 | tp [2,690] = 0.38 | tp [2,690] = 0.39 |
tp [3,690] = 0.29 | tp [3,690] = 0.59 | tp [3,690] = 0.73 | tp [3,690] = 0.43 | tp [3,690] = 0.39 |
tp [4,690] = 0.33 | tp [4,690] = 0.58 | tp [4,690] = 0.73 | tp [4,690] = 0.38 | tp [4,690] = 0.24 |
tp [5,690] = 0.33 | tp [5,690] = 0.59 | tp [5,690] = 0.60 | tp [5,690] = 0.23 | tp [5,690] = 0.24 |
tp [6,690] = 0.29 | tp [6,690] = 0.57 | tp [6,690] = 0.33 | tp [6,690] = 0.84 | |
tp [7,690] = 0.21 | tp [7,690] = 0.37 | tp [7,690] = 0.41 | ||
tp [8,690] = 0.11 | tp [8,690] = 0.02 | |||
tp [9,690] = 0.84 | ||||
d = 14 | d = 13 | d = 12 | d = 11 | d = 10 |
tp [1,690] = 0.19 | tp [1,690] = 0.17 | tp [1,690] = 0.24 | tp [1,690] = 0.09 | tp [1,690] = 0.10 |
tp [2,690] = 0.38 | tp [2,690] = 0.33 | tp [2,690] = 0.45 | tp [2,690] = 0.19 | tp [2,690] = 0.19 |
tp [3,690] = 0.52 | tp [3,690] = 0.46 | tp [3,690] = 0.62 | tp [3,690] = 0.26 | tp [3,690] = 0.26 |
tp [4,690] = 0.64 | tp [4,690] = 0.55 | tp [4,690] = 0.74 | tp [4,690] = 0.32 | tp [4,690] = 0.31 |
tp [5,690] = 0.71 | tp [5,690] = 0.61 | tp [5,690] = 0.80 | tp [5,690] = 0.34 | tp [5,690] = 0.33 |
tp [6,690] = 0.75 | tp [6,690] = 0.63 | tp [6,690] = 0.82 | tp [6,690] = 0.34 | tp [6,690] = 0.31 |
tp [7,690] = 0.76 | tp [7,690] = 0.63 | tp [7,690] = 0.80 | tp [7,690] = 0.32 | tp [7,690] = 0.26 |
tp [8,690] = 0.75 | tp [8,690] = 0.61 | tp [8,690] = 0.74 | tp [8,690] = 0.26 | tp [8,690] = 0.19 |
tp [9,690] = 0.71 | tp [9,690] = 0.55 | tp [9,690] = 0.62 | tp [9,690] = 0.19 | tp [9,690] = 0.10 |
tp [10,690] = 0.64 | tp [10,690] = 0.46 | tp [10,690] = 0.45 | tp [10,690] = 0.09 | tp [10,690] = 0.82 |
tp [11,690] = 0.52 | tp [11,690] = 0.33 | tp [11,690] = 0.24 | tp [11,690] = 0.93 | |
tp [12,690] = 0.38 | tp [12,690] = 0.17 | tp [12,690] = 0.69 | ||
tp [13,690] = 0.19 | tp [13,690] = −0.7 | |||
tp [14,690] = 0.61 |
Step | Supercomputer Results | Regular PC Results |
---|---|---|
1 | 12.38692 | 12.38692 |
2 | 12.38892 | 12.38892 |
3 | 13.39692 | 13.39692 |
…… | …… | …… |
100 | 87.19692 | 87.19692 |
101 | 89.31292 | 89.31292 |
102 | 97.29692 | 97.29692 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Martirosyan, A.V.; Ilyushin, Y.V. Modeling of the Natural Objects’ Temperature Field Distribution Using a Supercomputer. Informatics 2022, 9, 62. https://doi.org/10.3390/informatics9030062
Martirosyan AV, Ilyushin YV. Modeling of the Natural Objects’ Temperature Field Distribution Using a Supercomputer. Informatics. 2022; 9(3):62. https://doi.org/10.3390/informatics9030062
Chicago/Turabian StyleMartirosyan, Alexander Vitalievich, and Yury Valeryevich Ilyushin. 2022. "Modeling of the Natural Objects’ Temperature Field Distribution Using a Supercomputer" Informatics 9, no. 3: 62. https://doi.org/10.3390/informatics9030062
APA StyleMartirosyan, A. V., & Ilyushin, Y. V. (2022). Modeling of the Natural Objects’ Temperature Field Distribution Using a Supercomputer. Informatics, 9(3), 62. https://doi.org/10.3390/informatics9030062