Next Article in Journal
Characterization of Flow under Impervious Dams: Dimensionless Groups and Universal Solutions
Next Article in Special Issue
A Systematic Review on the Solution Methodology of Singularly Perturbed Differential Difference Equations
Previous Article in Journal
Energy Decay Estimates of a Timoshenko System with Two Nonlinear Variable Exponent Damping Terms
Previous Article in Special Issue
Correction: Cakir, M.; Gunes, B. A Fitted Operator Finite Difference Approximation for Singularly Perturbed Volterra-Fredholm Integro-Differential Equations. Mathematics 2022, 10, 3560
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Numerical Solution of the External Dirichlet Generalized Harmonic Problem for a Sphere by the Method of Probabilistic Solution

by
Mamuli Zakradze
1,
Zaza Tabagari
1,
Nana Koblishvili
1,
Tinatin Davitashvili
2,
Jose Maria Sanchez
3 and
Francisco Criado-Aldeanueva
4,*
1
Department of Computational Methods, Muskhelishvili Institute of Computational Mathematics, Georgian Technical University, 0186 Tbilisi, Georgia
2
Faculty of Exact and Natural Sciences, Iv. Javakhishvili Tbilisi State University, 0179 Tbilisi, Georgia
3
Deparment of Didactic of Mathematics, Faculty of Education, Malaga University, 29071 Malaga, Spain
4
Department of Applied Physics, II, Polytechnic School, Malaga University, 29071 Malaga, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(3), 539; https://doi.org/10.3390/math11030539
Submission received: 20 November 2022 / Revised: 27 December 2022 / Accepted: 16 January 2023 / Published: 19 January 2023
(This article belongs to the Special Issue Numerical Methods and Applications for Differential Problems)

Abstract

:
In the present paper, an algorithm for the numerical solution of the external Dirichlet generalized harmonic problem for a sphere by the method of probabilistic solution (MPS) is given, where “generalized” indicates that a boundary function has a finite number of first kind discontinuity curves. The algorithm consists of the following main stages: (1) the transition from an infinite domain to a finite domain by an inversion; (2) the consideration of a new Dirichlet generalized harmonic problem on the basis of Kelvin’s theorem for the obtained finite domain; (3) the numerical solution of the new problem for the finite domain by the MPS, which in turn is based on a computer simulation of the Weiner process; (4) finding the probabilistic solution of the posed generalized problem at any fixed points of the infinite domain by the solution of the new problem. For illustration, numerical examples are considered and results are presented.

1. Introduction

It is well known that there are many problems from the various fields of physics (for example, thermostatics, electrostatics, hydrostatics, etc.) that could be considered as external Dirichlet generalized harmonic problems.
First of all, we should note that the requirement of continuity for the boundary function in Dirichlet’s classical harmonic problem is a very strong constraint, because in practical stationary problems (connected with electric, thermal and other static fields), there are cases when it is necessary to discuss and study 2D or 3D Dirichlet generalized harmonic problems. The problems of this type appeared in the literature mainly from the 1940s (see [1,2,3,4,5]).
It is known (see [1,6]) that the methods used to obtain an approximate solution of the classical boundary-value problems are (a) less suitable or (b) not suitable at all for solving generalized boundary value problems. In the first case, the convergence of corresponding approximate process is very slow in neighborhood of boundary singularities and, consequently, the accuracy of approximate solution of the generalized problem is very low (see [1,2,3,4,5]). In the second case, the process is unstable. For example, a similar phenomenon takes place when solving the 3D Dirichlet generalized harmonic problem by the method of fundamental solutions.
In the above-mentioned literature, simplified, or so-called “solvable” generalized problems (the problems “whose” solutions can be constructed by series with terms, represented by special functions), are considered. The methods of the separation of variables, particular solutions, and heuristic methods are mainly applied for their solution, therefore the accuracy of the solution is rather low. Since heuristic methods do not guarantee that the best solution will be found (moreover, in some cases they may give an incorrect solution), it is necessary to check these solutions in order to establish how well they satisfy all the conditions of a problem (see [1]). In addition, it should be noted that, in the literature (see [4] (pp. 346–348)), while solving the Dirichlet external generalized harmonic simplest problem for a sphere, the existence of a discontinuity curve is ignored.
The study of Dirichlet’s generalized 2D and 3D problems in terms of the existence and uniqueness of solution, and selection of a reliable and effective method for its numerical solution has been intensively carried out since the 21st century in the Department of Computational Methods of the Niko Muskhelishvili Institute of Computational Mathematics.
The choice and construction of computational schemes (algorithms) mainly depend on the problem class, dimension, geometry and location of singularities on the boundary. In particular, for solving the Dirichlet generalized plane harmonic problems the following approaches may be used: (I) a method of reduction of Dirichlet generalized harmonic problems to a classical problem (see [7,8]); (II) a method of conformal mapping (see [9]); (III) a method of probabilistic solution (see [10,11]). It is evident that in the case of 3D Dirichlet harmonic problems, from the above mentioned approaches we can apply only third one.
In order to imagine the difficulties associated with the numerical solution of not only generalized, but also the classical external 3D harmonic Dirichlet problem, we will give below a brief overview of several works related to these topics.
In [12], the boundary conditions for the numerical solution of elliptic equations in exterior regions are considered. Such equations in exterior regions frequently require a boundary condition at infinity to ensure the well-posedness of the problem. Practical applications include examples of the Helmholtz and Laplace’s equations. The constructed algorithm requires the replacement of the condition at infinity by a boundary condition on a finite artificial surface. Direct imposition of the condition at infinity along the finite boundary results in large errors. A sequence of boundary conditions is developed which provides increased accuracy of approximations to the problem in the infinite domain. Estimates of the error are obtained for several cases.
In [13], the Laplace–Dirichlet problem is investigated in a three-dimensional case. The Laplace–Dirichlet problem is investigated similarly to the Laplace–Neumann problem, except for the boundary condition. Corresponding variational formulation is considered. It is based on the introduction of an auxiliary unknown by the means of the decomposition of the function u.
In the paper [14], the analytic–numerical method for solving 3D exterior problems for elliptic equations under Dirichlet and Neumann boundary conditions in half-space is considered. Based on analytical transformation, the external boundary problem is reduced to the internal one; then, the corresponding difference problem is considered based on the grid methods [6,7,8]. By using the considered analytic–numerical method for solving external boundary problems in a three-dimensional semispace, the initial problem is reduced to such a problem, the solution of which is possible by traditional techniques and methods of numerical analysis.
In [15], the solution of direct and inverse exterior boundary value problems via the strongly conditioned stochastic method is considered, mainly for exterior harmonic problems. Note that, in numerical examples from the Section 4.2 of [15], experiments were performed with cones of different thickness and observation points in the near and far fields. However, actually, the observation points given in Table 1 of [15] are “not too far” from the field, when we consider the exterior boundary value problems.
It is known that elliptic problems in external domains arise in many branches of physics. For example, the Laplace equation ( Δ u ( x ) = 0 , x D ) arises in the studies of thermostatic and electrostatic fields external to given surfaces (see [3,16]); the flow of an incompressible irrotational fluid around a body is described by the same equation (see [17]), and so on.
In these cases, infinity can be regarded as a separate boundary. A condition at infinity is required to make the external problem well posed. For the Laplace equation, it is sufficient to impose a condition of regularity at infinity. In the three dimensional (3D) case, the condition is lim u ( x ) = 0 , for | x | , where | x | is the distance from a fixed (but chosen arbitrary) origin (see [18,19]).

