Skip to Content
MathematicsMathematics
  • Article
  • Open Access

24 November 2026

32 Pages

A Local Discontinuous Galerkin Formulation for Third-Order Pseudo-Parabolic Problems with Integral Constraints

,
,
and
1
Department of Mathematics, College of Science, Jouf University, Sakaka 72388, Saudi Arabia
2
School of Management, IILM University, Greater Noida 201306, Uttar Pradesh, India
3
Department of Mathematics, College of Science, Jazan University, Jazan 45142, Saudi Arabia
4
Institute for Applied and Computational Mathematics, RWTH Aachen University, 52062 Aachen, Germany

Abstract

A local discontinuous Galerkin (LDG) formulation is developed for one-dimensional third-order pseudo-parabolic equations with a homogeneous Neumann condition and a zero-integral constraint. The diffusion and mixed space–time terms share one auxiliary gradient, discretized with alternating fluxes and a Legendre modal basis; the constraint becomes a compatible right boundary flux, and sharing the discrete source integral between volume load and flux gives an exact discrete integral law. For compatible initial data and uniquely solvable stage systems, any Runge–Kutta method preserves the zero integral at every stage and step without mean correction; we use the L-stable SDIRK2 method. We prove a semidiscrete energy balance, modal stability for time-dependent coefficients ( a ≤ 0 , | a | and b nondecreasing), and an energy-norm estimate of order h p + 1 / 2 for Radau-projected initial data; an optimal L 2 estimate remains open. Three manufactured-solution benchmarks show approximately ( p + 1 ) -order spatial and second-order temporal convergence for the solution, integral residuals below 10 − 12 , and close agreement of discrete and exact energies. The gradient converges at order p + 1 in the interior, but the first element limits its rate to p + 1 / 2 for odd p. For an L 2 error of 10 − 8 , LDG with p = 4 needs 76–88 times fewer unknowns than a spline scheme, which is faster in wall time.

1. Introduction

Pseudo-parabolic equations, also called Sobolev-type equations, are evolution equations in which a mixed space–time derivative is added to a diffusion operator. This term acts as a viscous relaxation of the time derivative. It regularizes the problem and limits how fast high-frequency components of the solution can decay. Showalter and Ting laid the analytical foundations of this class [1]. Such equations arise in models of fluid seepage through fissured rocks [2], in two-temperature theories of heat conduction [3,4], in the propagation of long waves in nonlinear dispersive media [5], and in porous-media flow with dynamic capillary pressure [6]. The present work considers a one-dimensional linear pseudo-parabolic equation containing the mixed derivative u x x t , which has total differential order three.
In many applications, one classical boundary condition is unavailable and is replaced by a nonlocal condition. A typical example is an integral constraint that prescribes the total mass or mean of the solution over the domain. Integral specifications of this kind go back to Cannon’s work on the heat equation with prescribed energy [7], and efficient numerical techniques for parabolic problems with nonlocal specifications have been developed since [8]. For third-order pseudo-parabolic equations, Beshtokov studied nonlocal boundary value problems and built finite-difference schemes for them, including problems with variable and degenerating coefficients [9,10,11]. Sapagovas and co-workers proposed an alternating-direction implicit method for pseudo-parabolic equations with nonlocal boundary conditions [12]. Inverse problems for third-order pseudo-parabolic models, such as recovering an unknown potential term, have also been investigated [13].
Recent numerical work on the third-order problem with a Neumann condition and an integral constraint uses spline collocation in space and finite differences in time. Dhiman et al. applied a collocation technique and established stability by von Neumann analysis [14]. Meetei et al. used a uniform hyperbolic polynomial B-spline scheme with Crank–Nicolson time stepping (UHPB–CN) and reported second-order convergence in space and time [15]. Being second-order accurate and formulated on uniform meshes, these schemes gain accuracy only by refining both the mesh and the time step. Moreover, a von Neumann analysis alone does not establish stability of the full boundary-value discretization with its nonlocal constraint. The present work instead develops a discontinuous Galerkin formulation in which high spatial accuracy is attained by raising the polynomial degree p, which also admits nonuniform meshes and local variation of h and p, and in which the integral constraint is treated through a boundary flux. For this scheme, we prove a discrete integral law and an energy balance.
Finite element methods for Sobolev and pseudo-parabolic equations have a long history. Ewing analyzed time-stepping Galerkin methods for nonlinear Sobolev equations [16], and Arnold, Douglas and Thomée proved superconvergence of a finite element approximation for the one-dimensional Sobolev equation [17]. Cuesta and Pop developed and analyzed numerical schemes for a pseudo-parabolic Burgers equation with discontinuous data [18]. These works treat classical boundary conditions. For a nonlocal integral constraint, the combination with a high-order finite element or discontinuous Galerkin discretization remains largely unexplored.
Discontinuous Galerkin (DG) methods use piecewise polynomial spaces without inter-element continuity. They offer high-order accuracy, element-local mass matrices, local conservation, and easy variation of mesh size and polynomial degree [19,20]. For second-order operators, Bassi and Rebay introduced a mixed formulation with an auxiliary gradient variable for the compressible Navier–Stokes equations [21]. Arnold, Brezzi, Cockburn and Marini later placed this and related approaches, including interior penalty and lifting-based methods, in a unified framework for elliptic problems [22].
Among these approaches, the local discontinuous Galerkin (LDG) method of Cockburn and Shu [23] is especially well suited to equations with higher-order or mixed derivatives. It rewrites the problem as a first-order system by introducing auxiliary variables for the derivatives. These variables are recovered through elementwise relations involving local mass matrices and numerical traces, and can be eliminated to obtain a system for the primary solution coefficients. A priori error analysis of LDG for elliptic problems was carried out by Castillo et al. [24]. For suitable problems and numerical fluxes, LDG methods admit optimal-order error estimates and superconvergence results in one space dimension [25]. LDG has also been extended to KdV-type and other high-order time-dependent equations [26,27]. Stability and error estimates have been established for LDG discretizations combined with implicit–explicit time integration for advection–diffusion problems [28].
LDG methods have also been applied to Sobolev equations, which share the mixed-derivative structure of pseudo-parabolic equations. Gao, Qiu and Zhang proposed an LDG method with error estimates for a class of Sobolev equations [29], and Zhang and Gao later developed a fully discrete scheme for the convection-dominated case [30]. Zhao and Zhang introduced LDG methods with generalized alternating numerical fluxes for two-dimensional linear Sobolev equations [31], and Abbaszadeh and Dehghan developed an interior penalty DG technique for a generalized Sobolev equation [32]. All of these works assume periodic, compactly supported or Dirichlet data and do not treat a homogeneous Neumann condition combined with a zero-integral constraint. We therefore construct an LDG formulation that ties the nonlocal constraint explicitly to the numerical boundary fluxes and preserves this relation under implicit time integration.
Table 1 summarizes the closest existing approaches. The LDG and DG methods for Sobolev-type equations [29,30,31,32] treat periodic, compactly supported or Dirichlet data and contain no nonlocal constraint, whereas the spline and finite-difference methods [9,10,11,12,14,15] handle nonlocal conditions, typically at low order and, in the cases we are aware of, on uniform meshes.
Table 1. Closest existing approaches and the present work, compared by spatial discretization, time integration, boundary data or constraints, and available error analysis. UHPB: uniform hyperbolic polynomial B-spline; TVD RKs: explicit total-variation-diminishing Runge–Kutta method of order s; ADI: alternating direction implicit.
In this work, we introduce the auxiliary gradient q = u x and the combined flux z = γ q t + b ( t ) q (for b = b ( x , t ) , see Remark 6), where γ > 0 is the pseudo-parabolic parameter and b ( t ) is the diffusion coefficient. Both the diffusion and mixed space–time derivative terms are discretized using the same LDG gradient operator and complementary alternating numerical fluxes. An orthogonal Legendre modal basis [33] yields diagonal element mass matrices. Moreover, the integral of the discrete solution over each element depends only on its constant mode, allowing exact evaluation of the discrete integral. For compatible initial data, the zero-integral constraint is reformulated as an equivalent right-boundary condition on the combined flux. The numerical boundary flux uses the same discrete source integral as the constant-test-function component of the assembled volume load.
Elimination of the auxiliary variable produces a semidiscrete system with a symmetric positive definite matrix multiplying the time derivative. For small values of γ , the system can exhibit widely separated decay rates. We therefore use Alexander’s two-stage, second-order, L-stable, and stiffly accurate singly diagonally implicit Runge–Kutta method (SDIRK2) [34,35]. With a compatible initial discrete integral and nonsingular stage systems, consistent source and boundary-flux evaluation preserves the zero-integral constraint at each stage. This property follows from the spatial assembly together with the solvability of the stage systems, and holds for any Runge–Kutta method (Proposition 1). SDIRK2 is chosen for its L-stability, which controls the widely separated decay rates for small γ , and for its second-order accuracy with two stages; stiff accuracy is convenient, since the last stage is the completed solution, but it is not required.
Our construction builds on the LDG framework for Sobolev-type equations [29,30,31], from which we inherit auxiliary variables with alternating numerical fluxes (Table 1). It differs in four respects. (i) Variables: [29,30,31] use three auxiliary variables ( w = u t , p = w x , q = u x ; vector-valued in [31]), whereas we use a single auxiliary gradient q = u x and a combined flux z = γ q t + b ( t ) q for the diffusion and mixed-derivative terms. (ii) Boundary data: instead of periodic or compactly supported data [29,30,31] or Dirichlet data [32], we impose the Neumann condition and the zero-integral constraint through a right-boundary flux obtained from the differentiated constraint; the source quadrature shared by the volume load and this flux, with compatible initial data, yields the discrete integral law I h ′ = a ( t ) I h . (iii) Time integration: we use the implicit SDIRK2 scheme instead of explicit TVD Runge–Kutta schemes [29,30,31] or Crank–Nicolson [32]. (iv) Analysis: [29,30,31] prove optimal or quasi-optimal L 2 estimates for the solution and [32] prove error estimates for its schemes, whereas we prove an energy-norm estimate of order h p + 1 / 2 for ( u , q ) (Theorem 1); an optimal L 2 estimate for the constrained problem remains open. The LDG framework also underlies error estimates for other equations with higher-order terms [36].
The main contributions of this work are as follows:
  • An LDG formulation with alternating numerical fluxes, using a common auxiliary gradient to discretize the diffusion and mixed space–time derivative terms;
  • A compatible numerical boundary-flux treatment of the homogeneous left Neumann condition and the zero-integral constraint;
  • A derivation of the discrete integral evolution law I h ′ = a ( t ) I h from the spatial assembly, and a proof that any Runge–Kutta method with uniquely solvable stage systems preserves a zero integral at every stage and completed step, without mean correction;
  • A semidiscrete energy balance that mirrors the continuous balance, together with a modal stability analysis of the fully discrete scheme for time-dependent coefficients with a ≤ 0 and zero forcing, which is unconditional when | a | and b are nondecreasing (Proposition 2);
  • An a priori energy-norm error estimate of order h p + 1 / 2 for ( u , q ) (Theorem 1), together with an analysis of the first boundary element that explains the parity-dependent rates of the auxiliary gradient;
  • Numerical verification using manufactured solutions, including separate spatial and temporal convergence studies, auxiliary-gradient errors, discrete energy comparisons, and stagewise preservation of the integral constraint;
  • A quantitative comparison with the spline scheme UHPB–CN [15]: for an L 2 error of 10 − 8 , roughly 10 2 unknowns for p = 4 against roughly 10 4 , although UHPB–CN is faster in wall time (Section 4.5).
