Spherically Symmetric Tensor Fields and Their Application in Nonlinear Theory of Dislocations

The concept of a spherically symmetric second-rank tensor field is formulated. A general representation of such a tensor field is derived. Results related to tensor analysis of spherically symmetric fields and their geometric properties are presented. Using these results, a formulation of the spherically symmetric problem of the nonlinear theory of dislocations is given. For an isotropic nonlinear elastic material with an arbitrary spherically symmetric distribution of dislocations, this problem is reduced to a nonlinear boundary value problem for a system of ordinary differential equations. In the case of an incompressible isotropic material and a spherically symmetric distribution of screw dislocations in the radial direction, an exact analytical solution is found for the equilibrium of a hollow sphere loaded from the outside and from the inside by hydrostatic pressures. This solution is suitable for any models of an isotropic incompressible body, i.e., universal in the specified class of materials. Based on the obtained solution, numerical calculations on the effect of dislocations on the stress state of an elastic hollow sphere at large deformations are carried out.


Introduction
In this work, a spherically symmetric state in which the dislocation density tensor has a spherically symmetric representation is determined. Herewith, the system of equations consisting of constitutive equations, equilibrium equations, and an incompatibility equation admits a spherically symmetric solution. Despite the simplicity of representation, such solutions help to describe complex physical and mechanical phenomena. In gas dynamics, for the problem of the propagation of a strong blast, spherical symmetry enables one to consider the charge as a point charge and is used to find the adiabatic unsteady motions of a perfect gas [1]. In the paper [2], a static spherically symmetric solution for the gravitational field equations obtained in a spherically symmetric Kalb-Ramond background allows us to conclude that in string gravity, spacetime can have such features as a wormhole or a naked singularity. The work [3] is devoted to static spherically symmetric spacetime with nonlinear electrodynamic sources, where conditions under which the metric of static spherically symmetric solutions of the Einstein equations associated with nonlinear electrodynamics is regular (without singularities) at the center (origin) are established. In [4], it is investigated which representations of the Higgs fields of the gauge group can be spherically symmetric or at least contribute to spherical symmetry of stress-energy tensor, and a simple criterion for the existence of nontrivial spherically symmetric Higgs fields is obtained. Two classes of spherically symmetric static vacuum solutions of the Poincaré gauge field theory, obtained using the double duality ansatz for the corresponding Riemann-Cartan curvature tensors are considered in [5]. With the help of the Petrov classification scheme and the Einstein's field equations using a radial coordinate dependent symmetric tensor of the second-rank, invariant with respect to inflation in the radial direction, in [6], it is investigated what the algebraic structure of the cosmological term can be in the spherically symmetric case. In the paper [7], for an arbitrary number of dimensions with arbitrary torsion it is shown that in the most general theory of gravity, only static spherically symmetric asymptotically flat solutions of the variational equations of motion contain gravitational singularities.
Microstructure defects in the form of dislocations began to be investigated at the beginning of the twentieth century. Some works [8][9][10][11][12][13][14][15][16][17][18][19] devoted to this topic are based on the continuum theory of dislocations, which assumes a transition from a discrete set of dislocations to their continuous distribution. It is advisable to carry out such a transition in the case when the number of dislocations in a limited volume is large enough.
This paper solves the problem for an elastic sphere containing continuously distributed dislocations. Problems about a sphere with dislocations were previously considered in the papers [20][21][22][23]. The main result of this work is a new exact solution to the nonlinear theory of dislocations, which is of spherical symmetry. This solution is universal in the class of isotropic incompressible materials. Universal solutions are such solutions of the equilibrium equations that are valid for any constitutive equations from a certain class of materials. These solutions are used to experimentally determine the constitutive equations and to check numerical results. For incompressible isotropic nonlinear elastic bodies, five families of nonuniform universal deformations are known [24][25][26][27][28][29][30][31][32]. Universal deformations of solids with constraints different from the incompressibility condition are studied in [33][34][35]. Universal solutions for generalized models of continuous media with complex physical and mechanical properties [36][37][38][39] are built up in [40,41].
The obtained universal solution supplements the small list of known exact solutions of the nonlinear dislocation theory [16][17][18][19]42] and describes the influence of distributed screw dislocations in the radial direction on large spherically symmetric deformations of a hollow elastic sphere made of an incompressible material in the presence of an external or internal hydrostatic pressure. The effect of dislocations on the stress state of thin and thick spherical shells is analyzed.

Input Relations of the Theory of Dislocations
Let R = X k i k and r = x s i s be the radius vectors of the point of the elastic body in the reference and deformed configurations, respectively, X k and x s (k, s = 1, 2, 3) are the Cartesian coordinates of the reference and final states of the body, i k are the coordinate unit vectors. In what follows, we will use the definitions of the gradient, divergence, and curl operators in the coordinates of the reference configuration Here Ψ is an arbitrary differentiable tensor field, Q N = Q N (X 1 , X 2 , X 3 ), N = 1, 2, 3 are some Lagrangian curvilinear coordinates, ⊗ denotes tensor multiplication, × and · denote vector multiplication and scalar multiplication, respectively.
The system of equilibrium equations for a nonlinear elastic medium in the absence of mass forces consists of the equilibrium equations constitutive equations and geometric relationships F = Grad r, Here D is the asymmetric Piola stress tensor, also called the first Piola -Kirchhoff stress tensor, F is the deformation gradient, G is the metric tensor, W is the specific strain energy.
Let V be the region occupied by an elastic body in the reference configuration. To introduce the concept of dislocation density in an elastic medium, consider the problem of determining the displacement field u(R) = r(R) − R from the tensor field F(R) given in the multiply connected domain V, which is assumed to be differentiable and singlevalued in the domain V and satisfies the compatibility equation Curl F = 0. Taking into account that Grad u = F − I, where I is the unit tensor, we see that in the case of a multiply connected domain the vector field u(R), and hence the vector field r(R), generally speaking, are not uniquely determined. This means the presence of isolated translational dislocations in the body [15], each of which, due to (5), is characterized by the Burgers vector b n : Here, Γ n is a simple closed contour encompassing the line of only one n-th dislocation. The total Burgers vector of a discrete set of n 0 dislocations according to (6) is determined by the formula Due to the well-known properties of curvilinear integrals, in (7) it can be replaced by a single integral over the closed contour Γ 0 covering the lines of all n 0 dislocations Following [43][44][45], we pass to the limit from a discrete set of dislocations to their continuous distribution and transform the contour integral (8) into a surface integral by the Stokes formula Here, Σ 0 is the surface spanning the contour Γ 0 , N is the unit normal to Σ 0 . The relation (9) allows us to introduce [43,45,46] the density of continuously distributed dislocations as a second-rank tensor α = Curl F, the flow of which through any surface is equal to the total Burgers vector of dislocations crossing this surface. In what follows, the dislocation density tensor is assumed to be a given function of the Lagrangian coordinates Q N , which must satisfy the solenoidality requirement Div α = 0 .
If dislocations with a given tensor density are distributed in a body, then the displacement field and the vector field r(R) do not exist. In this case, the relation (4) is replaced by the incompatibility equation Curl F = α, (11) and the tensor F is called the distortion tensor.
The full system of equilibrium equations for an elastic body with distributed dislocations contains the components of the tensor distortion field F as unknown functions and consists of the equilibrium Equation (2), the incompatibility Equation (11), and the constitutive Equation (3).
If a given hydrostatic pressure q acts on a part of the body surface with normal N, then the boundary conditions on this part of the boundary have the form [24] If an elastic material is isotropic, then the specific energy W is the function of invariants of the metric tensor G W(G) = W(I 1 , I 2 , I 3 ), In the following, we will consider an isotropic incompressible material. In this case, the specific energy is a function of only two arguments: W = W(I 1 , I 2 ), since the third invariant I 3 is equal to unity due to the incompressibility condition The constitutive equation of an isotropic incompressible elastic body has the form [24,31,32] Here, p is a pressure in an incompressible material, not expressed in terms of deformation, τ β (I 1 , I 2 ) (β = 1, 2) are the scalar response functions of an incompressible elastic medium. Sometimes the elastic properties of an isotropic incompressible material are specified using the function of the first and second invariants of the tensor U [24,32]: The tensor D * in the constitutive Equation (16) is expressed through the specific energy (18) as follows [24] Here, A is the rotation tensor. The symmetric positive definite tensor U and the properly orthogonal tensor A form the polar decomposition of the distortion tensor

Spherically Symmetric Tensor Fields
In the reference configuration of the elastic body, let us introduce the spherical coordinates Q 1 = Φ (longitude), Q 2 = Θ (latitude), Q 3 = R (radial distance) by the formulas In what follows, we will use the orthonormal vector basis e Φ , e Θ , and e R consisting of unit vectors tangent to the coordinate lines: Consider a second-rank tensor field P and represent it in the form of the decomposition P = P mn e m ⊗ e n , m, n = 1, 2, 3, A tensor field P will be called spherically symmetric if the components P mn depend only on the radial coordinate R and it is invariant under any rotations around the radial axis, i.e., around the ort e R . The latter means [47,48] that for any real values of χ(R), the following equality holds: Let us find a general representation of the second-rank spherically symmetric tensor field. In (24), set χ ≡ π. Then K = 2e R ⊗ e R − I and the relation (24) gives the equality From (26) it follows that e R · P · e Φ = e Φ · P · e R = e Θ · P · e R = e R · P · e Θ = 0. Setting χ ≡ π/2 in (24), we obtain the equalities e Φ · P · e Φ = e Θ · P · e Θ , e Φ · P · e Θ = −e Θ · P · e Φ . Thus, the tensor P has the form With the help of (25) it is easy to check that the tensors g, d and e R ⊗ e R satisfy the relation (24) for any values of χ. Therefore, the representation (27) is necessary and sufficient for spherical symmetry of the tensor field P.
Let us point out some elementary but useful facts related to second-rank spherically symmetric tensors.
1. Two spherically symmetric tensors P and L commute: P · L = L · P.
2. If P 2 1 + P 2 2 P 3 = 0, then there is an inverse tensor P -1 which is expressed like this: 3. The polar decomposition, i. e., the representation in the form P = H · S, where H is a symmetric positive definite tensor, and S is an orthogonal tensor, for a spherically symmetric tensor field is written in a simple and explicit form: Arbitrary rank tensor field B = B kl...pq e k ⊗ e l ⊗ · · · ⊗ e p ⊗ e q is called spherically symmetric if its components B kl...pq depend only on the radial coordinate and for any values of χ the following equality holds: 4. An arbitrary spherically symmetric vector field has the form f (R)e R . 5. Using the concept of an isotropic tensor function [47,48] one can prove that the value of an isotropic function of any number of spherically symmetric tensor arguments of arbitrary rank is itself a spherically symmetric tensor. In particular, the product of two second-rank spherically symmetric tensors is also a second-rank spherically symmetric tensor. 6. With the help of Formulas (1), (22), and (27), we can derive the expressions for the gradient, curl, and divergence of a second-rank spherically symmetric tensor field P Based on the definition (30), using (31) one can check that the third rank tensor field Grad P is spherically symmetric.

Spherically Symmetric State of Elastic Hollow Sphere with Distributed Dislocations in Radial Direction
Consider an elastic body in the form of a hollow sphere with an outer radius R 0 and an inner radius R 1 . Let us assume that the dislocation density tensor is of spherical symmetry, i.e., has the form The solenoidality condition (10) due to (33) and (34) leads to the following constraint on the scalar dislocation densities α k (R) (k = 1, 2, 3) We will seek the solution of the equilibrium Equation (2) and the incompatibility Equation (11) in the form of a spherically symmetric distortion tensor field Based on (32) and (36), the tensor Equation (11) is transformed to three scalar ordinary differential equations Since the dislocation densities α k (R), k = 1, 2, 3, are assumed to be given functions, the first equation of (37) determines the function F 2 (R), the second equation is a consequence of the first one and the relation (35). It remains to satisfy Equation (38).
From the constitutive Equations (3) and (13) and the expression (36) it follows that in the case of an isotropic material, the Piola stress tensor will be spherically symmetric, i.e., has the form Due to (32) and (39), the vector equilibrium Equation (2) is reduced to one scalar equation The stresses D 1 and D 3 are expressed in terms of the distortion components F 1 , F 2 , and F 3 with the help of the constitutive relations of the material. Therefore, with the help of the relation (38), the Equation (40) is transformed to a second order nonlinear differential equation with an unknown function F 1 (R). Thus, the problem of large deformations of an elastic sphere with a spherically symmetric distribution of dislocations is reduced to a nonlinear boundary value problem for an ordinary differential equation.
Some problems for elastic sphere with dislocations, the distribution of which is of spherical symmetry, are considered in the works [20][21][22][23]49]. The paper [20] describes the stress state of a hollow sphere made of a compressible semi-linear (harmonic) material containing edge dislocations and subject to external or internal hydrostatic pressures. Thanks to the selected material model and dislocation distribution, an exact solution was built. In [21], a universal solution for the class of isotropic incompressible elastic bodies was found, and eigenstresses in a solid sphere (in a space with a spherical cavity) with a special distribution of edge and screw dislocations, as well as stresses in the presence of hydrostatic pressure applied to the surface of the sphere (cavity), were determined. In [22], for compressible and incompressible materials, the stresses in a hollow sphere, caused by edge and screw dislocations, are numerically determined. The paper [49] contains an exact formulation and solution of the stability problem for a hollow sphere made of a semi-linear material with edge dislocations in the framework of the three-dimensional theory. In the work [23], in the framework of the model of a micropolar medium and in the classical theory of elasticity without couple stresses, an exact solution about the eigenstresses caused by the spherically symmetric distribution of dislocations and disclinations in a hollow linearly elastic sphere was found.
In this work, we investigate the equilibrium problem for an elastic sphere at large deformations taking into account distributed screw dislocations in the radial direction, i.e., in the case when α 1 = α 2 = 0. In this case, the solenoidality requirement (35) completely defines the character of the dependence of the scalar screw dislocation density on the radial coordinate where a is a real constant. Denoting h(R) = RF 1 (R), based on (36)- (38) and (41), we obtain For comparison, consider the problem of inflation or compression of a hollow sphere in the absence of dislocations. In this case, the displacement field exists and deformation, as is known [24,26,32], has the form where ϕ, θ, and r are the spherical coordinates of the points of the sphere in the deformed state. The distortion tensor corresponding to the deformation (43) has the form Comparing (42) and (44), we see that in the absence of dislocations, the function h(R) − R represents the radial displacement of the points of the sphere.
Considering the material incompressible, from the incompressibility condition (15) and the expression (42), we obtain a differential equation for determining the function h(R): The solution to Equation (45) is written as follows: where h 0 is an unknown constant. The cubic Equation (46) with respect to h(R) has only one real root It can be shown [20] that in the absence of dislocations (a = 0), negative values of the correspond to the sphere eversion deformation given by the deformation tensor Taking into account the incompressibility condition (45), we have the expression for the distortion tensor (42) in the form With the help of (48), the metric tensor (4) and its invariants (14) are calculated: Using Formulas (28) and (29), we find the tensor F -T , the rotation tensor A, the stretch tensor U, and its invariants (18) Although the displacement field does not exist in an elastic body with distributed dislocations, it is possible to determine the elongation of the material fibers and the change of the material surface area during deformation. Applying the well-known [47] formula for transforming an elementary oriented area under deformation, we calculate the area s of the surface into which the surface R = R 0 turns after deformation. Using (49), we obtain Formula (55) shows that for a = 0 the value h 0 cannot be considered the outer radius of the deformed sphere.
Please note that distributed screw dislocations in the radial direction create a nonlinear effect in an elastic sphere. The influence of such dislocations cannot be detected within the framework of the linear theory of elasticity. Indeed, as is known [44,50], the incompatibility equation in the linear theory of elasticity has the form Here, e is the linear strain tensor. With the help of (32), one can check that if α = α 3 (R)e R ⊗ e R , then the right-hand side of Equation (56) vanishes.
In addition to the incompatibility equation, the equilibrium Equation (40) and the boundary conditions must be fulfilled. We will assume that the outer surface of the sphere is loaded by a uniform hydrostatic pressure q 0 , and the inner one is loaded by a pressure q 1 . Then by virtue of (12), (39), and (51), we have the following boundary conditions Based on (16), (17), (39), and (51), the constitutive equations of an isotropic incompressible material in a spherically symmetric problem take the form If the specific energy is specified as a function of the tensor U, then, in accordance with (20), (52)-(54), the components of the tensor D * are written as The components of the tensor D * are known functions of the coordinate R, since they are expressed in terms of the function h(R) which is defined by Formula (47). The pressure function p(R) remains unknown. Using the relations (58), we transform the equilibrium Equation (40) into a differential equation for the function p(R): To solve the boundary value problem (57) and (61), we introduce a new unknown function σ(R): With the help of the incompressibility condition (45), we find The boundary conditions (57) are written through the function σ(R) as follows: The solution of Equation (63), satisfying the first boundary condition in (64) has the form The second boundary condition in (64) is used to determine the constant h 0 . The function p(R) and hence all stresses are now determined with the help of (62).
The solution (65) yields an analytical expression for the loading diagram of a sphere with dislocations, i.e., the dependence of the difference between the internal and external pressures on the deformation parameter h 0 The exact solution obtained here for the problem of large spherically symmetric deformations of an elastic hollow sphere with radial screw dislocations is universal in the class of isotropic incompressible materials.
Next, we will consider separately two cases of sphere loading: hydrostatic compression and inflation.
Let us write the solution of the differential Equation (61) in the form where K is the constant of integration determined from the boundary condition (57) on an unloaded surface. For arbitrary incompressible material, we have and for Bartenev-Khazanovich material [24] (this model is also known as the Varga model), with η 1 = const = 2 and η 2 = 0 in (20), this function has the form In (68), ' ' means the derivative of the function with respect to the argument R.

Numerical Results
For Sections 5.2 and 5.3, the numerical results are given for models of two incompressible materials: neo-Hookean and Bartenev-Khazanovich. For each of them, the cases of thin (R 1 = 0.95R 0 ) and thick (R 1 = 0.5R 0 ) shells are considered. Table 1 shows the pressure values for each specified case of the problem. Table 1. Considered cases of applied loads for material models: external pressure q 0 and internal pressure q 1 .

Problem for Solid Sphere
Since in the absence of dislocations the function h(R) defined by the expression (47) means a radial coordinate, then for a solid sphere the boundary condition means that the sphere maintains the continuity property. Therefore, this condition is set in a natural way. Suppose that the boundary condition (70) is also valid for a sphere with dislocations. Let us check this hypothesis in the case of hydrostatic compression of a hollow sphere by pressure q 0 , assuming the inner radius to be small. For specificity, we will assume R 1 = 10 −7 . Please note that the radial coordinate is referred to the outer radius R 0 , which is equivalent to R 0 = 1.
Consider a model of the neo-Hookean material [24], for which τ 1 = const = 1 (due to dimensionless stresses), τ 2 = 0. Table 2 compares the values of h(0) for a solid sphere and h(10 −7 ) for a hollow sphere for different dislocation densities. For the corresponding dislocation density, the parameter h 0 is determined from the problem of a solid sphere, for which the pressure q 0 is calculated from the problem of a hollow sphere. In this case, the more accurate the parameter h 0 is determined, the more the values of the functions h(0) and h(10 −7 ) coincide.
Such a function is positive ∀R due to the relation R 3 = h 3 + 3a 2 h obtained from (45).

Inflation of Sphere
The inflation of the sphere is defined by the boundary condition (57) in the form which allows calculating h 0 in (46), and by the condition that the outer surface is not loaded with the help of which the constant K is found from (67). For arbitrary incompressible material, the constant has the form and for Bartenev-Khazanovich material, we have where the function f (R) is determined by Formulas (68) and (69), respectively. For inflation of the sphere made of the neo-Hookean material, the numerical results are presented in Figures 1-5 in the case of a thin shell and in Figures 6-9 in the case of a thick shell. In these figures and below, T 3 and T 1 are the radial and circumferential Cauchy stresses, which are components of the symmetric Cauchy stress tensor T = (det F) −1 F T · D [24,31,32]. In this paper, the stresses are determined by the formulas: Since, in the absence of dislocations, h 0 is the outer radius of the sphere after deformation, and h 1 is the inner radius, the curves at a = 0 can be considered to be the dependences of the applied pressure on the outer and inner radii, respectively. Figures 1, 2, 6, 7 show that with an increase in dislocation density, the stability loss occurs earlier. In addition, dislocations reduce the sphere's resistance to inflation. In both figures, the graphs differ slightly.
As shown in Section 4, the values h 0 < 0 describe the eversion of the sphere. For h 0 > 0, the right-hand branch of the curve with a maximum describes an unstable equilibrium position. To calculate the inflation stresses, we will use the left branch (h 0 > 1 for a = 0) corresponding to a stable equilibrium position.
For a thin shell (R 1 = 0.95R 0 ) made of the neo-Hookean material, pressure q 1 = 0.02 corresponds to the following pairs (a, h 0 ) used in Figures  Dislocations do not significantly affect the radial stress in a thin shell (Figures 3 and 4) and significantly increase this stress in a thick shell (Figure 8). In a thin shell, the circumferential stress ( Figure 5) is distributed more uniformly than in a thick one (Figure 9). In both cases, dislocations increase the stresses in absolute value.
For the Bartenev-Khazanovich material, the solution to the sphere inflation problem is presented in Figures 10-18. The dependence of the applied pressure on the parameter h 0 , which is the outer radius after deformation in the absence of dislocations, is shown in Figure 15 (thin shell) and Figure 16 (thick shell). For h 0 > 0, the points on the part of the curve with an extremum correspond to a stable equilibrium position up to the maximum point and an unstable one -after it. The dependence q 1 (h 0 ), as well as the stresses T 3 and T 1 for the Bartenev-Khazanovich material, are of the same nature as for the neo-Hookean material. For a thin shell, the radial stress is shown in Figure 10 and, to scale, in Figure 11, and the circumferential stress is in Figure 12. With this, the stresses in the Bartenev-Khazanovich material differ insignificantly from the stresses in the neo-Hookean material. Additionally, the stresses in a thick shell (Figures 13 and 14) are close in magnitude to the corresponding stresses of the neo-Hookean material (Figures 8 and 9).    Figure 6. Neo-Hookean material (τ 1 = 1, τ 2 = 0), inflation of thick shell by pressure q 1 , dependence  Figure 18. Bartenev-Khazanovich material (η 1 = 2, η 2 = 0), inflation of thick shell by pressure q 1 , dependence q 1 (h 1 ); R 0 = 1, R 1 = 0.5.

Compression of Sphere by Hydrostatic Pressure
For hydrostatic compression of the sphere by the pressure q 0 , the boundary condition (57) is given by the relation and allows calculating the constant h 0 from (46). The no load condition on the inner surface For an arbitrary incompressible material, the constant has the form and for Bartenev-Khazanovich material, we have In the case when the hydrostatic pressure q 0 acts on the outer surface of the sphere R = R 0 , in Figures 19-22 the stable branch for h 0 > 0 is the right one. For the convenience of distinguishing closely spaced curves in Figure 22, the scaled diagram is shown in Figure 23. The results obtained for the dependence q 0 (h 0 ) agree with the tension diagram from [13].
For a thin shell, the radial stress ( Figure 24) and the circumferential stress ( Figure 25) in the case of a neo-Hookean material differ little from the corresponding stresses of the Bartenev-Khazanovich material (Figures 26 and 27). The stresses in a thick shell (Figures 28-31) show that dislocations increase the nonuniformity of dislocation distribution. In this case, the lower density of dislocations in some parts of the sphere causes higher stresses in absolute value. As can be seen from the numerical analysis, the results for the neo-Hookean material and the Bartenev-Khazanovich material differ insignificantly. However, as seen in Figures 7 and 18, the q 1 pressure values that correspond to the stable branch for the neo-Hookean material, for the Bartenev-Khazanovich material, may already correspond to the unstable branch.
Both these models are significant because they are widely used in research, experimentally confirmed and mathematically correct since they satisfy the condition of ellipticity at any deformation [24].

Eigenstresses in Sphere
The case of eigenstresses arising due to the presence of dislocations is investigated for a shell made of the neo-Hookean material (Figures 32 and 33). In the absence of dislocations, the stresses are identically zero.

Conclusions
In this work, we have solved the problem of large deformations of a hollow elastic sphere with distributed screw dislocations in the radial direction under loading by distributed pressure. The stress state of thin and thick shells was investigated for inflation and hydrostatic compression.
When solving the problem, we used the spherical symmetry of the distortion and stress tensors. The tensor equilibrium equation is reduced to a single scalar one which is transformed to a differential equation with respect to the pressure function in an incompressible body, not expressed in terms of deformation. The equation for one of the distortions, obtained from the incompressibility condition is reduced by introducing an auxiliary function to a cubic equation for this function. Together with the constitutive equations, the system of governing equations is closed by three scalar incompatibility equations, of which only one is independent.
The boundary conditions are the conditions of the presence of pressure on the inner surface of the sphere for inflation and on the outer surface -during hydrostatic compression. It is found that the boundary condition on the inner surface of a sphere of infinitesimal radius can be set with a small error in the same way as for a solid sphere. For numerical analysis, we used models of two incompressible materials: neo-Hookean and Bartenev-Khazanovich. A comparison of the stress state in the presence of dislocations and in their absence is carried out. It is observed that the dislocations have a nonlinear effect on the stresses.