Next Article in Journal
Virtual Modelling Framework-Based Inverse Study for the Mechanical Metamaterials with Material Nonlinearity
Previous Article in Journal
Global Buckling Simulation and Design of a Novel Concrete-Filled Corrugated Steel Tubular Column
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Three-Dimensional Mathematical Modeling and Simulation of the Impurity Diffusion Process Under the Given Statistics of Systems of Internal Point Mass Sources

1
Department of Computational Mathematics and Programming, Institute of Applied Mathematics and Fundamental Sciences, Lviv Polytechnic National University, 12 Bandera Str., 79013 Lviv, Ukraine
2
Department of Numerical Methods of Mathematical Physics, Pidstryhach Institute for Applied Problems of Mechanics and Mathematics, 3-b Naukova Str., 79060 Lviv, Ukraine
3
Department of Advanced Mathematics, Institute of Applied Mathematics and Fundamental Sciences, Lviv Polytechnic National University, 12 Bandera Str., 79013 Lviv, Ukraine
*
Author to whom correspondence should be addressed.
Modelling 2025, 6(1), 23; https://doi.org/10.3390/modelling6010023
Submission received: 24 January 2025 / Revised: 25 February 2025 / Accepted: 14 March 2025 / Published: 17 March 2025

Abstract

:
A three-dimensional mathematical model and simulation of the impurity diffusion process are developed under the given statistical characteristics of the system of internal stochastically disposed point sources of mass. These sources, possessing varying intensities, are located within the sub-strip according to a uniform distribution. The random source statistics are known, and the problem solution is expressed as the sum of the solution to the homogeneous problem and the convolution of Green’s function with the random point source system. The impurity concentration is averaged. Diffusive fluxes and the total amount of substance passing through any cross-sectional area over a specified time period are modeled using Fick’s laws. General and calculating formulas for averaged diffusive fluxes, including those applicable to steady-state regimes, are derived. A calculating formula for the total substance that has passed through the strip within a given time interval is obtained. A comprehensive software suite is developed to simulate the behavior of the averaged characteristics of the diffusion process influenced by the point source system. The second statistical moments of the impurity concentration are obtained and studied.

1. Introduction

In mathematical modeling of physical processes in multicomponent or multiphase media, scientists encounter problems due to insufficient knowledge on the internal structure of the investigated objects [1]. In such situations, to adequately describe the processes, it is important to account for stochasticity caused by uncertainty in the location of internal mass sources or due to the influence of random external factors. This is also characteristic of diffusion problems [2]. Even on its own, diffusion remains an active area of mathematical research, with advancements being made both in the development of new mathematical models [3] and in the creation of more stable and efficient numerical solution techniques [4].
Of significant interest are problems that take into account the action of internal point mass sources. Such problems often arise from chemical reactions, crystallization, melting, or other physical phenomena where mass sources play a key role. Often, the specific location of these sources is unknown, which adds random parameters to the problem. These challenges appear in the areas of building industry, machine and aircraft engineering, agriculture, ecology, and the longevity and reliability of devices’ operation as well as units and elements of complex constructions. For example, such problems are solved when investigating the motion and stability of systems of point masses in the context of gravitational interactions or in the analysis of the distribution of radioactive radiation.
In such cases, the processes are described using the probabilistic modeling approach, which is widely applied for analyzing complex physical and technical systems, encompassing both deterministic and probabilistic problems. The main advantage of this approach lies in its ability to model uncertainties and consider probability distributions, which is critical for problems where uncertainty exists, such as in the location of mass sources during diffusion [5,6]. However, choosing an adequate model remains a challenge that requires a deep understanding of both the physical aspects of the studied process and the applied mathematical approaches [7].
For a long time, methods for homogenizing heterogeneous media—including those with randomly heterogeneous structures [8]—have been rapidly evolving. However, such approaches do not allow one to determine the variance or the correlation function of the concentration field of the diffusing substance, nor do they account for the complete statistics of random sources acting within the investigated object [9].
This work aims to design a three-dimensional mathematical model that describes the diffusion of impurities affected by a system of internal stochastic point sources of impurity in a strip. The statistics of these point sources are assumed to be known in advance. Building on this foundation, we construct the solution to the initial-boundary value problem for diffusion and numerically examine the solution, namely the averaged concentration field of the particles diffusing. From there, we proceed to analyze critical characteristics of the mass transfer process, including impurity flux, the total substance passing through a defined strip, and the second moments of the concentration field.

2. Materials and Methods

The mass transfer equation for the impurity concentration is derived using the mass conservation laws from the thermodynamics of non-equilibrium processes. Impurity concentration formulas, flux in a homogeneous medium (without mass sources), and the Green function are obtained through the application of integral transform methods. Specifically, the Fourier transform is applied relative to the spatial coordinates, and the Laplace transform is applied to time. The resulting solution is presented in analytical form. To perform the averaging procedure over the random positions of point mass sources, tools from probability theory and statistics as well as calculus are utilized.
The developed software suite for the numerical representation and analysis consists of the following modules:
  • Problem parameter interpreter module;
  • Homogeneous concentration and Green’s function calculation module;
  • Flux function evaluation module;
  • Stochastic characteristics computation module;
  • Two- and three-dimensional visualization module.
These modules were implemented using the C# programming language in Visual Studio 2022 Community Edition. The visualization was performed using the Plottly.Net@5.1.0 and ScottPlot@4.1.68 libraries. The software was run on the following hardware configuration: Windows 11 Pro OS 64-bit, Intel(R) Core(TM) i7-1065G7 CPU, 16.0 GB RAM.

3. Mathematical 3D Model of Impurity Diffusion Influenced by Point Source System

3.1. Construction of the Mathematical Model

A three-dimensional layer with a thickness of z 0 forms the domain where an impurity substance diffuses. Consider a set of random points r = r ^ i , within the body region, where r = ( x , y , z ) is the radius vector of the current point, x ^ i , y ^ i ( , ) , and z ^ i [ z ¯ 1 , z ¯ 2 ] [ 0 , z 0 ] . Located in those points is a set of acting mass sources ω i δ ( r r ^ i ) , ω i is the power of the i-th source, i = 1 , 2 , , n , with n representing the number of random point sources, and δ ( r r ^ i ) = δ ( x x ^ i ) δ ( y y ^ i ) δ ( z z ^ i ) is the delta function. The collection of sources is regarded as a system (Figure 1).
Let i , j , k = 1 , , n . The sources’ statistics are then defined as δ ( r r ^ i ) , δ ( r r ^ i ) δ ( r r ^ j ) , δ ( r r ^ i ) δ ( r r ^ j ) δ ( r r ^ k ) , …
When formulating the initial relationships of the mathematical model for mass transfer of impurity particles, we assume that any arbitrary region of the body consists of two parts: a skeleton and an impurity component. The mass transfer process occurs solely through diffusion. It is assumed that during the mass transfer, the skeleton does not deform. Additionally, we assume that the medium is isotropic. Based on these assumptions, we construct the mass balance equations for each component [10].
ρ d C k d t = · J k + σ m k , k = 0 , 1 ;
where ρ is the body’s total density, C k is the mass concentration of component k, J k is the diffusive flux of the component k, σ m k is the mass production rate of the component k of the body, and d / d t = / t + ν r · represents the total time derivative. Here, the particles of the body’s skeleton are assigned the index k = 0 , and the impurity particles are assigned the index k = 1 .
The diffusion flux J k is determined by the gradients of chemical potentials, which are linearly dependent on concentrations [11], i.e.,
J k = L k C k , k = 0 , 1 ;
where L k are the transport kinetic coefficients. The concentrations C k and fluxes J k satisfy the normalization conditions k C k = 1 and k J k = 0 . The density and kinetic coefficients are assumed to be constant.
For the component k = 0 , the mass production rate σ m 0 = 0 . At the same time, the mass production rate of the impurity substance σ m 1 = σ m 1 ( r , r ^ i ) is a random function of the spatial coordinates corresponding to the locations of internal point sources.

