1 Introduction

Dynamic response of piles encountered in the viaducts, offshore foundation, machine foundation has drawn considerable attention over the past decades [1, 5, 10, 19, 31, 40, 50]. Compared with single piles, pile groups are more widely used due to the superior load capacity under the dynamic load. In fact, the load capacity of pile groups is not a simple superposition of that of multiple single piles, and there is a complex interaction mechanism among the pile-soil-pile, that is, the pile group effect. The pile group effect is relevant to the layout, slenderness, soil characteristics, groundwater level, etc., which is quite complicated. The methods considering the pile group effect can be divided into two categories. The first is the interaction factor method, which was proposed by Poulos [30] when analyzing statically loaded pile groups, and then Dobry & Gazetas [24] considered the interference and diffraction of waves, extending it to dynamic condition. This method obtains the interaction factor based on the impedance function of the single pile and applies it to the pile group according to the superposition principle [23, 24]. In general, this method is relatively convenient, but its adaptability to several complex conditions is poor, such as stratification and anisotropy. The second category is the direct solution method. This type of method includes finite element method (FEM) [6], boundary element method (BEM) [13, 26], volume method [42], etc., which requires the dynamic Green’s function of the soil as the kernel function. This method provides a precise consideration of the interaction of soil–pile groups and can be considered an exact solution. However, it is relatively complicated with a high calculation consumption.

Previous studies on pile groups have predominantly focused on single-phase soils, neglecting the influence of pore water. However, some researchers have conducted analyses on the dynamic response of pile groups in saturated soils. Wang et al. [39] employed the dynamic interaction factor method [7] to solve for the stiffness and damping of pile groups under vertical loads. Millán & Domínguez [27] achieved an exact solution for pile groups in saturated soils using the coupled FEM–BEM method. Xu et al. [44] and Li et al. [18] investigated the impedance function of pile groups in saturated soils by combining the transmission and reflection matrix method with the Muki method [28]. Shi et al. [35] further discussed the pore pressure distribution of soils around the pile group via the combination of the flexible volume method and the thin layer method. Zhang et al. [49] analyzed the dynamic behavior of partially embedded pile groups, considering stratification and transverse isotropy, while Wang et al. [41] investigated the effect of scour type on the settlement of pile groups.

In fact, the soil above the groundwater level is generally in unsaturated condition due to the influence of the seasonal rainfall and evaporation or the capillary action of the groundwater [47]. Smeulders et al. [36] found that the presence of air will impose an indispensable effect on the wave propagation of soils. The dynamic behavior differences between unsaturated soils and saturated soils lead to that piles in unsaturated soils perform a better anti-deformation capacity [14,15,16, 32, 34, 45]. This phenomenon has been widely found in numerous numerical and in-situ experiments [3, 9, 11, 17, 20, 37, 51]. Hence, it is of great importance to introduce the unsaturated characteristic of soils into the soil–pile interaction analysis. Based on the interaction factor method, Zhang et al. [48] utilized the Timoshenko beam to investigate the lateral vibration behavior of the pile in the unsaturated soil, and the inhomogeneity of soils subjected to the construction disturbance was further considered by Wu et al. [43]. For the sake of a higher precision, the fictious pile method [33] was applied on the research of the floating pile in the unsaturated soil, while the FEM–BEM-PIM [46] research removed the assumption limitation on the floating pile, satisfying more generalized pile types. In terms of pile groups, Ma et al. [25] discussed the dynamic impedance of end-bearing pile groups embedded in unsaturated soils subjected to a time-harmonic load via the dynamic interaction method. However, the end-bearing pile group model calculated by the dynamic interaction method is indeed an idealized model and contains excessive assumptions, since the displacement below the pile end is limited.

To sum up, the research on the impedance function of pile groups—unsaturated soils is still at the fledging edge, and is limited to the end-bearing pile group. Moreover, the saturation degree variation resulted from the fluctuating groundwater level and the transverse isotropy of soils caused by the long-term deposition are rarely considered in existing works. The main contribution of this work is to introduce the groundwater level and transverse isotropy of soils into the dynamic analysis of pile groups, and provided a more generalized soil-pile groups model, which is not limited to the end-bearing condition. Also, a series of innovative numerical examples are provided to discuss the effect of the groundwater level, air-entry value, and other parameters on the impedance and load distribution. The pile–soil–pile interaction formulation is established based on the motion equation of the pile group established by FEM and the boundary integral equation established by BEM, which is further solved in the frequency domain by introducing the boundary condition and coordinate condition. The precise integration solution proposed in the work [2] is utilized as the kernel function in BEM. When the correctness of the solution is verified, a series of numerical examples are provided to investigate the parametric sensitivity on the impedance of pile groups in soils considering the groundwater level. The results are expected to advance the dynamic theory of the infrastructure by introducing the effect of the groundwater level.

2 Mathematical modeling

2.1 FEM model of the pile group

Figure 1 gives a schematic diagram of the model of the soil–pile group considering the groundwater level. A pile group with a rigid massless cap is embedded in a layered transversely isotropic unsaturated soil. The slenderness of the pile is so large that the vertical vibration of the pile can be simulated by the one-dimensional rod theory. The elastic modulus of the pile is \(E_{pi}\), the radius is \(r_{pi}\), and the pile length is \(l_{pi}\). The rigid massless pile cap assumes the equal settlement for all piles, which is more reasonable for most practical cases compared to the flexible pile cap [30]. In addition, the center of the cap is subjected to a vertical harmonic load, the platform is rigidly connected to each pile, and there is no relative displacement between piles and soils in the pile group.

Fig. 1
figure 1

Schematic diagram of the pile group in the soil considering the groundwater level

For an arbitrary pile \(i\), the motion equation is given as:

$${\mathbf{M}}_{i} {\ddot{{\mathbf U}}}_{i} \left( t \right){ + }{\mathbf{K}}_{i} {\mathbf{U}}_{i}^{{}} \left( t \right) = {\mathbf{F}}_{i}^{{}} \left( t \right) - {\mathbf{Q}}_{i}^{{}} \left( t \right)$$
(1)

where \({\mathbf{M}}_{i}\) is the mass matrix of the pile i; \({\mathbf{K}}_{i}\) is the stiffness matrix of the pile i and \({\mathbf{F}}_{i} \left( t \right)\) is the external force vector at the top of pile i; \({\mathbf{Q}}_{i}^{{}} \left( t \right)\) is the equivalent nodal force vector of pile i, which utilized to describe the combination of the pile shaft resistance and the pile base resistance. \({\mathbf{U}}_{i} \left( t \right)\) denotes the elemental node displacement along the pile i.

When the soil–pile system remains a steady vibration, the above equation can be simplified as:

$$\left( {{\mathbf{K}}_{i} - \omega^{2} {\mathbf{M}}_{i} } \right){\mathbf{U}}_{i}^{{}} = {\mathbf{F}}_{i} - {\mathbf{Q}}_{i}^{{}}$$
(2)