2. Statement of the Problem

Let D = R 3 \ K ( O , R ) be an infinite domain in the Euclidean space R 3 , where K ( O , R ) K R is a kernel with a spherical surface S ( O , R ) S R (with the center at the point O and the radius R, respectively). Since the harmonicity of a function is invariable under the linear transformation of the Cartesian coordinate system, therefore without loss of generality we assume that the origin of coordinates is at the point O = ( 0 , 0 , 0 ) .
Let us formulate the following problem.
Problem 1
(A). The function g ( y ) is given on the boundary S R of the infinite region D and is continuous everywhere, except a finite number of curves l 1 , l 2 , . . . , l n , which represent discontinuity curves of the first kind for the function g ( y ) . It is required to find a function u ( x ) u ( x 1 , x 2 , x 3 ) C 2 ( D ) C ( D ¯ \ k = 1 n l k ) satisfying the conditions:
Δ u ( x ) = 0 , x D ,
u ( y ) = g ( y ) , y S R , y ¯ l k S R ( k = 1 , , n ) ,
| u ( x ) | < c , x D ¯ ,
lim u ( x ) = 0 for x ,
where Δ = i = 1 3 2 x i 2 is the Laplace operator, c is a real constant.
On the basis of Equation (3), in general, the values of u ( y ) are not uniquely defined on the curves l k ( k = 1 , , n ). In particular, if Problem 1 concerns the determination of the thermal (or the electric) field, then we must take u ( y ) = 0 when y l k , respectively. In this case, in the physical sense the curves l k are non-conductors (or dielectrics). Otherwise, l k will not be a discontinuity curve.
It is evident that surface S R is divided into the parts S R i ( i = 1 , , m ) by the curves l k ( k = 1 , , n ), where one of the following conditions holds: n = m , n < m , n > m . Thus, the boundary function g ( y ) has the following form
g ( y ) = g 1 ( y ) , y S R 1 , g 2 ( y ) , y S R 2 , g m ( y ) , y S R m , 0 , y l k ( k = 1 , , n ) ,
where S R i ( i = 1 , , m ) are the parts of S R without discontinuity curves, respectively; the functions g i ( y ) , y S R i ( i = 1 , , m ) are continuous on the parts S R i . It is evident that S R = ( j = 1 m S R j ) ( k = 1 n l k ) .
Remark 1.
If the domain D is finite with a surface S, then the problem of type A with the conditions (1)–(3) has a unique solution depending continuously on the data (see [20,21]).
It should be noted that the condition (4) is essential for the uniqueness of solution of the Problem 1. Indeed, if out of (4) Problem 1 has any solution u 1 ( x ) , then u 2 ( x ) = u 1 ( x ) + k ( r R ) / r is its solution as well, where r R and k is a real constant, i.e., it has an infinite set of solutions.
On the other hand, if Problem 1 has a solution, then it is unique. Assume that Problem 1 with the boundary function (5) has two solutions u 1 ( x ) and u 2 ( x ) , then u ( x ) = u 1 ( x ) u 2 ( x ) is a solution of Problem 1 with null boundary value and for function u ( x ) condition (4) is fulfilled. It is known (see [19] p. 303) that, in the noted case u ( x ) 0 when x D ¯ (or u 1 ( x ) = u 2 ( x ) , x D ¯ ) . The existence of solution of the Problem 1 will be shown in Section 3. Based on the above-mentioned, we can investigate by Problem 1 only such physical phenomena, which are damped at infinity.
In the case of external 3D Dirichlet generalized harmonic problems, the difficulties become more significant. In particular, there does not exist a standard algorithm which can be applied to a wide class of domains.
On the basis of noted above, for the numerical solution of the Problem 1 we should apply an algorithm which does not require the approximation of a boundary function and in which the existence of discontinuity curves is not ignored. The method of probabilistic solution (MPS) is one such method (see [20,21]), but its direct application in infinite domains is impossible.
Performed investigations showed (see [10,11,22,23,24,25,26,27]) that the MPS is ideally suited for numerical solution of both classical and generalized (2D and 3D) Dirichlet harmonic problems for a wide class of finite domains only.
Therefore, construction of efficient high accuracy computational schemes for the numerical solution of external 3D Dirichlet generalized harmonic problems (which can be applied to a wide class of domains) has both theoretical and practical importance.

