1 INTRODUCTION

When the diffusion equation with mechanical effect term incorporated and the motion equations contain the effect of concentration, this kind of problem is called coupled diffusion and deformation problem. This problem may arise in many materials and engineering areas, including soft materials [1], batteries [2], and biomedicine [3].

The diffusion induced stress was first researched by analogy with the thermal stress by Prussin [4]. Following his work, quantities of theoretical models concerning diffusion and deformation were proposed. These models can be classified into two categories, ie., the linear and non-linear theories. For nonlinear theories, the large deformation [5], concentration dependent material parameters [6], reaction [7] and plastic flow [8, 9] were considered. Larch and Cahn [10] developed a linear theory of thermochemical equilibrium of solid based on thermodynamics. The linearization method has been employed in many continuum models that diffusion and deformation were coupled [11–14].

Based on these developed models, the concentration and stress distribution of various structures, like, nanowire [15], composite structures [16, 17], thin film [18, 19] were studied. Mostly, the numerical simulation or numerical methods were used, analytical solutions usually appear in one-dimensional cases [20–22].

In this paper, based on a diffusion and deformation coupled linear model, a plane strain problem in the polar coordinates considering steady state mass diffusion was analytically solved by using a displacement potential function and Airy stress function. Then a traction free cylinder long enough with half of its flank under constant concentration boundary conditions were analysed. The numerical results showed that the gradient distribution of concentration would cause the generation of stresses because of the deformation mismatch induced by the difference of concentration. The value of stresses would increase with concentration gradient.

2 BASIC FORMULATIONS OF COUPLED DIFFUSION AND DEFORMATION

Following the linear continuum model [14], a homogenous isotropic active media with steady mass flow, the concentration will satisfy the equation

$$Ag\Delta c + Ab\Delta e = 0,$$
(2.1)

where A is the species mobility, g is the scalar chemistry modulus, \(e = \operatorname{div} u\) represents the volume strain, and coefficient b is chemistry-strain modulus that can be expressed by Lame constants λ, G and chemical dilation coefficient β as

$$b = - \left( {3\lambda + 2G} \right)\beta .$$
(2.2)

The inertia term and body force are ignored, the basic equation of motion is

$$G\Delta {\mathbf{u}} + \left( {\lambda + G} \right)\nabla \left( {\nabla \cdot {\mathbf{u}}} \right) + b\nabla c = 0.$$
(2.3)

3 GENERAL SOLUTION FOR A LONG CYLINDER

Considering a circular cylinder with radius a as showed in Fig. 1, and supposed that the applied tractions on the cylindrical boundaries which parallel to the z-axis and the species concentration distribution are independent of the axial coordinate z.

Fig. 1.
figure 1

The sketch of a circular cylinder.

It is convenient to suppose that the diffusion only occurred in the radial direction and the cylinder is long enough, so that the problem can be simplified as plane strain problem. The polar coordinates are adopted here and the Laplace operator in polar coordinates is \(\Delta = \frac{{{{\partial }^{2}}}}{{\partial {{r}^{2}}}} + \frac{1}{r}\frac{\partial }{{\partial r}} + \frac{1}{{{{r}^{2}}}}\frac{{{{\partial }^{2}}}}{{\partial {{\theta }^{2}}}}\). To analyze this chemo-mechanical coupled problem, the displacement method is used, and a chemical displacement potential function \(\psi \) is introduced. Equation (2.3) in polar coordinates can be stated as

$$\left( {1 - 2{v}} \right)\Delta {{u}_{r}} + \frac{{\partial e}}{{\partial r}} = - \frac{b}{{\lambda + G}}\frac{{\partial c}}{{\partial r}},$$
(3.1)
$$\left( {1 - 2{v}} \right)\Delta {{u}_{\theta }} + \frac{1}{r}\frac{{\partial e}}{{\partial \theta }} = - \frac{b}{{\lambda + G}}\frac{1}{r}\frac{{\partial c}}{{\partial \theta }},$$
(3.2)

where \(e = \frac{{\partial {{u}_{r}}}}{{\partial r}} + \frac{{{{u}_{r}}}}{r} + \frac{{\partial {{u}_{\theta }}}}{{r\partial \theta }}\)  is the volume strain, \({{u}_{r}}\) and \({{u}_{\theta }}\) represent radial displacement and circumferential displacement respectively. The particular solution of Eqs. (3.1) and (3.2) can be related to the chemical displacement potential function \(\psi \) as follows