3.2. Formulation of the Initial–Boundary Value Problem for Diffusion

Let the mass production rate be represented as a sum of the sources:
σ m 1 = i = 1 n ω i δ ( r r ^ i ) ,
then the equation for the diffusion of the impurity substance influenced by the point source system, in three dimensions with respect to spatial variables, is derived from (1) as follows:
ρ C ( t , r ) t = d Δ r C ( t , r ) + i = 1 n ω i δ ( r r ^ i ) ,
where d is the kinetic transfer coefficient and t is time. Moreover, the index denoting the impurity k = 1 will be omitted from now on, i.e., C 1 ( t , r ) = C ( t , r ) . Here, we neglected the convective transfer component.
Let the boundary and initial conditions of the first type be imposed. Namely, we assume zero initial conditions, and we enforce a constant concentration of the particles on both boundaries of the strip:
C ( t , r ) | t = 0 = 0 ,
C ( t , r ) | z = 0 = C 0 c o n s t , C ( t , r ) | z = z 0 = C * c o n s t ,
C ( t , r ) | x ± , y ± M < .
The action of the system of random point mass sources in the body induces randomness in the impurity concentration, or more broadly, the stochasticity of the sought functions.

4. Construction of the Solution to the 3D Problem of Impurity Diffusion Influenced by the Stochastic Point Source System

4.1. Integral Transforms

We will construct the solution to the initial–boundary value problem (2)–(5) as a combination of the solution to the homogeneous problem and the convolution of Green’s function with the system of stochastic point sources of mass. So, we obtain
C ( t , r ) = C h ( t , r ) + i = 1 n ω i 0 t ( V ) G ( t , t , r , r ) δ ( r r ^ i ) d 3 r d t ,
where C h ( t , r ) = C h ( t , z ) is the homogeneous problem’s solution. Here, we take into account the symmetry relative to the variables y and z and thus obtain
ρ C h ( t , z ) t = d 2 C h ( t , z ) z 2 ,
C h ( t , z ) | t = 0 = 0 ,
C h ( t , z ) | z = 0 = C 0 c o n s t , C h ( t , z ) | z = z 0 = C * c o n s t ,
namely [10,12]
C h ( t , z ) = C 0 1 z z 0 + C * z z 0 2 z 0 ρ k = 1 1 z k C 0 + ( 1 ) k + 1 C * e d z k 2 t / ρ sin ( z k z ) ,
where z k = π k / z 0 , k = 1 , 2 , Another component of (6) is G ( t , t , r , r ) , the Green function of problems (2)–(5), which is the solution to the next zero boundary and zero initial condition problem
ρ G ( t , t , r , r ) t d Δ r G ( t , t , r , r ) = δ ( t t ) δ ( r r ) ,
G ( t , t , r , r ) | t = 0 = 0 ,
G ( t , t , r , r ) | z = 0 = 0 , G ( t , t , r , r ) | z = z 0 = 0 ,
G ( t , t , r , r ) | x ± , y ± = 0 .
After applying Laplace [13] and finite sine–Fourier integral transforms [14,15], specifically G ( t , t , x , y , z , r ) g ˜ ( s , t , p 1 , p 2 , z k , r ) , we obtain
g ˜ ( ρ s + d p 1 2 + d p 2 2 + d z k 2 ) = e i p 1 x + i p 2 y e s t sin ( z k z ) .
The solution to this equation is
g ˜ = e i p 1 x + i p 2 y sin ( z k z ) e s t ρ s + d p 1 2 + d p 2 2 + d z k 2 .
We apply the inverse Laplace and Fourier integral transforms together with the Time Delay theorem. So, we have
G ( t , t , r , r ) = θ ( t t ) z 0 d ( t t ) exp ρ 4 d ( x x ) 2 + ( y y ) 2 t t × k = 1 e d z k 2 ( t t ) / ρ sin ( z k z ) sin ( z k z ) .
Here, θ ( t t ) is the Heaviside function.
Note that integration in (6) is performed in the region ( V ) = [ 0 ; z 0 ] × [ ; ] × [ ; ] .

4.2. Averaging the Concentration over the Random Source Locations

The next step is the averaging of the concentration C ( t , r ) with respect to the stochastic positions r ^ i of the point sources. Given that C h ( t , r ) is deterministic, it follows that C h ( t , r ) = C h ( t , r ) . Subsequently,
C ( t , r ) = C h ( t , r ) + i = 1 n ω i 0 t ( V ) G ( t , t , r , r ) δ ( r r ^ i ) d 3 r d t ,
where r ^ i = ( x ^ i , y ^ i , z ^ i ) and the angle brackets denote the averaging procedure.
Let us consider the set of random point mass sources ω i δ ( r r ^ i ) that act within the body in greater detail. As per our previous assumption, the sources form the system. Let p ( r ^ i ) be the likelihood of finding the source in a specific location within the body region, namely the probability density function. It is assumed that each source contributes to the system with equal probability. Then, the function p ( i = 1 n r ^ i ) can be expressed as a sum of the probability densities p ( r ^ i ) with unit weights α i :
p i = 1 n r ^ i = i = 1 n α i p ( r ^ i ) , α i 1 .
Let the internal region of the body, where the system of sources operates, be known as [ z ¯ 1 ; z ¯ 2 ] × [ ; ] × [ ; ] [ 0 ; z 0 ] × [ ; ] × [ ; ] (Figure 1). Consider the case of the continuous uniform distribution of the random vector r ^ i of the point source disposition. Allowing for Expression (17), the averaged field of concentration C ( t , r ) is represented as
C ( t , r ) = C h ( t , z ) + i = 1 n ω i z ¯ 1 z ¯ 2 d z ^ i p ( r ^ i ) d x ^ i d y ^ i × 0 t G ( t , t , r , r ^ i ) d t .
This leads to
C ( t , r ) = C h ( t , z ) + i = 1 n ω i V z 0 d k = 1 sin ( z k z ) z ¯ 1 z ¯ 2 sin ( z k z ^ i ) d z ^ i × 0 t 1 t t e d z k 2 ( t t ) / ρ exp ρ 4 d ( x x ^ i ) 2 t t d x ^ i × exp ρ 4 d ( y y ^ i ) 2 t t d y ^ i d t ,
where V is the volume of the body.
When averaging with a uniform distribution, one faces an inconsistency between the physical object and the mathematical model, which describes an infinite body with a finite number of sources acting within it. Thus, we consider
1 V = n mes 0 ( z ¯ 2 z ¯ 1 ) V n mes 0 ( z ¯ 2 z ¯ 1 ) = V 1 V n mes 0 ( z ¯ 2 z ¯ 1 ) = v 1 n mes 0 ( z ¯ 2 z ¯ 1 ) = 1 2 π n ( z ¯ 2 z ¯ 1 ) ,
where V 1 = n mes 0 ( z ¯ 2 z ¯ 1 ) is the volume occupied by the system of point sources, mes 0 is a measure zero [16], and v 1 = V 1 / V is the volume fraction of the point source system.
Substituting Green’s function (15) into (18), after integration, we obtain
C ( t , r ) = C h ( t , z ) + 2 Ω d z 0 n ( z ¯ 2 z ¯ 1 ) × k = 1 S 12 ( z k ) 1 e d z k 2 t / ρ sin ( z k z ) ,
where
S 12 ( z k ) = cos ( z k z ¯ 1 ) cos ( z k z ¯ 2 ) z k 3 , Ω = i = 1 n ω i .
It is noteworthy that the expressions for the averaged concentration in the three-dimensional and one-dimensional cases coincide [17], which can be attributed to the symmetry arising along the x and y axes.