3. Transition from the Infinite Domain D to the Kernel K R by an Inversion and Consideration of a New Problem on the Basis of Kelvin’s Theorem

In the Problem 1 the domain D is infinite, therefore, the direct application of the MPS to its solving is impossible. In order to solve the Problem 1 using MPS, we perform transition from the domain D to the kernel K R by means of the inversion (see [4,28]). Let a point x ( x 1 , x 2 , x 3 ) D and consider the following inversions:
ξ i = R 2 | x | 2 x i , x D , ( i = 1 , 2 , 3 ) , | x | 2 = x 1 2 + x 2 2 + x 3 2 ,
x i = R 2 | ξ | 2 ξ i , ξ K R \ { O } , ( i = 1 , 2 , 3 ) , | ξ | 2 = ξ 1 2 + ξ 2 2 + ξ 3 2 ,
with respect to the sphere S R . The points x and ξ are called symmetric points with respect to the sphere S R . From Equation (6) (or Equation (7)) we have
| x | | ξ | = R 2 , | ξ | 0 .
It is known (see [4] p. 260) that on the basis of Equation (6) (or Equation (7)) the symmetric points ξ and x with respect to the sphere S R are situated on the ray, whose beginning is at the point | ξ | = 0 (or ξ O ).
It is easy to see that by Equation (8) the infinite domain D is transformed one-to-one onto the K R . In particular, the points of S R are transformed into itself, and the point x = is transformed into the point ξ = O and vice versa.
On the basis of Equation (7) the functions u ( x ) and g ( y ) are transformed into the functions
u ( ξ ) u R 2 | ξ | 2 ξ 1 , R 2 | ξ | 2 ξ 2 , R 2 | ξ | 2 ξ 3 and g ( η ) g R 2 | η | 2 η 1 , R 2 | η | 2 η 2 , R 2 | η | 2 η 3 ,
respectively, where ξ ( ξ 1 , ξ 2 , ξ 3 ) K R \ S R , , | ξ | 0 , η ( η 1 , η 2 , η 3 ) S R .
It is easy to see that the function u ( ξ ) is not harmonic in the domain K R \ S R . However, we can remove the noted defect, if we apply Kelvin’s theorem [4,28].
Theorem 1.
If a function u ( x 1 , x 2 , x 3 ) is harmonic in the infinite domain D, then the function
v ( ξ 1 , ξ 2 , ξ 3 ) = R | ξ | u ( ξ )
is harmonic in the domain K R \ { O } .
The function v ( ξ ) is bounded in the neighborhood of the point ξ 0 = ( 0 , 0 , 0 ) , therefore this point for v ( ξ ) is a removable singular point [4,28]. However, actually, on the basis of the Theorem 1, for extension of harmonicity of function v ( ξ ) at the point ξ 0 we must solve the following Dirichlet generalized harmonic problem.
Problem 2
( A * ). Find a generalized harmonic function v ( ξ ) satisfying the conditions:
Δ v ( ξ ) = 0 , ξ K R \ S R ,
v ( η ) = g ( η ) , η S R , η ¯ l k S R ,
| v ( ξ ) | < c , ξ K R ,
where in Equation (12): | η | = R , η y ( y S R ), l k ( k = 1 , , n ) and c are the same that in Problem 1.
It is known (see [20,21]) that the generalized problem (11)–(13) is well-posed, i.e., the solution exists, is unique and depends continuously on the data. Respectively, Problem 1 is correct.
It is evident that for solving the Problem 2 we can apply the MPS. In particular, if we want to find the value of the solution u ( x ) of Problem 1 at a point x ( x D ), first of all we have to find the image ξ of x by means of (6) and then find the solution v ( ξ ) of the Problem 2 at the point ξ .
Finally, on the basis of Equation (10) we have
u ( x ) = v ( ξ ) | x | R ,
where x D , ξ K R \ S R .
Thus, for definition of value of the solution to Problem 1 at the point x we have the formula (14). It is easy to see that for the function u ( x ) , defined by Equation (14), the conditions of Problem 1 are fulfilled.

4. The Method of Probabilistic Solution and Simulation of the Wiener Process