$${{u}_{r}} = \frac{{\partial \psi }}{{\partial r}}\quad {{u}_{\theta }} = \frac{1}{r}\frac{{\partial \psi }}{{\partial \theta }}.$$
(3.3)

From Eq. (3.3), it is obviously to have \(e = \Delta \psi \), then Eqs. (3.1) and (3.2) are written as

$$\left( {1 - {v}} \right)\frac{\partial }{{\partial r}}\left( {\Delta \psi } \right) = - \frac{b}{{\lambda + G}}\frac{{\partial c}}{{\partial r}}.$$
(3.4)
$$\left( {1 - {v}} \right)\frac{1}{r}\frac{\partial }{{\partial \theta }}\left( {\Delta \psi } \right) = - \frac{b}{{\lambda + G}}\frac{1}{r}\frac{{\partial c}}{{\partial \theta }}.$$
(3.5)

And these two partial differential equations can be satisfied when the chemical displacement potential \(\psi \) is the solution of following equation

$$\Delta \psi = \frac{{1 + {v}}}{{1 - {v}}}\beta c.$$
(3.6)

The stresses expressions corresponding to the chemical displacement potential \(\psi \) are

$${{\sigma }_{{rr}}} = - \frac{E}{{1 + {v}}}\left( {\frac{1}{r}\frac{{\partial \psi }}{{\partial r}} + \frac{1}{{{{r}^{2}}}}\frac{{{{\partial }^{2}}\psi }}{{\partial {{\theta }^{2}}}}} \right),$$
(3.7)
$${{\sigma }_{{\theta \theta }}} = - \frac{E}{{1 + {v}}}\frac{{{{\partial }^{2}}\psi }}{{\partial {{r}^{2}}}},$$
(3.8)
$${{\sigma }_{{r\theta }}} = \frac{E}{{1 + {v}}}\frac{\partial }{{\partial r}}\left( {\frac{1}{r}\frac{{\partial \psi }}{{\partial \theta }}} \right)$$
(3.9)

and the stress component in z direction is

$${{\sigma }_{{zz}}} = {v}\left( {{{\sigma }_{{rr}}} + {{\sigma }_{{\theta \theta }}}} \right) - E\beta c.$$
(3.10)

From Eq. (3.6) and accommodate the relations between volume strain e and potential function \(\psi \), the diffusion equation can be written as

$$A\left( {g - \frac{{{{b}^{2}}}}{{\lambda + G}}} \right)\Delta c = 0.$$
(3.11)

We note that \(M = A\left( {g - \frac{{{{b}^{2}}}}{{\lambda + G}}} \right)\), and the chemical boundary condition about concentration is given as follows

$$c\left( {a,\theta } \right) = G\left( \theta \right).$$
(3.12)

It should be mentioned that the conventional enforced chemical boundary condition is the specification of the chemical potential which is usually used for water absorption or dehydration [1, 23]. However, the chemical boundary condition about concentration is also frequently used in the analysis of batteries or solute transportation [24, 25], where the diffusion induced stresses are more concerned about. Here, we are focused on the analytical solution of plane strain problem about mass diffusion induced stresses, this may throw light on the stress analysis during battery charging and discharging process, so the boundary condition about concentration is used.

The solution of steady-state equation (3.11) with boundary condition (3.12) can be easily obtained as