5. Results

5.1. Numerical Analysis of the Averaged Field of the Impurity Concentration

Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7 display the plots of the averaged function of impurity concentration C ( τ , ξ ) / C 0 , within a strip for a uniform distribution of random point sources constituting the system. Formula (20) was used for the calculations.
Here and throughout dimensionless variables [18], we utilize
ξ = z / z 0 , τ = d / ( ρ z 0 2 ) t .
Consequently, the strip’s dimensionless thickness ξ 0 = 1 , whereas internal interval edges ξ ¯ 1 = z ¯ 1 / z 0 and ξ ¯ 2 = z ¯ 2 / z 0 .
The default values of the problem coefficients are taken as d = 1 , ρ = 1 , n = 3 , ω 1 = ω 2 = ω 3 = 1.5 , ξ ¯ 1 = 0.4 , ξ ¯ 2 = 0.6 , C 0 = 1 , C * = 0.1 , τ = 0.05 . The system consisting of three point sources of equal power is investigated. The series in the formulas for the averaged concentration are summed with an accuracy of 10 12 . Dashed horizontal lines in Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7 mark the fixed concentration value C * at the boundary ξ = ξ 0 .
Figure 2a shows the behavior of the averaged field C ( τ , ξ ) / C 0 for various lengths of the section [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.1 , 0.9 ] ; [ 0.2 , 0.8 ] ; [ 0.3 , 0.7 ] ; [ 0.45 , 0.55 ] ; [ 0.49 , 0.51 ] (corresponding to lines 1 through 5 on the graph).
Figure 2b demonstrates the graphs of the averaged field of concentration depending on the location of the interval of the source system [ ξ ¯ 1 , ξ ¯ 2 ] within the body region: [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , 0.1 ] ; [ 0.2 , 0.3 ] ; [ 0.4 , 0.5 ] ; [ 0.6 , 0.7 ] ; [ 0.8 , 0.9 ] (corresponding to lines 1 through 5 on the graph).
Figure 3 presents the distributions of the averaged impurity concentration field at various dimensionless times τ = 0.01 , 0.05 , 0.15 , 0.4 (corresponding to curves 1–4). From this point onward, Figure 3a is plotted for the interval of the point source system’s action [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] , and Figure 3b is plotted for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , 1 ] .
Figure 4 presents the distributions of the averaged concentration C ( τ , ξ ) / C 0 normalized by its value at the boundary ξ = 0 for different values of the concentration maintained at the strip’s boundary ξ = ξ 0 : C * = 0 , 0.1 , 0.5 , 0.75 , 1.2 (curves 1–5). Figure 5 shows the distributions of the averaged concentration C ( τ , ξ ) / C * , normalized by its value at the boundary ξ = ξ 0 , depending on the value of C ( τ , ξ ) on the upper surface ξ = 0 : C 0 = 0 , 0.1 , 0.5 , 0.75 , 1.2 (curves 1–5).
Figure 4 depicts the profiles of the averaged field of concentration C ( τ , ξ ) / C 0 normalized by its value at the boundary ξ = 0 for various concentrations imposed at the boundary ξ = ξ 0 : C * = 0 , 0.1 , 0.5 , 0.75 , 1.2 (curves 1–5). Figure 5 shows the distributions of the averaged concentration C ( τ , ξ ) / C * , divided by its bottom boundary value at ξ = ξ 0 , with various values of C ( τ , ξ ) at the top boundary ξ = 0 , namely C 0 = 0 , 0.1 , 0.5 , 0.75 , 1.2 (curves 1–5).
Figure 6 shows the plots of the field C ( τ , ξ ) / C 0 for the system of varying number of point sources with the same total power Ω = 4.5 : ω = 4.5 (1 source), 2.25 (2 sources), 1.5 (3 sources), 1.125 (4 sources) and 0.3 (15 sources) which correspond to curves 1–5. Figure 7 demonstrates the averaged field of impurity concentration affected by the system of five point sources, where one of them has significantly higher intensity. Line 1 corresponds to the system { 1 , 1 , 1 , 1 , 40 } ; line 2— { 1 , 1 , 1 , 1 , 30 } ; line 3— { 1 , 1 , 1 , 1 , 20 } ; line 4— { 1 , 1 , 1 , 1 , 10 } ; and line 5— { 1 , 1 , 1 , 1 , 1 } .
It is worth noting that throughout the entire body region, the impurity particle concentration is significantly elevated by the system of point mass sources acting within the strip. A distinct rise in the averaged concentration function is noticeable, either near the upper boundary of the body (curves 1, 2 in Figure 3, as well as Figure 4b, Figure 6b and Figure 7b or in the middle of the strip (Figure 4, Figure 5 and Figure 6 and Figure 7a). In all examined cases, the dimensionless time required to reach the steady-state regime remains the same, τ = 0.5 . The interval [ ξ ¯ 1 , ξ ¯ 2 ] defining the influence region of the point source system has a substantial impact on the behavior of the averaged field of impurity concentration (Figure 2, Figure 3, Figure 4, Figure 5, Figure 6 and Figure 7).
For short diffusion times, a considerable surge in the concentration field from the top boundary is characteristic (curves 1 in Figure 3a,b). As the mass transfer process runs over time, the concentration levels in the upper portion of the strip decline (curves 2–4 in Figure 3). Furthermore, as τ increases, these changes occur at a slower rate. When the subsection of the point source influence spans the entirety of the body, the averaged field of concentration remains smooth at all points (Figure 3b). However, if the action interval is smaller than the strip’s width, a steep rise in the averaged concentration field occurs in the proximity of ξ = ξ ¯ 1 followed by a steep drop near ξ = ξ ¯ 2 (Figure 3a and Figure 4, Figure 5, Figure 6 and Figure 7). This rise in C ( τ , ξ ) is less pronounced for shorter times and is more significant for larger values of τ (Figure 3a).
Note that the impact of the width of the the sub-strip where the point sources act on the value of the averaged concentration is great (Figure 2a). For τ = 0.05 , the maximum difference between the averaged concentration values for large and small length of the interval [ ξ ¯ 1 , ξ ¯ 2 ] reaches 20 % , and for τ = 0.5 , it reaches 65 % . This maximum difference is achieved at the point ξ = 0.53 . Moreover, the nearer the interval [ ξ ¯ 1 , ξ ¯ 2 ] gets to either boundary of the body, the smaller the increase in C ( τ , ξ ) within this interval (curves 1 and 5 in Figure 2b).
The influence of the concentration value on the lower surface of the strip C * is also significant, and the greatest influence of this parameter is observed in the middle of the strip (Figure 4a,b). A similar effect is observed when adjusting the impurity concentration at the upper boundary of the strip C 0 (Figure 5). In the case of [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , z 0 ] for small concentrations at the top surface of the strip, the function is monotonically increasing (curves 1 and 2 in Figure 5b), whereas for greater values, a local (curve 4 in Figure 5b) or global maximum (curve 5 in Figure 5b) forms and increases with the growth of C * .
In the case where the source action interval’s length is smaller than the length of the strip, varying the number of point sources in the system affects the concentration field C ( τ , ξ ) only within the sub-strip [ ξ ¯ 1 , ξ ¯ 2 ] (Figure 6a). For fixed O m e g a , a smaller number of sources n results in higher concentration values within this interval (Figure 6a). The difference between C ( τ , ξ ) | ξ [ ξ ¯ 1 , ξ ¯ 2 ] , n = 2 and C ( τ , ξ ) | ξ [ ξ ¯ 1 , ξ ¯ 2 ] , n = 4 reaches 10% for τ = 0.05 (Figure 6a). When a dominant power source is present in the system, the averaged concentration increases substantially within the interval [ ξ ¯ 1 , ξ ¯ 2 ] (Figure 7). For example, C ( τ , ξ ) | ξ [ 0.4 , 0.6 ] , ω max = 40 / C ( τ , ξ ) | ξ [ 0.4 , 0.6 ] , ω max = 10 1.5 (Figure 7a) and C ( τ , ξ ) | ξ [ 0 , 1 ] , ω max = 40 / C ( τ , ξ ) | ξ [ 0 , 1 ] , ω max = 10 1.3 (Figure 7b).
When the total powers, Ω , are small, their reduction has little impact on the values of C ( τ , ξ ) / C 0 . For example, a change in Ω from 6 to 4.5 affects only the second decimal place in the values of C ( τ , ξ ) / C 0 .
Notably, a change in the number of sources with significantly higher power, while keeping the same total source power Ω , does not cause changes in the averaged concentration values. This is because the mean power of the acting sources Ω / n is the only factor affecting the concentration averaged over the internal interval, which corresponds to the solution representation (20).

5.2. Second Moments of the Averaged Concentration Field

Let us find the variance σ C 2 ( t , r ) of the impurity concentration field and the correlation (auto-correlation) function influenced by the point source system. The variance of the field σ C 2 ( t , r ) is defined as [19]
σ C 2 ( t , r ) = C 2 ( t , r ) C ( t , r ) 2 .
For the averaged product of impurity concentration fields, the following expression holds:
C ( t 1 , r 1 ) C ( t 2 , r 2 ) = C ( t 1 , r 1 ) C ( t 2 , r 2 ) + ψ C ( t 1 , r 1 ; t 2 , r 2 ) ,
where ψ C ( t 1 , r 1 ; t 2 , r 2 ) is the correlation function (auto-correlation) of the concentration field C ( t , r ) at the points ( t 1 , r 1 ) and ( t 2 , r 2 ) .
Consequently, we obtain the correlation function of the field ψ C ( t , r ; t , r ) at ( t , r )
ψ C ( t , r ; t , r ) = C 2 ( t , r ) C ( t , r ) C ( t , r ) .
Then, the average of the square of the field can be expressed as
C 2 ( t , r ) = C ( t , r ) C ( t , r ) = C ( t , r ) C ( t , r ) + ψ C ( t , r ; t , r ) .
Now, if we find the correlation function of the impurity particle concentration field ψ C ( t , r ; t , r ) at the point ( t , r ) , we can then determine the variance of the field within the body.
Substitute the expressions for C ( t , r ) (6) and C ( t , r ) (20) into Formula (25). First, we express C 2 ( t , z )
C 2 ( t , r ) = ( C h ( t , r ) ) 2 + 2 C h ( t , r ) × i = 1 n ω i 0 t ( V ) G ( t , t , r , r ) δ ( r r ^ i ) d 3 r d t + i = 1 n k = 1 n ω i ω k 0 t ( V ) 0 t ( V ) G ( t , t , r , r ) × G ( t , t , r , r ) δ ( r r ^ i ) δ ( r r ^ k ) d 3 r d t d 3 r d t .
Taking into account Expression (27), the variance of the field can be represented as
σ C 2 ( t , r ) = C ( t , r ) 2 + ( C h ( t , r ) ) 2 + 2 C h ( t , r ) × i = 1 n ω i 0 t ( V ) G ( t , t , r , r ) δ ( r r ^ i ) d 3 r d t + i = 1 n k = 1 n ω i ω k 0 t ( V ) 0 t ( V ) G ( t , t , r , r ) × G ( t , t , r , r ) δ ( r r ^ i ) δ ( r r ^ k ) d 3 r d t d 3 r d t
Allow for the system of n random point sources with a uniform distribution over the interval [ z ¯ 1 , z ¯ 2 ] , take into consideration the expression for the homogeneous concentration (10), substitute the Green function (15) into (28), and account for Expression (19) and the relation
δ ( r r ^ i ) δ ( r r ^ k ) = 1 4 π 2 n 2 ( z ¯ 2 z ¯ 1 ) 2 .
Finally, we obtain
σ C 2 ( t , r ) = 4 Ω 2 d 2 z 0 2 n 2 ( z ¯ 2 z ¯ 1 ) 2 k = 1 1 ( 1 ) k z k 3 1 e d z k 2 t / ρ sin ( z k z ) 2 k = 1 S 12 ( z k ) 1 e d z k 2 t / ρ sin ( z k z ) 2 .
Similarly, we defer the computational expression for the correlation function of the concentration field of the impurity substance, which diffuses in the strip under the influence of the system of random point sources, using the relation (28). We have
ψ C ( t 1 , r 1 , t 2 , r 2 ) = 4 Ω 2 d 2 z 0 2 n 2 1 ( z ¯ 2 z ¯ 1 ) 2 k = 1 m = 1 A k m E k ( t 1 , z 1 ) E m ( t 2 , z 2 ) ,
where
A k m = 1 z k 3 z m 3 ( 1 ( 1 ) k ) ( 1 ( 1 ) m ) S 12 ( z k ) S 12 ( z m ) ,
E k ( t , z ) = 1 e d z k 2 t / ρ sin ( z k z ) , k = n , m .
Note that the correlation function ψ c ( t 1 , r 1 ; t 2 , r 2 ) is directly proportional to the square of the total power of the point sources in the system and inversely proportional to the square of the number of sources.
If the sources have the same power, then Formula (31) simplifies to
ψ C ( t 1 , r 1 ; t 2 , r 2 ) = 4 ω 2 d 2 z 0 2 1 ( z ¯ 2 z ¯ 1 ) 2 k = 1 m = 1 A k m E k ( t 1 , z 1 ) E m ( t 2 , z 2 ) .
In the case where the sources are of equal power, as well as in the general case (31), the correlation function is inversely proportional to the squared length of the internal interval of source action [ z ¯ 1 , z ¯ 2 ] .

5.3. Numerical Analysis of the Variance and Correlation Function of the Concentration Field

Figure 8, Figure 9 and Figure 10 illustrate characteristic distributions of the variance of the concentration field of the impurity substance in the strip under the influence of the system of point sources. Calculations were performed using dimensionless variables (22) with the same base parameter values. Figure 8 shows the variance at different dimensionless times τ = 0.02 , 0.05 , 0.1 , 0.2 , 0.3 (lines 1–5) for the following intervals of point source action: [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] (a) and [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] (b).
Presented in Table 1 are the maximum of the variance max ξ [ 0 , ξ 0 ] σ ( τ , ξ ) and the point ξ max at which this maximum is achieved, for the data illustrated in Figure 8.
Figure 9 shows the variance σ C 2 under the action of the system with one source with a significantly amount of power. More specifically, Figure 9a is plotted for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] , and Figure 9b for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] . Here, line 1 corresponds to the system { 1 , 1 , 1 , 1 , 40 } , line 2 to { 1 , 1 , 1 , 1 , 30 } , line 3 to { 1 , 1 , 1 , 1 , 20 } , line 4 to { 1 , 1 , 1 , 1 , 10 } , and line 5 to { 1 , 1 , 1 , 1 , 1 } .
The variance values increase significantly with the duration of the diffusion process (Figure 8). That is observed when the interval of point source action is located in the middle of the strip and when this interval nearly covers the entire region of the body. Specifically, as τ increases from 0.02 to 0.3 , the maximum values of the variance increase by an order of magnitude (Table 1): max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | τ = 0.3 / max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | τ = 0.02 34.5 .
Note that the number of sources, provided they have the same average power, does not affect the variance. A change in the value of Ω leads to a change in σ C 2 (Figure 9).
If there is a dominant power source within the system, the behavior of the variance function remains unchanged. However, the power of such a source significantly influences the value of σ C 2 (Figure 9). For example, as ω max increases from 10 to 40, the maximum values of the variance grow by an order of magnitude (Table 1):
max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] , ω max = 40 / max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] , ω max = 10 9.9 ;
max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , 1 ] , ω max = 40 / max ξ [ 0 , ξ 0 ] σ c 2 ( τ , ξ ) | [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , 1 ] , ω max = 10 9.9 .
Figure 10 shows the variance of the concentration field (a) for different lengths of the interval where the point sources act [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.1 , 0.9 ] ; [ 0.2 , 0.8 ] ; [ 0.3 , 0.7 ] ; [ 0.4 , 0.6 ] ; [ 0.45 , 0.55 ] (lines 1–5) and (b) for different positions [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.0 , 0.1 ] ; [ 0.2 , 0.3 ] ; [ 0.4 , 0.5 ] ; [ 0.6 , 0.7 ] ; [ 0.8 , 0.9 ] of this interval (lines 1–5).
From the start of the process of mass transfer, two local maxima of the variance are observed, which become less distinct as the interval [ ξ ¯ 1 , ξ ¯ 2 ] enlarges (curves 1–5, Figure 10a). For [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.5 ] , there is only one maximum of σ C 2 at the point ξ max = 0.5 (curve 3 in Figure 10b).
Note that the thinner the interval of point source action, the higher the variance values across the entire region of the body. If this interval is centered within the body, then despite different concentration values at the upper and lower boundaries of the strip, the variance is nearly a symmetric function (Figure 8, Figure 9 and Figure 10a). If the interval [ ξ ¯ 1 , ξ ¯ 2 ] is located close to the center of the strip, a loss of monotonicity in the variance is also observed in the segments ξ [ 0 , 0.5 ) and ξ ( 0.5 , 1 ] (curves 2–4, Figure 10b). In the case when the interval shifts towards one of the strip boundaries, the symmetry of the function σ C 2 ( t , z ) is lost.
It should also be noted that if the interval [ ξ ¯ 1 , ξ ¯ 2 ] is located in the upper half of the strip, the maximum of variance is reached in the lower half of the body (curves 2, 3, Figure 10b). On the other hand, if [ ξ ¯ 1 , ξ ¯ 2 ] is located in the lower half of the strip, the maximum variance is reached in the upper half of the body (curves 4, 5, Figure 10b).
Figure 11, Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17 and Figure 18 show the characteristic surfaces formed by the correlation function ψ C ( τ 1 , ξ 1 , τ 2 , ξ 2 ) (a) and the corresponding 2D plots (b). Calculations are carried out for the system of three mass sources with equal power. For small times τ 1 = 0.05 and τ 2 = 0.06 , 3D and 2D plots of the correlation function are displayed for the following intervals of point source action: [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] in Figure 11, [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.1 , 0.3 ] in Figure 12, [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.7 , 0.9 ] in Figure 13, and [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] in Figure 14.
In Figure 15, Figure 16, Figure 17 and Figure 18, we demonstrate 3D and 2D graphs of the correlation function ψ c ( τ 1 , ξ 1 , τ 2 , ξ 2 ) for τ 1 = 0.5 and τ 2 = 0.06 for the intervals [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] (Figure 15 and Figure 16), for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.3 ] (Figure 17), and for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.8 , 0.9 ] (Figure 18).
In most cases, the characteristic surfaces formed by the correlation function ψ ( τ 1 , ξ 1 , τ 2 , ξ 2 ) are nearly symmetric (Figure 11 and Figure 14, Figure 15, Figure 16, Figure 17 and Figure 18). However, for small times and when the interval is located in the vicinity of one of the strip boundaries, ψ ( τ 1 , ξ 1 , τ 2 , ξ 2 ) is not symmetric (Figure 12 and Figure 13). Symmetry in the surface emerges as time grows (Figure 17 and Figure 18).
For small values of τ 1 and τ 2 (Figure 11, Figure 12 and Figure 13), the function ψ ( τ 1 , ξ 1 , τ 2 , ξ 2 ) reaches its highest values in the middle of the strip. The closer the interval of point source action [ ξ ¯ 1 , ξ ¯ 2 ] is to the strip’s surface ξ = 0 , the slower the decline of the correlation function, while the maximum values of ψ ( τ 1 , ξ 1 , τ 2 , ξ 2 ) remain constant. If the sub-strip [ ξ ¯ 1 , ξ ¯ 2 ] increases, the values of the correlation function in the middle of the strip increase.
Additionally, the longer the time interval [ τ 1 , τ 2 ] , the more likely two local maxima of the correlation function will arise (Figure 14 and Figure 15). Shifting the sub-strip [ ξ ¯ 1 , ξ ¯ 2 ] closer to the boundary ξ = 0 or ξ = ξ 0 leads to a more symmetric shape of the surface ψ ( τ 1 , ξ 1 , τ 2 , ξ 2 ) .