In this section we describe the solution of Problem 2 by the MPS. It is known (see [21,24]) that the probabilistic solution of Problem 2 at the fixed point ξ K R \ S R has the following form
v ( ξ ) = E ξ g ( ξ ( τ ) ) .
In Equation (15) E ξ g ( ξ ( τ ) ) is the mathematical expectation of values of the boundary function g ( η ) at the random intersection points of the trajectory of the Wiener process and the boundary S R ; τ is a random moment of the first exit of the Wiener process ξ ( t ) = ( ξ 1 ( t ) , ξ 2 ( t ) , ξ 3 ( t ) ) from the domain K R . It is assumed that the starting point of the Wiener process is always ξ ( t 0 ) = ( ξ 1 ( t 0 ) , ξ 2 ( t 0 ) , ξ 3 ( t 0 ) ) K R \ S R , where the value of desired function is being determined. If the number N of the random intersection points η j = ( η 1 j , η 2 j , η 3 j ) S R ( j = 1 , , N ) is sufficiently large, then according to the law of large numbers, from (15) we have
v ( ξ ) v N ( ξ ) = 1 N j = 1 N g ( η j )
or v ( ξ ) = lim v N ( ξ ) for N , in probability. Thus, if we have the Wiener process, the approximate value of the probabilistic solution to the Problem 2 at point ξ K R \ S R is calculated by the formula (16).
In order to simulate the Wiener process we use the following recursion relations (see [20,24]):
ξ 1 ( t k ) = ξ 1 ( t k 1 ) + γ 1 ( t k ) / n q , ξ 2 ( t k ) = ξ 2 ( t k 1 ) + γ 2 ( t k ) / n q , ξ 3 ( t k ) = ξ 3 ( t k 1 ) + γ 3 ( t k ) / n q , , ( k = 1 , 2 , ) , ξ ( t 0 ) = ξ ,
according to which the coordinates of point ξ ( t k ) = ( ξ 1 ( t k ) , ξ 2 ( t k ) , ξ 3 ( t k ) ) are being determined. In Equation (17) γ 1 ( t k ) , γ 2 ( t k ) , γ 3 ( t k ) are three normally distributed independent random numbers for the k-th step, with zero means and variances equal to one (The above numbers are generated apart); n q is the number of quantification ( n q ) such that 1 / n q = t k t k 1 and when n q , then the discrete process approaches the continuous Wiener process. In the implementation, random process is simulated at each step of the walk and continues until its trajectory crosses the boundary.
In the considered case computations are performed and the random numbers are generated using MATLAB function randn which generates normally distributed random numbers.
Remark 2.
In general, problems of type A can be solved by the MPS for all such locations of discontinuity curves, which give the possibility to establish the part of surface S where the intersection point is located.

5. Numerical Examples

