Skip to Content
  • Article
  • Open Access

25 September 2026

20 Pages

Numerical Integration of FGM Beam Vibration Equations Using a Discrete Variational Approach with Algebraic Constraints

and
School of Economics, Guangzhou College of Commerce, Guangzhou 511363, China
*
Author to whom correspondence should be addressed.

Abstract

This paper develops a constrained differential-quadrature/discrete-variational framework for vibration analysis of functionally graded beams. Spatial derivatives are discretized on a Chebyshev–Lobatto grid, while time integration is constructed from Lagrange interpolation and Gauss–Legendre quadrature. Boundary conditions are retained as algebraic constraints and enforced with Lagrange multipliers, leading to the semi-discrete operator K = k 1 I + k f 2 A ( 4 ) − k 2 A ( 2 ) . For the default two-node formulation, the DVM keeps position-level constraint residuals near machine precision and suppresses cumulative position- and velocity-level drift relative to the RK4 comparison, while acceleration-level residuals remain of comparable order. The DVM response remains bounded in simulations up to 10,000 s. An empirical time-step scan is stable through h = 0.30 and unstable at h = 0.35 for the tested problem. Temporal convergence against an exact-in-time solution of the same constrained semi-discrete system is essentially second order, and pairwise self-convergence gives the same result. Spatial refinement from 5 to 11 Chebyshev–Lobatto nodes reduces the L ∞ displacement error from 4.01 × 10 − 3 to 8.26 × 10 − 10 , consistent with spectral-type DQM convergence. Additional sensitivity studies confirm that the principal conclusions are robust to algebraic-solver initialization, stopping tolerance, and several boundary-condition choices within the tested parameter range.

1. Introduction

Functionally graded materials (FGMs) are composites whose constituent fractions and effective properties vary continuously in space. This continuous variation can reduce abrupt interfacial changes and make FGM beams useful benchmark structures in vibration analysis. Their transverse response contains a fourth-order spatial derivative together with second-order inertia, so numerical spatial and temporal discretizations are normally required.
A range of spatial methods has been used for beam vibration. Palmeri and Adhikari [1] employed a Galerkin-type state-space formulation for coupled beam systems, while radial-basis collocation has been used for smart beams [2]. Differential quadrature methods (DQMs) are attractive because high-order derivatives can be represented compactly by weighting matrices; recent developments are reviewed by Patil and Kadoli [3]. DQM-based formulations have also been reported for FGM beams and related graded or composite structures [4,5,6,7]. The work of Joshi and Jha [8] provides an additional example of numerical treatment of a time-dependent PDE with nontrivial constitutive effects.
When beam boundary conditions are retained after spatial discretization, the nodal equations can be written as a constrained second-order system. This viewpoint is closely related to differential-algebraic formulations used in constrained mechanics [9,10]. In the present work, the position-level boundary equations are imposed algebraically. Velocity- and acceleration-level quantities are evaluated as differentiated consistency residuals, with acceleration reconstructed from a saddle-point system that explicitly imposes the differentiated linear constraint.
Discrete variational ideas provide a systematic way to construct time-discrete equations from an approximation of the action and virtual work. Variational and geometric time discretizations have been studied for finite-dimensional mechanics and PDEs [11,12,13,14,15,16]. Yu [17] applied a discrete variational approach to functionally graded beam vibration. Here, the time trajectory at each step is represented by Lagrange interpolation and the time integrals are evaluated with Gauss–Legendre quadrature, while the boundary conditions remain algebraic constraints in the stage equations.
The present study makes the implemented formulation explicit and assesses its numerical behavior in detail. The spatial operator distinguishes the second- and fourth-derivative DQM matrices, A ( 2 ) and A ( 4 ) , and the time-discrete residual is written directly in terms of the interpolation and quadrature matrices used in the computation. In addition to the DVM-only sensitivity tests, a side-by-side RK4 comparison is included in the numerical section to illustrate differences in trajectory evolution and algebraic-constraint drift under the same spatial discretization and nominal time step.
The numerical study examines short-time displacement and phase trajectories, position-, velocity-, and acceleration-level constraint residuals, long-time responses up to 1000 s, a DVM-only simulation to 10,000 s, time-step sensitivity, initial-guess and tolerance sensitivity of the algebraic correction, alternative boundary conditions, interpolation/quadrature choices, an empirical stability domain, temporal convergence against an exact-in-time reference of the constrained semi-discrete system, pairwise temporal self-convergence, and a spatial refinement study of the Chebyshev DQM discretization. The tested higher-stage variants with n 1 ≥ 3 lose robustness under the present implementation, so the principal DVM conclusions are restricted to the default two-node scheme.
The remainder of the paper is organized as follows. Section 2 introduces the FGM beam model and the normalized constant-coefficient form used in the numerical implementation. Section 3 presents the DQM spatial discretization, algebraic constraints, Lagrange-interpolation/Gauss-quadrature time discretization, algebraic correction procedure, and residual definitions. Section 4 reports the DVM and RK4 response comparison, constraint-residual behavior, long-time tests, DVM sensitivity studies, empirical stability scan, temporal convergence verification, and spatial convergence study. Section 5 summarizes the conclusions and limitations.