5.4. Correlation Coefficient

The correlation coefficient of the concentration field K C ( t 1 , z 1 ; t 2 , z 2 ) , which determines the numerical measure of dependence of the field values at points ( t 1 , z 1 ) and ( t 2 , z 2 ) , is defined by Expression [19]:
K C ( t 1 , z 1 ; t 2 , z 2 ) = ψ C ( t 1 , z 1 ; t 2 , z 2 ) σ C 2 ( t 1 , z 1 ) σ C 2 ( t 2 , z 2 ) .
We substitute the expressions for the correlation function ψ C (31) and the variance σ C 2 (30) into Formula (37). Then, we have
K C ( t 1 , z 1 ; t 2 , z 2 ) = k = 1 m = 1 A k m E k ( t 1 , z 1 ) E m ( t 2 , z 2 ) k = 1 m = 1 B k m B k m + E ¯ k m ( t 1 , z 1 ) l = 1 p = 1 B l p B l p + E ¯ l p ( t 2 , z 2 ) ,
where
E ¯ i j ( t , z ) = E i ( t , z ) E j ( t , z ) ; i = k , l ; j = m , p , B k m ± = 1 ( 1 ) k / z k 3 ± S 12 ( z m ) .
From the obtained Formula (38), it follows that the correlation coefficient does not depend on the power of the point sources or their quantity.
The values of the correlation coefficient of the concentration field at different points ( t 1 , z 1 ) and ( t 2 , z 2 ) for intervals of point sources action [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] are presented in Table 2.
Note that the correlation coefficient reaches its highest values when points ξ 1 and ξ 2 are located in the middle of the strip both for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , 1 ] (Table 2), i.e., here, the relationship between the concentration field at points ξ = ξ 1 and ξ = ξ 2 is the strongest. The greater the distance from ξ = ξ 1 to ξ = ξ 2 , the smaller values the correlation coefficient takes on.
The relationship between the concentration field values at ( τ 1 , ξ 1 ) and ( τ 2 , ξ 2 ) is substantially non-linear (Table 2). When both points ξ 1 and ξ 2 shift to the lower boundary of the strip, then this relationship tends to linear.