The remainder of the paper is organized as follows. Section 2 presents the model problem, the compatibility conditions, and the reformulation of the integral constraint as a boundary-flux condition. Section 3 develops the modal LDG discretization and SDIRK2 time integration, together with the energy balance, constraint-preservation results, modal stability analysis, the structure of the stage systems, and an a priori spatial error estimate. Section 4 reports numerical experiments on spatial and temporal accuracy, integral-constraint preservation, and discrete energy behavior, together with the computational setup and a comparison with the spline scheme UHPB–CN in terms of accuracy and computational cost. Section 5 summarizes the findings and outlines directions for further work.

2. Mathematical Formulation

2.1. Governing Equation

Let Ω = ( 0 , L ) , where L > 0 , denote the spatial domain, and let T > 0 be the final time. On the space–time domain Q T = Ω × ( 0 , T ] , we consider the linear pseudo-parabolic equation
u t − γ u x x t − b ( t ) u x x = a ( t ) u + f ( x , t ) , ( x , t ) ∈ Q T ,
where γ > 0 is the constant) pseudo-parabolic parameter, b ( t ) is the diffusion coefficient, a ( t ) is the reaction coefficient, and f ( x , t ) is a prescribed source term. Unless otherwise stated, the coefficient functions satisfy
a , b ∈ C 0 ( [ 0 , T ] ) , b ( t ) ≥ b min > 0 for all t ∈ [ 0 , T ] .
Here b depends on time only; the case b = b ( x , t ) is discussed in Remark 6. No sign restriction is imposed on a ( t ) in the formulation. Additional assumptions needed for stability are stated with the corresponding results.
The designation third-orderrefers to the total differential order of the mixed derivative u x x t . The highest purely spatial derivative in Equation (1) is of second order. Writing Id for the identity operator, the equation takes the operator form
Id − γ ∂ x x u t = b ( t ) ∂ x x u + a ( t ) u + f ( x , t ) .
Thus, a spatial elliptic differential expression acts on the time derivative. This structure motivates a consistent discretization of the spatial derivatives acting on both u and u t .
The identities below are derived for sufficiently regular solutions. One sufficient regularity class is u ∈ C 1 ( [ 0 , T ] ; H 2 ( Ω ) ) , with f ∈ C ( [ 0 , T ] ; L 2 ( Ω ) ) and Equation (1) understood in L 2 ( Ω ) . These assumptions justify the boundary traces, differentiation of the spatial integral, and integration by parts used below; the precise hypotheses are stated in Lemma 1. They are sufficient for the derivations and are not asserted to be minimal.

2.2. Initial and Nonlocal Boundary Conditions

Equation (1) is supplemented by the initial condition
u ( x , 0 ) = u 0 ( x ) , x ∈ [ 0 , L ] ,
the homogeneous Neumann condition at the left endpoint,
u x ( 0 , t ) = 0 , t ∈ [ 0 , T ] ,
and the nonlocal integral constraint
I ( t ) : = ∫ 0 L u ( x , t ) d x = 0 , t ∈ [ 0 , T ] .
The spatial mean is I ( t ) / L ; hence, Equation (6) prescribes a zero spatial mean. The numerical experiments use L = 1 .
The integral constraint supplies global information in place of a separately prescribed local boundary condition at x = L . The right boundary contribution must therefore be determined consistently from the governing equation and the integral constraint. In particular, Equation (6) does not imply u x ( L , t ) = 0 .
The initial data u 0 ∈ H 2 ( Ω ) must satisfy the compatibility conditions
∫ 0 L u 0 ( x ) d x = 0 , u 0 ′ ( 0 ) = 0 ,
which are Equations (6) and (5) at t = 0 . Additional compatibility conditions may be required if higher regularity at the space–time corners is imposed.

2.3. Integral Balance and Compatible Right Boundary Flux