2. Functionally Graded Beam Model

Consider an Euler–Bernoulli FGM beam of length L and thickness H. The Young’s modulus and density may vary through the thickness as
E ( z ) = E 1 + ( E 2 − E 1 ) 2 z + H 2 H m ,
ρ ( z ) = ρ 1 + ( ρ 2 − ρ 1 ) 2 z + H 2 H m , − H 2 ≤ z ≤ H 2 .
For a constant Poisson ratio ν , define
{ A , B , D } = ∫ − H / 2 H / 2 E ( z ) 1 − ν 2 { 1 , z , z 2 } d z , μ = ∫ − H / 2 H / 2 ρ ( z ) d z ,
and the effective bending rigidity
K b = D − B 2 A .
For the numerical benchmark studied below, the governing equation is written in the normalized constant-coefficient form
u t t + c u t + k 1 u + k f 2 u x x x x − k 2 u x x = F ( x , t ) .
Here k f 2 multiplies the fourth-order bending term, k 2 multiplies the second-derivative term, k 1 is the coefficient of the zero-order linear restoring term, and c is the normalized damping coefficient. This notation is used consistently in the implementation and in all numerical tables. For a physical FGM model, the normalized coefficients are obtained after the sectional properties and dimensional governing equation have been reduced to the form of Equation (5).
For a simply supported beam,
u ( 0 , t ) = u ( L , t ) = 0 , u x x ( 0 , t ) = u x x ( L , t ) = 0 .
Other boundary-condition sets are introduced in Section 4 by replacing the appropriate rows of the algebraic constraint matrix.

3. Discrete Variational Framework

This section follows the actual MATLAB R2024b implementation. The spatial differential operators are first assembled on a Chebyshev–Lobatto grid. The time trajectory on each interval is then represented by Lagrange interpolation, with Gauss–Legendre quadrature used in the discrete variational equations. The boundary conditions are enforced at the algebraic position level. The default calculation uses two interpolation nodes and two Gauss points.

3.1. Differential Quadrature Spatial Discretization

The n Chebyshev–Lobatto nodes are
x i = L 2 1 − cos ( i − 1 ) π n − 1 , i = 1 , … , n .
Let A ( r ) be the DQM matrix for the r-th derivative:
u ( r ) ( x , t ) x = x i ≈ ∑ j = 1 n A i j ( r ) q j ( t ) , r = 1 , 2 , 3 , 4 .
The code computes A ( 1 ) directly and obtains the higher-order matrices recursively. With q = [ q 1 , … , q n ] T , substitution of Equation (8) into Equation (5) gives
M q ¨ + C q ˙ + K q + A c T λ = F ( t ) ,
where the supplied program uses
M = I , C = c I , K = k 1 I + k f 2 A ( 4 ) − k 2 A ( 2 ) .
Equation (10) is the direct DQM discretization of the normalized strong-form equation. In particular, the bending term requires the fourth-derivative matrix A ( 4 ) , while the axial/geometric term uses A ( 2 ) .

3.2. Algebraic Boundary Constraints

For simply supported conditions, the constraint vector is
Φ ( q ) = A c q = 0 ,
with
A c = e 1 T e n T e 1 T A ( 2 ) e n T A ( 2 ) .
For clamped cases, mixed clamped and simply supported cases, and cantilever cases, the rows containing A ( 1 ) , A ( 2 ) , or A ( 3 ) are changed according to the physical boundary conditions.

3.3. Time Interpolation and Gauss–Legendre Quadrature