It should be noted that in the 3D case there are no test solutions for generalized problems of type 2, therefore, for the verification of the scheme needed for the numerical solution of Problem 2, the reliability of obtained results can be demonstrated in the following way.
If in boundary conditions (12) of Problem 2 we take g i ( η ) = 1 / | η ξ 0 | , where η S R i ( i = 1 , , m ), ξ 0 = ( ξ 1 0 , ξ 2 0 , ξ 3 0 ) ¯ K R , and | η ξ 0 | denotes the distance between points η and x 0 , then it is evident that the curves l k ( k = 1 , , n ) represent removable discontinuity curves for the boundary function g ( η ) . Actually, in the mentioned case instead of generalized Problem 2 we obtain the following Dirichlet classical harmonic problem.
Problem 3
(B). Find a Function v ( ξ ) v ( ξ 1 , ξ 2 , ξ 3 ) C 2 ( K R \ S R ) C ( K R ) satisfying the conditions:
Δ v ( ξ ) = 0 , ξ K R \ S R ,
v ( η ) = 1 / | η ξ 0 | , η S R , ξ 0 ¯ K R .
We solve this problem (by the MPS) using the program used for the Problem 2. It is well-known that the Problem 3 is well posed, i.e., its solution exists, is unique and depends on data continuously. Evidently, an exact solution of the Problem 3 is
v ( ξ 0 , ξ ) = 1 | ξ ξ 0 | , ξ K R , ξ 0 ¯ K R .
Note that application of the MPS for numerical solution of the Dirichlet classical harmonic problems is interesting and important (see [10,11,22,23]). In this paper, the Problem 3 has an auxiliary role. In particular, for the Problem 3, verification of the scheme needed for the numerical solution of Problem 2 and corresponding program (comparison of the obtained results with exact solution) are carried out first of all, and then actually Problem 2 is solved under the boundary conditions (5).
In the present paper, MPS is applied for two examples. In the tables, N is a number of implementation of the Wiener process for the given points ξ i = ( ξ 1 i , ξ 2 i , ξ 3 i ) K R \ S R , and n q is a number of quantification. For simplicity, in the considered examples the values of n q and N are the same. In the tables for problems of type 3 the absolute errors Δ i at the points ξ i K R \ S R of v N ( ξ ) are presented in the MPS approximation, for n q = 100 and various values of N. In particular, we have Δ i = | v N ( ξ i ) v ( ξ 0 , ξ i ) | , where v N ( ξ i ) is the approximate solution of Problem 3 at the point ξ i , which is defined by formula (16), and v ( ξ 0 , ξ i ) is an exact solution of the test problem is given by Equation (20). In tables, for the problems of type 2, the probabilistic solution v N ( ξ ) , defined by Equation (16), is presented at the points ξ i K R \ S R .
Remark 3.
The problems of type 2 and 3 for ellipsoidal, spherical, cylindrical, conic, prismatic, pyramidal and axisymmetric finite domains with a cylindrical hole are considered in [24,25,26,27].
Example 1.
In the first example exterior of the unit sphere S 1 : y 1 2 + y 2 2 + y 3 2 = 1 , with the center at origin O ( 0 , 0 , 0 ) and radius R = 1 is considered in the role of domain D, where ( y 1 , y 2 , y 3 ) is a point of the surface S 1 . In the considered case, in Problem 1 the boundary function g ( y ) has the following form
g ( y ) = 1 , y S 1 = { y S 1 | 1 y 3 < 0.5 } , 2 , y S 2 = { y S 1 | 0.5 < y 3 < 0.5 } , 1 , y S 3 = { y S 1 | 0.5 < y 3 1 } , 0 , y l k ( k = 1 , 2 ) .
It is evident that in Equation (21), the discontinuity curves l 1 , l 2 are the circles, which are obtained by intersection of the planes x 3 = 0.5 , x 3 = 0.5 , and the surface S 1 (in the physical sense curves l 1 and l 2 are non-conductors).
According to above noted, for solving the Problem 1, in the first place, we solve Problem 2 with boundary function g ( η ) ( g ( η ) g ( y ) ) by the MPS. In order to determine the intersection points η j = ( η 1 j , η 2 j , η 3 j ) ( j = 1 , , N ) of Wiener process trajectory and the surface S 1 , we operate the following way.
During the implementation of Wiener process, for each current point ξ ( t k ) , defined from Equation (17), its location with respect to S 1 is checked, i.e., for the point ξ ( t k ) the value
d = ξ 1 2 + ξ 2 2 + ξ 3 2
is calculated and the following conditions: d = 1 , d < 1 , d > 1 are checked. If d = 1 then ξ ( t k ) S 1 and η j = ξ ( t k ) . If d < 1 then ξ ( t k ) K 1 \ S 1 and the process continues until its trajectory crosses the sphere S 1 , and if d > 1 then ξ ( t k ) ¯ K 1 .
Let ξ ( t k 1 ) K 1 \ S 1 for the moment t = t k 1 and ξ ( t k ) ¯ K 1 for the moment t = t k . For determination of the point η j , a parametric equation of a line L passing through the points ξ ( t k 1 ) and ξ ( t k ) is first obtained:
ξ 1 = ξ 1 k 1 + ( ξ 1 k ξ 1 k 1 ) θ , ξ 2 = ξ 2 k 1 + ( ξ 2 k ξ 2 k 1 ) θ , ξ 3 = ξ 3 k 1 + ( ξ 3 k ξ 3 k 1 ) θ ,
where ( ξ 1 , ξ 2 , ξ 3 ) is a point of L, θ is a parameter ( < θ < ) , and ξ i k 1 ξ i ( t k 1 ) , ξ i k ξ i ( t k ) ( i = 1 , 2 , 3 ). After this, for definition of the intersection points η * and η * * of line L and the sphere S 1 is solved an equation with respect to θ .
It is easy to see that for the parameter θ we obtain an equation
A θ 2 + 2 B θ + C = 0 ,
whose discriminant d * = B 2 A C > 0 .
Since the discriminant of Equation (23) is positive, the Equation (23) has two solutions θ 1 and θ 2 . Respectively, the points η * and η * * are defined from the Equation (22). In the role of the point η j we choose the one from η * and η * * for which | ξ ( t k ) η | is minimal.
In both examples, considered by us for the determination the intersection points η j = ( η 1 j , η 2 j , η 3 j ) ( j = 1 , , N ) of the trajectory of the Wiener process and the surface S 1 is used that scheme, which is above described. For checking the reliability of calculated results first we solved the auxiliary Problem 3 using the above-described algorithm. In the numerical experiments for the example 1, in test Problem 3, we took ξ 0 = ( 0 , 5 , 0 ) .
In Table 1 (see also Figure 1), the absolute errors Δ i of the approximate solution v N ( ξ ) of the test Problem 3 at the points ξ i K 1 \ S 1 ( i = 1 , , 5 ) are presented. The notation ( E ± k ) is used for 10 ± k .
On the basis of Table 1 we see that the obtained results are sufficiently close to the expected results.
We conducted the check experiment. Namely, we calculated the probabilistic solution of Problem 3 at the point ( 0 , 0 , 0 ) for N = 1 × 10 5 , n q = 200 and we obtained Δ 1 = 0.18 × 10 4 (see Table 1). The result is improved, as expected (see Section 4). In general, increasing n q and N causes the improving of accuracy. For this, it is appropiate to use parallel computing systems and in this case the computational complexity of the algorithm is a matter of interest. Multicore CPUs and/or remote powerful computers can be necessary.
In Table 2 the values of the approximate solution v N ( ξ ) to the Problem 2 at the same points ξ i ( i = 1 , , 5 ) are given. The boundary function (21) is symmetric with respect to the plane O x 1 x 2 . Respectively, in the role of ξ 2 , ξ 3 and ξ 4 , ξ 5 , the points, which are symmetric with respect to the plane O x 1 x 2 , are taken. The results have sufficient accuracy for many practical problems and agrees with the real physical picture.
In Table 3 the values of approximate solution u N ( x ) to Problem 1 at the points x i D ( i = 1 , , 7 ) are given. For definition the values u N ( x i ) the formula (14) is applied, respectively, in the role of points x i and ξ i ( i = 1 , , 7 ), the points, which are symmetric with respect to the sphere S 1 , are taken. It is evident that the points x i are situated on the ray, whose beginning is at the point ξ = ( 0 , 0 , 0 ) and located in the plane O x 2 x 3 . The ray’s inclination angle with plane O x 1 x 2 is equal to π / 4 .
The points ξ i ( i = 1 , , 7 ) are obtained by the inversion (6). The values v N ( ξ i ) are the approximate solution v N ( ξ ) to Problem 2 at the points ξ i for N = 1 E + 5 and n q = 100 . The obtained results agrees with the real physical picture.
Example 2.
Here in a role of infinite domain D we took again the exterior of unit sphere S 1 : y 1 2 + y 2 2 + y 3 2 = 1 with the center at origin O ( 0 , 0 , 0 ) , where y ( y 1 , y 2 , y 3 ) is a point of the surface S 1 . In considered case the boundary function g ( y ) = g ( y 1 , y 2 , y 3 ) has the following form
g ( y ) = 1 , y S 1 = { y S 1 | y 1 > 0 , y 2 > 0 , y 3 > 0 } , 0 , y S 2 = { y S 1 | y 1 < 0 , y 2 > 0 , y 3 > 0 } , 1 , y S 3 = { y S 1 | y 1 < 0 , y 2 < 0 , y 3 > 0 } , 0 , y S 4 = { y S 1 | y 1 > 0 , y 2 < 0 , y 3 > 0 } , 2 , y S 5 = { y S 1 | y 1 > 0 , y 2 > 0 , y 3 < 0 } , 1 , y S 6 = { y S 1 | y 1 < 0 , y 2 > 0 , y 3 < 0 } , 2 , y S 7 = { y S 1 | y 1 < 0 , y 2 < 0 , y 3 < 0 } , 1 , y S 8 = { y S 1 | y 1 > 0 , y 2 < 0 , y 3 < 0 } , 0 , y l k ( k = 1 , 2 , 3 ) .
It is evident that in this case the discontinuity curves l k ( k = 1 , 2 , 3 ) are the circles, obtained by intersection of the coordinate planes and the sphere S 1 . Actually, the sphere S 1 is divided into equal parts S i ( i = 1 , , 8 ) by curves l k . In addition, in the considered case, l k , S 2 , S 4 are non-conductors.
Since in this case the problem domain is the same that in Example 1, therefore for the determination of intersection points η j ( j = 1 , , N ) of the Wiener process trajectory and the sphere S 1 , the same algorithm, described in Example 1, is applied.
The values of the numerical solution of Problem 2 at the points ξ i K 1 \ S 1 ( i = 1 , , 5 ) are given in Table 4. Since the boundary function (24) is symmetric with respect to the axis O x 3 , therefore, in the role of ξ i ( i = 4 , 5 ), the points which are symmetric with respect to the axis O x 3 are taken. The obtained results have sufficient accuracy for many practical problems and agrees with the real physical picture.
The values of the numerical solution of Problem 1 at the points x i D ( i = 1 , , 10 ) are given in Table 5. The values u N ( x i ) are obtained by the formula (14), therefore, in the role of points x i and ξ i ( i = 1 , , 10 ), the points, symmetric to the sphere S 1 are taken. The points x i and ξ i are situated on the axis O x 3 , and the points ξ i are obtained by Equation (6). The values v N ( ξ i ) are numerical solution to Problem 2 at the points ξ i ( i = 1 , , 10 ) for N = 1 × 10 5 and n q = 100 . The obtained results are agrees with the real physical picture.
In this work we solved problems of type 1 when the boundary functions g i ( y ) ( i = 1 , , m ) are constants. This was motivated by our interest to find out how well the obtained results agree with the real physical picture. It is evident that solving Problem 1 under condition (5) is as easy as the Problem 3.
The analysis of results of numerical experiments show that the results obtained by the proposed algorithm are reliable and it is effective for the numerical solution of problems of type 1 and 3. In addition, the algorithm is sufficiently simple for numerical implementation.