$$c\left( {r,\theta } \right) = {{a}_{0}} + \sum\limits_{m = 1}^\infty {{{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} \;$$
(3.13)

and the coefficients are

$$\begin{gathered} {{a}_{0}} = \frac{1}{{2\pi }}\int\limits_0^{2\pi } {G\left( \theta \right)\operatorname{d} \theta } , \\ {{a}_{m}} = \frac{1}{\pi }\int\limits_0^{2\pi } {G\left( \theta \right)\cos \left( {m\theta } \right)\operatorname{d} \theta } , \\ {{b}_{m}} = \frac{1}{\pi }\int\limits_0^{2\pi } {G\left( \theta \right)\sin \left( {m\theta } \right)\operatorname{d} \theta } . \\ \end{gathered} $$
(3.14)

Using Eq. (3.13) in Eq. (3.6), the chemical displacement potential is obtained as

$$\psi = - \frac{{\left( {1 + {{a}^{2}} - {{r}^{2}}} \right)\beta }}{{\left( {1 - {v}} \right)}}\frac{{({{a}^{2}} - {{r}^{2}})}}{4}\left( {{{a}_{0}} + \sum\limits_{m = 1}^\infty {\frac{1}{{n + 1}}{{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} } \right).$$
(3.15)

Then the stresses in (3.7)–(3.9) are expressed as

$$\sigma _{{rr}}^{'} = - \frac{{E\beta }}{{1 - {v}}}\left\{ \begin{gathered} \frac{1}{2}{{a}_{0}} + \frac{1}{4}\sum\limits_{m = 1}^\infty {\frac{{m\left( {m - 1} \right)}}{{m + 1}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} \\ - \frac{1}{4}\sum\limits_{m = 1}^\infty {\left( {m - 2} \right){{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} \\ \end{gathered} \right\},$$
(3.16)
$$\sigma _{{\theta \theta }}^{'} = - \frac{{E\beta }}{{1 - {v}}}\left\{ \begin{gathered} \frac{1}{2}{{a}_{0}} - \frac{1}{4}\sum\limits_{m = 1}^\infty {\frac{{m\left( {m - 1} \right)}}{{m + 1}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} \\ + \frac{1}{4}\sum\limits_{m = 1}^\infty {\left( {m + 2} \right){{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} \\ \end{gathered} \right\},$$
(3.17)
$$\sigma _{{r\theta }}^{'} = \frac{{E\beta }}{{1 - {v}}}\left\{ \begin{gathered} - \frac{1}{4}\sum\limits_{m = 1}^\infty {\frac{{m\left( {m - 1} \right)}}{{m + 1}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}\left[ {{{b}_{m}}\cos \left( {m\theta } \right) - {{a}_{m}}\sin \left( {m\theta } \right)} \right]} \\ + \frac{1}{4}\sum\limits_{m = 1}^\infty {m{{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {{{b}_{m}}\cos \left( {m\theta } \right) - {{a}_{m}}\sin \left( {m\theta } \right)} \right]} \\ \end{gathered} \right\}.$$
(3.18)

Granted that the cylindrical surface of the circular cylinder is free of stresses, however a non-zero surface stresses \(\left( {{{\sigma }_{{rr}}},{{\sigma }_{{r\theta }}}} \right)\) is given by the stresses expressions of (3.16)–(3.18)

$${{(\sigma _{{rr}}^{'})}_{{r = a}}} = - \frac{{E\beta }}{{1 - {v}}}\left\{ {\frac{1}{2}{{a}_{0}} + \frac{1}{2}\sum\limits_{m = 1}^\infty {\frac{1}{{m + 1}}\left[ {{{a}_{m}}\cos \left( {m\theta } \right) + {{b}_{m}}\sin \left( {m\theta } \right)} \right]} } \right\},$$
(3.19)
$${{(\sigma _{{r\theta }}^{'})}_{{r = a}}} = \frac{{E\beta }}{{1 - {v}}}\left\{ {\frac{1}{2}\sum\limits_{m = 1}^\infty {\frac{m}{{m + 1}}\left[ {{{b}_{m}}\cos \left( {m\theta } \right) - {{a}_{m}}\sin \left( {m\theta } \right)} \right]} } \right\}.$$
(3.20)

To comply with the stress boundary condition, the complementary stress should be introduced to cancelling the surface stresses of Eqs. (3.19) and (3.20). Therefore, forces equal to (3.19) and (3.20) but in opposite directions are taken as surface loads to seek the solution of the complementary stress, and the general stress function expressed in polar coordinates is used. Noting that the first term of the stress in brackets of Eq. (3.19) is symmetrical to the origin of coordinates, and the other terms as well as the expression of Eq. (3.20) is the stress proportional to \(\sin \left( {m\theta } \right)\) or \(\cos \left( {m\theta } \right)\) acting on the outer surface of the cylinder. Accordingly, the Airy stress function can be assumed as

$$\begin{gathered} \phi = {{k}_{0}}{{r}^{2}} + {{k}_{1}}{{r}^{3}}\cos \theta + {{p}_{1}}{{r}^{3}}\sin \theta \\ + \sum\limits_{m = 2}^\infty {({{k}_{m}}{{r}^{{m + 2}}} + {{l}_{m}}{{r}^{m}})\cos \left( {m\theta } \right)} + \sum\limits_{m = 2}^\infty {({{p}_{m}}{{r}^{{m + 2}}} + {{q}_{m}}{{r}^{m}})\sin \left( {m\theta } \right)} . \\ \end{gathered} $$
(3.21)

The corresponding stress components are

$$\begin{gathered} {{\sigma }_{{rr}}} = \frac{1}{r}\frac{{\partial \phi }}{{\partial r}} + \frac{1}{{{{r}^{2}}}}\frac{{{{\partial }^{2}}\phi }}{{\partial {{\theta }^{2}}}} = 2{{k}_{0}} + 2{{k}_{1}}r\cos \theta + 2{{p}_{1}}r\sin \theta \\ - \,\sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m - 2} \right){{k}_{m}}{{r}^{m}} + m\left( {m - 1} \right){{l}_{m}}{{r}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ - \,\sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m - 2} \right){{p}_{m}}{{r}^{m}} + m\left( {m - 1} \right){{q}_{m}}{{r}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} , \\ \end{gathered} $$
(3.22)
$$\begin{gathered} {{\sigma }_{{\theta \theta }}} = \frac{{{{\partial }^{2}}\phi }}{{\partial {{r}^{2}}}} = 2{{k}_{0}} + 6{{k}_{1}}r\cos \theta + 6{{p}_{1}}r\sin \theta \\ \, + \sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m + 2} \right){{k}_{m}}{{r}^{m}} + m\left( {m - 1} \right){{l}_{m}}{{r}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, + \sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m + 2} \right){{p}_{m}}{{r}^{m}} + m\left( {m - 1} \right){{q}_{m}}{{r}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} , \\ \end{gathered} $$
(3.23)
$$\begin{gathered} {{\sigma }_{{r\theta }}} = - \frac{\partial }{{\partial r}}\left( {\frac{1}{r}\frac{{\partial \phi }}{{\partial \theta }}} \right) = - 2{{p}_{1}}r\cos \theta + 2{{k}_{1}}r\sin \theta \\ \, - \sum\limits_{m = 2}^\infty {\left[ {m\left( {m + 1} \right){{p}_{m}}{{r}^{m}} + \left( {m - 1} \right){{q}_{m}}{{r}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, + \sum\limits_{m = 2}^\infty {\left[ {m\left( {m + 1} \right){{k}_{m}}{{r}^{m}} + \left( {m - 1} \right){{l}_{m}}{{r}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} . \\ \end{gathered} $$
(3.24)

At the cylinder surface, they come to

$$\begin{gathered} {{\left( {{{\sigma }_{{rr}}}} \right)}_{{r = a}}} = 2{{k}_{0}} + 2{{k}_{1}}a\cos \theta + 2{{p}_{1}}a\sin \theta \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m - 2} \right){{k}_{m}}{{a}^{m}} + m\left( {m - 1} \right){{l}_{m}}{{a}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\left( {m + 1} \right)\left( {m - 2} \right){{p}_{m}}{{a}^{m}} + m\left( {m - 1} \right){{q}_{m}}{{a}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} , \\ \end{gathered} $$
(3.25)
$$\begin{gathered} {{\left( {{{\sigma }_{{r\theta }}}} \right)}_{{r = a}}} = - 2{{p}_{1}}a\cos \theta + 2{{k}_{1}}a\sin \theta \\ \, - \sum\limits_{m = 2}^\infty {\left[ {m\left( {m + 1} \right){{p}_{m}}{{a}^{m}} + \left( {m - 1} \right){{q}_{m}}{{a}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, + \sum\limits_{m = 2}^\infty {\left[ {m\left( {m + 1} \right){{k}_{m}}{{a}^{m}} + \left( {m - 1} \right){{l}_{m}}{{a}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} . \\ \end{gathered} $$
(3.26)

The stresses expressions of (3.25) and (3.26) should be equal but reverse to the stresses of (3.19) and (3.20) respectively. Comparing each term of these expressions after sorting, the coefficients in Eq. (3.21) are obtained as

$$\begin{gathered} {{k}_{0}} = \frac{{E\beta {{a}_{0}}}}{{4\left( {1 - {v}} \right)}}\quad {{k}_{1}} = \frac{{E\beta {{a}_{1}}}}{{8\left( {1 - {v}} \right)a}}\quad {{p}_{1}} = \frac{{E\beta {{b}_{1}}}}{{8\left( {1 - {v}} \right)a}}, \\ {{k}_{m}} = \frac{{E\beta }}{{1 - {v}}}\left[ {\frac{{({{m}^{2}} + 1)}}{{2{{a}^{m}}{{{\left( {m + 1} \right)}}^{2}}({{m}^{2}} - m + 2)}}{{a}_{m}}} \right], \\ {{l}_{m}} = - \frac{{E\beta }}{{1 - {v}}}\left[ {\frac{m}{{2{{a}^{{m - 2}}}\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{a}_{m}}} \right], \\ {{p}_{m}} = \frac{{E\beta }}{{1 - {v}}}\left[ {\frac{{({{m}^{2}} + 1)}}{{2{{a}^{m}}{{{\left( {m + 1} \right)}}^{2}}({{m}^{2}} - m + 2)}}{{b}_{m}}} \right], \\ {{q}_{m}} = - \frac{{E\beta }}{{1 - {v}}}\left[ {\frac{m}{{2{{a}^{{m - 2}}}\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{b}_{m}}} \right]. \\ \end{gathered} $$
(3.27)

Using the coefficients of Eq. (3.27) in the stresses expressions (3.22)–(3.24), the complementary stresses are obtained as following

$${{\sigma }_{{rr}}} = \frac{{E\beta }}{{1 - {v}}}\,\left\{ \begin{gathered} \frac{1}{2}{{a}_{0}} + \frac{{{{a}_{1}}r}}{{4a}}\cos \theta + \frac{{{{b}_{1}}r}}{{4a}}\sin \theta \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\frac{{({{m}^{2}} + 1)\left( {m - 2} \right){{a}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\cos \left( {m\theta } \right)} \\ \, + \sum\limits_{m = 2}^\infty {\left[ {\frac{{{{m}^{2}}\left( {m - 1} \right){{a}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\frac{{({{m}^{2}} + 1)\left( {m - 2} \right){{b}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\sin \left( {m\theta } \right)} \\ + \sum\limits_{m = 2}^\infty {\left[ {\frac{{{{m}^{2}}\left( {m - 1} \right){{b}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} \\ \end{gathered} \right\},$$
(3.28)
$${{\sigma }_{{\theta \theta }}} = \frac{{E\beta }}{{1 - {v}}}\left\{ \begin{gathered} \frac{1}{2}{{a}_{0}} + \frac{{3{{a}_{1}}r}}{{4a}}\cos \theta + \frac{{3{{b}_{1}}r}}{{4a}}\sin \theta \\ \, + \sum\limits_{m = 2}^\infty {\left[ {\frac{{\left( {m + 2} \right)({{m}^{2}} + 1){{a}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\cos \left( {m\theta } \right)} \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\frac{{{{m}^{2}}\left( {m - 1} \right){{a}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ \, + \sum\limits_{m = 2}^\infty {\left[ {\frac{{\left( {m + 2} \right)({{m}^{2}} + 1){{b}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\sin \left( {m\theta } \right)} \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\frac{{{{m}^{2}}\left( {m - 1} \right){{b}_{m}}}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} \\ \end{gathered} \right\},$$
(3.29)
$${{\sigma }_{{r\theta }}} = \frac{{E\beta }}{{1 - {v}}}\left\{ \begin{gathered} - \frac{{{{b}_{1}}r}}{{4a}}\cos \theta + \frac{{{{a}_{1}}r}}{{4a}}\sin \theta \\ - \,\sum\limits_{m = 2}^\infty {\left[ {\frac{{{{b}_{m}}m({{m}^{2}} + 1)}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\cos \left( {m\theta } \right)} \\ + \,\sum\limits_{m = 2}^\infty {\left[ {\frac{{{{b}_{m}}m\left( {m - 1} \right)}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\cos \left( {m\theta } \right)} \\ + \,\sum\limits_{m = 2}^\infty {\left[ {\frac{{{{a}_{m}}m({{m}^{2}} + 1)}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}} \right]\sin \left( {m\theta } \right)} \\ \, - \sum\limits_{m = 2}^\infty {\left[ {\frac{{{{a}_{m}}m\left( {m - 1} \right)}}{{2\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\sin \left( {m\theta } \right)} \\ \end{gathered} \right\}.$$
(3.30)

The actual in-plane stress components are now completely determined as the sum of particular solution expressions (3.16)–(3.18) and the complementary stress (3.28)–(3.30) respectively. Then the axial stress component can be found by Eq. (3.10).

4 APPLICATION

Assuming that the radius of the cylinder is a = 1, the concentration on the upper half of its circumference is kept at \({{c}_{0}} = 2.3 \times {{10}^{4}}\;{\text{mol/}}{{{\text{m}}}^{{\text{3}}}}\) and concentration on the lower half is kept at zero, and no traction on the circumference surface. The material parameters are set as \({v} = 0.3\), \(E = 1.9 \times {{10}^{{11}}}\) Pa, \(\beta = 1.167 \times {{10}^{{ - 6}}}\) m3/mol. Then the concentration boundary conditions are described by

$$c\left( {1,\theta } \right) = G\left( \theta \right) = \left\{ \begin{gathered} {{c}_{0}}\quad {\text{if}}\quad 0 < \theta < \pi , \hfill \\ 0\quad {\text{if}}\quad \pi < \theta < 2\pi . \hfill \\ \end{gathered} \right.$$
(4.1)

Substituted \(G\left( \theta \right)\) into Eq. (3.14), the coefficients are determined

$${{a}_{0}} = \frac{1}{{2\pi }}\int\limits_0^\pi {{{c}_{0}}{\text{d}}\theta } = \frac{{{{c}_{0}}}}{2},$$
(4.2)
$${{a}_{m}} = \frac{1}{\pi }\int\limits_0^\pi {{{c}_{0}}\cos \left( {m\theta } \right)\operatorname{d} \theta } = 0,$$
(4.3)
$${{b}_{m}} = \frac{1}{\pi }\int\limits_0^\pi {{{c}_{0}}\sin \left( {m\theta } \right)\operatorname{d} \theta } = \frac{{{{c}_{0}}}}{{m\pi }}\left[ {1 - \cos \left( {m\pi } \right)} \right].$$
(4.4)

Then,

$$c\left( {r,\theta } \right) = \frac{{{{c}_{0}}}}{2} + \frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 1}^\infty {\frac{1}{m}\left[ {1 - \cos \left( {m\pi } \right)} \right]{{{\left( {\frac{r}{a}} \right)}}^{m}}\sin \left( {m\theta } \right)} $$
(4.5)

The complete stress expressions are as follows

$${{\sigma }_{{rr}}} = \frac{{E\beta }}{{1 - {v}}}\left\{ {\frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 2}^\infty {\frac{{\left( {m - 2} \right){{{\left( {m - 1} \right)}}^{2}}}}{{4\left( {m + 1} \right)({{m}^{2}} - m + 2)}}\left[ {{{{\left( {\frac{r}{a}} \right)}}^{m}} - {{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\left[ {1 - \cos \left( {m\pi } \right)} \right]\sin \left( {m\theta } \right)} } \right\},$$
(4.6)
$${{\sigma }_{{\theta \theta }}}\, = \,\frac{{E\beta }}{{1 - {v}}}\left\{ {\frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 2}^\infty {\left[ {\frac{{\left( {m + 2} \right){{{\left( {m - 1} \right)}}^{2}}}}{{4(m + 1)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}\, - \,\frac{{\left( {m - 2} \right){{{\left( {m - 1} \right)}}^{2}}}}{{4(m + 1)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\left[ {1 - \cos (m\pi )} \right]\sin (m\theta )} } \right\},$$
(4.7)
$${{\sigma }_{{r\theta }}} = \frac{{E\beta }}{{1 - {v}}}\left\{ {\frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 2}^\infty {\frac{{m{{{\left( {m - 1} \right)}}^{2}}}}{{4\left( {m + 1} \right)({{m}^{2}} - m + 2)}}\left[ {{{{\left( {\frac{r}{a}} \right)}}^{m}} - {{{\left( {\frac{r}{a}} \right)}}^{{m - 2}}}} \right]\left[ {1 - \cos \left( {m\pi } \right)} \right]\cos \left( {m\theta } \right)} } \right\},$$
(4.8)
$$\begin{gathered} {{\sigma }_{{{\text{zz}}}}} = - \frac{{E\beta {{c}_{0}}}}{2} - \frac{{E\beta }}{{1 - {v}}}\frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 1}^\infty {\frac{1}{m}{{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {1 - \cos \left( {m\pi } \right)} \right]\sin \left( {m\theta } \right)} \\ + \frac{{{v}E\beta }}{{1 - {v}}}\frac{{{{c}_{0}}}}{\pi }\sum\limits_{m = 1}^\infty {\frac{1}{m}\frac{{2({{m}^{2}} + 1)}}{{\left( {m + 1} \right)({{m}^{2}} - m + 2)}}{{{\left( {\frac{r}{a}} \right)}}^{m}}\left[ {1 - \cos \left( {m\pi } \right)} \right]\sin \left( {m\theta } \right)} . \\ \end{gathered} $$
(4.9)

5 RESULTS AND DISCUSSION

Based on the obtained analytical expressions, the distributions of concentration and stresses on the cross section of the cylinder were obtained. Figure 2 showed the distribution of concentration on the cross section of the cylinder. The boundary conditions of concentration were satisfied and the concentration in the cylinder was distributed gradiently from upper half to lower half. The concentration gradients near the outer circumference at the angles of 0 and 180 degrees were larger. The concentration was also bilateral symmetrically distributed, and the concentration at the centre of the cross section was the average of the concentration on the boundary.

Fig. 2.
figure 2

The distribution of concentration on the cross section.

The radial stress distribution of the cylinder on cross section was showed in Fig. 3. The radial stress at the outer circumference was zero for the outer surface of the cylinder is traction free. Unlike the axisymmetric cases where the radial stress in the cylinder went to zero at the steady state, the radial stress still existed in this case because of the deformation mismatch induced by the difference of concentration. The radial stress appeared to be larger at the points where the gradient of concentration was larger. And the radial stress was antisymmetric distributed on the upper and lower half of the cross section. That is, the radial stress in the upper and lower half was equal in magnitude but opposite in direction.

Fig. 3.
figure 3

Radial stress distribution on the cross section.

Figure 4 showed the distribution of hoop stress on the cross section. It was also antisymmetric distributed, and the values of the hoop stress on the regions which near the angles of 0 and 180 degrees at the outer circumference of the cross section were lager, but tensile on the region in upper half, compressive on the region in lower half. This stress distribution was to meet the needs of circumferential deformation compatibility. For the upper half region of the cross section, the circumferential deformation was restricted where the concentration was large and the circumferential deformation was promoted where concentration is small, so the hoop stress is tensile on the regions near the angles of 0 and 180 degrees at the outer circumference. While for the lower half region of the cross section, the stress distribution was opposite to that of upper half was for the same reason.

Fig. 4.
figure 4

Hoop stress distribution on the cross section.

The distribution of shear stress on the cross section of cylinder was showed in Fig. 5. The shear stress was zero at the boundary of the cross section to meet the boundary conditions. And it was antisymmetric distributed about the vertical axis of the cross section, because the directions of shear stress in the two sides of the vertical axis were opposite. For the left half region of the cross section, the shear stress is positive near the angle of 180 degree along the radius, while negative on other parts of the region. The increase of concentration would cause the expansion of volume, however, the concentration in consideration was gradiently distributed, the cross section would change from circular to elliptical, resulted in the generation of shear stress.

Fig. 5.
figure 5

Shear stress distribution on the cross section.

From Fig. 6, we noted that the axial stress in the cross section was compressive and it was also gradiently distributed. The value of the compressive axial stress was positively correlated with the concentration. It was because the deformation in axial direction was confined, the diffusion induced axial expansion deformation were neutralized by the deformation caused by compressive axial stress.

Fig. 6.
figure 6

Axial stress distribution on the cross section.

6 CONCLUSIONS

In this work, based on a diffusion and mechanical coupled continuum model, a plane strain problem in the polar coordinates considering steady state mass diffusion was analysed. The analytical expressions for concentration and stresses were obtained by using a displacement potential function and the Airy stress function. A numerical example of a traction free cylinder with half of its flank under constant concentration was given, its steady state stresses and concentration distributions on the cross section were obtained. The results showed that the gradiently distributed concentration would lead to the generation of stress and the value of stress increased with the gradient of concentration.