where the stiffness matrix \({\mathbf{K}}_{i}\), the mass matrix \({\mathbf{M}}_{i}\) are assembled by the elemental matrices, i.e., \({\mathbf{K}}_{i} = \sum\limits_{e} {{\mathbf{K}}_{i}^{e} }\) with \({\mathbf{K}}_{i} = \int_{0}^{l} {E_{p} A_{p} \left( {\frac{{{\text{d}}{\mathbf{N}}}}{{{\text{d}}x}}} \right)}^{{\text{T}}} \left( {\frac{{{\text{d}}{\mathbf{N}}}}{{{\text{d}}x}}} \right){\text{d}}x = \frac{{\overline{E}_{p} A_{p} }}{{l_{e} }}\left[ {\begin{array}{*{20}c} 1 & { - 1} \\ { - 1} & 1 \\ \end{array} } \right]\) and \({\mathbf{M}}_{i} = \sum\limits_{e} {{\mathbf{M}}_{i}^{e} }\) with \({\mathbf{M}}_{i} = \int_{\Omega } {\rho {\mathbf{N}}^{{\text{T}}} {\mathbf{N}}{\text{d}}\Omega } = \frac{{\overline{\rho }_{p} A_{p} l_{e} }}{6}\left[ {\begin{array}{*{20}c} 2 & 1 \\ 1 & 2 \\ \end{array} } \right]\) [52]; elemental equivalent nodal force vectors \({\mathbf{Q}}_{e}^{p}\) are utilized to assemble the equivalent nodal force vector \({\mathbf{Q}}_{p}\); A transformed matrix \({\mathbf{T}}_{i} = \int_{{L_{e}^{{}} }} {{\mathbf{N}}^{{\text{T}}} {\mathbf{N}}} dL_{e}^{{}} { = }\frac{{l_{{\text{e}}} }}{3}\left[ {\begin{array}{*{20}c} 2 & 1 \\ 1 & 2 \\ \end{array} } \right]\) establishes the relation between \({\mathbf{Q}}_{e}^{p}\) and elemental boundary nodal force vectors \({\mathbf{P}}_{i} { = }\left[ {P_{e,1}^{s} ,P_{e,2}^{s} } \right]^{{\text{T}}}\).

Extending the motion equation of the pile to that of pile groups and assembling the corresponding matrices lead to the following equilibrium equations:

$$\left( {{\mathbf{K}}_{g} - \omega^{2} {\mathbf{M}}_{g} } \right){\mathbf{U}}_{g}^{{}} = {\mathbf{F}}_{g} - {\mathbf{T}}_{g} {\mathbf{P}}_{g}^{{}}$$
(3)

where \({\mathbf{Q}}_{g}^{{}} = {\mathbf{T}}_{g}^{{}} {\mathbf{P}}_{g}^{{}} = \left[ {\begin{array}{*{20}c} {{\mathbf{Q}}_{1}^{{}} } \\ \vdots \\ {{\mathbf{Q}}_{i}^{{}} } \\ \vdots \\ {{\mathbf{Q}}_{n}^{{}} } \\ \end{array} } \right]\), \({\mathbf{P}}_{g}^{{}} = \left[ {\begin{array}{*{20}c} {{\mathbf{P}}_{1}^{{}} } \\ \vdots \\ {{\mathbf{P}}_{i}^{{}} } \\ \vdots \\ {{\mathbf{P}}_{n}^{{}} } \\ \end{array} } \right]\), \({\mathbf{F}}_{g}^{{}} = \left[ {\begin{array}{*{20}c} {{\mathbf{F}}_{1}^{{}} } \\ \vdots \\ {{\mathbf{F}}_{i}^{{}} } \\ \vdots \\ {{\mathbf{F}}_{n}^{{}} } \\ \end{array} } \right]\), \({\mathbf{T}}_{g}^{{}} = \left[ {\begin{array}{*{20}c} {{\mathbf{T}}_{11}^{{}} } & \cdots & {\mathbf{0}} & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {{\mathbf{T}}_{ij}^{{}} } & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {\mathbf{0}} & \cdots & {{\mathbf{T}}_{nn}^{{}} } \\ \end{array} } \right]\),

\({\mathbf{K}}_{g} = \left[ {\begin{array}{*{20}c} {{\mathbf{K}}_{11} } & \cdots & {\mathbf{0}} & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {{\mathbf{K}}_{ij} } & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {\mathbf{0}} & \cdots & {{\mathbf{K}}_{nn} } \\ \end{array} } \right]\), \({\mathbf{M}}_{g} = \left[ {\begin{array}{*{20}c} {{\mathbf{M}}_{11} } & \cdots & {\mathbf{0}} & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {{\mathbf{M}}_{ij} } & \cdots & {\mathbf{0}} \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {\mathbf{0}} & \cdots & {\mathbf{0}} & \cdots & {{\mathbf{M}}_{nn} } \\ \end{array} } \right]\) with the pile group subscript g.

2.2 Interaction among pile–soil–pile

The key to solve the dynamic response of the pile group is the pile–soil–pile interaction equation. There are \(n \times \left( {n - 1} \right)\) sets of pile–soil–pile interactions in a pile group system with n piles. If each pile is divided into m unit by the FEM, there are \(m \times n\) elements in the pile group system. For an arbitrary node \(\beta\) of the pile j, its displacement, surrounding excess pore water pressure and excess pore air pressure are comprehensively affected by boundary nodal forces of \(m \times n\) elements. The schematic diagram of the interaction between pile i and pile j is given in Fig. 2. Hence, Eq. (3) can be rewritten in the following expression to characterize the response of an arbitrary node \(\beta\) under the boundary nodal forces.

$$u\left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {{\mathbf{P}}_{i}^{e} \int_{{L_{e} }} {R_{u} \left( {\alpha ,\beta } \right){\mathbf{N}}} dL_{e} } }$$
(4a)
$$\sigma_{w} \left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {{\mathbf{P}}_{i}^{e} \int_{{L_{e} }} {R_{w} \left( {\alpha ,\beta } \right){\mathbf{N}}} dL_{e} } }$$
(4b)
$$\sigma_{a} \left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {{\mathbf{P}}_{i}^{e} \int_{{L_{e} }} {R_{a} \left( {\alpha ,\beta } \right){\mathbf{N}}} dL_{e} } }$$
(4c)

where \(\left( {L_{g} ,\beta } \right)\) denotes the response of the point \(\beta\) induced by all the boundary nodal forces \({\mathbf{P}}_{i}^{e}\) of the pile group \(L_{g}\), including the vertical displacement \(u\), the excess pore water pressure \(\sigma_{w}\) and the excess pore air pressure \(\sigma_{a}\); \({\mathbf{P}}_{i}^{e}\) represents the boundary nodal force of an arbitrary element in the pile i; \(m\) denotes that the pile i contains \(m\) elements; \(n\) denotes that the pile group consists of n piles; the shape function \({\mathbf{N}}{ = }\left[ {N_{1} ,\;N_{2} } \right] = \left[ {\frac{1}{2}\left( {1 - x^{*} } \right),\;\frac{1}{2}\left( {1{ + }x^{*} } \right)} \right]\) includes the local coordinate \(x^{*}\). \(R_{u} \left( {\alpha ,\beta } \right)\), \(R_{w} \left( {\alpha ,\beta } \right)\) and \(R_{a} \left( {\alpha ,\beta } \right)\) are compliance coefficients that denote, respectively, the vertical displacement \(u\), the excess pore water pressure \(\sigma_{w}\) and the excess pore air pressure \(\sigma_{a}\) of the unsaturated medium subjected to a unit ring load in the pile–soil interface, which are the kernel functions in the BEM and can be obtained by the PIM illustrated in reference [46]. The governing equations of the unsaturated soils are illustrated in Sect. 2.4.

Fig. 2
figure 2

Schematic diagram of the interaction between pile i and pile j

Gauss–Legendre method is utilized to numerically solve the above equations, obtaining the following expression:

$$u\left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {\left\{ {\left| {{\mathbf{J}}_{i}^{e} } \right|{\mathbf{P}}_{i}^{e} \left[ {\sum\limits_{k = 1}^{\varsigma } {A^{k} R_{u} \left( {\alpha^{k} ,\beta } \right)} {\mathbf{N}}^{k} } \right]} \right\}} }$$
(5a)
$$\sigma_{w} \left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {\left\{ {\left| {{\mathbf{J}}_{i}^{e} } \right|{\mathbf{P}}_{i}^{e} \left[ {\sum\limits_{k = 1}^{\varsigma } {A^{k} R_{w} \left( {\alpha^{k} ,\beta } \right)} {\mathbf{N}}^{k} } \right]} \right\}} }$$
(5b)
$$\sigma_{a} \left( {L_{g} ,\beta } \right) = \sum\limits_{i = 1}^{n} {\sum\limits_{e = 1}^{m} {\left\{ {\left| {{\mathbf{J}}_{i}^{e} } \right|{\mathbf{P}}_{i}^{e} \left[ {\sum\limits_{k = 1}^{\varsigma } {A^{k} R_{a} \left( {\alpha^{k} ,\beta } \right)} {\mathbf{N}}^{k} } \right]} \right\}} }$$
(5c)