Define the integrated source by
F ( t ) : = ∫ 0 L f ( x , t ) d x .
Integrating Equation (1) over Ω gives
I ′ ( t ) − γ u x t 0 L − b ( t ) u x 0 L = a ( t ) I ( t ) + F ( t ) ,
where [ v ] 0 L : = v ( L , t ) − v ( 0 , t ) .
Introduce the auxiliary gradient and combined flux
q : = u x , z : = γ q t + b ( t ) q .
Because b depends only on time, Equation (1) becomes u t − z x = a ( t ) u + f see Remark 6 for b = b ( x , t ) ). The integral balance can therefore also be written as
I ′ ( t ) = a ( t ) I ( t ) + F ( t ) + z ( L , t ) − z ( 0 , t ) .
Differentiating Equation (5) in time gives u x t ( 0 , t ) = 0 , and consequently z ( 0 , t ) = 0 . Since the integral constraint implies I ( t ) = I ′ ( t ) = 0 , Equation (11) reduces to
z ( L , t ) = γ u x t ( L , t ) + b ( t ) u x ( L , t ) = − F ( t ) .
This relation specifies the combined right boundary flux, rather than prescribing the right derivative trace independently.
To describe that trace, define
g ( t ) : = u x ( L , t ) .
Equation (12) yields
γ g ′ ( t ) + b ( t ) g ( t ) = − F ( t ) , g ( 0 ) = u 0 ′ ( L ) .
The integrating-factor formula gives
g ( t ) = e − B ( t ) u 0 ′ ( L ) − 1 γ ∫ 0 t e B ( s ) F ( s ) d s , B ( t ) : = 1 γ ∫ 0 t b ( s ) d s .
Thus, the right derivative trace depends on both the initial profile and the integrated source.
The equivalence between the integral constraint and the compatible right boundary flux is summarized below.
Lemma 1
(Equivalence of the integral constraint and boundary flux). Let γ > 0 , Ω = ( 0 , L ) , a , b ∈ C 0 ( [ 0 , T ] ) with b ≥ b min > 0 , f ∈ C 0 ( [ 0 , T ] ; L 2 ( Ω ) ) , and u 0 ∈ H 2 ( Ω ) with u 0 ′ ( 0 ) = 0 and ∫ 0 L u 0 d x = 0 . Let u ∈ C 1 ( [ 0 , T ] ; H 2 ( Ω ) ) satisfy Equation (1) in L 2 ( Ω ) for every t ∈ [ 0 , T ] , together with Equations (4) and (5). Then the integral constraint (6) holds if and only if the right boundary flux satisfies Equation (12).
Proof. 
In one space dimension H 2 ( Ω ) ⊂ C 1 ( Ω ¯ ) , so u x and u x t have well-defined traces at x = 0 , L , and u t ∈ C 0 ( [ 0 , T ] ; H 2 ( Ω ) ) gives ∫ 0 L u x x t d x = u x t ( L , t ) − u x t ( 0 , t ) . Moreover I ∈ C 1 ( [ 0 , T ] ) and F ∈ C 0 ( [ 0 , T ] ) , because f ∈ C 0 ( [ 0 , T ] ; L 2 ( Ω ) ) ⊂ C 0 ( [ 0 , T ] ; L 1 ( Ω ) ) . Hence Equation (11) holds for all t, and z ( 0 , t ) = 0 by Equation (5) and its time derivative.
(⇒) If I ≡ 0 , then I ′ ≡ 0 , and Equation (11) gives z ( L , t ) = − F ( t ) .
(⇐) If z ( L , t ) = − F ( t ) , Equation (11) reduces to
I ′ ( t ) = a ( t ) I ( t ) .
Since I ( 0 ) = 0 , we obtain I ( t ) = I ( 0 ) exp ∫ 0 t a ( s ) d s = 0 on [ 0 , T ] . □
This equivalence provides the continuous foundation for the constraint-preserving numerical boundary flux developed in Section 3.

4. Numerical Results and Discussion

We assess the LDG–SDIRK2 scheme using three manufactured solutions on Ω = ( 0 , 1 ) that satisfy the homogeneous left Neumann condition and the zero-integral constraint. Examples 1 and 2 have polynomial and trigonometric solutions, respectively, whereas Example 3 combines both components with a time-dependent, nonzero right boundary flux.

4.1. Computational Setup and Error Measures

For each exact solution u, the source and initial data are
f ( x , t ) = u t − γ u x x t − b ( t ) u x x − a ( t ) u ,
u 0 ( x ) = u ( x , 0 ) .
All computations use the alternating traces u ^ h = u h − , z ^ h = z h + at interior interfaces and the boundary fluxes
z ^ h ( 0 , t ) = 0 , z ^ h ( 1 , t ) = − F h ( t ) ,
with F h assembled by the same source quadrature as the volume load. The initial solution is the elementwise L 2 projection of u 0 , and no mean correction or extrapolation is applied. The number of primary unknowns is N dof = N ( p + 1 ) . The rate h p + 1 / 2 in Theorem 1 corresponds to Radau-projected initial data. For the L 2 projection used here, the estimate additionally contains C ( h p + 1 + γ h p ) . For fixed γ > 0 , the h p term is the lower-order contribution as h → 0 ; when γ also varies, its relative importance depends on the relation between h and γ .
For e h = u h − u , the errors are
E L 2 ( t ) = ∑ K ∈ T h ∫ K | e h | 2 d x 1 / 2 , E L ∞ ( t ) = max K ∈ T h sup x ∈ K ¯ | e h ( x , t ) | , E q , L 2 ( t ) = ∥ q h − u x ∥ L 2 ( Ω ) ,
where E L ∞ includes both one-sided interface traces. Convergence rates are computed from unrounded errors as
r h = log ( E N / E 2 N ) log 2 , r t = log ( E Δ t / E Δ t / 2 ) log 2 ,
where E N is the error on N elements and E Δ t the error with time step Δ t .
After confirming second-order temporal convergence, the temporal error in the spatial refinement studies is controlled by step doubling: the finer solution is accepted when
∥ u h Δ t / 2 ( T ) − u h Δ t ( T ) ∥ L r ( Ω ) 3 ≤ 0.1 E L r Δ t / 2 ( T ) , r = 2 , ∞ ,
and the same test is applied to the auxiliary-gradient L 2 -error. Spatial rates are interpreted only when this criterion holds. For Example 1, the quadratic solution is reproduced exactly for p ≥ 2 , so spatial rates are reported only for p = 1 . In Example 2 with γ = b = 1 , the spatial terms cancel for the exact solution; Example 3 provides a test without this cancellation.
Time steps. In the spatial refinement studies, Δ t starts at 0.01 and is halved until Equation (67) holds and the error ratio on halving lies in [ 3.5 , 4.5 ] ; the accepted values ( Δ t ≤ 2.5 × 10 − 3 ) are listed in the tables. In the fixed-step tables Δ t is given in the caption; for Example 1 the error is purely temporal, so Equation (67) is not meaningful and Δ t = 6.25 × 10 − 4 keeps the temporal error below 3 × 10 − 8 .
The constraint is monitored through the completed-step and stage integrals, evaluated from the constant Legendre modes,
I h n = ∑ j = 1 N h j U j , 0 n , I h n , i = ∑ j = 1 N h j ( Y i ) j , 0 ,
with maximum residuals
E mean = max n | I h n | , E stage = max n , i | I h n , i | .
With the exact right boundary flux z R ( t ) : = γ u x t ( 1 , t ) + b ( t ) u x ( 1 , t ) , data compatibility and the assembled flux balance are measured separately by
E compat = max n , i F h ( t n , i ) + z R ( t n , i ) , E balance = max n , i c T R ( t n , i ) = max n , i c T f h ( t n , i ) − F h ( t n , i ) .
For compatible data, E compat reflects the source quadrature error and roundoff in F h and z R , while E balance vanishes in exact arithmetic by Equation (41).
Implementation. Computations use Python 3.13 (NumPy 2.5, SciPy 1.18) on a single thread of a laptop with an 11th Gen Intel Core i3-1115G4 CPU (2 cores, 4 logical processors, 3.00 GHz base clock), 16 GiB RAM and Windows 11 Enterprise. On each element, a 12-point Gauss–Legendre rule is used for the source load, F h and the initial projection, and a 20-point rule for the L 2 -errors. We estimate the L ∞ -error by evaluating | e h | at 201 equispaced points per element, including both one-sided traces at each interior interface, and refining the maximum estimate with a local search. In every case, the maximum occurred at an element endpoint, and doubling or quadrupling the sampling density left its value unchanged. The block-tridiagonal stage matrices S i (Section 3.7) are factorized at every stage by a sparse LU (SuperLU), since a ( t ) and b ( t ) vary in time; the backward error of every solve is at most 1.4 × 10 − 16 . The estimated condition number ranges from about 8 × 10 1 to 1.4 × 10 6 and grows like h − 2 , with κ ( M − 1 S i ) ≲ 1 + ( γ + θ Δ t b ) C p / h min 2 , so it does not deteriorate as γ → 0 .
Solvability of the stages. By Lemma 2, the stage matrices are symmetric positive definite if θ Δ t a ( t n , i ) < 1 . In Examples 2 and 3, a ( t ) = − ( 1 + 2 t ) and a ( t ) = − 1 , so no restriction on Δ t applies; moreover b = 1 and | a | = 1 + 2 t in Example 2, and b = 1 + t and | a | = 1 in Example 3, so | a | and b are nondecreasing and Proposition 2 holds for every Δ t . In Example 1, a ( t ) = 1 + t with max [ 0 , 1 ] a = 2 , so the condition reads Δ t < 1 / ( 2 θ ) ≈ 1.707 , and this example lies outside the scope of Proposition 2. The largest time step used in any run is Δ t = 0.2 , giving θ Δ t max a = 0.117 ; for the convergence studies ( Δ t ≤ 0.05 ), θ Δ t max a ≤ 0.03 .

4.2. Example 1: Polynomial Manufactured Solution

On ( x , t ) ∈ [ 0 , 1 ] × [ 0 , 1 ] , consider the exact solution and initial data
u ( x , t ) = e t 1 3 − x 2 , u 0 ( x ) = 1 3 − x 2 .
For γ = 1 and a ( t ) = b ( t ) = 1 + t , Equation (63a) gives
f ( x , t ) = e t t x 2 − 1 3 + 4 + 2 t .
The solution satisfies u x ( 0 , t ) = 0 and ∫ 0 1 u d x = 0 . Since u x ( 1 , t ) = − 2 e t , the combined right boundary flux is
z R ( t ) = γ u x t ( 1 , t ) + b ( t ) u x ( 1 , t ) = − ( 4 + 2 t ) e t ,
and the integrated source is
F ( t ) = ∫ 0 1 f ( x , t ) d x = ( 4 + 2 t ) e t .
Hence, z R ( t ) + F ( t ) = 0 , consistent with Lemma 1, and the example tests the nonzero right boundary flux required by the integral constraint. For p ≥ 2 the quadratic solution and its gradient belong to the approximation space, so with exact initial projection and integration the scheme reproduces it in space, leaving temporal and roundoff errors. Spatial convergence is therefore assessed only for p = 1 .
Figure 1 shows that the LDG profiles follow the exact ones. The solution keeps its quadratic shape with amplitude growing like e t and changes sign at x = 1 / 3 , whereas q = − 2 x e t is linear and vanishes at x = 0 . Its nonzero value at x = 1 shows that the zero-integral constraint does not imply a homogeneous right Neumann condition.
Figure 1. Example 1 ( γ = 1 , a ( t ) = b ( t ) = 1 + t ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): exact (solid lines) and LDG (symbols) solution u (left) and auxiliary gradient q = u x (right) at t = 0 , 0.1 , 0.3 , 0.5 , 0.7 , 1 . The solution changes sign at x = 1 / 3 ; q ( 1 , t ) ≠ 0 , so the zero-integral constraint does not imply a homogeneous right Neumann condition.
Figure 2 shows both errors growing with time. The solution error has a minimum near x = 1 / 3 , where u vanishes, and the gradient error increases toward x = 1 ; this is consistent with a temporal amplitude error in a spatially reproduced polynomial. Table 2 confirms this at T = 1 : the solution errors lie between 1.55 × 10 − 10 (at x = 0.6 , near the zero crossing) and 8.90 × 10 − 9 , and the gradient errors between 3.77 × 10 − 13 (at x = 0 ) and 2.99 × 10 − 8 (at x = 1 ). These runs therefore assess temporal accuracy and polynomial reproduction, not spatial convergence.
Figure 2. Example 1 ( γ = 1 , a ( t ) = b ( t ) = 1 + t ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): absolute errors | u − u h | (left) and | q − q h | (right) at t = 0.1 , 0.5 , 1 . The solution error has a minimum near x = 1 / 3 , where u vanishes; the gradient error grows toward x = 1 .
Table 2. Example 1 ( γ = 1 , a = b = 1 + t ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): exact and LDG values of u and q = u x with absolute errors at selected points at T = 1 . Endpoint values use interior traces. Errors are computed from unrounded values.
Figure 3 shows the convergence results at T = 1 . For p = 1 , both errors follow the slope h 2 , so halving h reduces them by about a factor of four. For N = 32 and p = 3 , the errors follow the slope Δ t 2 , as expected for SDIRK2. For p = 2 , … , 5 the temporal L 2 -error curves nearly coincide, because the spatial polynomial is already represented for p ≥ 2 .
Figure 3. Example 1 ( γ = 1 , a ( t ) = b ( t ) = 1 + t ), T = 1 . Upper left: E L 2 and E L ∞ versus h = 1 / N for p = 1 . Upper right: temporal convergence in both norms for N = 32 , p = 3 . Lower: temporal E L 2 for N = 32 and p = 2 , … , 5 (the curves nearly coincide because u ∈ V h p for p ≥ 2 ). Dashed lines: reference slopes h 2 and Δ t 2 .
Figure 4 and Table 3 show constraint preservation for N = 16 , 32 , 64 . The stage integral residuals stay below 10 − 12 (the table gives E mean = E stage between 3.9 × 10 − 14 and 4.3 × 10 − 13 ), and the compatibility residuals are of order 10 − 15 ( 3.6 × 10 − 15 for all meshes); their small excess over the machine-precision line is consistent with accumulated floating-point and solver errors. The solution and gradient errors do not change under refinement, which is consistent with temporal-error dominance, so the small integral residuals demonstrate constraint preservation independently of the solution error, without mean correction (Section 3.8).
Figure 4. Example 1 ( p = 3 , Δ t = 6.25 × 10 − 4 ): integral-constraint preservation for N = 16 , 32 , 64 . Left: maximum of | I h n , i | over the SDIRK2 stages within each time block. Right: maximum of | F h + z R | within each time block. Dashed lines: machine precision. No mean correction is applied.
Table 3. Example 1 ( γ = 1 , a = b = 1 + t , p = 3 , Δ t = 6.25 × 10 − 4 ): errors at T = 1 and constraint residuals ( E mean , E stage from Equation (69); E compat , E balance from Equation (70)). Since u ∈ V h p for p ≥ 2 , the errors are purely temporal and identical for all meshes; they are not spatial rates. The residuals are at roundoff level; no mean correction is applied.

4.3. Example 2: Trigonometric Manufactured Solution

On ( x , t ) ∈ [ 0 , 1 ] × [ 0 , 1 ] , consider
u ( x , t ) = e − t cos ( 2 π x ) , u 0 ( x ) = cos ( 2 π x ) .
For b ( t ) = 1 and a ( t ) = − 1 − 2 t , Equation (63a) yields
f ( x , t ) = e − t 2 t + 4 π 2 ( 1 − γ ) cos ( 2 π x ) .
The solution satisfies u x ( 0 , t ) = u x ( 1 , t ) = 0 and has zero spatial integral, so z R ( t ) = F ( t ) = 0 , consistently with Lemma 1. Unlike Example 1, it is not representable in V h p for finite p, which allows spatial convergence studies. We consider γ = 1 and γ = 0.1 . For γ = 1 the mixed-derivative and diffusion terms cancel for the exact solution, giving f = 2 t e − t cos ( 2 π x ) .
In this case, the semidiscrete solution is explicit. Let U 0 be the coefficients of the initial projection, computed with the same quadrature as the load. Then K = − ( H + 2 t M ) , f h = 2 t e − t M U 0 and F h = 2 t e − t I h ( 0 ) = 0 to roundoff, so
H U ˙ = − ( H + 2 t M ) U + 2 t e − t M U 0 ,
which is solved exactly by U ( t ) = e − t U 0 ( H is symmetric positive definite). Hence ∥ u − u h ∥ ( t ) = e − t ∥ u 0 − P h u 0 ∥ and ∥ q − q h ∥ ( t ) = e − t ∥ u 0 ′ − D h P h u 0 ∥ : for γ = 1 the spatial error is that of the initial projection, and the evolution scheme contributes only the SDIRK2 time error. We use this case to verify the projection and the time integration, and assess the spatial accuracy of the evolution scheme with γ = 0.1 and with Example 3 (Section 4.4).
Figure 5 shows that the LDG profiles follow the exact ones, capturing the trigonometric shapes and their exponential decay. The solution is symmetric about x = 1 / 2 with zero crossings at x = 1 / 4 and x = 3 / 4 ; the gradient q = − 2 π e − t sin ( 2 π x ) is antisymmetric about the midpoint and vanishes at both endpoints.
Figure 5. Example 2 ( b = 1 , a ( t ) = − 1 − 2 t , γ = 0.1 ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): exact (solid lines) and LDG (symbols) u (left) and q = u x (right) at t = 0 , 0.1 , 0.3 , 0.5 , 0.7 , 1 . The solution is symmetric about x = 1 / 2 with zeros at x = 1 / 4 , 3 / 4 ; q vanishes at both endpoints.
Figure 6 shows that the gradient error exceeds the solution error, so q h must be assessed separately from u h . Table 4 gives pointwise results for γ = 0.1 : the solution errors lie between 4.08 × 10 − 9 and 1.89 × 10 − 7 , the interior gradient errors between 4.88 × 10 − 8 and 1.03 × 10 − 6 , and the largest gradient error, 1.45 × 10 − 4 , occurs at x = 0 . Although the exact gradient vanishes at both endpoints, the boundary conditions are imposed weakly through the flux, so the endpoint traces of q h need not vanish; the larger error at x = 0 is consistent with the first-element effect (Remark 4).
Figure 6. Example 2 ( γ = 0.1 , b = 1 , a ( t ) = − 1 − 2 t ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): absolute errors | u − u h | (left) and | q − q h | (right) at T = 1 . The gradient error exceeds the solution error and peaks at x = 0 (first-element effect, Remark 4).
Table 4. Example 2 ( γ = 0.1 , b = 1 , a = − 1 − 2 t ; N = 32 , p = 3 , Δ t = 6.25 × 10 − 4 ): exact and LDG values of u and q = u x with absolute errors at selected points at T = 1 . Endpoint values use interior traces.
Figure 7 shows constraint preservation for N = 16 , 32 , 64 . The completed-step residuals remain below 10 − 13 , and the stage residuals are of order 10 − 13 or smaller, with no sustained increase. The compatibility residuals stay below 7.5 × 10 − 17 , consistent with the vanishing exact source integral and right boundary flux. No mean correction is applied (Section 3.8).
Figure 7. Example 2 ( γ = 1 , p = 3 , Δ t = 1.5625 × 10 − 4 ): integral-constraint preservation for N = 16 , 32 , 64 . Upper left: maximum of | I h n | at completed steps. Upper right: maximum of | I h n , i | over stages. Lower: maximum of | F h + z R | (exactly zero values are omitted from the logarithmic plot). Each value is a maximum within a time block; dashed lines: machine precision.
Table 5 complements these histories for the cancellation case γ = 1 . As N doubles from 16 to 64, E L 2 and E L ∞ fall by a factor of about 16 (fourth order) and E q , L 2 by about 8 (third order), the approximation orders of P h u 0 and D h P h u 0 , as the identity above predicts. The integral residuals stay below 10 − 13 and the compatibility residual below 7.5 × 10 − 17 ; they measure algebraic preservation, limited by roundoff and solver errors, and need not decrease with h.
Table 5. Example 2 ( γ = 1 , p = 3 , Δ t = 1.5625 × 10 − 4 ): errors and constraint residuals at T = 1 (Equations (69) and (70)). For γ = 1 the spatial errors are those of P h u 0 and D h P h u 0 (Section 4.3). No mean correction is applied.
Table 6 reports the spatial refinement study for γ = 0.1 , where the cancellation is absent, so the errors are not fixed by the initial projection and the table assesses the spatial accuracy of the evolution scheme. Starting from Δ t = 0.01 , the time step is halved until Equation (67) holds; the accepted values range from 2.5 × 10 − 3 down to 1.95 × 10 − 5 ( p = 4 , N = 64 ). The finest-mesh L 2 rates of u h are 2.02 , 3.00 , 4.00 and 4.99 for p = 1 , … , 4 , i.e., order p + 1 . The auxiliary-gradient rates depend on the parity of p, as in Example 3. For odd p they approach p + 1 2 ( 1.50 for p = 1 , 3.50 for p = 3 ), consistently with the lower bound on the first element (Remark 4). For even p they exceed p + 1 (about 3.2 for p = 2 and 5.3 for p = 4 ), because the exact solution is even about x = 0 and the leading term of that bound vanishes. These even-p rates are observations for this solution and do not establish a general superconvergence result.
Table 6. Example 2 ( γ = 0.1 , b = 1 , a = − 1 − 2 t ): spatial convergence at T = 1 for p = 1 , … , 4 : E L 2 and E q , L 2 with rates r h (Equation (66)). Δ t (last column) is chosen by Equation (67) so that the estimated temporal error is at most 10 % of each error.

4.4. Example 3: Mixed Trigonometric–Polynomial Manufactured Solution

The final benchmark combines two trigonometric modes and a polynomial component with distinct temporal behaviors. On ( x , t ) ∈ [ 0 , 1 ] × [ 0 , 1 ] , consider
u ( x , t ) = e − t cos ( 2 π x ) + 1 4 e − 2 t cos ( 4 π x ) + 1 10 sin t x 2 − 1 3 , u 0 ( x ) = cos ( 2 π x ) + 1 4 cos ( 4 π x ) .
For γ = 0.1 , b ( t ) = 1 + t and a ( t ) = − 1 , Equation (63a) yields
f ( x , t ) = 4 π 2 [ b ( t ) − γ ] e − t cos ( 2 π x ) + 1 4 − 1 + 16 π 2 ( b ( t ) − 2 γ ) e − 2 t cos ( 4 π x ) + 1 10 ( cos t + sin t ) x 2 − 1 3 − γ 5 cos t − b ( t ) 5 sin t .
The solution satisfies u x ( 0 , t ) = 0 and ∫ 0 1 u d x = 0 . Its right derivative and combined boundary flux are
u x ( 1 , t ) = 1 5 sin t , z R ( t ) = γ u x t ( 1 , t ) + b ( t ) u x ( 1 , t ) = γ 5 cos t + b ( t ) 5 sin t ,
and the integrated source is
F ( t ) = ∫ 0 1 f ( x , t ) d x = − γ 5 cos t − b ( t ) 5 sin t .
Hence, z R ( t ) + F ( t ) = 0 , consistently with Lemma 1. This benchmark combines nonpolynomial spatial structure with a time-dependent, nonzero right boundary flux, and therefore tests spatial and temporal accuracy, auxiliary-gradient approximation and integral-constraint preservation beyond the polynomial reproduction and spatial-term cancellation cases of Examples 1 and 2.
Figure 8 shows that the LDG profiles follow the exact ones, capturing the shape produced by the two decaying trigonometric modes and the polynomial component. The endpoint values of u differ because of the term 1 10 sin t ( x 2 − 1 3 ) . The gradient satisfies q ( 0 , t ) = 0 and q ( 1 , t ) = 1 5 sin t ≠ 0 for t > 0 , so the evolving right boundary derivative is reproduced.
Figure 8. Example 3 ( γ = 0.1 , b ( t ) = 1 + t , a ( t ) = − 1 ; N = 32 , p = 3 , Δ t = 1.25 × 10 − 3 ): exact (solid lines) and LDG (symbols) u (left) and q = u x (right) at t = 0 , 0.1 , 0.3 , 0.5 , 0.7 , 1 . The right derivative q ( 1 , t ) = 1 5 sin t is nonzero for t > 0 .
Figure 9 shows that the gradient error is generally larger than the solution error, with a pronounced peak near the left boundary. Table 7 gives pointwise values: the solution errors lie between 7.31 × 10 − 9 and 1.49 × 10 − 7 , the interior gradient errors between 3.09 × 10 − 8 and 3.51 × 10 − 6 , and the largest gradient error, 3.56 × 10 − 4 , occurs at x = 0 . This nonzero endpoint error is compatible with the weak imposition of the boundary condition through the numerical flux; the trace q h ( 0 + , t ) is not constrained separately. At x = 1 , the computed gradient approximates the nonzero exact value q ( 1 , 1 ) = 1 5 sin 1 with an error of 2.74 × 10 − 6 .
Figure 9. Example 3 ( N = 32 , p = 3 , Δ t = 1.25 × 10 − 3 ): absolute errors | u − u h | (left) and | q − q h | (right) at T = 1 . The gradient error is larger than the solution error and peaks near the left boundary.
Table 7. Example 3 ( γ = 0.1 , b = 1 + t , a = − 1 ; N = 32 , p = 3 , Δ t = 1.25 × 10 − 3 ): exact and LDG values of u and q = u x with absolute errors at selected points at T = 1 . Endpoint values use interior traces.
Figure 10 and Table 8 show the spatial convergence at T = 1 . The solution L 2 -errors follow h p + 1 : the finest-mesh rates are approximately 2.04 , 3.00 , 4.01 and 5.00 , and the L ∞ -rates also approach p + 1 . Since the estimated temporal errors are below 10 % of the reported errors, these results are numerical evidence of optimal-order spatial convergence for the solution.
Figure 10. Example 3, T = 1 : E L 2 for u (left) and E q , L 2 for q (right) versus h = 1 / N for p = 1 , … , 4 , with Δ t chosen by Equation (67) (Table 8). Dashed lines: h p + 1 ; for q, they are for reference only, since the full-domain rates are p + 1 2 for odd p (Table 9).
Table 8. Example 3 ( γ = 0.1 , b = 1 + t , a = − 1 ): spatial convergence at T = 1 for p = 1 , … , 4 : E L 2 , E L ∞ , E q , L 2 and E q int (without the two boundary elements) with rates r h . Δ t is chosen by Equation (67) so that the estimated temporal error is at most 10 % of each error.
The full-domain gradient rates depend on the parity of p: they approach 1.5 and 3.5 for p = 1 , 3 and exceed p + 1 for p = 2 , 4 , whereas the interior error E q int approaches p + 1 for all tested degrees. Table 9 separates the contributions of the first element, the interior and the last element.
Table 9. Example 3: auxiliary-gradient L 2 -errors on the left element K 1 , in the interior (without the two boundary elements) and on the right element K N at T = 1 , with rates. The last column is dist ( q , P p − 1 ) K 1 divided by the measured K 1 error; it is at most 1 by definition and equals 1.0000 in every row.
Left boundary element. On K 1 both interface traces u ^ h come from K 1 , so q h | K 1 = ∂ x u h ∈ P p − 1 ( K 1 ) . Hence, for any u h , any γ and any initialization, ∥ q − q h ∥ K 1 ≥ dist ( q , P p − 1 ) ∝ h p + 1 / 2 | u ( p + 1 ) ( 0 , t ) | (Remark 4). In every row of Table 9, this bound reproduces the measured K 1 error to four digits, so q h | K 1 is, to that accuracy, the best P p − 1 approximation of q, and the localized error near the left boundary in Figure 9 is a property of the closure and not of the time integrator. The rates on K 1 are p + 1 2 for odd p ( 1.49 and 3.48 at N = 64 ) and p + 3 2 for even p ( 3.49 and 5.49 ), because u is even about x = 0 and u ( p + 1 ) ( 0 , t ) = 0 for even p. Without this symmetry, the leading boundary coefficient need not vanish for even p, so the same parity pattern is not expected in general.
Right element and interior. On K N and in the interior, q h agrees with the Gauss–Radau projection P + q of the exact gradient to within 0.45 % of the error on K N . The error on K N scales as h p + 3 / 2 , and one order faster where ∂ x p + 2 u ( 1 ) = 0 , which gives the alternating rates 3.5 , 3.5 , 5.5 , 5.5 for p = 1 , … , 4 . The interior errors approach rate p + 1 for all tested degrees. Together with the first-element bound, this shows that boundary-element errors reduce the full-domain gradient rate for odd p.
Initial gradient. The initialization q h ( 0 ) = D h P h u 0 can introduce an O ( h p ) gradient error. Equation (58) shows that the high-frequency modal decay rates approach b ( t ) / γ , rather than increasing without bound under mesh refinement. The corresponding damping factor is therefore approximately exp ( − ∫ 0 t b ( s ) / γ d s ) . In Example 3, ∫ 0 1 b ( t ) / γ d t = 15 , so strong damping of the initial high-frequency components is consistent with the rates observed in Table 8. In contrast, the cancellation case γ = 1 retains the initial-projection gradient rate of approximately p (Table 5). These observations explain the behavior on the tested meshes but do not establish the asymptotic gradient rate for arbitrary initialization.
The reduced full-domain rates for odd p are thus a consequence of the weak (flux-based) boundary closure. For periodic data, every interface trace is collocated by the Gauss–Radau projections and this term is absent [24,25]. Parity-dependent rates, including a half-order loss for odd degrees, have been reported for LDG with generalized alternating fluxes [31], and the dependence of superconvergence on the choice of fluxes is analyzed in [37]. The higher rates for even p are observations at T = 1 on uniform meshes for this solution and not a general superconvergence result.
Figure 11 shows that the completed-step and stage integral residuals stay below 10 − 13 with similar temporal patterns and no sustained drift. Table 10 gives the values for p = 3 : E mean = E stage lie between 9.6 × 10 − 15 and 3.8 × 10 − 14 , E compat between 5.8 × 10 − 15 and 7.2 × 10 − 15 , and E balance between 1.1 × 10 − 16 and 8.9 × 10 − 16 . All are at roundoff level, so the zero-integral constraint is preserved without mean correction for the time-dependent, nonzero right boundary flux, while mesh refinement reduces the L 2 -errors of u and q from 3.36 × 10 − 6 to 1.30 × 10 − 8 and from 2.59 × 10 − 4 to 2.13 × 10 − 6 .
Figure 11. Example 3 ( p = 3 , Δ t = 3.125 × 10 − 4 ): integral-constraint preservation for N = 16 , 32 , 64 . Upper left: maximum of | I h n | at completed steps. Upper right: maximum of | I h n , i | over stages. Lower: maximum of E compat and E balance . Each value is a maximum within a time block; dashed lines: machine precision.
Table 10. Example 3 ( p = 3 , Δ t = 3.125 × 10 − 4 ): L 2 -errors of u and q at T = 1 and constraint residuals E mean , E stage , E compat , E balance (Equations (69)–(70)). No mean correction is applied.
Table 11 shows that constraint preservation does not depend on the accuracy of the source quadrature (Remark 1). With the same m-point rule in the volume load and in F h , the discrete mean stays at roundoff level for every m, and only the accuracy deteriorates, for m = 2 and m = 1 (rates 3.00 and 1.99 instead of 4.00 ). If F h is assembled with a different rule, the mean drifts by the quadrature defect ( 2.7 × 10 − 5 for N = 16 , m = 1 ) with no change in E L 2 .
Table 11. Quadrature sensitivity, Example 3 ( p = 3 , Δ t = 3.125 × 10 − 4 ); m is the number of Gauss points per element. (a) The same m-point rule in the volume load and in F h : the mean is preserved for every m and only the accuracy depends on m ( E mean : maximum over N = 16 , 32 , 64 ; E L 2 and the rate: N = 64 and N = 32 → 64 ). (b) The load uses m points and F h uses 12: the mean drifts by the quadrature defect while E L 2 is unchanged. “Roundoff”: below 5 × 10 − 14 .
Table 12 compares the exact and discrete energies. Both decrease from approximately 1.4993 at t = 0 to 0.18136 at t = 1 , and the relative difference stays below 1.4 × 10 − 7 in absolute value; after the initial time it is negative, a slight underestimation. Since this example has a nonzero source and boundary flux, the observed decrease is specific to the prescribed data and is not a general energy-decay result for forced problems.
Table 12. Example 3 ( γ = 0.1 , b = 1 + t , a = − 1 ; N = 32 , p = 3 , Δ t = 1.25 × 10 − 3 ): exact energy E ( t ) and discrete energy E h ( t ) (Equations (43) and (44)) at selected times, and the signed relative difference ( E h − E ) / E .

4.5. Comparison with UHPB–CN and Computational Cost

The LDG scheme has N dof = N ( p + 1 ) unknowns and is solved as described in Section 4.1. Timings are medians of five single-threaded runs on the machine; they are meaningful to an order of magnitude only. As a benchmark we reimplemented the UHPB–CN scheme of [15] in the same environment, with an O ( M ) tridiagonal-plus-Schur stepper (its best case). On Example 1, it reproduces the published nodal errors of [15] to three digits (Table 13), except for the M = 800 entries, which differ by about 1 % and are sensitive to roundoff in the hyperbolic functions. This is a comparison with our reimplementation, not with the authors’ code.
Table 13. Example 1 at t = 1 : UHPB–CN (our reimplementation), the published UHPB–CN values of [15], and LDG with p = 2 ( N = 32 ). UHPB–CN errors are nodal discrete norms; LDG errors are the norms of Equation (65). (a) L 2 error with Δ t = Δ ξ ; (b) L ∞ error with Δ t = 0.0025 . The LDG error is purely temporal and independent of N.
In Table 13, the LDG error for p = 2 is purely temporal, because the quadratic solution is reproduced in space; it is independent of N and equals C Δ t 2 , so the comparison measures the time-stepping error at equal Δ t . LDG is more accurate than UHPB–CN for M ≤ 400 . At Δ t = 0.0025 it saturates at 1.42 × 10 − 7 , the SDIRK2 temporal error, and at M = 800 UHPB–CN is slightly more accurate.
Table 14 gives the smallest mesh meeting each L 2 target for Δ t = T / n steps , accepted by the step-doubling test (67). Relative to the fastest LDG degree, UHPB–CN is faster at every target: by 11– 25 × at 10 − 4 and 10 − 6 , and by 3.2 × (Example 2) and 6.3 × (Example 3) at 10 − 8 , where it reaches the target only at the roundoff limit. LDG with p ≥ 2 needs far fewer unknowns: at 10 − 8 , p = 4 uses 105 and 130 DOF against 9261 and 9833, about 76–88 times fewer. LDG with p = 1 is the slowest (107–121 s).
Table 14. Time to accuracy: DOF / wall time [s] to reach the L 2 target with Δ t = T / n steps ( n steps = 400 for 10 − 4 and 10 − 6 ; 3200 for 10 − 8 , except UHPB–CN on Example 3 with 1600). UHPB–CN: nodal discrete L 2 norm; LDG: continuous L 2 norm. † Roundoff-limited: the error criterion is met, but the order test fails at roundoff level.
Table 15 shows that UHPB–CN costs 0.13 – 0.60 ms per step, against 2.5 – 21.7 ms for LDG-SDIRK2. Between 39 % and 70 % of an SDIRK2 step is spent outside the factorizations and solves, mostly assembling the stage matrices in Python, so part of the gap reflects the implementation. Because the stiffness of the semidiscrete system is bounded by b / γ (Remark 2), explicit RK4 with a single factorization of H is stable for Δ t ≤ 2.785 γ / b (when b / γ ≥ | a | ; verified to within 7 × 10 − 4 for p = 1 , 3 , 4 and γ = 0.01 , 0.1 , 1 ) and costs 1.4 – 8.1 ms per step; SDIRK2 has no such restriction, which matters for small γ or large Δ t . A general sparse LU on the UHPB–CN arrow matrix is far slower (734 ms per step at 6401 DOF), because the dense Simpson row of [15] fills in the factors.
Table 15. Wall time per step [ms] on Example 3 ( Δ t = 0.005 , 200 steps, medians of five runs). DOF = M + 1 for UHPB–CN and N ( p + 1 ) for LDG.

5. Conclusions and Outlook

A modal LDG scheme has been developed for one-dimensional third-order pseudo-parabolic problems with a homogeneous left Neumann condition and a zero-integral constraint, imposed through a compatible right boundary flux. Consistent source quadrature yields the discrete law I h ′ = a ( t ) I h ; hence, with compatible initial data and uniquely solvable stage systems (Lemma 2), any Runge–Kutta method preserves the zero integral at every stage and step without mean correction (Proposition 1). We use SDIRK2 for its L-stability and second-order accuracy. The analysis also gives an energy-norm estimate of order h p + 1 / 2 for Radau-projected initial data (Theorem 1). The L 2 -projected initialization used in the experiments introduces an additional O ( h p + 1 + γ h p ) contribution. The estimate is uniform for 0 < γ ≤ γ max under uniform coefficient bounds and solution regularity.
Three manufactured-solution benchmarks show solution convergence of approximately order p + 1 in space and second order in time, integral residuals below 10 − 12 , and a discrete energy within 1.4 × 10 − 7 (relative) of the exact one. The gradient converges at order p + 1 in the interior, but the first element limits its full-domain rate to p + 1 2 for odd p (Remark 4); the higher rates for even p are specific to the even solutions tested. Against UHPB–CN, LDG with p = 4 needs 76–88 times fewer unknowns for an L 2 error of 10 − 8 , but UHPB–CN is faster in wall time by a factor of about 3 to 25 in our implementation (Section 4.5).
Open questions are an optimal-order L 2 estimate for u h in the constrained setting and a sharp analysis of the interior gradient error. Further developments include nonzero prescribed integrals, nonlinear models, and extensions to higher dimensions; spatially varying diffusion b ( x , t ) , which requires a stability analysis for non-commuting mass and diffusion matrices, and the non-conservative form, which requires a nonlocal correction of the right numerical flux (Remark 6); adaptive mesh and polynomial-degree refinement; and structured block solvers with optimized assembly to narrow the cost gap to spline schemes.

Author Contributions

Conceptualization, S.S.; Methodology, S.S.; Software, S.S.; Validation, S.S.; Formal Analysis, N.A.A. and A.H.M.; Investigation, N.A.A. and C.P.; Data Curation, C.P.; Writing—Original Draft, N.A.A., C.P. and S.S.; Writing—Review & Editing, A.H.M.; Visualization, C.P. and A.H.M. All authors have read and agreed to the published version of the manuscript.

Funding

There is no funding for this research work.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Showalter, R.E.; Ting, T.W. Pseudoparabolic partial differential equations. SIAM J. Math. Anal. 1970, 1, 1–26. [Google Scholar] [CrossRef] [Scilit]
  2. Barenblatt, G.I.; Zheltov, I.P.; Kochina, I.N. Basic concepts in the theory of seepage of homogeneous liquids in fissured rocks. J. Appl. Math. Mech. 1960, 24, 1286–1303. [Google Scholar] [CrossRef] [Scilit]
  3. Chen, P.J.; Gurtin, M.E. On a theory of heat conduction involving two temperatures. Z. Angew. Math. Phys. 1968, 19, 614–627. [Google Scholar] [CrossRef] [Scilit]
  4. Ting, T.W. A cooling process according to two-temperature theory of heat conduction. J. Math. Anal. Appl. 1974, 45, 23–31. [Google Scholar] [CrossRef] [Scilit]
  5. Benjamin, T.B.; Bona, J.L.; Mahony, J.J. Model equations for long waves in nonlinear dispersive systems. Philos. Trans. R. Soc. Lond. A 1972, 272, 47–78. [Google Scholar] [CrossRef] [Scilit]
  6. Hassanizadeh, S.M.; Gray, W.G. Thermodynamic basis of capillary pressure in porous media. Water Resour. Res. 1993, 29, 3389–3405. [Google Scholar] [CrossRef] [Scilit]
  7. Cannon, J.R. The solution of the heat equation subject to the specification of energy. Q. Appl. Math. 1963, 21, 155–160. [Google Scholar] [CrossRef] [Scilit]
  8. Dehghan, M. Efficient techniques for the second-order parabolic equation subject to nonlocal specifications. Appl. Numer. Math. 2005, 52, 39–62. [Google Scholar] [CrossRef] [Scilit]
  9. Beshtokov, M.K. Finite-difference method for a nonlocal boundary value problem for a third-order pseudoparabolic equation. Differ. Equ. 2013, 49, 1134–1141. [Google Scholar] [CrossRef] [Scilit]
  10. Beshtokov, M.H. On a nonlocal boundary value problem for a third-order pseudo-parabolic equation. Comput. Math. Model. 2016, 27, 60–79. [Google Scholar] [CrossRef] [Scilit]
  11. Beshtokov, M.K. Difference method for solving a nonlocal boundary value problem for a degenerating third-order pseudo-parabolic equation with variable coefficients. Comput. Math. Math. Phys. 2016, 56, 1763–1777. [Google Scholar] [CrossRef] [Scilit]
  12. Sapagovas, M.; Štikonas, A.; Štikonienė, O. ADI method for pseudoparabolic equation with nonlocal boundary conditions. Mathematics 2023, 11, 1303. [Google Scholar] [CrossRef] [Scilit]
  13. Huntul, M.J.; Dhiman, N.; Tamsir, M. Reconstructing an unknown potential term in the third-order pseudo-parabolic problem. Comput. Appl. Math. 2021, 40, 140. [Google Scholar] [CrossRef] [Scilit]
  14. Dhiman, N.; Tamsir, M.; Aldwoah, K.A.; Almalahi, M.A.; Adel, W. Numerical approximation of the 3rd order pseudo-parabolic equation using collocation technique. Bound. Value Probl. 2024, 2024, 154. [Google Scholar] [CrossRef] [Scilit]
  15. Meetei, M.Z.; Tamsir, M.; Singh, M.; Dhiman, N.; Khan, F.A. A new uniform hyperbolic polynomial B-spline computational scheme for 3rd-order pseudo-parabolic problem. Mathematics 2026, 14, 542. [Google Scholar] [CrossRef] [Scilit]
  16. Ewing, R.E. Time-stepping Galerkin methods for nonlinear Sobolev partial differential equations. SIAM J. Numer. Anal. 1978, 15, 1125–1150. [Google Scholar] [CrossRef] [Scilit]
  17. Arnold, D.N.; Douglas, J., Jr.; Thomée, V. Superconvergence of a finite element approximation to the solution of a Sobolev equation in a single space variable. Math. Comp. 1981, 36, 53–63. [Google Scholar] [CrossRef]
  18. Cuesta, C.M.; Pop, I.S. Numerical schemes for a pseudo-parabolic Burgers equation: Discontinuous data and long-time behaviour. J. Comput. Appl. Math. 2009, 224, 269–283. [Google Scholar] [CrossRef] [Scilit]
  19. Hesthaven, J.S.; Warburton, T. Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications; Springer: New York, NY, USA, 2008. [Google Scholar] [CrossRef] [Scilit]
  20. Cockburn, B.; Shu, C.-W. Runge–Kutta discontinuous Galerkin methods for convection-dominated problems. J. Sci. Comput. 2001, 16, 173–261. [Google Scholar] [CrossRef] [Scilit]
  21. Bassi, F.; Rebay, S. A high-order accurate discontinuous finite element method for the numerical solution of the compressible Navier–Stokes equations. J. Comput. Phys. 1997, 131, 267–279. [Google Scholar] [CrossRef] [Scilit]
  22. Arnold, D.N.; Brezzi, F.; Cockburn, B.; Marini, L.D. Unified analysis of discontinuous Galerkin methods for elliptic problems. SIAM J. Numer. Anal. 2002, 39, 1749–1779. [Google Scholar] [CrossRef] [Scilit]
  23. Cockburn, B.; Shu, C.-W. The local discontinuous Galerkin method for time-dependent convection–diffusion systems. SIAM J. Numer. Anal. 1998, 35, 2440–2463. [Google Scholar] [CrossRef] [Scilit]
  24. Castillo, P.; Cockburn, B.; Perugia, I.; Schötzau, D. An a priori error analysis of the local discontinuous Galerkin method for elliptic problems. SIAM J. Numer. Anal. 2000, 38, 1676–1706. [Google Scholar] [CrossRef] [Scilit]
  25. Cheng, Y.; Shu, C.-W. Superconvergence of discontinuous Galerkin and local discontinuous Galerkin schemes for linear hyperbolic and convection–diffusion equations in one space dimension. SIAM J. Numer. Anal. 2010, 47, 4044–4072. [Google Scholar] [CrossRef] [Scilit]
  26. Yan, J.; Shu, C.-W. A local discontinuous Galerkin method for KdV type equations. SIAM J. Numer. Anal. 2002, 40, 769–791. [Google Scholar] [CrossRef] [Scilit]
  27. Xu, Y.; Shu, C.-W. Local discontinuous Galerkin methods for high-order time-dependent partial differential equations. Commun. Comput. Phys. 2010, 7, 1–46. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, H.; Shu, C.-W.; Zhang, Q. Stability and error estimates of local discontinuous Galerkin methods with implicit–explicit time-marching for advection–diffusion problems. SIAM J. Numer. Anal. 2015, 53, 206–227. [Google Scholar] [CrossRef] [Scilit]
  29. Gao, F.; Qiu, J.; Zhang, Q. Local discontinuous Galerkin finite element method and error estimates for one class of Sobolev equation. J. Sci. Comput. 2009, 41, 436–460. [Google Scholar] [CrossRef] [Scilit]
  30. Zhang, Q.; Gao, F. A fully-discrete local discontinuous Galerkin method for convection-dominated Sobolev equation. J. Sci. Comput. 2012, 51, 107–134. [Google Scholar] [CrossRef] [Scilit]
  31. Zhao, D.; Zhang, Q. Local discontinuous Galerkin methods with generalized alternating numerical fluxes for two-dimensional linear Sobolev equation. J. Sci. Comput. 2019, 78, 1660–1690. [Google Scholar] [CrossRef] [Scilit]
  32. Abbaszadeh, M.; Dehghan, M. Interior penalty discontinuous Galerkin technique for solving generalized Sobolev equation. Appl. Numer. Math. 2020, 154, 172–186. [Google Scholar] [CrossRef] [Scilit]
  33. Karniadakis, G.E.; Sherwin, S.J. Spectral/Hp Element Methods for Computational Fluid Dynamics, 2nd ed.; Oxford University Press: Oxford, UK, 2007. [Google Scholar] [CrossRef] [Scilit]
  34. Alexander, R. Diagonally implicit Runge–Kutta methods for stiff O.D.E.’s. SIAM J. Numer. Anal. 1977, 14, 1006–1021. [Google Scholar] [CrossRef] [Scilit]
  35. Hairer, E.; Wanner, G. Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1996. [Google Scholar] [CrossRef] [Scilit]
  36. Xu, Y.; Shu, C.-W. Error estimates of the semi-discrete local discontinuous Galerkin method for nonlinear convection–diffusion and KdV equations. Comput. Methods Appl. Mech. Eng. 2007, 196, 3805–3822. [Google Scholar] [CrossRef] [Scilit]
  37. Xu, Y.; Shu, C.-W. Superconvergence of local discontinuous Galerkin methods for one-dimensional convection–diffusion equations. Comput. Struct. 2009, 87, 630–641. [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.