5.5. Diffusive Fluxes Affected by the System of Random Point Sources of Mass

In general, the diffusive flux J ( t , r ) is determined by Fick’s first law [20]
J ( t , r ) = d C ( t , r ) .
The formal expression for the random mass flux J ( t , r ) passing through section r = r * is found by differentiating Formula (6) and taking into account (10). Then, we have
J ( t , r ) | r = r * = J h ( t , r ) | r = r * d i = 1 n ω i 0 t ( V ) G ( t , t , r , r ) δ ( r r ^ i ) d 3 r d t | r = r * ,
where r * = ( x , y , z * ) and J h ( t , r ) is the diffusive flux in the strip without internal point sources, specifically
J h ( t , r ) | z = z * = d z 0 [ C 0 C * + 2 ρ k = 1 C 0 + ( 1 ) k + 1 C * e d z k 2 t / ρ cos ( z k z * ) ] .
In particular, the flux J h ( t , r ) through the lower boundary of the strip z = z 0 has the form
J h ( t , r ) | z = z 0 = d z 0 C 0 C * + 2 ρ k = 1 ( 1 ) k C 0 C * e d z k 2 t / ρ .
Now, we obtain the formula for the flux taking into account the influence of the system of point sources. Substituting Green’s function (15) into Formula (41), we obtain
J ( t , r ) | r = r * = J h ( t , r ) | r = r * 1 z 0 i = 1 n ω i × 0 t ( V ) θ ( t t ) t t exp ρ 4 d ( x x ) 2 + ( y y ) 2 t t × k = 1 e d z k 2 ( t t ) / ρ sin ( z k z ) sin ( z k z ) δ ( r r ^ i ) d 3 r d t | r = r * .
Next, we average the diffusive flux (44) over the random point source coordinates r ^ i with uniform distribution (17) over the strip [ z ¯ 1 , z ¯ 2 ] [ 0 , z 0 ] . We factor in that J h is a deterministic function, i.e., J h = J h . We then obtain the computational formula for the averaged diffusive flux through the surface z = z *
J ( t , r ) | r = r * = d z 0 C 0 C * + d z 0 2 ρ k = 1 C 0 + ( 1 ) k + 1 C * e d z k 2 t / ρ cos ( z k z * ) 2 Ω z 0 n ( z ¯ 2 z ¯ 1 ) k = 1 1 e d z k 2 t / ρ z k 2 × cos ( z k z * ) [ cos ( z k z ¯ 1 ) cos ( z k z ¯ 2 ) ] .
In particular, the flux passing through the lower boundary of the strip takes the form
J ( t , r ) | z = z 0 = d z 0 C 0 C * + 2 ρ k = 1 ( 1 ) k C 0 C * e d z k 2 t / ρ 2 Ω z 0 n ( z ¯ 2 z ¯ 1 ) k = 1 ( 1 ) k 1 e d z k 2 t / ρ z k 2 [ cos ( z k z ¯ 1 ) cos ( z k z ¯ 2 ) ] .
The characteristic behavior of the averaged diffusive fluxes in a strip of dimensionless width z 0 when the random sources composing the system are disposed uniformly is illustrated in Figure 19, Figure 20 and Figure 21. Expressions (42)–(46) are used for diffusive flux calculations. Here, the series were computed with an accuracy of 10 12 .
Figure 19 features the graphs of the averaged fluxes J | z = z * influenced by the acting point sources and the diffusive fluxes J h | z = z * without the internal point sources across variant sections z * = 0.55 , 0.6 , 1 (curves 1–3 correspondingly). The solid lines of curves a represent J | x = x * , while the dashed lines of curves b represent J h ( τ , z ) . The calculations in Figure 19a are carried out for the interval [ z ¯ 1 , z ¯ 2 ] = [ 0.4 , 0.6 ] , and in Figure 19b for the interval [ z ¯ 1 , z ¯ 2 ] = [ 0.2 , 0.8 ] .
Shown in Figure 20 is the typical behavior of averaged diffusive fluxes under the influence of the system consisting of three point sources of the same power for different total powers Ω . Curve 1 represents the system { 1.5 , 1.5 , 1.5 } ; curve 2— { 3 , 3 , 3 } ; curve 3— { 6 , 6 , 6 } ; curve 4— { 12 , 12 , 12 } ; and curve 5— { 60 , 60 , 60 } . Figure 21 demonstrates the plots of flux z 0 J ( τ , z ) | z = z * / d for different point source quantities with the same Ω = 18 , i.e., ω = 0.3 , 1.5 , 4.5 , 9 , 18 (curves 1–5). Here, Figure 21a is plotted for the fluxes through the section z * = 0.51 and Figure 21b is plotted for z * = 1 .
It is important to highlight that the existence of random point sources in the system significantly affects the value of the averaged diffusive flux (45) but barely influences its behavior (Figure 19). For example, the flux values in the steady-state regime are higher the closer the section point is to the boundary z = z 0 . When internal sources act in the system, there is a more rapid increase in flux J compared to J h for short time periods. In the absence of internal sources, the closer the section z = z * is to the lower boundary of the strip, the smaller the flux values are over the entire time interval. The value of the J h in the steady-state regime for different sections z = z * is the same (curves 1b–3b in Figure 19). Meanwhile, the value of the flux without the internal sources action is several times smaller than the value of the averaged flux.
Analyzing the impact of the thickness of the of the source action interval on the averaged flux, it is observed that the highest values are reached for small widths of the interval (curve 5, Figure 20a,b).
The closer the source action interval is to the body boundary at z = 0 (Figure 21b), the smaller the values of the averaged diffusion flux through the lower boundary of the strip. When the interval [ z ¯ 1 , z ¯ 2 ] is positioned in the proximity of the top boundary of the strip for sections z = z * in the middle of the body, the flux J is a monotonically increasing function (curve 1, Figure 21a). As the interval shifts away from the boundary z = 0 , the diffusive flux values increase (curve 2, Figure 21a).