Assembling Gauss–Legendre equations of all the boundary nodes can acquire the following compliance matrices regarding the displacement, excess pore water pressure, and excess pore air pressure.

$$\left[ {\begin{array}{*{20}c} {{\mathbf{W}}_{1} } \\ \vdots \\ {{\mathbf{W}}_{i} } \\ \vdots \\ {{\mathbf{W}}_{n} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{\mathbf{D}}_{11}^{u} } & \cdots & {{\mathbf{D}}_{1j}^{u} } & \cdots & {{\mathbf{D}}_{1n}^{u} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{i1}^{u} } & \cdots & {{\mathbf{D}}_{ij}^{u} } & \cdots & {{\mathbf{D}}_{in}^{u} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{n1}^{u} } & \cdots & {{\mathbf{D}}_{nj}^{u} } & \cdots & {{\mathbf{D}}_{nn}^{u} } \\ \end{array} } \right] \cdot \left[ {\begin{array}{*{20}c} {{\mathbf{P}}_{1} } \\ \vdots \\ {{\mathbf{P}}_{i} } \\ \vdots \\ {{\mathbf{P}}_{n} } \\ \end{array} } \right]$$
(6a)
$$\left[ {\begin{array}{*{20}c} {{{\varvec{\upsigma}}}_{w1} } \\ \vdots \\ {{{\varvec{\upsigma}}}_{wi} } \\ \vdots \\ {{{\varvec{\upsigma}}}_{wn} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{\mathbf{D}}_{11}^{w} } & \cdots & {{\mathbf{D}}_{1j}^{w} } & \cdots & {{\mathbf{D}}_{1n}^{w} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{i1}^{w} } & \cdots & {{\mathbf{D}}_{ij}^{w} } & \cdots & {{\mathbf{D}}_{in}^{w} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{n1}^{w} } & \cdots & {{\mathbf{D}}_{nj}^{w} } & \cdots & {{\mathbf{D}}_{nn}^{w} } \\ \end{array} } \right] \cdot \left[ {\begin{array}{*{20}c} {{\mathbf{P}}_{1} } \\ \vdots \\ {{\mathbf{P}}_{i} } \\ \vdots \\ {{\mathbf{P}}_{n} } \\ \end{array} } \right]$$
(6b)
$$\left[ {\begin{array}{*{20}c} {{{\varvec{\upsigma}}}_{a1} } \\ \vdots \\ {{{\varvec{\upsigma}}}_{ai} } \\ \vdots \\ {{{\varvec{\upsigma}}}_{an} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{\mathbf{D}}_{11}^{a} } & \cdots & {{\mathbf{D}}_{1j}^{a} } & \cdots & {{\mathbf{D}}_{1n}^{a} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{i1}^{a} } & \cdots & {{\mathbf{D}}_{ij}^{a} } & \cdots & {{\mathbf{D}}_{in}^{a} } \\ \vdots & \ddots & \vdots & \ddots & \vdots \\ {{\mathbf{D}}_{n1}^{a} } & \cdots & {{\mathbf{D}}_{nj}^{a} } & \cdots & {{\mathbf{D}}_{nn}^{a} } \\ \end{array} } \right] \cdot \left[ {\begin{array}{*{20}c} {{\mathbf{P}}_{1} } \\ \vdots \\ {{\mathbf{P}}_{i} } \\ \vdots \\ {{\mathbf{P}}_{n} } \\ \end{array} } \right]$$
(6c)

where \({\mathbf{D}}_{ij}^{u}\), \({\mathbf{D}}_{ij}^{w}\), and \({\mathbf{D}}_{ij}^{a}\) are compliance matrices of pile i, which denote the vertical displacement, the excess pore water pressure and the excess pore air pressure excited by the boundary nodal force along the pile j, respectively. \({\mathbf{W}}_{i}\), \({{\varvec{\upsigma}}}_{wi}\), and \({{\varvec{\upsigma}}}_{ai}\) are the vertical displacement, the excess pore water pressure and the excess pore air pressure of the boundary nodes.

The above three equations can be briefly expressed as:

$${\mathbf{W}}_{g} {\mathbf{ = D}}_{ug}^{{}} {\mathbf{P}}_{g}^{{}}$$
(7a)
$${{\varvec{\upsigma}}}_{wg} = {\mathbf{D}}_{wg}^{{}} {\mathbf{P}}_{g}^{{}}$$
(7b)
$${{\varvec{\upsigma}}}_{ag} = {\mathbf{D}}_{ag}^{{}} {\mathbf{P}}_{g}^{{}}$$
(7c)

where the subscript g indicates that this matrix belongs to the group pile.

2.3 The load distribution from the pile cap

The elemental equivalent nodal displacement is equal to the boundary nodal displacement due to the assumption that there is no relative displacement between the pile group and the soil, i.e., \({\mathbf{W}}_{g} {\mathbf{ = U}}_{g}^{{}}\). Substitution of Eq. (7a) into Eq. (3) leads to the following equation.

$${\mathbf{U}}_{g}^{{}} = \left( {{\mathbf{K}}_{g} - \omega^{2} {\mathbf{M}}_{g} + {\mathbf{TD}}_{{{\text{ug}}}}^{{{ - }1}} } \right)^{ - 1} {\mathbf{F}}_{g} = {\mathbf{S}}_{g} {\mathbf{F}}_{g}$$
(8)

where \({\mathbf{S}}_{g} = \left( {{\mathbf{K}}_{g} - \omega^{2} {\mathbf{M}}_{g} + {\mathbf{TD}}_{{{\text{ug}}}}^{{{ - }1}} } \right)^{ - 1}\), \({\mathbf{F}}_{g} = \left[ {{\mathbf{F}}_{1} , \cdot \cdot \cdot ,{\mathbf{F}}_{i} , \cdot \cdot \cdot ,{\mathbf{F}}_{n} } \right]^{T}\), \({\mathbf{F}}_{i} { = }\left[ {{\mathbf{F}}_{i}^{(1)} ,\;{\mathbf{0}},\; \cdot \cdot \cdot ,\;{\mathbf{0}}} \right]_{{1 \times \left( {m + 1} \right)}}\); m is the element number of the pile; n is the number of the pile in the pile group; \({\mathbf{F}}_{i}^{(1)}\) denotes the external load vector at the top of pile i,

To further simplify Eq. (8), the zero vector in \({\mathbf{F}}_{g}\) is supposed to be eliminated, obtaining the reduced external load vector \({\mathbf{F}}_{d}\). Meanwhile, the dimension of matrices \({\mathbf{S}}_{g}\) and \({\mathbf{U}}_{g}^{{}}\) should be accordingly reduced, in which the vector related to the node of the pile top is retained. Finally, the reduced vertical displacement vector \({\mathbf{U}}_{d}^{{}}\) and the external force vector at the pile top \({\mathbf{F}}_{d}\) have the following relation:

$${\mathbf{U}}_{d}^{{}} = {\mathbf{S}}_{d} {\mathbf{F}}_{d}$$
(9)