Let the normalized time coordinate on [ t i , t i + 1 ] be τ = ( t − t i ) / h ∈ [ 0 , 1 ] . For n 1 interpolation nodes τ a ,
q h ( i ) ( τ ) = ∑ a = 1 n 1 l a ( τ ) Q a ( i ) , q ˙ h ( i ) ( τ ) = 1 h ∑ a = 1 n 1 l a ′ ( τ ) Q a ( i ) .
The code uses either uniformly spaced nodes or Chebyshev–Lobatto nodes; both include τ = 0 and τ = 1 . Let ( ξ j , w j ) , j = 1 , … , n 2 , be Gauss–Legendre points and weights on [ − 1 , 1 ] , and define
τ ^ j = ξ j + 1 2 , A a j = l a ( τ ^ j ) , B a j = l a ′ ( τ ^ j ) .
The generalized force used in the implementation is evaluated at the current macro time node and held fixed while solving the stage equations:
g i = F ( t i ) − K q i − C v i .
For a stage index a, define the kinetic and generalized-force contributions
T a ( i ) = 1 2 ∑ j = 1 n 2 w j B a j M 1 h ∑ b = 1 n 1 B b j Q b ( i ) ,
G a ( i ) = h 2 ∑ j = 1 n 2 w j A a j g i .
The equation associated with the shared time node combines the kinetic contributions from the two neighboring intervals and the two endpoint force weights:
T 1 ( i ) + T n 1 ( i − 1 ) + G 1 ( i ) + G n 1 ( i ) − h A c T λ i = 0 .
For a = 2 , … , n 1 − 1 , the internal-stage equations are
T a ( i ) + G a ( i ) = 0 .
The endpoint constraint is
A c Q n 1 ( i ) = 0 .
Equations (18) and (20) are the equations implemented in the supplied code.
For the default choice n 1 = n 2 = 2 , τ 1 = 0 , τ 2 = 1 , and the formulation reduces to the three-level relation
M q i + 1 − 2 q i + q i − 1 h 2 + K q i + C v i + A c T λ i = F ( t i ) , A c q i + 1 = 0 .
Thus, in the present code, the term three-point formulation refers to the dependence on q i − 1 , q i , q i + 1 ; it is not a separate higher-order midpoint algorithm.

3.4. Initialization and Algebraic Correction

A consistent initial acceleration is obtained from
M A c T A c 0 a 0 λ 0 = F ( t 0 ) − K q 0 − C v 0 0 .
The first displacement is initialized by
q 1 = q 0 + h v 0 + 1 2 h 2 a 0 , v 1 = v 0 + h a 0 .
For each later interval, the first interpolation value is the already known current state,
Q 1 ( i ) = q i .
The unknown vector contains the remaining interpolation values and the multiplier:
z = ( Q 2 ( i ) ) T … ( Q n 1 ( i ) ) T λ i T T .
The implementation uses a damped Newton-type correction
z ( s + 1 ) = z ( s ) − Δ z ( s ) , J ( s ) Δ z ( s ) = R ( s ) ,
with row scaling, an SVD fallback for a poorly solved linear system, and a step-size limiter. Four predictor choices are tested: zero, previous-step value, linear extrapolation 2 q i − q i − 1 , and the first-order velocity predictor q i + h v i . The default choice is linear extrapolation.
For the present linear beam model, the constraints are linear and g i in Equation (15) is frozen during the stage solve. Consequently, the residual is affine in z and the untruncated Newton correction would solve the algebraic system in one step in exact arithmetic. Multiple corrections in the reported implementation arise from the step limiter and numerical conditioning; they should not be interpreted as evidence of quadratic convergence of a nonlinear problem.
The default stopping tolerance is
z ( s + 1 ) − z ( s ) 2 < 10 − 4 ,
with a maximum of 100 corrections per time step. The sensitivity study varies this value from 10 − 3 to 10 − 7 .

3.5. Velocity, Acceleration, and Constraint Residuals

The endpoint velocity is reconstructed from the interpolation polynomial:
v i + 1 = 1 h ∑ a = 1 n 1 l a ′ ( 1 ) Q a ( i ) .
The acceleration used for reporting is reconstructed from the constrained dynamic system:
M A c T A c 0 a i η i = F ( t i ) − K q i − C v i 0 .
Accordingly, the three reported quantities are
r q = max i ∥ A c q i ∥ ∞ , r v = max i ∥ A c v i ∥ ∞ , r a = max i ∥ A c a i ∥ ∞ .
The position constraint is imposed in the time-step solve. The velocity residual is a consistency diagnostic. The acceleration residual is obtained from Equation (29), which explicitly imposes A c a i = 0 ; it is therefore a check on the algebraic recovery and floating-point solution, not an independently emerging conservation law.

3.6. Empirical Stability Assessment

No unconditional-stability theorem is claimed for the implemented scheme. The supplied code evaluates stability empirically by scanning the time step and checking three conditions: finite solution values, a bounded displacement response, and a small position-constraint residual. A run is also required to complete without a failed algebraic correction. This empirical test is reported in Section 4. The Jacobian used for conditioning diagnostics must be the stage Jacobian assembled from Equations (18) and (20); a matrix obtained by artificially symmetrizing K is not the Jacobian solved by the present algorithm.

4. Numerical Results

The baseline numerical calculation uses
k 1 = 7.02 , k 2 = 0.367 , k f = 0.0035 , c = 0.1 ,
and
F ( x , t ) = F 0 cos ( ω t ) , F 0 = 15 , ω = 4 rad s − 1 , L = 1 .
The spatial discretization uses n = 7 Chebyshev–Lobatto nodes and M = I . Unless otherwise specified, the DVM time step is h = 0.1 , the time interpolation uses n 1 = 2 endpoint nodes, and n 2 = 2 Gauss–Legendre points. For comparison, the RK4 results are generated with the same spatial matrices, load, damping, initial conditions, and nominal time step as the DVM. The RK4 curve corresponds to the implementation used in the earlier numerical study. The supplied figure legend uses the label Legacy RK4 to distinguish this implementation from the present DVM. All reported constraint quantities are absolute maxima over the stated simulation interval.

