1. Introduction
Inhomogeneous materials, non-uniform cross-sections, variable elastic foundations, and non-uniformly distributed loads are commonplace in the static and dynamic analysis of structures, making the problems significantly more complex. In particular, in the last few decades, functionally graded materials (FGMs) and structures have been booming [
1], and the associated structural optimization methods are rapidly developing [
2]. By optimizing material gradient, geometrical shape, and size simultaneously, FGM structures can precisely meet different requirements on mechanical performance in different parts of the same structure [
3,
4,
5,
6,
7,
8]. With the development of additive manufacturing technology, more of such complex structures are being produced and used in engineering [
9,
10]. However, sophisticated material distributions and structure shapes, along with complicated foundations and loads, result in significant difficulties in the mechanical analysis of these structures.
Figure 1 shows a rare but possible case, where the beam is designed to be non-uniform and inhomogeneous in order to work better on a variable elastic foundation when subjected to a non-uniformly distributed load. Similar but simpler beams can be found in the literature [
7,
11,
12]. Numerous works have been separately dedicated to the mechanics of FGM beams [
13,
14], non-uniform beams [
15,
16], beams on variable elastic foundations [
17,
18], and beams subjected to non-uniformly distributed loads, but have rarely considered these factors simultaneously.
There are many works on axially functionally graded (AFG) beams with variable cross-sections, almost focusing on solving their natural frequencies and mode shapes using various analytical [
14,
19] or numerical methods [
12,
20,
21], with only a few exceptions that considered dynamic responses. Calim [
22] investigated the dynamic response of tapered AFG beams using a complementary functions method. Han [
23] provided an analytical solution of the steady-state dynamic responses of non-uniform AFG beams. Chen [
24] studied the vibration response of a double-FG porous beam system acted on by a moving load. However, these works did not involve foundations, and the cross-sections and loads are simple, not arbitrary. Moreover, works on the dynamics of non-uniform FGM beams on elastic foundations are rare, especially AFG beams. Li et al. [
25] proposed an analytical solution for the free vibration of non-uniform FGM beams resting on Pasternak elastic foundations, but the material properties vary along the thickness direction and the Pasternak elastic parameters are constants. Kumar [
26] studied the free vibration of an AFG beam on a uniform Pasternak foundation, where only clamped–clamped and simply-supported boundary conditions were considered. Ta et al. [
27] provided an analytical formulation for the eigen solutions of FGM beams with variable cross-sections supported by springs at both ends. Robinson and Adali [
28] investigated the buckling of non-uniform AFG beams on Winkler–Pasternak foundations, where foundation parameters are still constants. In general, the above studies consider, at most, two cases of inhomogeneity or non-uniformity, and there are only a few studies on forced vibration.
In addition, the spectral method [
29,
30,
31,
32,
33,
34] is used in beam section optimization and vibration analysis because of its rapid convergence and high accuracy. Fang et al. [
29,
30] studied the free vibration of rotating tapered beams made of axially functional graded materials by using the Chebyshev–Ritz method. Soltani et al. [
31] presented a new hybrid approach for stability and free vibration analyses of axially functionally graded non-uniform beams resting on a constant Winkler–Pasternak elastic foundation. Liu et al. [
32] studied the random vibration characteristics of functionally graded porous (FGP) curved beams with elastically restrained ends by using the Chebyshev spectral Method. Abdalla [
33] presented the pseudo-spectral method for the minimization of the volume of elastic straight beams undergoing plane deformation and subject to buckling loads. Wang et al. [
34] developed an improved weak-form quadrature element (IWQE) method based on Chebyshev interpolation and Gauss–Lobatto quadrature together.
A review of the literature shows that previous works partially, but not fully, considered the non-homogeneity and non-uniformity in materials, geometry, foundations, and loads. Analytical and numerical methods for specified material gradients, cross-sections, foundations, and boundary conditions gradually emerged [
35]. But a general and consistent numerical method that can tackle all these non-homogeneities and non-uniformities is still rare. To the authors’ knowledge, the dynamic response of non-uniform and axially functionally graded beams resting on the variable elastic foundations and subjected to non-uniformly distributed loads has also not been studied. From the standpoint of structural optimization, the more complex loads and foundations are, the more sophisticated material distributions and structural geometry after optimizations. Therefore, a general numerical method for the statics and dynamics of this kind of complex beam is essential for structural optimization.
Thus, the objective of this paper is to present a novel Chebyshev spectral method that can cope with inhomogeneities or non-uniformities of materials, geometries, foundations, and loads simultaneously, for the statics and dynamics of sophisticated beams. This method combines the characteristics of the finite element method (FEM), the spectral method, and the mesh-free method, independent of material gradients, laws of variation of cross-sections and foundations, and can handle all classical boundary conditions and arbitrarily distributed loads. Most importantly, it treats the four kinds of non-homogeneity and non-uniformity, i.e., materials, geometry, foundations, and loads, in a consistent manner.
2. Problem Description
Consider the beam shown in
Figure 1, which is made of a functionally graded material; it has an arbitrarily varying cross-section, rests on an inhomogeneous Winkler–Pasternak foundation, and is subjected to a non-uniformly distributed load. This means that all material, geometric, foundation, and load parameters vary with the coordinate
x, i.e.,
where
E is the Young’s modulus,
is the material density,
A is the area of the cross-section,
I is the moment of inertia of the cross-section.
and
are the Winkler–Pasternak elastic parameters of the foundation,
is a non-uniformly distributed load. Without loss of generality, all these functions are arbitrary. When some of them become constants, the problem reduces to a simpler classical problem, as shown in
Figure 2. This paper aims to provide a general numerical approach to solve the static and dynamic responses of all kinds of beams shown in
Figure 1 and
Figure 2, and to validate the convergence, accuracy, and efficiency.
4. Numerical Examples
To validate the proposed methods, a series of numerical experiments are carried out, involving both static and dynamic problems. Various types of FGMs, foundations, loads, and sections are considered, including
Case 1: Uniform beams on the homogeneous foundation;
Case 2: Stepped beams made of axially functionally graded materials;
Case 3: Non-uniform AFG beams resting on the variable foundation.
The results calculated by the proposed method are compared with analytical and numerical results found in the literature or obtained by FEM.
4.1. Uniform Beams on Homogeneous Foundations
First, consider the simplest case, a uniform Euler–Bernoulli beam made of homogeneous material resting on a homogeneous elastic foundation. The parameters of the rectangular beam include a length of 2 m, a width of 0.05 m, and a thickness of 0.05 m. The material density is ; Young’s modulus is . The static deflections under uniformly distributed loads, natural frequencies, and dynamic responses are all computed by the proposed method.
For static problems, define the dimensionless mid-span deflection and foundation parameters as follows:
where
q is the uniformly distributed load with unit
. The relative error is defined as
where
is the value of
calculated by the proposed method using
N Chebyshev polynomials, and
is the exact value of
in the literature [
41].
Figure 4 presents the convergence of the relative errors. Two kinds of boundary conditions, i.e., clamped–clamped (CC) and simply-supported (SS), and various values of foundation parameters are considered. It can be found that the relative errors converge rapidly as the number of Chebyshev polynomials increases. When 12 polynomials are used in one Chebyshev spectral element, the relative errors
in all cases are smaller than
, i.e.,
.
Table 1 tabulates the values of mid-span deflection when 16 polynomials are used. The closed-form solutions given by Doeva [
41] and the differential quadrature method (DQM) solution presented by Chen et al. [
42] are also given for comparison. All the results show that the solutions obtained by the proposed method agree well with the exact analytical solutions, superior to the DQM solutions. Moreover,
Table 2 presents the values of the maximum non-dimensional deflections for the other three kinds of boundary conditions, including simply-supported-clamped (SC), simply-supported-free (SF), and clamped-free (CF). The maximum difference between the present results and those in Ref. [
43] is a mere
. The above results demonstrate the accuracy and convergence of the proposed method.
For free vibration problems, define a non-dimensional frequency parameter
where
denotes the natural frequency (
). The convergence of the first three non-dimensional frequency parameters is shown in
Figure 5, where three kinds of boundary conditions are considered, including simply-supported (SS), clamped-simply-supported (CS), and clamped–clamped (CC), and one Chebyshev spectral element is used. It is seen from
Figure 5 that a rapid convergence is observed, the values stabilize in a very small range when more than eight polynomials are used. The values of non-dimensional frequency parameters are listed in
Table 3. The results in the literature [
44] and those obtained by the finite element method are also given for comparison. The finite element analysis is carried out via COMSOL Multiphysics 6.0 simulation software, using 100 Euler–Bernoulli beam elements. Excellent agreement between the results of the three methods is observed, demonstrating the validity of the proposed method.
The dynamic responses of the beam under two types of point loads at the center are also investigated.
where
,
is the first natural frequency of the beam. The two ends of the beam are clamped, and the parameters of the foundation are assumed to be
,
.
Figure 6 shows the trace of the displacements of the midpoint of the beam. The black lines and the red dashed lines are the results obtained by the Chebyshev spectral element method and the FEM, respectively. The former uses a Chebyshev spectral element of the 16-order, and the latter uses 100 finite elements. It can be seen that two sets of lines almost overlap, indicating excellent agreement. The accuracy of the proposed method is demonstrated.
4.2. AFG Stepped Beams
Consider a Euler–Bernoulli beam of a rectangular cross-section and three step changes in the cross-section, as shown in
Figure 7. The geometric characteristics of the beam are the same as those used in Ref. [
45], including
,
,
,
,
,
,
,
,
,
. The length of the beam,
, and the width and thickness of the first section are both 0.01 m. The beam is made of an axially functionally graded material consisting of two constituents, namely Zirconia ZrO
2 and aluminum Al. Their properties
,
, and
,
. The variations of the properties of the beam follow the below laws.
Four Chebyshev spectral elements are adopted for the dynamic analysis of this beam, as shown in
Figure 7. Each element employs eight Chebyshev polynomials. The dimensionless natural frequency is defined to be
Considering four types of boundary conditions, the calculated values of the first three modes are tabulated in
Table 4. Results in Ref. [
45], which were computed by the symbolic-numeric method of initial parameters, are also given for comparison. An excellent agreement between the two sets of results is observed.
Assume that the beam is cantilevered, and subjected to a non-uniformly distributed load described by
The dynamic response is investigated by the proposed method and the FEM, respectively. Displacement traces of four points, respectively, located at
,
,
, and
, are plotted in
Figure 8. As expected, the two sets of lines nearly are identical. It should be noted that only four Chebyshev spectral elements are used, each of them employing eight Chebyshev polynomials. But an equivalent precision, compared with 200 finite elements, is gained.
4.3. Non-Uniform AFG Beams on Variable Foundations
Finally, the most complex situation, as shown in
Figure 1, is considered, where the materials, cross-sections, foundations, and load are all non-uniform or inhomogeneous. The beam has a length of
, and its cross-section varies along the longitudinal direction.
where the width is
and the height is
, The material parameters also varies axially, following the laws
where
,
,
, and
. The varying foundation parameters can be given by:
where
.
A series of static problems are first investigated to assess the proposed method. Four kinds of distributed loads are taken into account, as follows.
where
. Define the dimensionless deflection
, and the relative error
Table 5 shows the dimensionless deflection of the beam under various boundary conditions and loads, calculated by the proposed Chebyshev spectral element method and the FEM. It can be observed that the two kinds of results agree very well, and the biggest relative error is merely
.
Figure 9 depicts the deflection of the beam under different boundary conditions and loads. The dashed lines representing the FEM results and the black lines representing the Chebyshev spectral element results are almost identical, with very small differences. The accuracy of the proposed method is validated again.
The dynamic characteristics of the beam are also investigated and shown in
Table 6. Two 12th-order Chebyshev spectral elements and 100 finite elements are employed, respectively. The largest relative error between the two sets of solutions is a mere 0.003%.
Finally, the dynamic responses of the non-uniform AFG beam under three types of distributed loads are studied. The loads are formulated as
where
,
. The displacement history of three points in 100 ms, respectively, at
,
, and
, is plotted in
Figure 10. The Chebyshev spectral element program developed by the Julia language uses two 12-order spectral elements and a velocity Verlet algorithm. Julia is a new open-source, high-level, dynamic programming language, designed to give users the speed of C/C++ while remaining as easy to use as Python, developed specifically for scientific computing [
46]. The finite element analysis carried out by COMSOL adopts a generalized alpha algorithm and uses 100 elements. In both two methods, the absolute and relative tolerances are set to
, and a fixed step of 0.01 ms is adopted. It can be found that their results agree with each other very well. The computation time of the proposed method is 450 ms, whereas the FEM takes 25 s when running on the same computer. This example shows that even when the materials, cross-sections, foundations, and loads are non-uniform, the proposed method still exhibits high accuracy and efficiency.
5. Conclusions
This paper presents an accurate and effective numerical method for the static and dynamic analysis of beams with inhomogeneous material, variable spring foundations, non-uniform cross-sections, and loads. Their variations in space are all discretized by Gauss–Lobatto sampling and then approximated by high-order Chebyshev expansions. The discrete governing equation of beam spectral elements is derived by using the Lagrange’s equation and Euler–Bernoulli beam theory. Projection matrices are introduced to assemble the Chebyshev spectral elements and handle boundary conditions and compatibility between elements. The numerical method is programmed in the Julia language and validated by a series of numerical experiments. Various material gradients, non-uniform cross-sections, variable foundations, distributed loads, and boundary conditions are considered. The convergence and accuracy of the proposed method have been validated by comparing its results with solutions found in the literature and obtained by the FEM. It has been demonstrated that the proposed method can tackle inhomogeneities and non-uniformities in materials, cross-sections, foundations, and loads very well. Even when all of them are present, high accuracy and efficiency can still be achieved.
In fact, the proposed method can handle AFG beams, beams with material gradients along the thickness direction, and is adaptable for various foundation types, including Winkler–Pasternak and viscoelastic foundations. Furthermore, it is suitable for both Euler-Bernoulli and Timoshenko beam models. Due to space limitations, these situations are not discussed in this article. The authors will demonstrate them in subsequent papers.