where \({\mathbf{U}}_{d}^{{}} { = }\left[ {{\mathbf{U}}_{1}^{(1)} ,\; \cdot \cdot \cdot {\mathbf{U}}_{i}^{(1)} ,\; \cdot \cdot \cdot {\mathbf{U}}_{n}^{(1)} } \right]\); \({\mathbf{U}}_{i}^{(1)}\) is the vertical displacement at the top of pile i, and \({\mathbf{F}}_{d} = \left[ {{\mathbf{F}}_{1}^{(1)} ,\; \cdot \cdot \cdot {\mathbf{F}}_{i}^{(1)} ,\; \cdot \cdot \cdot {\mathbf{F}}_{n}^{(1)} } \right]\) is the external force vector at the top of pile i.

It is noted that although the matrix is reduced and only retains the vector regarding to the pile top, which does not mean that the expression only considers the effects of elements at the pile top and neglects those along the pile. The reason is that the matrix \({\mathbf{S}}_{g}\) involves the inverse of the compliance matrix of pile groups \({\mathbf{D}}_{{{\text{ug}}}}^{{{ - }1}}\) which has comprehensively considered the effect of each element along the pile. Hence, even if the matrix is reduced, the interaction among each pile can also be reflected.

The rigid cap balances the external vertical load and the reaction forces at the pile top, so the sum of reaction forces at the pile top is equal to the external load \({\mathbf{F}}_{c}^{{}}\) acting on the pile cap, i.e.,

$${\mathbf{F}}_{c}^{{}} = {\mathbf{BF}}_{d}$$
(10)

where \({\mathbf{B}} = \left[ {1,\;1, \cdots ,\;1} \right]_{1 \times n}\). In addition, the vertical displacement at the pile top is completely coordinated with the vertical displacement of the pile cap. So, we have

$${\mathbf{U}}_{d} = {\mathbf{B}}^{T} {\mathbf{U}}_{c}^{{}}$$
(11)

Combining the motion Eq. (9) of the pile group, the balance Eq. (10) of the pile cap and the coordination Eq. (11), the displacement of the rigid cap \({\mathbf{U}}_{c}\) can be obtained as follows:

$${\mathbf{U}}_{c} = \left( {{\mathbf{BS}}_{d}^{ - 1} {\mathbf{B}}^{T} } \right)^{ - 1} {\mathbf{F}}_{c}^{{}}$$
(12)

The external force vector at the pile top \({\mathbf{F}}_{d}\) can be obtained according to the combination of Eqs. (9), (11) and (12). Moreover, in order to obtain the boundary nodal force vector \({\mathbf{P}}_{g}^{{}}\), \({\mathbf{F}}_{d}\) is extended and returned to \({\mathbf{F}}_{g}\) by adding the zero vector, and then deriving \({\mathbf{U}}_{g}^{{}}\) by Eq. (8). Introducing \({\mathbf{U}}_{g}^{{}}\) into Eq. (7) leads to the boundary nodal force \({\mathbf{P}}_{g}^{{}}\) as Eq. (13). Then, the excess pore water and air pressures along the pile group can be obtained via the compliance matrices \({{\varvec{\upsigma}}}_{wg} = {\mathbf{D}}_{g}^{w} {\mathbf{P}}_{g}^{{}}\) and \({{\varvec{\upsigma}}}_{ag} = {\mathbf{D}}_{g}^{a} {\mathbf{P}}_{g}^{{}}\).

$${\mathbf{P}}_{g}^{{}} = {\mathbf{T}}_{g}^{ - 1} \left[ {{\mathbf{F}}_{g} - \left( {{\mathbf{K}}_{g} - \omega^{2} {\mathbf{M}}_{g} } \right){\mathbf{U}}_{g}^{{}} } \right]$$
(13)

2.4 The solution of compliance matrices

The equilibrium equations of unsaturated media are given as [2]:

$$\frac{{\partial \sigma_{r} }}{\partial r} + \frac{{\partial \sigma_{rz} }}{\partial z} + \frac{{\sigma_{r} - \sigma_{\varphi } }}{r} = \left( {1 - n} \right)\rho_{s} \ddot{u}_{r} + nS_{r} \rho_{w} \ddot{v}_{r} + n\left( {1 - S_{r} } \right)\rho_{a} \ddot{w}_{r}$$
(14a)
$$\frac{{\partial \sigma_{z} }}{\partial z} + \frac{{\partial \sigma_{rz} }}{\partial r} + \frac{{\sigma_{rz} }}{r} = \left( {1 - n} \right)\rho_{s} \ddot{u}_{z} + nS_{r} \rho_{w} \ddot{v}_{z} + n\left( {1 - S_{r} } \right)\rho_{a} \ddot{w}_{z}$$
(14b)

where \(\sigma_{ij}\) (i, j = r, z) is the total stress tensor; \(u_{i} ,\;v_{i}^{{}} ,\;w_{i}^{{}}\) (i = r, z) denote absolute displacements of the soil particle, the water and the air, respectively; \(\rho_{s} ,\;\rho_{w} ,\;\rho_{a}\) are densities of the soil particle, the water and the air, respectively; \(n\) represents the porosity; \({\text{S}}_{\rm r}\) represents the saturation degree.

Constitutive equations of transversely isotropic soils are given as:

$$\sigma_{r} = c_{11} \frac{{\partial u_{r} }}{\partial r} + c_{12} \frac{{u_{r} }}{r} + c_{13} \frac{{\partial u_{z} }}{\partial z} - \alpha_{h} \left[ {\chi \sigma_{w} + \left( {1 - \chi } \right)\sigma_{a} } \right]$$
(15a)
$$\sigma_{\theta } = c_{12} \frac{{\partial u_{r} }}{\partial r} + c_{11} \frac{{u_{r} }}{r} + c_{13} \frac{{\partial u_{z} }}{\partial z} - \alpha_{h} \left[ {\chi \sigma_{w} + \left( {1 - \chi } \right)\sigma_{a} } \right]$$
(15b)
$$\sigma_{z} = c_{13} \frac{{\partial u_{r} }}{\partial r} + c_{13} \frac{{u_{r} }}{r} + c_{33} \frac{{\partial u_{z} }}{\partial z} - \alpha_{v} \left[ {\chi \sigma_{w} + \left( {1 - \chi } \right)\sigma_{a} } \right]$$
(15c)
$$\sigma_{z} = c_{44} \left( {\frac{{\partial u_{r} }}{\partial z} + \frac{{\partial u_{z} }}{\partial r}} \right)$$
(15d)

in which \(c_{11} = \lambda \zeta \left( {1 - \zeta \nu_{vh}^{2} } \right)\), \(c_{12} = \lambda \zeta \left( {\nu_{h} + \zeta \nu_{vh}^{2} } \right)\), \(c_{13} = \lambda \zeta \nu_{vh} \left( {1 + \nu_{h} } \right)\), \(c_{33} = \lambda \left( {1 - \nu_{h}^{{2}} } \right)\), \(c_{44} = G_{v}\), \(\lambda = {{E_{v} } \mathord{\left/ {\vphantom {{E_{v} } {\left[ {\left( {1 + \nu_{h} } \right)\left( {1 - \nu_{h} - 2\zeta \nu_{vh}^{{2}} } \right)} \right]}}} \right. \kern-0pt} {\left[ {\left( {1 + \nu_{h} } \right)\left( {1 - \nu_{h} - 2\zeta \nu_{vh}^{{2}} } \right)} \right]}}\), \(\zeta = {{E_{h} } \mathord{\left/ {\vphantom {{E_{h} } {E_{v} }}} \right. \kern-0pt} {E_{v} }}\); \(G_{v}\) is the shear modulus; \(E_{v}\) and \(E_{h}\) denote elastic moduli in vertical and horizontal directions, respectively; \(\nu_{h}\) and \(\nu_{vh}\) are Poisson’s ratios of the horizontal strain induced by the horizontal stress and the vertical stress, respectively; \(\alpha_{h} = 1 - \left( {c_{11} + c_{12} + c_{13} } \right)/3K_{s}\) and \(\alpha_{v} = 1 - \left( {2c_{13} + c_{33} } \right)/3K_{s}\) are Biot–Willis coefficients in horizontal and vertical directions with the bulk modulus of the soil particle \(K_{s}\); \(\chi\) is the effective stress parameter, which is set as \(\chi = S_{e}\) in the following according to the literature [22, 29], where \(S_{e}\) is the effective saturation degree; \(\sigma_{w}\) and \(\sigma_{a}\) are the excess pore water and air pressures, respectively.