4.1. Algorithm Flowchart

Figure 1 summarizes the DVM procedure. The DQM derivative matrices and algebraic boundary matrix are assembled once. Each time step then evaluates the generalized force, solves the stage equations together with the endpoint constraint, and reconstructs velocity and acceleration before the residuals are evaluated.
Figure 1. DQM and DVM solution procedure used in the numerical experiments.

4.2. Short-Time DVM and RK4 Response Comparison

Figure 2 compares the midpoint displacement over the first 20 s. Both implementations reproduce the same dominant oscillatory pattern and a similar slowly varying response envelope. The curves are close over many oscillations, but they are not identical: small phase and amplitude offsets accumulate with time.
Figure 2. Midpoint displacement over 0 to 20 s for the current DVM and the RK4 comparison implementation. The supplied figure legend identifies the comparison curve as Legacy RK4. The same nominal time step h = 0.1 is used.
The local view in Figure 3 makes these differences easier to see. Between 15 and 20 s, the two curves retain the same oscillation frequency range and overall amplitude scale, but the peak locations and peak amplitudes no longer coincide exactly. The difference is therefore primarily a cumulative phase/amplitude discrepancy rather than a loss of boundedness over this short interval.
Figure 3. Zoomed midpoint displacement over 15 to 20 s. The RK4 response shows visible phase and amplitude offsets relative to the DVM trajectory.
The midpoint phase portraits in Figure 4 show the same qualitative rotating structure, confirming that the two calculations represent the same forced-vibration regime. Nevertheless, the individual loops do not coincide, especially in the outer transient cycles. This visual difference is consistent with the phase/amplitude offsets observed in Figure 3.
Figure 4. Midpoint phase portrait for the DVM and RK4 comparison calculations over 20 s.
Figure 5 plots the absolute midpoint displacement difference between the two implementations. The difference reaches order one during parts of the interval and repeatedly decreases near trajectory crossings. This curve measures the difference between the two numerical methods and should not be interpreted as an error with respect to an exact solution. Accordingly, Figure 2, Figure 3, Figure 4 and Figure 5 are used to establish that the two time discretizations generate distinct trajectories, not to rank their absolute displacement accuracy.
Figure 5. Absolute midpoint displacement difference between DVM and the RK4 comparison implementation. The quantity is a difference between the two numerical methods rather than an exact-solution error.

4.3. DVM and RK4 Constraint Preservation

The strongest difference between the two implementations appears in the algebraic constraints. Figure 6 shows the position-, velocity-, and acceleration-level residuals over 20 s. The DVM position residual remains close to roundoff-level values throughout the interval, whereas the RK4 position residual exhibits clear cumulative growth and reaches a visibly higher level by t = 20 s. The velocity-level plot shows the same qualitative tendency: the DVM residual is generally lower, while the RK4 residual develops a gradual upward drift.
Figure 6. Constraint-residual comparison over 20 s. The DVM exhibits substantially smaller position-level drift and generally smaller velocity-level drift, while the acceleration-level residuals remain of comparable order.
The acceleration-level residual behaves differently. Both curves fluctuate over comparable orders of magnitude, with neither method uniformly smaller over the whole interval. Thus, the comparison supports a specific conclusion: the DVM provides a clear advantage in position-level constraint preservation and a general advantage at the velocity-consistency level for this test, but the acceleration residual should not be used to claim uniform superiority.
For reference, the DVM-only baseline values are listed in Table 1. These are the absolute maxima over the full 20 s interval.
Table 1. Baseline DVM result over 20 s with h = 0.1 .

4.4. Long-Time Response and Constraint Drift