5.6. Amount of Substance Passed Through the Strip over Time t *

Let us also find the amount of substance that has passed through the strip over the given time interval t * , defined by the formula
q * = 0 t * J ( t , r ) | z = z 0 d t .
Herewith, we use the calculating formulas for the averaged fluxes (45) and (46). Integrating these expressions over time, we obtain
q * = t * d z 0 C 0 C * 2 Ω d n ( z ¯ 2 z 1 ) k = 1 ( 1 ) k z k 2 cos ( z k z ¯ 1 ) cos ( z k z ¯ 2 ) + 2 z 0 k = 1 ( 1 ) k z k 2 C 0 + ( 1 ) k + 1 C * + ρ Ω [ cos ( z k z ¯ 1 ) cos ( z k z ¯ 2 ) ] d n ( z ¯ 2 z ¯ 1 ) z k 2 × 1 e d z k 2 t * / ρ .
The asymptotic part of the amount of substance that has passed through the strip is directly proportional to the duration t * of the diffusion process. Graphs of the amount of impurity substance that has passed through the strip with dimensionless width z 0 when the point mass sources are distributed uniformly over a certain internal interval are presented in Figure 22. Figure 22a shows the graphs of q * for different positions of the point source action interval: [ z ¯ 1 , z ¯ 2 ] = [ 0.1 , 0.2 ] , [ z ¯ 1 , z ¯ 2 ] = [ 0.3 , 0.4 ] , [ z ¯ 1 , z ¯ 2 ] = [ 0.5 , 0.6 ] , [ z ¯ 1 , z ¯ 2 ] = [ 0.7 , 0.8 ] , [ z ¯ 1 , z ¯ 2 ] = [ 0.9 , 1 ] (curves 1–5, respectively). Figure 22b presents the function q * for the system of three sources of equal power for different total power Ω = 4.5 , 9 , 18 , 38 , 180 (curves 1–5).
Note that the position of the action interval of the system of random point mass sources substantially changes the amount of substance q * that passes through the lower surface of the strip over time t * . The closer this interval is located to the lower boundary z = z 0 , the greater and the more rapid the increase in q * over time (Figure 22a). Value q * grows larger as the total power Ω increases (Figure 22b).

6. Discussion