VG model is utilized to describe the relationship between the saturation degree and capillary pressure, and then remove the dependence upon the saturation degree in the governing equations, which is given as follows:

$$S_{\text{e}} = \frac{{S_{{{\text{rmin}}}} - S_\text{r} }}{{S_{{{\text{rmin}}}} - S_{\text{rmax}} }} = \left[ {1 + \left( {\upphi \text{p}_{\rm{c}} } \right)^{\text{k}} } \right]^{ - m}$$
(16)

where three fitting parameters \(\phi ,\;m,\;k\) are given in SWCC. \( \rm S_{\text{rmin}}\) and \( \rm S_{\text{rmax}}\) are the minimum and maximum saturation degree, respectively; m generally has an intrinsic relationship with \(k\), i.e., m = 1–1/k.

The mass balance equations of unsaturated media can be obtained as follows based on the work [2].

$$ \left[ \begin{gathered} {m}_{11} \sigma_{w} + m_{12} \sigma_{a} + \left( {m_{13} + {\rm i}\omega {c}_{r}^{w} {a}_{r}^{w} } \right)\left( {\frac{{\partial u_{r} }}{\partial r} + \frac{{u_{r} }}{r}} \right) + \left( {m_{14} { + }{\rm i}\omega {c}_{z}^{w} {a}_{z}^{w} } \right)\frac{{\partial u_{z} }}{\partial z} \hfill \\ \, - {a}_{r}^{w} \left( {\frac{{\partial^{2} \sigma_{w} }}{{\partial r^{2} }} + \frac{1}{r}\frac{{\partial \sigma_{w} }}{\partial r}} \right) - {a}_{z}^{w} \frac{{\partial^{2} \sigma_{w} }}{{\partial {z}^{2} }} \hfill \\ \end{gathered} \right] = 0 $$
(17a)
$$ \left[ \begin{gathered} {m}_{21} \sigma_{w} + {m}_{22} \sigma_{a} + \left( {m_{23} + {\rm i} \omega {c}_{r}^{a} {a}_{r}^{a} } \right)\left( {\frac{{\partial u_{r} }}{\partial r} + \frac{{u_{r} }}{r}} \right) + \left( {m_{24} { + }{\rm i} \omega {c}_{z}^{a} {a}_{z}^{a} } \right)\frac{{\partial u_{z} }}{\partial z} \hfill \\ \, - {a}_{r}^{a} \left( {\frac{{\partial^{2} \sigma_{a} }}{{\partial r^{2} }} + \frac{1}{r}\frac{{\partial \sigma_{a} }}{\partial r}} \right) - {a}_{z}^{a} \frac{{\partial^{2} \sigma_{a} }}{{\partial {z}^{2} }} \hfill \\ \end{gathered} \right] = 0 $$
(17b)

where \(\omega\) is the angular frequency of loads; parameters \(m_{ij}\), \(a_{i}^{w}\), \(a_{i}^{a}\), \(c_{i}^{w}\), \(c_{i}^{a}\) are given as reference [2].

Flow velocities of two immiscible fluids in the vertical direction are given as

$$Q_{z}^{w} = \frac{{k_{v}^{w} }}{{\rho_{w} g}}\frac{{\partial \sigma_{w} }}{\partial z}$$
(18a)
$$Q_{z}^{a} = \frac{{k_{v}^{a} }}{{\rho_{a} g}}\frac{{\partial \sigma_{a} }}{\partial z}$$
(18b)

Hankel transform is applied on the above equations to eliminate the dependence upon the spatial variables r. The governing equation can be rewritten as a partial differential equation matrix after a series of algebraical manipulation similar to the work [2].

$$\frac{{\text{d}}}{{{\text{d}}z}}\left[ {\begin{array}{*{20}c} {{\mathbf{V}}\left( {z,\xi } \right)} \\ {{\mathbf{U}}\left( {z,\xi } \right)} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{\mathbf{W}}_{1} } & {{\mathbf{W}}_{2} } \\ {{\mathbf{W}}_{3} } & {{\mathbf{W}}_{4} } \\ \end{array} } \right] \cdot \left[ {\begin{array}{*{20}c} {{\mathbf{V}}\left( {z,\xi } \right)} \\ {{\mathbf{U}}\left( {z,\xi } \right)} \\ \end{array} } \right]$$
(19)

where \({\mathbf{V}}(z,\xi ) = \left[ {\overline{\sigma }_{rz}^{1} ,\;\overline{\sigma }_{z}^{0} ,\;\overline{\sigma }_{w}^{0} ,\;\overline{\sigma }_{a}^{0} } \right]^{{\text{T}}}\) and \({\mathbf{U}}(z,\xi ) = \left[ {\overline{u}_{r}^{1} ,\;\overline{u}_{z}^{0} ,\;\overline{Q}_{{{\text{w}}z}}^{0} ,\;\overline{Q}_{az}^{0} } \right]^{{\text{T}}}\) are the generalized displacement vector and generalized stress vector, respectively. The four parameter matrices \({\mathbf{W}}_{i}\) (i=1–4) are given as

$${\mathbf{W}}_{1} = \left[ {\begin{array}{*{20}c} 0 & {\frac{{c_{13} }}{{c_{33} }}\xi } & { - \left[ {\vartheta \chi + \omega^{2} nS_{r} \rho_{w} a_{r}^{w} } \right]\xi } & { - \left[ {\vartheta \left( {1 - \chi } \right) + \omega^{2} n\left( {1 - S_{r} } \right)\rho_{a} a_{r}^{a} } \right]\xi } \\ { - \xi } & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ \end{array} } \right],$$
$${\mathbf{W}}_{2} = \left[ {\begin{array}{*{20}c} {\left( {\frac{{c_{11} c_{33} - c_{13}^{2} }}{{c_{33} }}} \right)\xi^{2} - \varsigma_{r} } & 0 & 0 & 0 \\ 0 & { - \varsigma_{z} } & {\frac{{\omega^{2} \rho_{w}^{2} gnS_{r} a_{z}^{w} }}{{k_{z}^{w} }}} & {\frac{{\omega^{2} \rho_{a}^{2} gn\left( {1 - S_{r} } \right)a_{z}^{a} }}{{k_{z}^{a} }}} \\ 0 & 0 & {\frac{{\rho_{w} g}}{{k_{z}^{w} }}} & 0 \\ 0 & 0 & 0 & {\frac{{\rho_{a} g}}{{k_{z}^{a} }}} \\ \end{array} } \right],$$
$$ {\mathbf{W}}_{3} = \left[ {\begin{array}{*{20}c} {\frac{1}{{c_{{44}} }}} & 0 & 0 & 0 \\ 0 & {\frac{1}{{c_{{33}} }}} & {\frac{{\chi \alpha _{z} }}{{c_{{33}} }}} & {\frac{{\left( {1 - \chi } \right)\alpha _{z} }}{{c_{{33}} }}} \\ 0 & {\frac{{k_{z}^{w} }}{{\rho _{w} g}}\frac{{d_{w} }}{{c_{{33}} }}} & {\frac{{k_{z}^{w} }}{{\rho _{w} g}}\psi _{1} } & {\frac{{k_{z}^{w} }}{{\rho _{w} g}}\psi _{2} } \\ 0 & {\frac{{k_{z}^{a} }}{{\rho _{a} g}}\frac{{d_{a} }}{{c_{{33}} }}} & {\frac{{k_{z}^{a} }}{{\rho _{a} g}}\psi _{3} } & {\frac{{k_{z}^{a} }}{{\rho _{a} g}}\psi _{4} } \\ \end{array} } \right],\;{\mathbf{W}}_{4} = \left[ {\begin{array}{*{20}c} 0 & \xi & 0 & 0 \\ { - \frac{{c_{{13}} }}{{c_{{33}} }}\xi } & 0 & 0 & 0 \\ {\frac{{k_{z}^{w} }}{{\rho _{w} g}}\psi _{5} } & 0 & 0 & 0 \\ {\frac{{k_{z}^{a} }}{{\rho _{a} g}}\psi _{6} } & 0 & 0 & 0 \\ \end{array} } \right]; $$