6. Concluding Remarks

1.
In this work, we have demonstrated that the suggested algorithm is ideally suited for numerically solving of considered problems 1 and 3. It should be noted that it is possible using this algorithm to find the solution of a problem at any point of the domain, unlike other algorithms known in the literature.
2.
The algorithm does not require approximation of the boundary function, which is one of its important properties.
3.
The algorithm is easy to program, its computational cost is low, it is characterized by an accuracy which is sufficient for many practical problems.
4.
In the future we plan to investigate the following:
  • Application of the proposed algorithm to the numerical solution of Dirichlet classical and generalized harmonic problems for the infinite space R 3 with a finite number of spherical cavities.
  • Application of the MPS for the same type of problem for iregular pyramidal domains.
  • Application of the MPS for the same type of problem in finite domains which are bounded by several closed surfaces.
  • Application of the MPS for the same problem for infinite 2D domains with a finite number of circular holes.

Author Contributions

Conceptualization, M.Z., Z.T., N.K. and T.D.; methodology, M.Z., Z.T., N.K., T.D., J.M.S. and F.C.-A.; formal analysis, M.Z., Z.T., N.K., T.D. and F.C.-A.; investigation, M.Z., Z.T., N.K., T.D., J.M.S. and F.C.-A.; writing—original draft, M.Z., Z.T., N.K. and T.D.; writing—review and editing, J.M.S. and F.C.-A. All authors have read and agreed to the published version of the manuscript.

Funding

The Authors received no specific funding for this work.

Data Availability Statement

Not applicable.

Acknowledgments

The research was conducted in the frame of the 5-year scientific plan of the Niko Muskhelishvili Institute of Computational Mathematics.

Conflicts of Interest

The Authors declare no conflict of interests.