The findings of the investigation offer a comprehensive framework for understanding impurity diffusion in media influenced by random point mass sources. A critical aspect of this research is the explicit consideration of the statistical properties of these sources, which allows for the derivation of averaged characteristics of the diffusion process. This approach bridges the gap between purely deterministic models and more complex probabilistic scenarios, offering a significant advantage in applications where the exact location and intensities of sources are uncertain.
It has been shown that the presence of a system of point mass sources within the body increases both the averaged concentration of the migrating substance and the averaged diffusive flux. Specifically, a characteristic increase in the averaged field of concentration is seen within the interval of the source action. It should be highlighted that the averaged concentration within the interval is influenced only by the mean power of the system’s sources and not influenced by the power of any specific source. Regarding the flux function, it has been established that the closer the interval where the source system acts to the lower surface of the strip and/or the section plane through which the flux is measured, the greater the impurity flux values and the sharper the function’s growth from the beginning of the time interval. Similarly, the existence of a system of random sources significantly enlarges the amount of substance that passes through the bottom surface of the strip over a given time. The symmetry of the field variance and the near-symmetry of the correlation function of the concentration field have also been demonstrated. It has been found that the variance increases with time until a steady-state regime is reached. Overall, all coefficients and parameters of the problem significantly influence the behavior and values of the averaged field of concentration of the migrating substance and the averaged flux. At the same time, the amount of substance passed through the strip depends weakly on the length of the source system action interval.
Since the proposed approach enabled us to derive calculating formulas for the averaged characteristics of the diffusion process—such as impurity concentration, diffusion fluxes, and the amount of substance passing through the body over a given time interval—we can speculate that the numerical results would adequately correspond to those expected from a statistically averaged series of experiments. It should be noted that the greater the number of internal point mass sources in the system, the better the anticipated agreement between the numerical outcomes and the averaged measurements.
An important direction for future research is the mathematical modeling of diffusion and heterodiffusion in solid multicomponent mixtures. Also, it would be useful to perform mathematical modeling and simulations of diffusion processes where the stochasticity of the concentration field is caused by the random multiphase structure of the body. Moreover, the proposed model and methods for the mathematical description of diffusion processes can be applied to the study of heat transfer and other transport processes that are described by second-order parabolic PDEs.

7. Conclusions

Thus, the impurity diffusion process in a strip under the action of the system of random point mass sources has been modeled. The sources, with varying powers, are distributed uniformly within a given internal subregion that could coincide with the whole strip. Key characteristics of the mass transfer process have been investigated, namely the impurity concentration, mass fluxes, and the amount of substance that passed through the strip over a given time interval. The statement of the random initial–boundary value diffusion problem is based on two Fick’s laws. The solution to the non-homogeneous problem has been found as the combination of the solution to the homogeneous problem and the convolution of Green’s function with the system of stochastically disposed point sources of mass. Formulas for the stochastic concentration and diffusion flux through an arbitrary section of the body have been derived for given boundary conditions.
The averaging of stochastic quantities has been performed for the uniform distribution over the internal region of the point impurity source activity and over the entire body domain. Relationships for the second moments of the concentration function, namely the variance, the correlation function of the field, and the correlation coefficient, have also been determined and investigated.
Based on the obtained calculating formulas, software has been developed for simulating the impurity concentration, the averaged fluxes through any internal body interval and the amount of substance that traversed the lower boundary of the strip. Key laws of the investigated functions have been established. The influence of specific parameters, such as the position and width of the point source activity interval within the body, the configuration of sources of impurity in the system, and the action of a source with dominant power, has been analyzed.
The proposed approach to mathematical and computation modeling is applicable in the fields of continuum mechanics and physics, materials science, probability theory, mathematical statistics, mathematical physics, etc.

Author Contributions

Conceptualization, P.P. and O.C.; methodology, P.P. and Y.C.; software, Y.C.; validation, P.P., O.C. and M.V.; investigation, P.P. and O.C.; data curation, Y.C.; writing—original draft preparation, O.C. and Y.C.; writing—review and editing, P.P. and M.V.; visualization, Y.C.; supervision, P.P.; project administration, P.P. and O.C.; funding acquisition, P.P. and O.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministry of Education and Science of Ukraine, as part of the state budget research project № DR 0123U101691.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Martyniuk, P.; Ulianchuk-Martyniuk, O.; Herus, V.; Pryshchepa, O. Integral conjugation conditions for a discontinuous filtration flow via a geobarrer in the case of its biocolmatation. Int. J. Appl. Math. 2024, 37, 21–28. [Google Scholar] [CrossRef]
  2. Beck, F.R.; Mohanta, L.; Henderson, D.M.; Cheung, F.-B.; Talmage, G. An engineering stability technique for unsteady, two-phase flows with heat and mass transfer. Int. J. Multiph. Flow 2021, 142, 103709. [Google Scholar] [CrossRef]
  3. Mátyás, L.; Barna, I.F. Even and Odd Self-Similar Solutions of the Diffusion Equation for Infinite Horizon. Universe 2023, 9, 264. [Google Scholar] [CrossRef]
  4. Kovács, E. A class of new stable, explicit methods to solve the non-stationary heat equation. Numer. Methods Partial Differ. Equ. 2020, 37, 2469–2489. [Google Scholar] [CrossRef]
  5. Sen, S.; Kundu, S.; Absi, R.; Ghoshal, K. A Model for Coupled Fluid Velocity and Suspended Sediment Concentration in an Unsteady Stratified Turbulent Flow through an Open Channel. J. Eng. Mech. 2023, 149, 04022088. [Google Scholar] [CrossRef]
  6. Yu, Q.; Turner, I.; Liu, F.; Moroney, T. A study of distributed-order time fractional diffusion models with continuous distribution weight functions. Numer. Methods Partial Differ. Equ. 2023, 39, 383–420. [Google Scholar] [CrossRef]
  7. Chernukha, O.; Chuchvara, A.; Bilushchak, Y.; Pukach, P.; Kryvinska, N. Mathematical Modelling of Diffusion Flows in Two-Phase Stratified Bodies with Randomly Disposed Layers of Stochastically Set Thickness. Mathematics 2022, 10, 3650. [Google Scholar] [CrossRef]
  8. Gahn, M.; Neuss-Radu, M.; Pop, I.S. Homogenization of a reaction-diffusion-advection problem in an evolving micro-domain and including nonlinear boundary conditions. J. Differ. Equ. 2021, 289, 95–127. [Google Scholar] [CrossRef]
  9. Khoroshun, L. Mathematical Models and Methods of the Mechanics of Stochastic Composites. Int. Appl. Mech. 2000, 36, 1284–1316. [Google Scholar] [CrossRef]
  10. Crank, J. The Mathematics of Diffusion, 2nd ed.; Clarendon Press: Oxford, UK, 1975. [Google Scholar]
  11. Münster, A. Chemische Thermodynamik; De Gruyter: Berlin, Germany, 1970. [Google Scholar]
  12. Evans, L.C. Partial Differential Equations; American Mathematical Society: Providence, RI, USA, 2010. [Google Scholar]
  13. Ahmed, A. Laplace transform solutions of Cauchy problem for the modified Korteweg-De Vries equation. Int. J. Appl. Math. 2024, 37, 447–454. [Google Scholar] [CrossRef]
  14. Schiff, J.L. The Laplace Transform: Theory and Applications; Springer: New York, NY, USA, 2013. [Google Scholar]
  15. Sneddon, I.N. Fourier Transforms; Dover Publications: New York, NY, USA, 1995. [Google Scholar]
  16. Rudin, W. Real and Complex Analysis, 3rd ed.; Mc Graw Hill International, Ed.; Mc Graw Hill International: New York, NY, USA, 1975; p. 428. [Google Scholar]
  17. Pukach, P.Y.; Chernukha, Y.A. Mathematical modeling of impurity diffusion process under given statistics of a point mass sources system. Math. Model. Comput. 2024, 11, 385–393. [Google Scholar] [CrossRef]
  18. Lykov, A.; Mikhailov, Y. Theory of Heat and Mass Transfer; Daniel Davey & Co., Inc.: New York, NY, USA, 1965. [Google Scholar]
  19. Breiman, L. Probability, First Thus Edition; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 1992. [Google Scholar]
  20. Cussler, E.L. Diffusion: Mass Transfer in Fluid Systems; Cambridge University Press: Cambridge, UK, 2009. [Google Scholar]