in which, \(\psi_{1} = \frac{{m_{11} }}{{a_{z}^{w} }} + \frac{{d_{w} \alpha_{z} \chi }}{{c_{33} }}{ + }\frac{{a_{r}^{w} }}{{a_{z}^{w} }}\xi^{2}\), \(\psi_{2} = \frac{{m_{12} }}{{a_{z}^{w} }} + \frac{{d_{w} \alpha_{z} \left( {1 - \chi } \right)}}{{c_{33} }}\), \(\psi_{3} { = }\frac{{m_{21} }}{{a_{z}^{a} }} + \frac{{d_{a} \alpha_{z} \chi }}{{c_{33} }}\), \(\psi_{4} { = }\frac{{m_{22} }}{{a_{z}^{a} }} + \frac{{d_{a} \alpha_{z} \left( {1 - \chi } \right)}}{{c_{33} }}{ + }\frac{{a_{r}^{a} }}{{a_{z}^{a} }}\xi^{2}\), \(\psi_{5} = \left( {\frac{{m_{13} }}{{a_{z}^{w} }} + \frac{{{\text{i}}\omega a_{r}^{w} c_{r}^{w} }}{{a_{z}^{w} }} - \frac{{d_{w} c_{13} }}{{c_{33} }}} \right)\xi\),\(\psi_{6} = \left( {\frac{{m_{23} }}{{a_{z}^{a} }} + \frac{{i\omega a_{r}^{a} c_{r}^{a} }}{{a_{z}^{a} }} - \frac{{d_{a} c_{13} }}{{c_{33} }}} \right)\xi\); \(\vartheta { = }\left( {c_{33} \alpha_{h} - c_{13} \alpha_{z} } \right)/c_{33}\), \(\varsigma_{r} = \omega^{2} \left( {1 - n} \right)\rho_{s} + {\text i}\omega^{3} nS_{r} \rho_{w} a_{r}^{w} c_{r}^{w} + {\text i}\omega^{3} n\left( {1 - S_{r} } \right)\rho_{a} a_{r}^{a} c_{r}^{a}\), \(\varsigma_{z} = \omega^{2} \left( {1 - n} \right)\rho_{s} + {\text i}\omega^{3} nS_{r} \rho_{w} a_{z}^{w} c_{z}^{w} + {\text i}\omega^{3} n\left( {1 - S_{r} } \right)\rho_{a} a_{z}^{a} c_{z}^{a}\).

The EPIM [2, 47] is utilized herein to discretize and solve the integral equations in Eq. (19) along the depth direction. The specific solution required for the analysis can be found in reference [2]. This solution serves as the Green’s function, which describes the relationship between the source point and the field point. It is utilized as the kernel function in the boundary element method (BEM). By assembling these kernel functions in each pile, we can obtain compliance matrices \({\mathbf{D}}_{ij}^{u}\), \({\mathbf{D}}_{ij}^{w}\) and \({\mathbf{D}}_{ij}^{a}\) of pile i in Eq. (6). Finally, the solution for the dynamic response of the pile group can be determined using Eq. (13) (Table 1).

Table 1 Parameters of the pile and soil

3 Verification example

To verify the correctness of the present work, a comparison example is provided in this section. Wang et al. [39] analyzed the dynamic impedance of the pile group embedded in the saturated medium by the interaction factor method. A 3 × 3 pile group is established with the length–diameter ratio \(L/D = 20\), the pile spacing \(S\), the density ratio between the pile and the soil \(\rho_{p} /\rho_{s} = 1.2\) and the flexibility ratio \(E_{p} /E_{s} = 1000\). The soil parameters include: \(\nu = 0.4\), \(n = 0.4\), \(\rho_{f} /\rho_{s} = 0.8\), and the angular frequency of the external load is \(\omega^{*} = D\omega \sqrt {\rho_{s} /G_{s} } /2\). Wang et al. [39] defined the dimensionless real and imaginary impedance functions as \({\text{Re}} (K_{v}^{*} ) = k_{G} /\left( {nk_{S} } \right)\) and \({\text{Im}} (K_{v}^{*} ) = m_{G} /\left( {nk_{S} } \right)\), respectively, where \(k_{G} + {\text{i}}m_{G} = F/u_{G}\) with the external load F and settlement of the cap \(u_{G}\). Three pile spacing cases \(S/D = 2\), \(S/D = 5\) and \(S/D = 10\) are provided in the verification example. Figure 3 reveals that the dynamic impedance of this work is of great coincidence with that of Wang et al. [39], which confirms the correctness of the proposed model. The difference in the high-frequency domain may results from the excessive assumptions from the interaction factor methods in reference [39].

Fig. 3
figure 3

a Comparison example regarding the impedance function in the real part b Comparison example regarding the impedance function in the imaginary part

The above verification is a degenerated example. To further prove the reliability of the solution, a full verification is provided in the following. Ma et al. [25] utilized the potential function and operator decomposition methods to uncouple the governing equations of the unsaturated soil, further obtaining the vertical dynamic impedance of end-bearing pile groups in unsaturated soils by the interaction factor method. To simulate the end-bearing condition in the work [25], the thickness of the soil is set to approach the pile length, and a rigid base is considered in this case. Meanwhile, the relationship between shear modulus model and the saturation in the work of Ma et al. [25] is followed in this work. The normalized frequency is defined as \(a_{0} = \omega d/\sqrt {G_{v} /\rho_{s} }\). Two slenderness cases \(l_{p} = 20d\) and \(l_{p} = 40d\) are set in the verification. The groundwater level is set as \(h_{w} = l_{p}\) to simulate the model of an end-bearing pile group embedded in unsaturated soils. Figure 4 provides the verification results. It is found that the results given in the present work is of great coincidence with that in Ma et al. [25].

Fig. 4
figure 4

Verification of slenderness ratio of the pile on the dynamic impedance

4 Numerical examples

4.1 Groundwater level

The groundwater level is a critical depth to distinguish the unsaturated medium from the saturated medium in soils. Generally, the soil above the groundwater level is in unsaturated condition subjected to the influence of infiltration, evaporation, and capillary action [12]. This section set three cases: \(h_{w} = 0{\text{m, 5m, 10m}}\) to investigate the effect of the groundwater level on the impedance function of the pile group. \(h_{w} = 0{\text{m}}\) denotes the soil is saturated; \(h_{w} = 5{\text{m}}\) denotes the saturation degree of the soil in the range of 0-5 m is 0.8, and the rest of the soil are saturated; \(h_{w} = 10{\text{m}}\) denotes the saturation degree of the soil in the range of 0-5 m is 0.6, the saturation degree of the soil in the range of 5-10 m is 0.8 and the rest of the soil are saturated. Hopi silt is utilized to model the soil, and relevant parameters are provided in Table 2 according to the reference [8]. Meanwhile, to avoid the singularity and accelerate the convergence, a small damping term is added on the stiffness parameters of media, i.e., \(c_{ij} = c_{ij} \left( {1 + 0.1{\text{i}}} \right)\) so that the evaluation can be free from the branch points and poles of the integrands. A set of 3 × 3 pile group with the density \(\rho_{p} = 2500{\text{kg/m}}^{3}\), the elastic modulus \(E_{p} = 30{\text{GPa}}\), the pile spacing \(S/D = 4\) the slenderness \(l_{p} = 10{\text{m}}\) and the radius \(r_{p} = 0.5{\text{m}}\) is embedded in the soil. An external load with the angular frequency \(\omega^{*} = D\omega \sqrt {\rho_{s} /G_{v} } /2\) is applied on the rigid cap. The dynamic load capacity can be reflected by the dynamic impedance function in Eq. (20), i.e., the ratio of the load magnitude \(F\) and the displacement \(u_{c}\) of the rigid cap as follows

$$K_{z} = F/u_{c} = k_{z} + {\text{i}}c\omega^{*}$$
(20)

where \(K_{z}\) is the complex impedance function. \(k_{z}\) and \(c\omega^{*}\) are the real part and the imaginary part of the function, respectively. \(k_{z} /Nk_{z0}\) and \(c/Nk_{z0}\) are defined to normalize the stiffness and the damping of the pile group, where N is the number of piles in a pile group, and \(k_{z0}\) is the impedance function of the pile group embedded in the saturated soil subjected to a static load.

Table 2 Mechanical-hydraulic parameters for the Hopi silt

Figure 5a shows the variation of the stiffness of the pile group with the varying frequency \(\omega^{*}\) for different groundwater levels. It is found that the effect of the groundwater level on the stiffness of the group pile is not significant, and the stiffness remains at a low value when \(\omega^{*} < 0.5\). However, when \(\omega^{*} > 0.5\), the stiffness increases significantly with the decreasing groundwater level, but falls back slowly after reaching the peak at \(\omega^{*} { = }1.0\). This is due to the fact that as the groundwater level deepens, the unsaturated soil accounts for a higher proportion and the stiffness of the soil increases, thus increasing the overall stiffness of the soil–pile group system. Also, the frequency corresponding to the peak stiffness for case \(h_{w} = 0{\text{m}}\) is less than that for other cases. Figure 5b shows the variation of the damping of the pile group with the varying frequency for different groundwater levels. It is noted that the damping values are missing when \(\omega = 0\). The reason is that the investigated problem is transformed to a static problem. In such a case, the damping of the soil–pile system has no sense. In fact, the vertical displacement of the pile group \(u_{c}\) only contains the real part value, while the imaginary part value is extremely small for the static problem. The common method is to neglect the damping of the soil–pile group system when \(\omega = 0\), which can be found in lots of existing references [7, 13, 23, 27] regarding the dynamic analysis of the soil–pile group. Similar to the rule for the stiffness, the effect of the groundwater level on the damping is negligible when \(\omega^{*} < 0.4\). However, the damping decreases with the elevating groundwater level when \(\omega^{*} > 0.4\). It is noted that the damping for the case \(h_{w} = 10{\text{m}}\) decreases relatively slowly in the high-frequency range, which is 2.4 times that of the case \(h_{w} = 0{\text{m}}\) for \(\omega^{*} { = }1\). Therefore, the damping still accounts for a large proportion of the impedance function for the pile group embedded in soils with a deep groundwater level in a high-frequency range. In conclusion, the groundwater level remarkably changes the dynamic behavior of the pile group, especially for the high-frequency case.

Fig. 5
figure 5

The dimensionless impedance of the pile group with different groundwater levels

4.2 Air-entry value

The air-entry value is a commonly threshold in the soil–water retention curve (SWRC). When the matrix suction in an unsaturated soil exceeds the air-entry value, free water in the porous medium can be expelled and immiscible gases flow into pores. In this paper, the VG model is used to describe the SWCC of unsaturated soils and the parameter \(\phi\) in the VG model is the reciprocal of the air-entry value in the SWRC. For this reason, this section will focus on the effect of \(\phi\) on the dynamic response of pile group. Generally speaking, \(\phi\) of sandy soils usually falls within the range of 0.1 kPa−1 < \(\phi\) < 0.5 kPa−1, and \(\phi\) of silts usually falls within the range of 0.01 kPa−1 < \(\phi\) < 0.1 kPa−1 [21]. Four cases \(\phi { = }1{\text{MPa}}^{{{ - }1}} ,\;20{\text{MPa}}^{{{ - }1}} ,\;40{\text{MPa}}^{{{ - }1}} ,\;80{\text{MPa}}^{{{ - }1}}\) are provided in a reasonable range, the saturation degree of the soil is \(S_{r} = 0.8\) and the pile spacing is \(S/D = 3\), while the other parameters are similar to those in the above section.

Figure 6a demonstrates the stiffness variation of the pile group with increasing frequency for different air-entry values. It is found that the stiffness remains a stable value in the low-frequency domain \(\omega^{*} < 1\). Nevertheless, in terms of cases \(\phi { = }20{\text{MPa}}^{{{ - }1}} ,\;40{\text{MPa}}^{{{ - }1}} ,\;80{\text{MPa}}^{{{ - }1}}\), the three stiffness curves keep consistent, which all remarkably rise when \(\omega^{*} > 1\), reach the peak when \(\omega^{*} { = }1.2\), and incrementally drop as the frequency continuously increases. The rising stiffness curve for the case \(\phi { = }1{\text{MPa}}^{{{ - }1}}\) is relatively sluggish, which reaches the peak at the frequency \(\omega^{*} { = }1.6\), and the peak is significantly higher than that of other cases. The reason for that is due to the increasing external stiffness of soil–pile system induced by the increasing air-entry value. In conclusion, the pile group stiffness spectrum shifts to the right and is amplified overall for the case \(\phi { = }1{\text{MPa}}^{{{ - }1}}\). In terms of the damping of the pile group as shown in Fig. 6b, the curve of case \(\phi { = }1{\text{MPa}}^{{{ - }1}}\) is higher than those of other cases in the low-frequency domain (\(\omega^{*} < 0.8\)), gradually lower than other cases in the middle-frequency domain (\(0.8 < \omega^{*} < 1.2\)), and finally exceeds other cases in the high-frequency domain (\(1.2 < \omega^{*} < 2.0\)). Hence, pile groups embedded in unsaturated soils with high air-entry values generally perform better to alleviate the dynamic settlement subjected to the external load.

Fig. 6
figure 6

The dimensionless impedance of the pile group with different air-entry values

4.3 Flexibility ratio

The flexibility ratio \(E_{p} /E_{m}\) is an essential parameter to the soil–pile interaction, where \(E_{m} = \left( {E_{v} + 2E_{h} } \right)/3\) is the meaning modulus of the transversely isotropic soil. The fluctuating flexibility ratio availably varies the whole stiffness of the soil–pile system. To discuss the effect of the flexibility ratio, this section set four cases \(E_{{\text{p}}} /E_{m} = 100,\;\;300,\;\;500,\;\;1000\). The pile spacing is \(S/D = 3\), saturation degree of the unsaturated soil is \(S_{{\text{r}}} = 0.95\), and other parameters follow the assumption in the previous section.

Figure 7a illustrates the stiffness variation of the pile group with increasing frequency for different flexibility ratios \(E_{p} /E_{m}\). It is shown that the curves of \(E_{p} /E_{m} = 300,\;\;500,\;\;1000\) remain a stably downward trend, reaching the trough when \(\omega^{*} = 0.9\). Then, the stiffness curves sharply rise to the peak, and finally falls back as the frequency increases. Meanwhile, the peak and the trough stiffness of the three curves slightly climb when the flexibility ratio rises from \(E_{p} /E_{m} = 300\) to \(E_{p} /E_{m} = 1000\). Comparatively speaking, a clear trough cannot be found in the curve of the case \(E_{p} /E_{m} = 100\), and the peak value of the case \(E_{{\text{p}}} /E_{{\text{m}}} = 100\) is extremely lower than those of other cases. Figure 7b illustrates the damping variation of the pile group for different flexibility ratios \(E_{p} /E_{m}\). When the frequency \(\omega^{*}\) is lower than 0.8, damping of four cases remain consistent. Hence, the effect of the flexibility ratio on the damping is ignorable under a low-frequency load. With the increase in the frequency \(\omega^{*}\), the peak value appears at around \(\omega^{*} = 0.9\sim 1.2\), and the higher flexibility ratio \(E_{p} /E_{m}\), the higher peak damping of the curves.

Fig. 7
figure 7

The dimensionless impedance of the pile group with different flexibility ratios

Figure 8 provides the load distribution ratio \(P^{*}\) evolution of the pile group with the dimensionless frequency \(\omega^{*}\) for different flexibility ratios \(E_{{\text{p}}} /E_{{\text{m}}}\). In general, the effect of the flexibility ratio \(E_{{\text{p}}} /E_{{\text{m}}}\) on the load distribution ratio is not obvious, especially for the \(P^{*}\) of the edge corner, in which the flexibility ratio will not significantly change with the varying \(E_{p} /E_{m}\). It is found that the load distribution ratio \(P^{*}\) of the corner pile slightly rises with the increase in the flexibility ratio \(E_{p} /E_{m}\). The load distribution ratio \(P^{*}\) of the case \(E_{p} /E_{m} = 100\) accounts for 92% of that of the case \(E_{p} /E_{m} = 1000\) for the corner pile, and 160% for the center pile. Hence, it is concluded that the load is mainly borne by the corner pile and gradually transfers to the center pile with the increasing flexibility ratio \(E_{{\text{p}}} /E_{{\text{m}}}\) under a low-frequency load.

Fig. 8
figure 8

The effect of flexibility ratio on the load distribution ratio \(P^{*}\)

4.4 Pile spacing

Due to the complex interaction among the pile–soil–pile, pile groups show a remarkable pile group effect, and thus, the load distribution, settlement, and impedance function are significantly different from the linear superposition of multiple piles. In general, the pile group effect is affected by various factors, such as soil characteristics, the pile arrangement, and the slenderness, and the pile spacing is the most significant factor among them. American Petroleum Institute (API) [4] suggested that the pile group effect is ignorable when the pile space \(S/D > 8\). Four cases \(S/D = 2,\;\;3,\;\;4,\;\;6\) are provided to discuss the effect of the pile spacing on the dynamic response of the pile group. Other parameters of the soil–pile group system follow the parameter given in the previous section, and the saturation degree of the unsaturated soil is \(S_{r} = 0.8\).

Figure 9a demonstrates the effect of the pile spacing on the dimensionless stiffness frequency spectrum. It is found that the stiffness of the pile group maintains a downward trend with increasing frequency for the narrow pile spacing case (\(S/D = 2\) and \(S/D = 3\)). However, the curve of the case \(S/D = 3\) rebounds slightly at \(\omega^{*} = 0.9\). The stiffness curve of the pile group is relatively more complex for the case with larger pile spacings \(S/D = 4,\;6\), which slowly descends in the low-frequency domain, then rebounds quickly to the peak value, and finally falls with a slow speed. Meanwhile, the larger pile spacing, the lower frequency \(\omega^{*}\) corresponding to the peak stiffness. In the range of \(\omega^{*} = 0\sim 1\), the stiffnesses of the pile group with a large pile spacing \(S/D = 4,\;6\) are significantly higher than those with a narrow pile spacing \(S/D = 2,\;3\). The load imposed on the pile induces dynamic waves in the soil, and varying pile spacings cause variations in wave interference, leading to differences in the inherent frequency. As a result, pile groups with different pile spacings correspond to unique intrinsic frequencies. When the load frequency approaches the intrinsic frequency, the interaction becomes more pronounced, resulting in significant changes in stiffness. Figure 9b shows the variation of the damping of pile groups with respect to the dimensionless frequency \(\omega^{*}\) for different pile spacings. In comparison, the load frequency \(\omega^{*}\) corresponding to the peak damping is less than that corresponding to the peak stiffness. As the pile spacing increases from 4 to 6, the peak damping increases by 16%.

Fig. 9
figure 9

The dimensionless impedance of the pile group with different pile spacings

Figure 10 describes the load distribution ratio \(P^{*}\) of the corner pile, the edge pile and the center pile for different pile spacings. The load distribution ratio \(P^{*}\) of the edge pile basically remains the same with the increasing dimensionless frequency, and the fluctuation range of the \(P^{*}\) falls within 10%. It is found that the corner pile is the most vital bearing pile under the static loaded condition. When the pile spacing is less than 4 and the external load frequency is intensified, \(P^{*}\) of the center pile remarkably rises, while \(P^{*}\) of the corner pile conversely falls. Meanwhile, the load distribution curves of the case \(S/D = 2\sim 4\), respectively, correspond to different frequency thresholds, in which \(S/D = 2\) corresponds to \(\omega^{*} = 1.0\), \(S/D = 3\) corresponds to \(\omega^{*} = 0.65\), and \(S/D = 4\) corresponds to \(\omega^{*} = 0.5\). The threshold gradually decreases with the widening pile spacing. Moreover, it is noted that when the dimensionless load frequency \(\omega^{*}\) is less than the threshold, the corner pile is the main bearing pile, followed by the edge pile, and the central pile carries the least. Conversely, when the dimensionless load frequency \(\omega^{*}\) is larger than the threshold, the center pile is the main bearing pile, and the corner pile carries the least load. It is noteworthy that there are two frequency thresholds for the case \(S/D = 6\), and the load distributions \(P^{*}\) of the corner pile and the center pile shows a fluctuating trend with the varying load frequency.

Fig. 10
figure 10

The effect of pile spacing on the load distribution ratio \(P^{*}\)

5 Conclusion

In this study, we derive a solution for the dynamic interaction between a pile group and a layered transversely isotropic soil, taking into account the groundwater level. The coupling of finite element method (FEM) and boundary element method (BEM) is employed to formulate the pile–soil–pile interaction equation, while a precise integration solution serves as the kernel function in the BEM. By considering the balance condition from the rigid cap and the displacement coordination condition, we solve the dynamic impedance in the frequency domain. The validity of our results is confirmed through verification example, followed by the presentation of four numerical examples to examine the impact of groundwater level, air-entry value, flexibility ratio, and pile spacing on the impedance function of pile groups. From these analyses, we draw the following main conclusions:

  1. (1)

    The influence of the groundwater level on the impedance of the pile group is negligible in the low-frequency domain but becomes significant in the high-frequency domain. The falling groundwater level leads to a strengthening of the overall stiffness of the soil–pile group system, with a minor reduction in peak damping.

  2. (2)

    In the case of a low air-entry value for the unsaturated soil, the frequency spectrum curves for stiffness and damping exhibit a rightward shift. This means that the peak impedance for the low air-entry scenario occurs at a higher frequency compared to other cases

  3. (3)

    The influence of the flexibility ratio on the impedance function of the pile group is significant. When \(E_{p} /E_{m} > 300\), the law of the stiffness curve is basically the same, that is, as the dimensionless frequency increases, the stiffness gradually decreases to the trough at \(\omega^{*} = 0.9\), then rapidly rebounds to the peak, and finally returns to a stable value. In addition, the effect of flexibility ratio on the load distribution ratio is negligible.

  4. (4)

    The stiffness of the case with wide pile spacings \(S/D = 4,\;6\) is much higher than that of the case with narrow pile spacings \(S/D = 2,\;3\). Meanwhile, the wider the pile spacing, the lower frequency corresponding to the peak stiffness. In terms of the load distribution ratio, there is a threshold frequency for the frequency spectrum curves. When the load frequency is higher than the threshold, the center pile is the main bearing pile with the corner pile carrying the least, and a converse law can be found when lower than the threshold.