References

  1. Grinberg, G.A. Selected Questions of the Mathematical Theory of Electrical and Magnetic Phenomena; Izd. AN SSSR: Moscow, Russia, 1948. (In Russian) [Google Scholar]
  2. Smythe, W.B. Static and Dynamic Electricity; Hemisphere Publishing: New York, NY, USA, 1988. [Google Scholar]
  3. Carslaw, H.S.; Jaeger, J.C. Conduction of Heat in Solids, 2nd ed.; Oxford Science Publications; Oxford University Press: New York, NY, USA, 1988; p. 522. [Google Scholar]
  4. Košljakov, N.S.; Gliner, E.B.; Smirnov, M.M. The Differential Equations of Mathematical Physics; Košljakov, N.S., Ed.; Gosudarstv. Izdat. Fiz.-Mat. Lit.: Moscow, Russia, 1962; p. 767. [Google Scholar]
  5. Budak, B.M.; Samarskiĭ, A.A.; Tihonov, A.N. A Collection of Problems in Mathematical Physics, 3rd ed.; Nauka: Moscow, Russia, 1980; p. 687. (In Russian) [Google Scholar]
  6. Kantorovich, L.V.; Krylov, V.I. Approximate Methods of Higher Analysis; Benster, C.D., Translator; Interscience Publishers, Inc.: New York, NY, USA, 1958; p. xv+681. [Google Scholar]
  7. Koblishvili, N.; Tabagari, Z.; Zakradze, M. On reduction of the Dirighlet generalized boundary value problem to an ordinary problem for harmonic function. Proc. A. Razmadze Math. Inst. 2003, 132, 93–106. [Google Scholar]
  8. Zakradze, M.; Koblishvili, N.; Karageorghis, A.; Smyrlis, Y. On solving the Dirichlet generalized problem for harmonic function by the method of fundamental solutions. Semin. I. Vekua Inst. Appl. Math. Rep. 2008, 34, 24–32. [Google Scholar]
  9. Kublashvili, M.; Sanikidze, Z.; Zakradze, M. A method of conformal mapping for solving the generalized Dirichlet problem of Laplace’s equation. Proc. A. Razmadze Math. Inst. 2012, 160, 71–89. [Google Scholar]
  10. Chaduneli, A.; Zakradze, M.V.; Tabagari, Z. A method of probabilistic solution to the ordinary and generalized plane Dirichlet problem for the Laplace equation. Science and Computing. In Proceedings of the Sixth TSTC Scientific Advisory Committee Seminar (Science and Computing), Moscow, Russia, 15–19 September 2003; Volume 2, pp. 361–366. [Google Scholar]
  11. Chaduneli, A.; Zakradze, M.; Tabagari, Z. A computer simulation of probabilistic solution to the Dirichlet plane boundary problem for the Laplace equation in case of an infinite plane with a hole. Bull. Georgian Acad. Sci. 2005, 171, 437–440. [Google Scholar]
  12. Bayliss, A.; Gunzburger, M.; Turkel, E. Boundary conditions for the numerical solution of elliptic equations in exterior regions. SIAM J. Appl. Math. 1982, 42, 430–451. [Google Scholar] [CrossRef] [Green Version]
  13. Ben Belgacem, F.; Fournié, M.; Gmati, N.; Jelassi, F. On the Schwarz algorithms for the elliptic exterior boundary value problems. M2AN Math. Model. Numer. Anal. 2005, 39, 693–714. [Google Scholar] [CrossRef] [Green Version]
  14. Kanunnikova, E.A. Analytic–numerical method to solve 3D exterior boundary problems for elliptic equations. St. Petersburg Polytech. Univ. J. Phys. Math. 2014, 1, 35–38. [Google Scholar]
  15. Charalambopoulos, A.; Gergidis, L.N. A novel stochastic method for the solution of direct and inverse exterior elliptic problems. Quart. Appl. Math. 2018, 76, 65–111. [Google Scholar] [CrossRef]
  16. Stratton, J.A. Electromagnetic Theory; McGraw-Hill: New York, NY, USA, 1941. [Google Scholar]
  17. Lamb, H. Hydrodynamics; Cambridge University Press: Cambridge, UK, 1993. [Google Scholar]
  18. Kellogg, O.D. Foundations of Potential Theory; Die Grundlehren der Mathematischen Wissenschaften, Band 31; Springer: Berlin/Heidelberg, Germany, 1967; p. 384. [Google Scholar]
  19. Tihonov, A.N.; Samarskiĭ, A.A. Equations of Mathematical Physics; Izdat. Nauka: Moscow, Russia, 1966; p. 724. [Google Scholar]
  20. Zakradze, M.; Kublashvili, M.; Sanikidze, Z.; Koblishvili, N. Investigation and numerical solution of some 3D internal Dirichlet generalized harmonic problems in finite domains. Trans. A. Razmadze Math. Inst. 2017, 171, 103–110. [Google Scholar] [CrossRef]
  21. Dynkin, E.B.; Juškevič, A.A. Theorems and Problems in Markov Processes; Izdat. “Nauka”: Moscow, Russia, 1967; p. 231. [Google Scholar]
  22. Chaduneli, A.; Tabagari, Z.; Zakradze, M. On solving the internal three-dimensional Dirichlet problem for a harmonic function by the method of probabilistic solution. Bull. Georgian Natl. Acad. Sci. 2008, 2, 25–28. [Google Scholar]
  23. Zakradze, M.; Sanikidze, Z.; Tabagari, Z. On solving the external three-dimensional Dirichlet problem for a harmonic function by the probabilistic method. Bull. Georgian Natl. Acad. Sci. 2010, 4, 19–23. [Google Scholar]
  24. Zakradze, M.; Mamporia, B.; Kublashvili, M.; Koblishvili, N. The method of probabilistic solution for 3D Dirichlet ordinary and generalized harmonic problems in finite domains bounded with one surface. Trans. A. Razmadze Math. Inst. 2018, 172, 453–465. [Google Scholar] [CrossRef]
  25. Zakradze, M.; Kublashvili, M.; Koblishvili, N.; Chakhvadze, A. The method of probabilistic solution for determination of electric and thermal stationary fields in conic and prismatic domains. Trans. A. Razmadze Math. Inst. 2020, 174, 235–246. [Google Scholar]
  26. Zakradze, M.; Kublashvili, M.; Tabagari, Z.; Koblishvili, N. On numerical solving the Dirichlet generalized harmonic problem for regular n-sided pyramidal domains by the probabilistic method. Trans. A. Razmadze Math. Inst. 2022, 176, 123–132. [Google Scholar]
  27. Zakradze, M.; Tabagari, Z.; Sanikidze, Z.; Abramidze, E. Computer modeling of a probabilistic solution for the Dirichlet generalized harmonic problem in some finite axisymmetric bodies with a cylindrical hole. Bull. TICMI 2022, 26, 37–52. [Google Scholar]
  28. Vladimirov, V.S. Equations of Mathematical Physics. In Pure and Applied Mathematics; Jeffrey, A., Ed.; Littlewood, A., Translator; Marcel Dekker, Inc.: New York, NY, USA, 1971; Volume 3, p. 418. [Google Scholar]