Figure 1. A strip with random point mass sources where the diffusion process occurs.
Figure 1. A strip with random point mass sources where the diffusion process occurs.
Modelling 06 00023 g001
Figure 2. Plots of the field of concentration influenced by three point source systems (a) for various lengths of the interval [ ξ ¯ 1 , ξ ¯ 2 ] and (b) for its different placements within the body.
Figure 2. Plots of the field of concentration influenced by three point source systems (a) for various lengths of the interval [ ξ ¯ 1 , ξ ¯ 2 ] and (b) for its different placements within the body.
Modelling 06 00023 g002
Figure 3. Plots of the averaged field of concentration at various times (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Figure 3. Plots of the averaged field of concentration at various times (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Modelling 06 00023 g003
Figure 4. Plots of the averaged concentration field for various concentrations imposed at the lower boundary of the strip (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Figure 4. Plots of the averaged concentration field for various concentrations imposed at the lower boundary of the strip (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Modelling 06 00023 g004
Figure 5. Plots of the averaged concentration field for various values of the concentration at the top boundary of the strip (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Figure 5. Plots of the averaged concentration field for various values of the concentration at the top boundary of the strip (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Modelling 06 00023 g005
Figure 6. Averaged concentration for different numbers of sources of the same total power within the system (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Figure 6. Averaged concentration for different numbers of sources of the same total power within the system (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Modelling 06 00023 g006
Figure 7. Plots of the averaged field of concentration in a system with a dominant source of varying intensity (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Figure 7. Plots of the averaged field of concentration in a system with a dominant source of varying intensity (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0 , ξ 0 ] .
Modelling 06 00023 g007
Figure 8. Variance of the concentration field at different times (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
Figure 8. Variance of the concentration field at different times (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
Modelling 06 00023 g008
Figure 9. Variance of the concentration field with the system featuring a prevailing source of different intensity (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
Figure 9. Variance of the concentration field with the system featuring a prevailing source of different intensity (a) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
Modelling 06 00023 g009
Figure 10. Variance of the concentration field (a) for different lengths of the interval [ ξ ¯ 1 , ξ ¯ 2 ] of point source action and (b) for different positions of the interval.
Figure 10. Variance of the concentration field (a) for different lengths of the interval [ ξ ¯ 1 , ξ ¯ 2 ] of point source action and (b) for different positions of the interval.
Modelling 06 00023 g010
Figure 11. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Figure 11. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Modelling 06 00023 g011
Figure 12. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.1 , 0.3 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Figure 12. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.1 , 0.3 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Modelling 06 00023 g012
Figure 13. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.7 , 0.9 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Figure 13. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.7 , 0.9 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Modelling 06 00023 g013
Figure 14. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Figure 14. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.05 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Modelling 06 00023 g014
Figure 15. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.5 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Figure 15. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.5 , τ 2 = 0.06 and (b) the corresponding 2D plot.
Modelling 06 00023 g015
Figure 16. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Figure 16. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Modelling 06 00023 g016
Figure 17. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.3 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Figure 17. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.3 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Modelling 06 00023 g017
Figure 18. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.8 , 0.9 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Figure 18. (a) Correlation function for [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.8 , 0.9 ] at τ 1 = 0.5 , τ 2 = 0.45 and (b) the corresponding 2D plot.
Modelling 06 00023 g018
Figure 19. Diffusive fluxes under action of the source system and without internal sources (a) for [ z ¯ 1 , z ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ z ¯ 1 , z ¯ 2 ] = [ 0.2 , 0.8 ] .
Figure 19. Diffusive fluxes under action of the source system and without internal sources (a) for [ z ¯ 1 , z ¯ 2 ] = [ 0.4 , 0.6 ] and (b) for [ z ¯ 1 , z ¯ 2 ] = [ 0.2 , 0.8 ] .
Modelling 06 00023 g019
Figure 20. Averaged impurity fluxes under the action of three equal-power sources for different total power through the sections (a) z * = 0.51 and (b) z * = 1 .
Figure 20. Averaged impurity fluxes under the action of three equal-power sources for different total power through the sections (a) z * = 0.51 and (b) z * = 1 .
Modelling 06 00023 g020
Figure 21. Averaged impurity fluxes for different quantities of sources with the same total power through the sections (a) z * = 0.51 and (b) z * = 1 .
Figure 21. Averaged impurity fluxes for different quantities of sources with the same total power through the sections (a) z * = 0.51 and (b) z * = 1 .
Modelling 06 00023 g021
Figure 22. Amount of substance q * for (a) different locations of the interval of point source action [ z ¯ 1 , z ¯ 2 ] in the body region and (b) different total power of the system of three equal sources.
Figure 22. Amount of substance q * for (a) different locations of the interval of point source action [ z ¯ 1 , z ¯ 2 ] in the body region and (b) different total power of the system of three equal sources.
Modelling 06 00023 g022
Table 1. Maximum of the variance and the points at which this maximum is achieved.
Table 1. Maximum of the variance and the points at which this maximum is achieved.
τ ξ 1 , ξ 2 = [ 0.4 , 0.6 ] ξ 1 , ξ 2 = [ 0.2 , 0.8 ]
ξ 1 , ξ 2 max ξ [ 0 , ξ 1 ] σ ξ 1 , ξ 2 max ξ [ 0 , ξ 1 ] σ
0.020.3237, 0.67630.01980.1850, 0.81500.0012
0.050.3931, 0.60690.09870.2197, 0.78030.0039
0.10.50.28170.4335, 0.56650.0097
0.20.50.55740.50.0205
0.30.50.68380.50.0225
Table 2. Correlation coefficient of the concentration field for interval of point sources action [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
Table 2. Correlation coefficient of the concentration field for interval of point sources action [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] and [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ] .
[ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.4 , 0.6 ] [ ξ ¯ 1 , ξ ¯ 2 ] = [ 0.2 , 0.8 ]
ξ 1 ξ 2 τ 1 τ 2 K C ξ 1 ξ 2 τ 1 τ 2 K C
0.14160.06200.50.450.89750.14160.06200.50.450.8013
0.14160.49560.50.450.89420.14160.49560.50.450.7532
0.01770.50440.50.450.80140.01770.50440.50.450.6137
0.72340.71230.50.450.97480.72340.71230.50.450.9647
0.16810.10620.050.060.81990.16810.10620.050.060.7076
0.15040.50440.050.060.79250.15040.50440.050.060.6069
0.08800.49560.050.060.71330.08800.49560.050.060.5121
0.23120.86120.050.060.89730.23120.86120.050.060.8661
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pukach, P.; Chernukha, O.; Chernukha, Y.; Vovk, M. Three-Dimensional Mathematical Modeling and Simulation of the Impurity Diffusion Process Under the Given Statistics of Systems of Internal Point Mass Sources. Modelling 2025, 6, 23. https://doi.org/10.3390/modelling6010023

AMA Style

Pukach P, Chernukha O, Chernukha Y, Vovk M. Three-Dimensional Mathematical Modeling and Simulation of the Impurity Diffusion Process Under the Given Statistics of Systems of Internal Point Mass Sources. Modelling. 2025; 6(1):23. https://doi.org/10.3390/modelling6010023

Chicago/Turabian Style

Pukach, Petro, Olha Chernukha, Yurii Chernukha, and Myroslava Vovk. 2025. "Three-Dimensional Mathematical Modeling and Simulation of the Impurity Diffusion Process Under the Given Statistics of Systems of Internal Point Mass Sources" Modelling 6, no. 1: 23. https://doi.org/10.3390/modelling6010023

APA Style

Pukach, P., Chernukha, O., Chernukha, Y., & Vovk, M. (2025). Three-Dimensional Mathematical Modeling and Simulation of the Impurity Diffusion Process Under the Given Statistics of Systems of Internal Point Mass Sources. Modelling, 6(1), 23. https://doi.org/10.3390/modelling6010023

Article Metrics

Back to TopTop