The long-time displacement envelopes over 0 to 1000 s are shown in Figure 7. The upper and lower envelopes are evaluated over 10 s windows. Both calculations undergo a short initial transient and then settle to essentially constant bounded envelopes. The DVM retains a slightly larger steady envelope than the RK4 comparison implementation. The envelope plot is intended to show the long-time amplitude trend, while the pointwise late-time trajectories are examined separately in Figure 8.
Figure 7. Long-time midpoint displacement envelopes over 0 to 1000 s, evaluated using 10 s windows. Both calculations remain bounded after the initial transient, while the DVM maintains a slightly larger steady envelope.
Figure 8. Final 5 s of the 1000 s simulation. The two responses remain bounded but exhibit persistent phase and amplitude differences.
The last five seconds, enlarged in Figure 8, show that the DVM and RK4 solutions remain in the same bounded oscillatory regime at late time, but retain a persistent phase and amplitude offset. Therefore, long-time boundedness alone does not imply that the two trajectories are pointwise equivalent.
The 10 s windowed maximum constraint residuals in Figure 9 provide a more discriminating long-time comparison. For each window, the plotted quantity is the maximum infinity norm attained by the position, velocity, or acceleration constraint residual. The DVM position-level residual remains close to the numerical-error level over the complete 1000 s interval, whereas the RK4 position residual grows progressively. A similar separation is observed at the velocity level. By contrast, the acceleration-level residuals of the two implementations remain of comparable order. This supports the conclusion that the principal demonstrated benefit of the present DVM formulation is direct control of the algebraic position constraint and the associated suppression of cumulative velocity-level drift.
Figure 9. Windowed maximum constraint residuals over 0 to 1000 s using 10 s windows. The DVM maintains low position- and velocity-level residuals without cumulative drift, whereas the RK4 comparison exhibits progressive growth. The acceleration-level residuals of the two implementations remain of comparable order. The open circles in the acceleration-level panel mark selected Legacy RK4 window maxima and are included only to distinguish the nearly coincident curves; they do not represent an additional data series.
A separate DVM-only calculation was extended to 10,000 s. Figure 10 shows the upper and lower midpoint displacement envelopes evaluated over 20 s windows. After the initial transient, both envelopes remain nearly constant over the remainder of the simulation, with no visible long-time amplitude growth. Quantitative constraint preservation is assessed independently using Table 2.
Figure 10. DVM upper and lower midpoint displacement envelopes over 0 to 10,000 s, evaluated using 20 s windows. The envelopes remain nearly constant after the initial transient.
Table 2. Long-time DVM constraint residuals for h = 0.1 .
Table 2 confirms that the DVM position residual changes only from 2.27 × 10 − 13 at 20 s to 3.41 × 10 − 13 at 10,000 s. The velocity residual remains close to 4 × 10 − 12 , and the acceleration residual remains 2.69 × 10 − 12 at the reported precision. No systematic DVM constraint drift is therefore observed over the tested ultra-long interval.

4.5. Time-Step Sensitivity and Computational Cost

The 1000 s DVM runs in Table 3 show a clear stability boundary. The calculation with h = 0.5 is unstable, as indicated by the extremely large position residual and the average correction count approaching the maximum allowed value. In contrast, the tested values h = 0.2 , 0.1 , 0.05 , and 0.02 remain bounded and preserve the position constraint at approximately 10 − 13 . Within this stable range, reducing h primarily increases the number of steps and the CPU cost rather than improving the already small position residual.
Table 3. DVM time-step and CPU sensitivity over 1000 s.
The CPU times in Table 3 are implementation-specific and are used only to show the cost trend within the DVM implementation. No cross-method CPU ranking is inferred from these data.

4.6. Initial-Guess and Tolerance Sensitivity

Table 4 compares four predictors in a 200 s simulation. All four strategies converge with similar average correction counts. Linear extrapolation and the first-order velocity predictor require the smallest reported average and maximum numbers of corrections, while the zero predictor gives the largest maximum count.
Table 4. Sensitivity to the algebraic-solver initial guess for h = 0.1 over 200 s.
The tolerance study in Table 5 shows no change in the total correction count or in the reported constraint residuals when the stopping tolerance is varied from 10 − 3 to 10 − 7 . This is consistent with the affine character of the stage equations in the present linear problem together with the step-limited algebraic correction: the tested tolerances are not the limiting factor for the converged solution.
Table 5. Sensitivity to the stopping tolerance for h = 0.1 over 200 s.

4.7. Different Boundary Conditions

Four boundary-condition sets are tested: both ends simply supported (SS), both ends clamped (CC), one end clamped and the other simply supported (CS), and cantilever (CF). The constraint rows are constructed using the required first-, second-, or third-derivative DQM operators. Table 6 shows that the algebraic framework remains effective for all four cases, although the cantilever case gives the largest residuals.
Table 6. Constraint residuals for different boundary conditions over 200 s with h = 0.1 .
The cantilever residuals are roughly one to two orders of magnitude larger than in the other cases, but remain small in absolute terms for the tested configuration.

4.8. Interpolation and Quadrature Sensitivity

Table 7 examines the number of time-interpolation nodes n 1 , the number of Gauss points n 2 , and the time step. The two-node formulation is robust for n 2 = 2 , 3 , and 4, with position residuals remaining of order 10 − 13 . In contrast, the tested configurations with n 1 ≥ 3 develop very large velocity residuals and, in several cases, very large displacement residuals even when a smaller time step is used.
Table 7. Sensitivity to time-interpolation and Gauss-quadrature settings over 200 s.
These results do not support a general higher-order extension of the two-node scheme. Instead, they identify a limitation of the current higher-stage implementation. Consequently, all principal long-time and stability conclusions in this paper are based on the robust default n 1 = 2 formulation.
The interpolation-node test gives the same result for uniform and Chebyshev–Lobatto nodes when n 1 = 2 , as expected because both choices reduce to the two endpoints { 0 , 1 } . For n 1 = 4 , both tested node sets are poorly conditioned in the present implementation, with the Lobatto case producing the larger residuals (Table 8).
Table 8. Interpolation-node sensitivity over 200 s.