Figure 1. Results from Table 1, for Problem 3 (in Example 1).
Figure 1. Results from Table 1, for Problem 3 (in Example 1).
Mathematics 11 00539 g001
Table 1. Results for Problem 3 (in Example 1).
Table 1. Results for Problem 3 (in Example 1).
ξ i ( 0 , 0 , 0 ) ( 0 , 0 , 0.5 ) ( 0 , 0 , 0.5 ) ( 0 , 0 , 0.8 ) ( 0 , 0 , 0.8 )
N Δ 1 Δ 2 Δ 3 Δ 4 Δ 5
5 × 10 3 0.47 × 10 3 0.40 × 10 3 0.85 × 10 5 0.28 × 10 3 0.23 × 10 3
1 × 10 4 0.28 × 10 3 0.25 × 10 3 0.10 × 10 3 0.13 × 10 3 0.41 × 10 4
5 × 10 4 0.62 × 10 4 0.17 × 10 3 0.83 × 10 4 0.41 × 10 4 0.28 × 10 4
1 × 10 5 0.57 × 10 4 0.44 × 10 4 0.45 × 10 4 0.36 × 10 4 0.33 × 10 4
5 × 10 5 0.54 × 10 4 0.56 × 10 4 0.28 × 10 4 0.20 × 10 5 0.35 × 10 4
1 × 10 6 0.29 × 10 5 0.43 × 10 4 0.30 × 10 4 0.51 × 10 4 0.28 × 10 4
Table 2. Results for Problem 2 (in Example 1).
Table 2. Results for Problem 2 (in Example 1).
ξ i ( 0 , 0 , 0 ) ( 0 , 0 , 0.5 ) ( 0 , 0 , 0.5 ) ( 0 , 0 , 0.8 ) ( 0 , 0 , 0.8 )
N v N ( ξ 1 ) v N ( ξ 2 ) v N ( ξ 3 ) v N ( ξ 4 ) v N ( ξ 5 )
5 × 10 3 1.501601.706001.698201.899401.90000
1 × 10 4 1.495001.694801.694401.897101.89430
5 × 10 4 1.504481.700621.699481.897801.89870
1 × 10 5 1.496641.698221.701201.896391.89609
5 × 10 5 1.500691.699351.699171.895771.89609
1 × 10 6 1.500091.699031.698491.895171.89587
Table 3. Results for Problem 1 (in Example 1).
Table 3. Results for Problem 1 (in Example 1).
x i ξ i v N ( ξ i ) u N ( x i )
(0,0,0)1.500690
(0, 5000, 5000)(0, 0.0001, 0.0001)1.500382.12 × 10 4
(0, 1000, 1000)(0, 0.0005, 0.0005)1.499710.00106
(0, 100, 100)(0, 0.005, 0.005)1.499570.01060
(0, 50, 50)(0, 0.01, 0.01)1.499900.02121
(0, 10, 10)(0, 0.05, 0.05)1.501530.10617
(0, 1, 1)(0, 0.5, 0.5)1.677661.18628
Table 4. Results for the Problem 2 (in Example 2).
Table 4. Results for the Problem 2 (in Example 2).
ξ i ( 0 , 0 , 0 ) ( 0 , 0 , 0.8 ) ( 0 , 0 , 0.8 ) ( 0.5 , 0.5 , 0.5 ) ( 0.5 , 0.5 , 0.5 )
N v N ( ξ 1 ) v N ( ξ 2 ) v N ( ξ 3 ) v N ( ξ 4 ) v N ( ξ 5 )
5 × 1031.005800.563201.460200.971000.97180
1 × 1040.999700.546201.450600.969600.06820
5 × 1040.999920.552621.444660.969300.96774
1 × 1050.997660.549621.450560.969760.96990
5 × 1051.000600.551731.449250.970120.96989
1 × 1061.000020.551161.449360.970000.97020
Table 5. Results for Problem 1 (in Example 2).
Table 5. Results for Problem 1 (in Example 2).
x i ξ i v N ( ξ i ) u N ( x i )
(0, 0, 0)1.000600
(0, 0, 10 4 )(0, 0, 10 4 )0.999619.9961 × 10 5
(0, 0, 10 3 )(0, 0, 10 3 )1.001760.00102
(0, 0, 10 2 )(0, 0, 10 2 )0.991470.00915
(0, 0, 10)(0, 0, 10 1 )0.9239120.09239
(0, 0, 5)(0, 0, 0.2)0.854830.17097
(0, 0, 4)(0, 0, 0.25)0.819790.20495
(0, 0, 2)(0, 0, 0.5)0.670680.33534
(0, 0, 1.5)(0, 0, 2/3)0.597430.39829
(0, 0, 1.2)(0, 0, 5/6)0.543020.45252
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

Zakradze, M.; Tabagari, Z.; Koblishvili, N.; Davitashvili, T.; Sanchez, J.M.; Criado-Aldeanueva, F. The Numerical Solution of the External Dirichlet Generalized Harmonic Problem for a Sphere by the Method of Probabilistic Solution. Mathematics 2023, 11, 539. https://doi.org/10.3390/math11030539

AMA Style

Zakradze M, Tabagari Z, Koblishvili N, Davitashvili T, Sanchez JM, Criado-Aldeanueva F. The Numerical Solution of the External Dirichlet Generalized Harmonic Problem for a Sphere by the Method of Probabilistic Solution. Mathematics. 2023; 11(3):539. https://doi.org/10.3390/math11030539

Chicago/Turabian Style

Zakradze, Mamuli, Zaza Tabagari, Nana Koblishvili, Tinatin Davitashvili, Jose Maria Sanchez, and Francisco Criado-Aldeanueva. 2023. "The Numerical Solution of the External Dirichlet Generalized Harmonic Problem for a Sphere by the Method of Probabilistic Solution" Mathematics 11, no. 3: 539. https://doi.org/10.3390/math11030539

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop