1 Introduction

Composite materials have great application in the engineering and the sudden change in the properties of most composite materials often cause obvious local stress concentration and material failure. The functionally graded material (FGM) [1, 2], as a special composite material, is generally composed of two or more materials, and its microstructure changes from one continuous and smooth material to another material with a specific gradient. So, the material properties of the FGM (including Young's modulus, shear modulus and material density) present a gradient change within a specific size range [3, 4]. As the development of traditional laminated materials, FGMs have many advantages, including reducing in-plane and lateral stress, reducing stress intensity factors, improving residual stress distribution and enhancing thermal performance [5]. Therefore, FGMs have been widely used in aerospace, mechanical engineering, biomedicine and other fields.

In order to obtain the analytical solution of the mechanical response of FGM structure, in theoretical research, it is often assumed that the Young's modulus changes with the spatial coordinates in the form of some special functions. Many researchers have studied the analytical solutions for FGM structures with changing material properties along the thickness direction. Pradhan and Chakraverty [6] studied the free vibration of functionally graded (FG) beams under different boundary conditions. Kang.

Kang and Li [7] analyzed the large deformation of the nonlinear cantilever FG beam and derived the explicit expressions of the deflection and rotation for FG beam subjected to end bending moment, and the influences of Young’s modulus gradient distribution and material nonlinear parameters on the deflection of FG beam were analyzed. Li [8] extended the high-order theory to FG beams with continuously changing material properties and calculated numerically the FG cantilever beams with gradient index obeying the power law and showed graphically the effect of gradient index on deflection and stress distribution. By using the superposition principle method, Jiang and Ding [9] derived the analytic solution of the orthotropic FG cantilever beam. Ding et al. [10] considered the plane stress problem of a general anisotropic beam whose elastic compliance parameter was an arbitrary function of the thickness coordinate, and obtained the solutions for tension, pure bending beams, cantilever beam subjected to free end shear and cantilever beams or simply supported beams under uniform load.

In addition, FG hollow cylinders and spherical shells are commonly used in engineering. Some researchers have been carried out the research on FG vessel such as cylinders and spheres. For the FG cylindrical/spherical pressure vessel, it was assumed that the Young's modulus of the material changes with thickness distribution of cylinder/shell in the form of some special functions to solve the analytical solution of the problem in many papers. Horgan and Chan [11] proposed the linear elastic problem of FG hollow cylinder under internal pressure and studied the FG cylinder model under mechanical stress. Sarathchandra et al. [12] carried out modeling and structural analysis of FG cylindrical shells with different inner and outer surface compositions and carried out static structural analysis of cylindrical shells under internal pressure and then verified the analysis results with analytical solutions. Horgan and Chan [13] assumed that the Young's modulus changes with radial direction in the form of power functions and studied the one-dimensional axisymmetric deformation of a FG rotating disk. Li et al. [14] obtained the analytical solution of an isotropic FG ring under uniform load by introducing an appropriate logarithmic function term in the displacement expression when the inner and outer boundary conditions were in any combination. Tutuncu and Ozturk [1] studied FG spherical and cylindrical pressure vessels with the change of Young's modulus satisfying the power function along thickness distribution and gave the analytical solutions of stress. Tutuncu and Temel [15] obtained the stress and displacement equations of FG axisymmetric hollow spheres, cylinders and disks under uniform pressure. Ghannad et al. [16] studied the analytical solutions of the deformation and stress of axisymmetric thick cylindrical shells that were clamped along the edges and the FG with changing thickness was under internal pressure. Li et al. [17] proposed a new simple and effective integral equation method to study the FG axisymmetric structure with arbitrary gradient changes and solved the problem by transforming the considered problem into solving the integral equation. Chirag and Srikant [18] used the variation asymptotic method to obtain the asymptotically accurate analytical solution of the FG cylinder and analyzed the influence of the internal and external material properties, radius and material composition on the mechanical properties of the material. In addition, researchers also considered the influence of temperature load on the stress law of FG. Bahtui and Eslami [19] studied the thermoelastic coupling response of a FG cylindrical shell, and the thermoelastic coupling equation and energy equation of FG axisymmetric cylindrical shell under thermal shock load were solved. Subsequently, Bahtui and Eslami [20] studied the response of FG cylindrical thin shells based on the generalized thermoelastic theory. Assuming that the volume fraction of metal and ceramics is power law distribution, the influence of the temperature field on the linear and nonlinear distribution of shell thickness was studied. Jabbari et al. [21] studied the accurate solutions of the steady two-dimensional axisymmetric mechanical and thermal stresses on FG hollow cylinder.

This paper presents a unified form of the basic equations of the FG hollow cylinder/spherical shell by introducing parameter \(\delta\) and further discusses the stress distribution of the FG cylindrical/spherical pressure vessel under different boundary conditions. Assuming that Young's modulus of the material changes with radial direction in the form of power functions and the value of Poisson’s ratio is constant, a derivation scheme is proposed to obtain the pressure distribution of the FG hollow cylinder/spherical shell under three different boundary conditions, respectively. Then, the analytical solution of stress distribution of FG hollow cylinder/spherical pressure vessel is compared with the numerical solution and the classical solution. Some analytical solutions in Ref [1] are corrected, which confirms the correctness of the results in this paper. In addition, the stress distribution of FG hollow cylinder/spherical shell with the change of Poisson's ratio is numerically analyzed. Finally, some remarks and conclusions are given.

2 Basic equations and boundary conditions

2.1 basic equation

Considering the stress distribution of the FG cylindrical/spherical pressure vessel, the radial coordinate \(\overline{r}\) and displacement \(\overline{u}\) are normalized: \(r = \overline{r}/R\) and \(u = \overline{u}/R\), where \(R\) is the outer radius of the cylindrical/spherical shell. It is assumed that the material is isotropic with constant Poisson's ratio and radially varying Young's modulus is approximated by \(E(r) = E_{0} r^{\beta }\), where \(E_{0}\) is the Young's modulus of the inner surface and \(\beta\) is the gradient constant.

The unified geometric equations of the cylindrical/spherical pressure vessel are established as following

$$ \begin{gathered} \varepsilon_{r} = \frac{du}{{dr}},\quad \varepsilon_{\theta } = \varepsilon_{\phi } = \frac{u}{r} \hfill \\ \gamma_{r\theta } = \gamma_{r\phi } = \gamma_{\theta \phi } = 0 \hfill \\ \end{gathered} $$
(1)

Constitutive equations are

$$ \begin{gathered} \sigma_{r} = C_{11} \varepsilon_{r} + (\delta + 1)C_{12} \varepsilon_{\theta } \\ \sigma_{\theta } = C_{12} \varepsilon_{r} + C_{11} \varepsilon_{\theta } + \delta C_{12} \varepsilon_{\phi } \\ \end{gathered} $$
(2)

where \(\delta\) is parameter, and

$$ \begin{gathered} C_{11} = c_{11} r^{\beta } = \frac{{E_{0} (1 - v)}}{(1 + v)(1 - 2v)}r^{\beta } \hfill \\ C_{12} = c_{12} r^{\beta } = \frac{{E_{0} v}}{(1 + v)(1 - 2v)}r^{\beta } \hfill \\ \end{gathered} $$
(3)

Equilibrium equation is

$$ \frac{{d\sigma_{r} }}{dr} + \frac{{(\delta + 1)(\sigma_{r} - \sigma_{\theta } )}}{r} = 0 $$
(4)

Here, this paper presents a unified form of the basic equations of the FG hollow cylinder/spherical shell by introducing parameter \(\delta\). It can be seen that when the parameter \(\delta\) is 0, the basic equation given here can degenerate to get the basic equation of the axisymmetric problem for the FG cylindrical pressure vessel. When the parameter \(\delta\) is 1, the basic equation given here can degenerate to get the basic equation of the spherical symmetry problem for the FG spherical shell pressure vessel. The basic equations of the two kinds pressure vessels obtained by degradation are consistent with the basic equations given in Ref [1]. However, when \(\delta\) is chosen as a value between 0 and 1, the corresponding real physical problem has not been found yet at present. Here the parameter \(\delta\) realizes the unification of the basic equations of thick-walled cylindrical and spherical shell pressure vessels. This paper can realize the solutions of FG hollow cylindrical/spherical pressure vessels based on the basic equations in a unified form.

3 Boundary conditions

Considering the radial polarization of FG hollow cylinder/spherical shell, the inner and outer diameters are a and R, respectively, so the thickness of the hollow cylinder/spherical shell is R-a. Here, three different boundary conditions are considered here. Respectively, the inner surface is under pressure P and the outer surface is under tension Q(Case A); the inner boundary displacement is 0 and the outer boundary is under tension Q(Case B); and the inner boundary is under pressure P and the outer boundary displacement is 0(Case C). The boundary conditions are expressed as following.

Case A

$$ \sigma_{r} (a/R) = - P,\sigma_{r} \left( 1 \right) = \sigma_{r} \left( {R/R} \right) = Q $$
(5)

Case B

$$ u(a/R) = 0,\sigma_{r} (1) = \sigma_{r} \left( {R/R} \right) = Q $$
(6)

Case C

$$ \sigma_{r} (a/R) = - P,u({1}) = u\left( {R/R} \right) = {0} $$
(7)

4 Problem solving

4.1 Analytical solution of displacement

Using Eqs. (1)–(3), the governing equation of radial displacement becomes

$$ r^{2} u^{\prime\prime} + (\beta + (\delta + 1))ru^{\prime} + (v^{*} \beta - 1)(\delta + 1)u = 0 $$
(8)

where \(v^{*} = v/(1 - v)\). Equation (8) is the Euler–Cauchy equation, and the characteristic equation is

$$ m^{2} + (\beta + \delta )m + (v^{*} \beta - 1)(\delta + 1) = 0 $$
(9)

Its root is

$$ \left\{ \begin{gathered} m_{1} = \frac{1}{2}\left( { - \beta - \delta - \sqrt {(\beta + \delta )^{2} - 4(v^{*} \beta - 1)(\delta + 1)} } \right) \hfill \\ m_{2} = \frac{1}{2}\left( { - \beta - \delta + \sqrt {(\beta + \delta )^{2} - 4(v^{*} \beta - 1)(\delta + 1)} } \right) \hfill \\ \end{gathered} \right. $$
(10)

These roots may be: (a) different real roots, (b) double roots and (c) complex conjugate roots. For different real roots, the solution of Eq. (8) is

$$ u = Ar^{{m_{1} }} + Br^{{m_{2} }} $$
(11)

For double roots \(m_{1} = m_{2} = m\), the solution of Eq. (8) becomes

$$ u = (A + B\ln r)r^{m} $$
(12)

In the case of complex roots \(m_{1} = x + iy\), \(m_{2} = x - iy\), the solution of Eq. (8) is

$$ u = [A\cos (y\ln r) + B\sin (y\ln r)]r^{x} $$
(13)

where A and B are unknown parameters that have nothing to do with r, A and B can be calculated by boundary conditions.

Here, Eq. (9) has been proved rigorously to have two different real roots. The detailed process is shown in “Appendix” A. Therefore, the displacement expression uses Eq. (11). Next, for three different boundary conditions, the stress was solved in this paper.

For Case A, using Eq. (5), the constants A and B are

$$ \begin{gathered} A = - \frac{{\left( {P + Q\left( {a/R} \right)^{\beta } \left( {a/R} \right)^{{m_{2} - 1}} } \right)\left( {a/R} \right)^{1 - \beta } (1 + v)(1 - 2v)}}{{\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)E_{0} \left( {m_{1} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ B = \frac{{\left( {Q\left( {a/R} \right)^{{m_{1} - 1}} \left( {a/R} \right)^{\beta } + P} \right)\left( {a/R} \right)^{1 - \beta } (1 + v)(1 - 2v)}}{{\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)E_{0} \left( {m_{2} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ \end{gathered} $$
(14)

For Case B, using Eq. (6), the constants A and B are

$$ \begin{gathered} A = - \frac{{Q\left( {a/R} \right)^{{m_{2} }} }}{{\left( {a/R} \right)^{{m_{1} }} \frac{{m_{2} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)} - \left( {a/R} \right)^{{m_{2} }} \frac{{m_{1} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)}}} \hfill \\ B = \frac{{Q\left( {a/R} \right)^{{m_{1} }} }}{{\left( {a/R} \right)^{{m_{1} }} \frac{{m_{2} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)} - \left( {a/R} \right)^{{m_{2} }} \frac{{m_{1} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)}}} \hfill \\ \end{gathered} $$
(15)

For Case C, using Eq. (7), the constants A and B are

$$ \begin{gathered} A = - \frac{{P\left( {a/R} \right)^{ - \beta } }}{{\left( {a/R} \right)^{{m_{1} - 1}} \frac{{m_{1} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)} - \left( {a/R} \right)^{{m_{2} - 1}} \frac{{m_{2} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)}}} \hfill \\ B = \frac{{P\left( {a/R} \right)^{ - \beta } }}{{\left( {a/R} \right)^{{m_{1} - 1}} \frac{{m_{1} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)} - \left( {a/R} \right)^{{m_{2} - 1}} \frac{{m_{2} E_{0} (1 - v) + (\delta + 1)E_{0} v}}{(1 + v)(1 - 2v)}}} \hfill \\ \end{gathered} $$
(16)

The displacement solutions of the FG hollow cylinder/spherical shell can be directly obtained by Eq. (11).

4.2 Stress analytical solution

Further combining Eqs. (1) and  (2), the radial stress and circumferential stress of the FG hollow cylinder/spherical shell can be finally obtained. The corresponding stress analytical solutions in Case A are

$$ \begin{gathered} \sigma_{r} = r^{\beta - 1} \left( \frac{a}{R} \right)^{1 - \beta } \frac{{\left( {P + Q\left( {a/R} \right)^{{m_{1} - 1}} \left( {a/R} \right)^{\beta } } \right)r^{{m_{2} }} - \left( {P + Q\left( {a/R} \right)^{\beta } \left( {a/R} \right)^{{m_{2} - 1}} } \right)r^{{m_{1} }} }}{{\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} }} \hfill \\ \sigma_{\theta } = \frac{{\left( {a/R} \right)^{1 - \beta } r^{\beta - 1} \left( {\chi_{1} - \chi_{2} } \right)}}{{\left[ {m_{1} (v - 1) - (\delta + 1)v} \right]\left[ {m_{2} (v - 1) - (\delta + 1)v} \right]\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)}} \hfill \\ \end{gathered} $$
(17)

where

$$ \left\{ \begin{gathered} \chi_{1} = \left( {P + Q\left( {a/R} \right)^{\beta } \left( {a/R} \right)^{{m_{1} - 1}} } \right)r^{{m_{2} }} \left( {vm_{2} + (1 - v) + \delta v} \right)\left[ {m_{1} (1 - v) + (\delta + 1)v} \right] \hfill \\ \chi_{2} = \left( {P + Q\left( {a/R} \right)^{\beta } \left( {a/R} \right)^{{m_{2} - 1}} } \right)r^{{m_{1} }} \left( {vm_{1} + (1 - v) + \delta v} \right)\left[ {m_{2} (1 - v) + (\delta + 1)v} \right] \hfill \\ \end{gathered} \right. $$
(18)

The corresponding stress analytical solutions in Case B are

$$ \begin{gathered} \sigma_{r} = \frac{{Qr^{\beta } \left( {\left( {a/R} \right)^{{m_{1} }} r^{{m_{2} - 1}} \left( {m_{2} (1 - v) + \left( {\delta + 1} \right)v} \right) - \left( {a/R} \right)^{{m_{2} }} r^{{m_{1} - 1}} \left( {m_{1} (1 - v) + \left( {\delta + 1} \right)v} \right)} \right)}}{{\left( {a/R} \right)^{{m_{1} }} \left( {m_{2} (1 - v) + (\delta + 1)v} \right) - \left( {a/R} \right)^{{m_{2} }} \left( {m_{1} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ \sigma_{\theta } = \frac{{Qr^{\beta } \left( {\left( {a/R} \right)^{{m_{1} }} r^{{m_{2} - 1}} \left( {(1 - v) + m_{2} v + \delta v} \right) - \left( {a/R} \right)^{{m_{2} }} r^{{m_{1} - 1}} \left( {m_{1} v + (1 - v) + \delta v} \right)} \right)}}{{\left( {a/R} \right)^{{m_{1} }} \left( {m_{2} (1 - v) + (\delta + 1)v} \right) - \left( {a/R} \right)^{{m_{2} }} \left( {m_{1} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ \end{gathered} $$
(19)

The corresponding stress analytical solutions in Case C are

$$ \begin{gathered} \sigma_{r} = \frac{{Pr^{\beta } \left( {(1 - v)\left( {m_{2} r^{{m_{2} - 1}} - m_{1} r^{{m_{1} - 1}} } \right) + \left( {\delta + 1} \right)v\left( {r^{{m_{2} - 1}} - r^{{m_{1} - 1}} } \right)} \right)}}{{\left( \frac{a}{R} \right)^{{\beta + m_{1} - 1}} \left( {m_{1} (1 - v) + (\delta + 1)v} \right) - \left( \frac{a}{R} \right)^{{\beta + m_{2} - 1}} \left( {m_{2} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ \sigma_{\theta } = \frac{{Pr^{\beta } \left( {(1 - v)\left( {r^{{m_{2} - 1}} - r^{{m_{1} - 1}} } \right) + v\left( {m_{2} r^{{m_{2} - 1}} - m_{1} r^{{m_{1} - 1}} } \right) + \delta v\left( {r^{{m_{2} - 1}} - r^{{m_{1} - 1}} } \right)} \right)}}{{\left( \frac{a}{R} \right)^{{\beta + m_{1} - 1}} \left( {m_{1} (1 - v) + (\delta + 1)v} \right) - \left( \frac{a}{R} \right)^{{\beta + m_{2} - 1}} \left( {m_{2} (1 - v) + (\delta + 1)v} \right)}} \hfill \\ \end{gathered} $$
(20)

When the parameter \(\delta\) is 0, the stress distributions Eqs. (17)–(20) can degenerate to obtain the stress distribution of the FG cylinder under three different boundary conditions. The detailed expression is shown in “Appendix” B. When the parameter \(\delta\) is 1, the stress distribution Eqs. (17)–(20) can degenerate to obtain the stress distribution of the FG spherical shell under three different boundary conditions. The detailed expression is shown in “Appendix” C.

5 Result verification and analysis

5.1 Comparative verification

Now, considering the FG cylindrical/spherical pressure vessel is only subjected to internal pressure, that is Q = 0 in Case A, the radial stress and circumferential stress of the hollow cylinder are, respectively,

$$ \begin{gathered} \sigma_{r} = r^{\beta - 1} \left( {a/R} \right)^{1 - \beta } \frac{{P\left( {r^{{m_{2} }} - r^{{m_{1} }} } \right)}}{{\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} }} \hfill \\ \sigma_{\theta } = \frac{{\left( {a/R} \right)^{1 - \beta } r^{\beta - 1} \left( {\chi_{1} - \chi_{2} } \right)}}{{\left[ {m_{1} (v - 1) - v} \right]\left[ {m_{2} (v - 1) - v} \right]\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)}} \hfill \\ \end{gathered} $$
(21)

where

$$ \chi_{1} = Pr^{{m_{2} }} \left( {vm_{2} + (1 - v)} \right)\left[ {m_{1} (1 - v) + v} \right]\chi_{2} = Pr^{{m_{1} }} \left( {vm_{1} + (1 - v)} \right)\left[ {m_{2} (1 - v) + v} \right]. $$

The radial stress and circumferential stress of the spherical shell are, respectively,

$$ \begin{gathered} \sigma_{r} = r^{\beta - 1} \left( {a/R} \right)^{1 - \beta } \frac{{P\left( {r^{{m_{2} }} - r^{{m_{1} }} } \right)}}{{\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} }} \hfill \\ \sigma_{\theta } = \frac{{\left( {a/R} \right)^{1 - \beta } r^{\beta - 1} \left( {\chi_{1} - \chi_{2} } \right)}}{{\left[ {m_{1} (v - 1) - 2v} \right]\left[ {m_{2} (v - 1) - 2v} \right]\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)}} \hfill \\ \end{gathered} $$
(22)

where

$$ \chi_{1} = Pr^{{m_{2} }} \left( {vm_{2} + 1} \right)\left[ {m_{1} (1 - v) + 2v} \right]\chi_{2} = Pr^{{m_{1} }} \left( {vm_{1} + 1} \right)\left[ {m_{2} (1 - v) + 2v} \right]. $$

However, the radial stress and circumferential stress of the FG cylindrical vessel under internal pressure in Ref [1] are, respectively,

$$ \begin{gathered} \sigma_{r} = - P\left( {a/R} \right)^{1 - \beta } \frac{{\left( {r^{{m_{1} }} - r^{{m_{2} }} } \right)r^{\beta - 1} }}{{\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} }} \hfill \\ \sigma_{\theta } = \frac{{P\left( {a/R} \right)^{1 - \beta } \left( {\chi_{1} - \chi_{2} } \right)}}{{\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)\left[ {\left( {v - 1} \right)m_{1} - v} \right]\left[ {m_{2} \left( {v - 1} \right) - v} \right]}} \hfill \\ \end{gathered} $$
(23)

where

$$ \begin{gathered} \left\{ \begin{gathered} m_{1} = 0.5\left( { - \beta - \sqrt {4{ + }\beta^{2} - 4v^{*} \beta } } \right) \hfill \\ m_{2} = 0.5\left( { - \beta { + }\sqrt {4{ + }\beta^{2} - 4v^{*} \beta } } \right) \hfill \\ \end{gathered} \right. \hfill \\ \left\{ \begin{gathered} \chi_{1} = r^{{m_{1} }} \left( {m_{2} \left( {v - 1} \right) - v} \right)[1{ + }\left( {m_{1} - 1} \right)v] \hfill \\ \chi_{2} = r^{{m_{2} }} \left( {m_{1} \left( {v - 1} \right) - v} \right)[1{ + }\left( {m_{2} - 1} \right)v] \hfill \\ \end{gathered} \right. \hfill \\ \end{gathered} $$
(24)

The corresponding radial stress and circumferential stress of the FG spherical vessel under internal pressure in Ref [1] are

$$ \begin{gathered} \sigma_{r} = - P\left( {a/R} \right)^{1 - \beta } \frac{{\left( {r^{{m_{1} }} - r^{{m_{2} }} } \right)r^{\beta - 1} }}{{\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} }} \hfill \\ \sigma_{\theta } = \frac{{P\left( {a/R} \right)^{1 - \beta } \left( {\chi_{1} - \chi_{2} } \right)}}{{\left( {\left( {a/R} \right)^{{m_{1} }} - \left( {a/R} \right)^{{m_{2} }} } \right)\left[ {m_{1} \left( {v - 1} \right) - 2v} \right]\left[ {m_{2} \left( {v - 1} \right) - 2v} \right]}} \hfill \\ \end{gathered} $$
(25)

where

$$ \begin{gathered} \left\{ \begin{gathered} m_{1} = 0.5\left( { - \beta - 1 - \sqrt {\beta^{2} + \left( {2 - 8v^{*} } \right)\beta + 9} } \right) \hfill \\ m_{2} = 0.5\left( { - \beta - 1 + \sqrt {\beta^{2} + \left( {2 - 8v^{*} } \right)\beta + 9} } \right) \hfill \\ \end{gathered} \right. \hfill \\ \left\{ \begin{gathered} \chi_{1} = r^{{m_{1} - 1}} \left[ {\left( {m_{2} \left( {v - 1} \right) - 2v} \right)\left( {v + r^{\beta } (1{ + }\left( {m_{1} - 1} \right)v} \right)} \right] \hfill \\ \chi_{2} = r^{{m_{2} - 1}} \left[ {\left( {m_{1} \left( {v - 1} \right) - 2v} \right)\left( {v + r^{\beta } (1{ + }\left( {m_{2} - 1} \right)v} \right)} \right] \hfill \\ \end{gathered} \right. \hfill \\ \end{gathered} $$
(26)

The stress distributions of the FG hollow cylinder/spherical shell obtained in this paper are consistent with the radial stress expressions of the FG cylinder/sphere given in Ref [1], but the circumferential stress expressions are different [23]. The correctness of our proposed analytical solutions is discussed here. When \(\beta = 0\), analytical solution in this paper can degenerate to the analytical solution of pressure vessels with homogeneous material. The degradation analytical solutions in this paper are completely consistent with those of the classic literature [22]. It is worth noting that the degradation result of the cylinder pressure vessel in Ref [1] is \(\sigma_{\theta } = {{ - P(a/R)^{2} (r^{2} + 1)} \mathord{\left/ {\vphantom {{ - P(a/R)^{2} (r^{2} + 1)} {\left[ {r\left( {(a/R)^{2} - 1} \right)} \right]}}} \right. \kern-\nulldelimiterspace} {\left[ {r\left( {(a/R)^{2} - 1} \right)} \right]}}\), which is inconsistent with the classic result of the homogeneous cylindrical pressure vessels \(\sigma_{\theta } = {{ - P(a/R)^{2} (r^{2} + 1)} \mathord{\left/ {\vphantom {{ - P(a/R)^{2} (r^{2} + 1)} {\left[ {r^{2} \left( {(a/R)^{2} - 1} \right)} \right]}}} \right. \kern-\nulldelimiterspace} {\left[ {r^{2} \left( {(a/R)^{2} - 1} \right)} \right]}}\) in the classic literature [22]. This confirms some errors in the analytical solutions in Ref [1]. In addition, the finite element methods (FEM) are performed here. The comparison of our proposed analytical solution, FEM numerical solution and previous analytical solution in Ref [1] is given.

Figure 1 shows the comparison results of the radial and circumferential stresses of the FG hollow cylinder/spherical shell, that is, the results of this paper are compared with the results of Ref [1] and the numerical results. It can be seen from the figure that radial stress of the cylindrical/spherical pressure vessel in this paper is completely consistent with the radial stress given in Ref [1] and numerical results, and the circumferential stress calculated in this paper is completely consistent with the numerical results [23], but the results of circumferential stress in Ref [1] are completely different with the results in this paper and numerical results. As shown in Fig. 1a and b, the trend of radial stress distribution is the same for the FG cylinder/sphere in Case A. The absolute value of the radial stress decreases with increasing r, and the absolute value of the radial stress increases with increasing \(\beta\). Figure 1c and  d shows the circumferential stress distribution of FG cylindrical/spherical shell when \(\beta = [ - 2,2]\). From Fig. 1c and d, when \(\beta < 0\), the circumferential stress of the hollow cylinder/spherical shell stress container gradually decreases with the increase of r. When \(\beta > 0\), the circumferential stress increase with the increase of r. However, the result of Ref [1] is different. Regardless of the value selection of \(\beta\), the circumferential stress shows a decreasing trend with the increase of r, which is quite different from the results of this paper and the numerical results. Figure 1 shows that the radial stress of the FG cylindrical/spherical pressure vessel is much smaller than the circumferential stress, so the failure of this vessel under internal pressure load is often caused by excessive circumferential stress. When \(\beta = - 2\), the circumferential stress reaches the maximum on the inner surface, and the maximum circumferential stress on the inner surface decreases with the increase of \(\beta\). When the \(\beta\) exceeds a certain value, the circumferential stress is relatively evenly distributed inside the cylindrical/spherical shell. This feature is helpful for engineers to select a suitable gradient in the design of FG pressure vessels to reduce circumferential stress change in the structure and this feature can help to avoid cracking due to excessive circumferential stress.

Fig. 1
figure 1

Stress distributions along the thickness direction of FG hollow cylindrical/spherical vessel under degraded boundary in Case A

5.2 The influence of different boundary conditions and structure types on dimensionless displacement distribution

Note that the \(u_{0}\) is displacement for homogeneous material under three boundary conditions. Here, \(u_{0}\) is used as a reference value for normalization. The expressions can also easily be obtained by setting \(\beta = 0\) in Eq. (10) and Eq. (11). In addition, the \(\sigma_{r}^{0}\) and \(\sigma_{\theta }^{0}\) are radial and circumferential stress for homogeneous material under three boundary conditions, respectively. The expressions are shown in “Appendix” D. The \(u_{0}\), \(\sigma_{r}^{0}\) and \(\sigma_{\theta }^{0}\) are studied by some researchers, such as the classic literature [22]. Figures 2 and 3 show the radial dimensionless displacement distribution of the FG cylindrical/spherical container under three different boundary conditions. As shown in Figs. 2a and 3a, the dimensionless displacement distribution of the FG cylinder/spherical shell increases with the increase of the gradient parameter \(\beta\); the dimensionless displacement hardly increases with the increase of r in Case A. For case B, since the boundary condition is internally fixed, as shown in Figs. 2b and 3b, when \(\beta > 0\), the dimensionless displacement decreases with the increase of r. When \(\beta < 0\), the dimensionless displacement increases as r increases. As shown in Figs. 2c and 3c, under the boundary conditions of Case C, the dimensionless displacement distribution of the FG cylinder/spherical shell increases with the increase of the gradient parameter \(\beta\). When \(\beta < 0\), the dimensionless displacement increases with the increase of r; when \(\beta > 0\), the dimensionless displacement decreases with the increase of r.

Fig. 2
figure 2

Radial dimensionless displacement distribution of FG cylindrical vessel in three different boundary conditions

Fig. 3
figure 3

Radial dimensionless displacement distribution of FG spherical shell vessel in three different boundary conditions

5.3 The influence of different boundary conditions on stress distribution

Figures 4 and  5 show the radial and circumferential stress distributions of FG cylindrical/spherical vessels under three different boundary conditions. From Figs. 4a, b and 5a and b, it can be seen that under the boundary conditions of Case A, the radial stress of the FG cylindrical/spherical shell decreases with the increase of the gradient parameter \(\beta\). When \(\beta > 0\), the circumferential stress increases with the increase of r. When \(\beta < 0\), circumferential stress decreases with the increase of r. The circumferential stress is higher than the radial stress. That is, the circumferential stress is very sensitive to the gradient parameter \(\beta\), which also shows that the failure of cylindrical/spherical pressure vessel is often caused by excessive circumferential stress. For Case B, as shown in Figs. 4c, d and 5c and d, the radial stress of the FG hollow cylinder/spherical shell decreases with the increase of \(\beta\). When the gradient parameter \(\beta > 0\), the circumferential stress increases with the increase of r. When \(\beta < 0\), the circumferential stress first increases with the increase of r, and then the increase tends to be flat nearby the dimensionless position \(r = 0.74\). From Figs. 4e, f and 5e and f, it can be seen that under the boundary conditions of Case C, the radial stress distribution of the FG cylindrical/spherical shell increases with the increase of \(\beta\). However, the absolute value of the circumferential stress distribution decreases with the increase of \(\beta\), and the absolute value of the circumferential stress decreases with the increase of r and finally stabilizes. As shown in Figs. 4 and  5, the magnitude and sign of the gradient parameter \(\beta\) have a great influence on the circumferential stress under the three boundary conditions. It not only affects the absolute value of circumferential stress, but also affects the change trend of circumferential stress. This shows that the selection of appropriate gradient parameters can make the FG cylinder/spherical shell obtain the optimal stress distribution. Figures 4a, 5a, b, b, c, c, d and d show the absolute value of the radial and circumferential stress distribution of corresponding FG hollow cylindrical/spherical pressure vessel under the same boundary conditions. It can be seen from Figs. 4 and  5 that under the same boundary conditions, the stress distribution trend of the FG cylindrical/spherical pressure vessel is consistent, which is easy to understand. However, the absolute value of the stress is different, which is determined by their geometric characteristics.

Fig. 4
figure 4

Stress distributions along the thickness direction of FG hollow cylindrical vessel (Solid lines: analytical solution of this paper, solid points: solution of finite difference method)

Fig. 5
figure 5

Stress distributions along the thickness direction of FG spherical vessel (Solid lines: analytical solution of this paper, solid points: solution of finite difference method)

5.4 The influence of geometric features (thickness) on stress distribution

Figures 6 and  8 show the influence of different dimensionless size r (cylindrical/spherical shell thickness) on the radial and circumferential stress distribution of the FG hollow cylindrical/spherical pressure vessel under different boundary conditions. Here the gradient parameter \(\beta\) is −2, the dimensionless size r is 0.2, 0.4 and 0.6, respectively. It can be seen from the figure that different thicknesses, that is the value selection of r, have no effect on change trend of the radial and circumferential stress for the cylindrical/spherical shell, but the value selection of r has a significant influence on the absolute value of the stress distribution in the FG cylindrical/spherical shell. It can be seen from in Figs. 6, 7 and  8 that under different thicknesses, the absolute value of the stress has a local maximum, and the magnitude of the extreme value is related to the value of r. Therefore, the thickness has a great influence on the radial and circumferential stress distribution of the FG cylindrical/spherical pressure vessel, which indicates that adjusting different sizes based on appropriate gradient parameters can achieve the optimal stress distribution for the FG cylindrical/spherical pressure vessel. Therefore, the most suitable material performance can be obtained, and device can be used more safely for people.

Fig. 6
figure 6

Different stress distributions of FG hollow cylinder/spherical shell in Case A

Fig. 7
figure 7

Different stress distributions of FG hollow cylinder/spherical shell in Case B

Fig. 8
figure 8

Different stress distributions of FG hollow cylinder/spherical shell in Case C

6 The discussion on the FGMs with change both Young's modulus and Poisson's ratio

In this subsection, it is assumed that the radially varying Young's modulus and Poisson's ratio are approximated by \(E(r) = E_{0} r^{\beta }\) and \(v(r) = v_{0} r^{\alpha }\), where \(E_{0}\) and \(v_{0}\) are the Young's modulus and Poisson's ratio for the inner surface, respectively. \(\beta\) and \(\alpha\) are Young's modulus and Poisson's ratio gradient constant, respectively. The influence of the change of both Young's modulus and Poisson's ratio on the stress distribution is analyzed by numerical calculations. The numerical calculation process for this problem is shown in “Appendix” E.

FGMs were originally used to solve problems in the design and manufacture of thermal protection systems for the new generation of space shuttles. For the FGMs, on the relatively high temperature outer side is made of ceramics with excellent heat resistance, and the inner side is made of metal materials with high thermal conductivity, high toughness and high mechanical strength. The composition, microstructure and porosity of the composite material are adjusted to form the FG layer in the transition zone between on the inner and outer sides [2]. The application of FGMs avoids the interface stress caused by the huge difference between metals and ceramics in physical and mechanical properties. The Poisson's ratio of ceramic materials and metal steel materials is 0.32 and 0.3, respectively. When the ratio of the inner radius for the hollow cylinder/spherical shell is a, one can obtain the Poisson's ratio gradient parameter \(\alpha = \log_{a} 0.32/0.3\), where the Poisson's ratio of the inner metal material is 0.3 and the Poisson's ratio of the outer ceramic material is 0.32. Under this condition, the influence of Poisson's ratio on stress in FGMs is discussed numerically here. As shown in Fig. 9, in this condition, the Poisson's ratio gradient parameter has little effect on the stress distribution in Case A and Case C. But the change for Poisson's ratio has a greater effect on the stress distribution in Case B, especially for the radial stress. The radial and circumferential stresses of the FG hollow cylinder/spherical shell both decrease with the increase of the gradient parameter \(\alpha\) in Fig. 9c and  d.

Fig.9
figure 9

Radial and circumferential stress distribution of FG cylinder/ spherical shell vessel

In addition, the influence of changes in Young's modulus and larger changes in Poisson's ratio on stress is considered. The gradient parameters are \(\beta = - 2\), \(\alpha = - 0.5\), \(- 0.2\), \(0\), \(0.2\) and \(0.5\), respectively, in Fig. 10. It shows the influence of the change of Poisson’s ratio on the stress. Figure 10a and b show that both the radial stress and the circumferential stress increase with the increase of \(\alpha\). The change of Poisson's ratio has a greater effect on the circumferential stress for the FG cylinder and spherical shell. The circumferential stress of FG cylinder is approximately 1.5 times larger than that of spherical shell circumferential stress. As shown in Fig. 10c,  f, the gradient parameter \(\alpha\) affects the change trend of the radial stress for FG hollow cylinder/spherical shell. When \(\alpha = - 0.5\), the radial stress increases with the increase of the \(\alpha\), and when \(\alpha = - 0.2\), \(0\), \(0.2\) and \(0.5\), the radial stress decreases with the increase of \(\alpha\), and some existing analytical solutions ignore the influence of the change of Poisson’s ratio in the mechanical analysis of FGMs. Based on the difference numerical method, this paper confirms that the change of Poisson's ratio also has a greater effect on the stress distribution under certain conditions.

Fig. 10
figure 10

Radial and circumferential stress distribution of FG cylinder/spherical shell vessel

7 Conclusion

This paper presents a unified form of the basic equations of the FG hollow cylinder/spherical shell by introducing parameter and studies the axial/spherical symmetry mechanical problems of the FG hollow cylinder/spherical shell under three different boundary conditions. Assuming that the value of Poisson’s ratio is constant and the Young's modulus changes with radial direction in the form of power functions, the analytical solutions of the displacement, radial stress and the circumferential stress of the hollow cylindrical/spherical pressure vessel are given under three different boundary conditions. By comparison with the analytical solutions in the classical literature [22] and the numerical solutions by FEM, the errors of analytical solutions are corrected in Ref [1] when the inner surface is under pressure P. At the same time, by comparing with the results from the difference numerical method, the correctness of new analytical solutions for three different boundary conditions is confirmed in this paper. Analysis shows that the circumferential stress tends to be evenly distributed by adjusting the gradient parameter, which can effectively prevent container cracking caused by excessive circumferential stress, thereby improving the reliability and service life of the device. In addition, the influence of different geometric size (vessel thickness) on the stress distribution is analyzed. Finally, the influence of the change of Young's modulus and Poisson’s ratio on stress is numerically discussed. Some existing analytical solutions ignore the influence of the change of Poisson’s ratio in the mechanical analysis of FGM. Based on the difference numerical method, this paper confirms that the change of Poisson's ratio also has a significant effect on the stress distribution under certain conditions. Therefore, for the FG hollow cylindrical/spherical pressure vessel, selecting the appropriate gradient parameters and the appropriate thickness can make the FG pressure vessel achieve its optimal performance, which is helpful for engineering design. The method in this paper is further promoted to be suitable for discussing the analysis of other FG piezoelectric and piezomagnetic materials [24].