4.9. Empirical Time-Step Stability Domain

The time-step scan in Table 9 uses a 100 s simulation. A case is classified as stable when the solver completes without failed steps, the solution remains finite and bounded under the adopted threshold, and the position-constraint residual remains below 10 − 8 . The tested method is stable for 0.05 ≤ h ≤ 0.30 , whereas the next tested step size, h = 0.35 , is unstable. Larger unstable step sizes are omitted from the table because they do not provide additional information about the observed transition.
Table 9. Empirical DVM stability scan over 100 s.
This stability boundary is empirical and specific to the stated parameter set, grid, constraint formulation, and stability criterion; it is not presented as a general unconditional-stability theorem.

4.10. Temporal Convergence Verification

The temporal-order test keeps the spatial discretization fixed at seven Chebyshev–Lobatto nodes and uses the default two-node DVM. The coefficients are set to
k 1 = 0 , k 2 = 0 , c = 0 , F 0 = 0 ,
with
u ( x , 0 ) = sin π x L , u t ( x , 0 ) = 0 .
After projection onto the discrete constraint manifold, the initial position-constraint residual is 1.4207 × 10 − 14 . For the corresponding continuous beam equation,
u t t + k f 2 u x x x x = 0 ,
the first-mode angular frequency and frequency are
ω 1 = k f π L 2 = 3.45436154 × 10 − 2 rad / s , f 1 = ω 1 2 π = 5.49778714 × 10 − 3 Hz .
To avoid contamination from an ultra-fine DVM reference, the temporal error is evaluated against an exact-in-time solution of the same constrained semi-discrete linear system. Let Z contain an orthonormal basis of the null space of the linear constraint matrix,
A c Z = 0 , q = Z y .
Projection of the semi-discrete equations onto this null space gives
M r y ¨ + C r y ˙ + K r y = 0 ,
where
M r = Z T M Z , C r = Z T C Z , K r = Z T K Z .
Writing Equation (38) in first-order form gives
d d t y y ˙ = H y y ˙ , H = 0 I − M r − 1 K r − M r − 1 C r .
Because the reduced system is linear with constant coefficients, its endpoint values are propagated by the matrix exponential
y ( t + Δ t ) y ˙ ( t + Δ t ) = exp ( H Δ t ) y ( t ) y ˙ ( t ) .
This reference therefore has no DVM time-discretization error while retaining exactly the same DQM spatial matrices and algebraic constraint manifold.
The primary temporal error is
E ( h ) = max j , i q j h ( t i ) − q j ex ( t i ) ,
and the observed rate is
p i = log ( E i / E i + 1 ) log ( h i / h i + 1 ) .
As an independent check, nested solutions are also compared through
D h = ∥ q h − q h / 2 ∥ ∞ , p self = log ( D h / D h / 2 ) log 2 .
The exact-reference and pairwise self-convergence results are summarized in Table 10.
Table 10. Temporal convergence against the exact semi-discrete reference and pairwise self-convergence.
The exact-reference rate remains essentially equal to two over the complete sequence h = 0.2 to 0.0125 , with a mean value of 2.000005. The independent pairwise test gives a mean rate of 2.000063. Every tested run completes without a failed algebraic correction, and the position-constraint residual remains no larger than 1.1369 × 10 − 13 . These two independent measures provide strong numerical evidence of second-order temporal convergence for the default two-node DVM on the fixed seven-node spatial grid.

4.11. Spatial Convergence of the Chebyshev DQM Discretization

A separate refinement study is used to isolate the spatial discretization. The time step is fixed at h = 10 − 5 s, while the number of Chebyshev–Lobatto nodes is increased as follows:
n = 5 , 7 , 9 , 11 .
For this test, c = 0 and F 0 = 0 , while the normalized stiffness parameters retain the baseline values k 1 = 7.02 , k 2 = 0.367 , and k f = 0.0035 . With the same first-mode initial condition,
u ( x , 0 ) = sin π x L , u t ( x , 0 ) = 0 ,
the corresponding continuous solution has
ω 1 = k 1 + k 2 π L 2 + k f 2 π L 4 = 3.26241292 rad / s .
The comparison is made at t = 0.1 s. Because the Chebyshev grid is nonuniform, the spatial resolution is characterized by
Δ x max = max i ( x i + 1 − x i ) .
Each numerical solution is interpolated by barycentric Lagrange interpolation onto the same 801-point physical grid. The spatial errors are then evaluated as
E ∞ = max x | u h − u ex | , E 2 = 1 L ∫ 0 L ( u h − u ex ) 2 d x 1 / 2 ,
and the effective algebraic rate is calculated from
p i = log ( E i − 1 / E i ) log ( Δ x max , i − 1 / Δ x max , i ) .
The L ∞ error decreases from 4.01 × 10 − 3 for n = 5 to 8.26 × 10 − 10 for n = 11 , while the L 2 error decreases from 2.77 × 10 − 3 to 4.15 × 10 − 10 . The corresponding effective algebraic rates increase from approximately 14 to 25. These increasing values are not interpreted as a fixed formal order; rather, together with the nearly seven-order-of-magnitude error reduction over a small increase in node count, they are consistent with the spectral-type convergence expected from Chebyshev differential quadrature for a smooth solution.
The initial projection difference associated with the discrete boundary constraints decreases from 4.2592 × 10 − 3 at n = 5 to 6.8410 × 10 − 10 at n = 11 . Therefore, the reported spatial error characterizes the complete spatial discretization, including the approximation of the boundary constraints. The constraint residual remains between 2.84 × 10 − 14 and 6.82 × 10 − 13 throughout the refinement.
Finally, on the finest n = 11 grid, halving the time step from 10 − 5 to 5 × 10 − 6 changes the solution by only 7.2916 × 10 − 11 , which is 8.83% of the reported finest-grid spatial L ∞ error. The temporal contamination is therefore sufficiently small for this spatial convergence assessment.

5. Conclusions

A DQM and DVM framework has been presented for the constrained beam model, with the implementation written explicitly in terms of the second- and fourth-derivative DQM matrices, Lagrange time interpolation, Gauss–Legendre quadrature, and algebraic boundary constraints. The default formulation uses two interpolation nodes and two Gauss points.
The side-by-side response figures show that the current DVM and the RK4 comparison implementation reproduce the same overall forced-vibration regime but gradually develop phase and amplitude differences. The comparison is therefore most informative with respect to the constraint variables. Over 20 s, the DVM position residual remains close to roundoff level while the RK4 position residual grows progressively; the velocity-level comparison shows the same general trend. Acceleration residuals remain of comparable order and do not support a claim of uniform DVM superiority at every differentiated constraint level.
The long-time figures sharpen this distinction. Both displacement histories remain bounded to 1000 s, but the RK4 comparison position and velocity residuals exhibit cumulative drift, whereas the DVM maintains low residuals. In the DVM-only 10,000 s calculation, the midpoint response remains bounded and the position residual is 3.41 × 10 − 13 , compared with 2.27 × 10 − 13 at 20 s. The principal benefit demonstrated by the comparison is therefore long-time algebraic-constraint preservation rather than a claim that every DVM displacement value is more accurate than its RK4 counterpart.
The DVM sensitivity studies provide additional limits on this conclusion. The empirical 100 s stability scan is stable through h = 0.30 and unstable from h = 0.35 for the tested parameter set. Varying the algebraic-solver tolerance from 10 − 3 to 10 − 7 does not change the reported residuals. Temporal convergence against an exact-in-time solution of the same constrained semi-discrete system gives rates of 2.000126, 2.000034, 1.999955, and 1.999906, while the independent pairwise self-convergence rates are also essentially two. The spatial refinement reduces the L ∞ error from 4.01 × 10 − 3 at five Chebyshev–Lobatto nodes to 8.26 × 10 − 10 at eleven nodes, with increasing effective algebraic rates consistent with spectral-type Chebyshev DQM convergence. The tested higher-stage variants with n 1 ≥ 3 are not robust and are therefore excluded from the main performance claims.

Limitations and Future Work

The RK4 curve is retained from the earlier numerical implementation; therefore, the comparison should be interpreted as an implementation-level reference rather than as a universal assessment of all possible RK4 formulations. The temporal convergence test is performed at a fixed seven-node spatial resolution, while the spatial convergence study uses one smooth simply supported first-mode problem and the node sequence n = 5 , 7 , 9 , 11 . The increasing spatial rates in Table 11 are effective algebraic rates and should not be interpreted as a single fixed formal order. The empirical stability threshold is also specific to the stated problem. Future work will consider a canonical independent time integrator for the forced problem, broader spatial refinement tests for more general mode shapes and loading conditions, a more robust higher-stage variational formulation, and extensions to nonlinear and higher-order beam models.
Table 11. Spatial refinement of the Chebyshev DQM discretization at t = 0.1 s with h = 10 − 5 s.

Author Contributions

Conceptualization, X.X. and Y.W.; methodology, X.X.; software, X.X.; validation, X.X.; formal analysis, X.X.; investigation, X.X.; data curation, X.X.; writing—original draft preparation, X.X.; writing—review and editing, X.X. and Y.W.; visualization, X.X.; supervision, Y.W.; project administration, Y.W.; funding acquisition, Y.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Foshan Federation of Social Sciences through the project titled Construction of a Green Standard System for Key Industries in Foshan Amid Low Carbon Transition (Grant No. 2026-GJ230).

Data Availability Statement

The data reported in this study are contained in the article. Additional implementation details may be requested from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Palmeri, A.; Adhikari, S. A Galerkin-type state-space approach for transverse vibrations of slender double-beam systems with viscoelastic inner layer. J. Sound Vib. 2011, 330, 6372–6386. [Google Scholar] [CrossRef] [Scilit]
  2. Chuaqui, T.R.C.; Roque, C.M.C.; Ribeiro, P. Active vibration control of piezoelectric smart beams with radial basis function generated finite difference collocation method. J. Intell. Mater. Syst. Struct. 2018, 29, 2728–2743. [Google Scholar] [CrossRef] [Scilit]
  3. Patil, M.A.; Kadoli, R. State-of-the-art in different formulations of super convergent mesh-less differential quadrature method. Arch. Comput. Methods Eng. 2026, 33, 4021–4058. [Google Scholar] [CrossRef] [Scilit]
  4. Jin, C.; Wang, X. Quadrature element method for vibration analysis of functionally graded beams. Eng. Comput. 2017, 34, 1293–1313. [Google Scholar] [CrossRef] [Scilit]
  5. Bensaid, I.; Saimi, A. Dynamic investigation of functionally graded porous beams resting on viscoelastic foundation using generalised differential quadrature method. Aust. J. Mech. Eng. 2023, 21, 1440–1459. [Google Scholar] [CrossRef] [Scilit]
  6. Nasiri-Khouzani, H.; Salmani-Tehrani, M.; Farrokhian, A. Dynamic stability of smart sandwich nanotubes based on modified couple stress theory using differential quadrature method (DQM). Acta Mech. 2023, 234, 5147–5170. [Google Scholar] [CrossRef] [Scilit]
  7. Çetin, A.; Kurtaran, H. Free vibration of hemp fiber-reinforced laminated composite curved beams using generalized differential quadrature method. Polym. Compos. 2026, 47, 11300–11318. [Google Scholar] [CrossRef] [Scilit]
  8. Joshi, H.; Jha, B.K. Modeling the spatiotemporal intracellular calcium dynamics in nerve cell with strong memory effects. Int. J. Nonlinear Sci. Numer. Simul. 2023, 24, 2383–2403. [Google Scholar] [CrossRef] [Scilit]
  9. Wu, J.; Guo, X.; Zhang, D.; Zhang, Y.; Li, L.; Guo, K. A unified numerical solution framework for solving DAEs of multibody system dynamics with holonomic and nonholonomic constraints. Nonlinear Dyn. 2025, 113, 14887–14916. [Google Scholar] [CrossRef] [Scilit]
  10. Stewart, D.E. Rigid-body dynamics with friction and impact. SIAM Rev. 2000, 42, 3–39. [Google Scholar] [CrossRef] [Scilit]
  11. Marsden, J.E.; Patrick, G.W.; Shkoller, S. Multisymplectic geometry, variational integrators, and nonlinear PDEs. Commun. Math. Phys. 1998, 199, 351–395. [Google Scholar] [CrossRef] [Scilit]
  12. Hairer, E.; Lubich, C. The life-span of backward error analysis for numerical integrators. Numer. Math. 1997, 76, 441–462. [Google Scholar] [CrossRef] [Scilit]
  13. Tran, B.K.; Leok, M. Variational principles for Hamiltonian systems. Geom. Mech. 2025, 2, 59–105. [Google Scholar] [CrossRef] [Scilit]
  14. Kane, C.; Marsden, J.E.; Ortiz, M.; West, M. Variational integrators and the Newmark algorithm for conservative and dissipative mechanical systems. Int. J. Numer. Methods Eng. 2000, 49, 1295–1325. [Google Scholar] [CrossRef]
  15. Lee, T.; Leok, M.; McClamroch, N.H. Lie group variational integrators for the full body problem. Comput. Methods Appl. Mech. Eng. 2007, 196, 2907–2924. [Google Scholar] [CrossRef] [Scilit]
  16. Zhou, P.; Ren, H.; Fan, W.; Zhang, Z. A spacetime variational integration approach to the full discretization of flexible beams based on absolute nodal coordinate formulation. Nonlinear Dyn. 2025, 113, 1175–1190. [Google Scholar] [CrossRef] [Scilit]
  17. Yu, J. Discrete variational method for partial differential equations of functionally gradient beam vibration. J. Comput. Methods Sci. Eng. 2024, 24, 2957–2971. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.