Courant-Friedrichs-Lewy Condition for Analysis of Convergence and Stability of Explicit Forward Time Central Space Scheme for Three-Dimensional Wave Equation
Kafunda Tuesday1,2orcid, Muzundu Kelvin2orcid, Oreta Timothy3orcid, Muzyamba Sidney4orcid, Mukonda Danny5orcid, Bulaya Collins1orcid, Lucheta Chikubula6orcid, Emmanuel Malichi7orcid, Joseph Mukuka7, Christian Kamwengo8, Able Mukau9orcid, Davies Tembo10
1Department of Applied Sciences, Eden University, Lusaka, Zambia.
2Department of Mathematics and Statistics, University of Zambia, Lusaka, Zambia.
3Department of Physics, University of Zambia, Lusaka, Zambia.
4Department of Biomaterials and Technology, Copperbelt University, Kitwe, Zambia.
5Department of Mathematics and Statistics, Mulungushi University, Kabwe, Zambia.
6Department of Mathematics and Statistics, Kwame Nkrumah University, Kabwe, Zambia.
7Department of Mathematics and Natural Science, Rockview University, Lusaka, Zambia.
8Department of Literature and Languages, Rockview University, Lusaka, Zambia.
9Department of Physics, Mulungushi University, Kabwe, Zambia.
10Department of Physics, University of Lusaka, Lusaka, Zambia.
DOI: 10.4236/jamp.2026.143049   PDF    HTML   XML   70 Downloads   476 Views  

Abstract

The aim of this research is to examine Courant-Friedrichs-Lewy condition for the analysis of convergence and stability of explicit forward time central space scheme for a three-dimensional wave equation. The wave equation, which models physical phenomena such as sound and electromagnetic wave propagation, is discretized using finite difference methods in both time and space. A central difference scheme is implemented to approximate the second-order derivatives across spatial and temporal domains. The CFL condition is derived as a criterion to ensure numerical stability and is shown to depend on the wave speed and spatial grid resolution. The explicit update scheme is constructed and analyzed under uniform grid spacing. Through von Neumann stability analysis, the amplification factor is expressed using Fourier modes and Euler’s identity. The characteristic equation for the scheme is derived, and its roots are examined to determine the conditions for numerical stability. The CFL number λ= cΔt h is introduced and bounded to prevent error magnification. The analysis confirms that for stability, the time step must satisfy Δt h c 3 . Convergence is discussed in the context of satisfying both consistency and stability criteria. The initial and boundary conditions necessary for realistic modeling are incorporated. This work validates that adherence to the CFL condition is essential for reliable and accurate simulation of three-dimensional wave propagation using explicit finite difference methods.

Share and Cite:

Tuesday, K. , Kelvin, M. , Timothy, O. , Sidney, M. , Danny, M. , Collins, B. , Chikubula, L. , Malichi, E. , Mukuka, J. , Kamwengo, C. , Mukau, A. and Tembo, D. (2026) Courant-Friedrichs-Lewy Condition for Analysis of Convergence and Stability of Explicit Forward Time Central Space Scheme for Three-Dimensional Wave Equation. Journal of Applied Mathematics and Physics, 14, 1073-1092. doi: 10.4236/jamp.2026.143049.

1. Introduction

Accurate numerical solutions of partial differential equations are critical for simulating wave propagation. The explicit Forward-Time Central-Space (FTCS) method offers simplicity but requires careful stability and convergence analysis. The Courant-Friedrichs-Lewy (CFL) condition establishes the maximum time step relative to spatial discretization to ensure stability. In three-dimensional wave equations, the multi-directional propagation increases computational challenges, making CFL analysis essential. This study investigates the CFL condition for three-dimensional FTCS schemes, providing guidelines for stable and convergent simulations.

Traditional finite-difference methods (FDMs) find it hard approximating acoustic wave propagation when the CFL number goes beyond 0.707 in 2D or 0.577 in 3D for equally spaced grids. This limits how large the time step can be. To address this, researchers have developed a variable-length temporal and spatial operator approach that allows wave modeling beyond these limits without losing accuracy. The idea is to make the temporal operators slightly longer than the spatial operators in high-velocity areas, which helps maintain stability at larger time steps. At the same time, both operator lengths are adjusted according to local velocity to keep the results accurate. With this method, the CFL number can be pushed up to 1.25 in 2D and 1.0 in 3D for high-velocity contrast cases. Tests in both simple and complex media show that the method works well [1].

[2] analyzed the transient diffusion equation in one dimension with diffusion coefficients that vary in both space and time. These types of transport equations, which can be derived from the Fokker-Planck equation, are essential for understanding diffusion mechanisms in general, such as those occurring in carbon nanotubes. Using the classical self-similar Ansatz, the authors obtained new, nontrivial analytical solutions, which they then reproduced using 16 explicit numerical time-integration methods-11 of them recent and unconditionally stable. The findings showed that certain algorithms, such as the leapfrog-hopscotch method, proved highly efficient and, in some cases, outperformed the standard FTCS method.

[3] examined the stability of three-dimensional numerical evolutions of the Einstein equations, comparing the standard ADM formulation with variations of a conformal-traceless (CT) formulation that separates the conformal and traceless parts of the system. The authors developed a CT implementation with improved stability for evolving both weak and strong gravitational fields, in vacuum and in spacetimes coupled to matter sources. Their tests included weak and strong gravitational wave packets, black holes, boson stars, and neutron stars. They identified the conditions under which the CT approach produced better results than ADM in 3D simulations. Overall, their CT implementation yielded more stable long-term evolutions in all cases studied, although it was less accurate in the short term for the range of resolutions used.

[4]-[6] addressed the often-overlooked effect of tidal movement on the shoreline by incorporating the moving boundary into a shallow water model through a coordinate transformation and a Lax-Friedrichs time-explicit scheme. Applied to the Ameland inlet system, the model derived from the 3D Navier-Stokes equations produced realistic results, capturing both steady conditions at the seaward side and nonlinear effects near the landward side. Sensitivity tests across wave amplitude, water depth, basin length, and resistance confirmed the model’s stability and accuracy.

With advances in distributed computing, interest has grown in explicit time-integration methods that offer greater stability, avoiding the parallelization challenges of implicit schemes [7]. This work introduced a weighted difference scheme combining delayed and conventional explicit methods which achieved a higher stability limit of 1.5 and eliminated the checkerboard instability of the delayed approach.

This work is an extension of [8] who examined the time-space domain explicit FDM that numerically solves the wave equation by approximating its spatial and temporal derivatives but often faces stability issues. The results showed that the maximum stable CFL number depends on the peak value of the spatial FD dispersion relation. While conventional methods determine spatial FD coefficients by matching the dispersion relation within a specific wavenumber range, indicating that outside this range, the dispersion and the CFL number are uncontrolled. their work involed a 2D wave propagation but we have considered a 3D case for better generalization and also set conditions for stability and convergence for FTCS scheme as these are interconnected.

It is important to clarify the terminology used in this work. The classical Forward-Time Central-Space (FTCS) scheme refers to a first-order accurate Euler forward discretization in time combined with second-order central differences in space. However, the wave equation 2 u/ t 2 = c 2 2 u contains a second-order time derivative, which necessitates a different treatment.

2. Mathematical Formulation

The wave equation in three spatial dimensions models the propagation of waves in physical systems such as acoustics, electromagnetics, and elastic media. The classical 3D wave equation is given by

2 u t 2 = c 2 2 u, (1)

where u( ζ,t ) is the wave displacement, ζ=( x,y,z )Ω 3 is the spatial coordinate vector, t0 is time, and c is the constant wave speed [5] [9]. As discussed in [10]-[12], the Laplacian operator in three dimensions is

2 u= 2 u x 2 + 2 u y 2 + 2 u z 2 . (2)

2 u t 2 = c 2 ( 2 u x 2 + 2 u y 2 + 2 u z 2 ) (3)

For one dimensional wave equation describing vibrations on a string given by

2 u t 2 = c 2 2 u ξ 2 (4)

has a general solution consists of two traveling waves:

u( ξ,t )=f( ξct )+g( ξ+ct ) (5)

where:

f( ξct ) is a right-moving wave, g( ξ+ct ) is a left-moving wave, c is the wave propagation speed, f and g are the functions describing displacement and velocity of a wave respectively.

However, for a 3D wave function, the propagation is in all three spatial directions, therefore, the general solution is given by:

u( x,y,z,t )=f( k x x+ k y y+ k z zωt ), (6)

and

c= ω | k | ,where| k |= k x 2 + k y 2 + k z 2 . (7)

which defines the magnitude of the velocity at which the wavefronts move through space. where k x , k y , k z are spatial components of the wave vector k=( k x , k y , k z ) , which determine the direction of wave propagation in 3D space, ω is the angular frequency, which determines how fast the wave oscillates in time, k x x+ k y y+ k z zωt is the wave phase, which moves with constant speed.

2.1. Discretization Scheme

The numerical method employed in this study discretizes both temporal and spatial derivatives using second-order accurate central difference approximations. Unlike the classical Forward-Time Central-Space (FTCS) scheme—which uses a first-order forward Euler approximation for u/ t —the wave equation requires approximation of the second-order time derivative 2 u/ t 2 . This is accomplished by three-level central difference:

2 u t 2 | t n u n+1 2 u n + u n1 Δ t 2 ,

which is second-order accurate in time. This scheme is more precisely classified as a central-time central-space (CTCS) or leapfrog scheme. The update formula requires solution values from two previous time levels ( n and n1 ), making it a two-step explicit method. We discretize the cubic spatial domain Ω=[ a x , b x ]×[ a y , b y ]×[ a z , b z ] uniformly:

x i = a x +iΔx, y j = a y +jΔy, z k = a z +kΔz,

for integers

i=0,1,2,, N x ,

j=0,1,2,, N y ,

and

k=0,1,2,, N z ,

where

Δx= b x a x N x ,Δy= b y a y N y ,Δz= b z a z N z .

Time is discretized as

t n =nΔt,n=0,1,2,, N t

with time step Δt .

The numerical solution approximating u( x i , y j , z k , t n ) is denoted by u i,j,k n .

We define a uniform grid over the domain:

x i =iΔx, y j =jΔy, z k =kΔz, t n =nΔt,

and let u i,j,k n u( x i , y j , z k , t n ) . The following are the central differences in both time and space according to [9] [12]-[14]

2 u t 2 u i,j,k n+1 2 u i,j,k n + u i,j,k n1 Δ t 2 , (8)

2 u x 2 u i+1,j,k n 2 u i,j,k n + u i1,j,k n Δ x 2 , (9)

2 u y 2 u i,j+1,k n 2 u i,j,k n + u i,j1,k n Δ y 2 , (10)

2 u z 2 u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n Δ z 2 . (11)

Substituting these into Equation (3), the explicit finite difference updated scheme is:

u i,j,k n+1 2 u i,j,k n + u i,j,k n1 ( Δt ) 2 (12)

= c 2 ( u i+1,j,k n 2 u i,j,k n + u i1,j,k n ( Δx ) 2 + u i,j+1,k n 2 u i,j,k n + u i,j1,k n ( Δy ) 2 (13)

+ u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n ( Δz ) 2 ). (14)

u i,j,k n+1 =2 u i,j,k n u i,j,k n1 + c 2 Δ t 2 ( u i+1,j,k n 2 u i,j,k n + u i1,j,k n Δ x 2 + u i,j+1,k n 2 u i,j,k n + u i,j1,k n Δ y 2 + u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n Δ z 2 ). (15)

CFL condition for the stability of explicit finite difference schemes applied to the three-dimensional wave equation and uniform grid, the time step Δt must satisfy:

c 2 Δ t 2 ( 1 Δ x 2 + 1 Δ y 2 + 1 Δ z 2 )1, (16)

cΔt 1 1 Δ x 2 + 1 Δ y 2 + 1 Δ z 2

where c = wave propagation speed, Δt = time step size and Δx,Δy,Δz = spatial grid spacing in x,y,z respectively. Using a uniform grid spacing

Δx=Δy=Δz=h,

the CFL condition reduces to

Δt h 3 c .

Let the CFL number be:

λ= cΔt h

According to [15], the finite difference formula become:

2 u t 2 u i,j,k n+1 2 u i,j,k n + u i,j,k n1 h 2 , (17)

2 u x 2 u i+1,j,k n 2 u i,j,k n + u i1,j,k n h 2 , (18)

2 u y 2 u i,j+1,k n 2 u i,j,k n + u i,j1,k n h 2 , (19)

2 u z 2 u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n h 2 . (20)

Substituting in (13)

u i,j,k n+1 =2 u i,j,k n u i,j,k n1 + λ 2 ( u i+1,j,k n 2 u i,j,k n + u i1,j,k n + u i,j+1,k n 2 u i,j,k n + u i,j1,k n + u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n ). (21)

u i,j,k n+1 =2 u i,j,k n u i,j,k n1 + λ 2 ( u i+1,j,k n + u i1,j,k n + u i,j+1,k n + u i,j1,k n + u i,j,k+1 n + u i,j,k1 n 6 u i,j,k n ) (22)

To ensure stability, the CFL condition must be satisfied:

λ 1 3 orequivalentlyΔt h c 3

2.2. Boundary Conditions

{ u( 0,y,z,t )=u( L x ,y,z,t )=0, u( x,0,z,t )=u( x, L y ,z,t )=0, u( x,y,0,t )=u( x,y, L z ,t )=0, (23)

{ u x ( 0,y,z,t )= u x ( L x ,y,z,t )=0, u y ( x,0,z,t )= u y ( x, L y ,z,t )=0, u z ( x,y,0,t )= u z ( x,y, L z ,t )=0. (24)

Equations (23) and (24) impose both Dirichlet and Neumann conditions on identical boundaries. In the present work, this combination is employed to model a clamped boundary condition, as encountered in elastic membrane or plate problems where the boundary is rigidly fixed (zero displacement) and cannot rotate (zero slope). This scenario is physically realizable for fourth-order problems but is extended here to the second-order wave equation under the assumption of compatible initial data satisfying f=0 and f/ n =0 on Ω . The inclusion of both conditions also facilitates testing of the numerical scheme’s robustness under mixed boundary data.

3. Stability and Convergence Analysis

The paper now analyzes the stability of the explicit central-time central-space (leapfrog) scheme. It is worth emphasizing that the classical FTCS nomenclature can be misleading in this context. The scheme under investigation is a three-level method requiring two initial conditions ( u 0 and u 1 ), whereas the standard FTCS scheme for parabolic problems is a two-level method. The von Neumann stability analysis presented below accounts for the quadratic characteristic equation arising from the three-level time discretization, which yields two amplification modes a feature absent in one-step FTCS methods. Consider the three-dimensional wave Equation (22) in finite difference form. Applying the von Neumann stability analysis by assuming the error solution of the form:

u i,j,k n = G n e i( k x x i + k y y j + k z z k ) = G n e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (25)

Substituting the Fourier mode into each term:

u i,j,k n+1 = G n+1 e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (26)

u i,j,k n1 = G n1 e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (27)

u i+1,j,k n = G n e i[ k x ( a x +( i+1 )Δx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ] = G n e i k x Δx e i[ k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ] (28)

u i,j+1,k n = G n e i[ k x ( a x +iΔx )+ k y ( a y +( j+1 )Δy )+ k z ( a z +kΔz ) ] = G n e i k y Δy e i[ k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ] (29)

u i,j,k+1 n = G n e i[ k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +( k+1 )Δz ) ] = G n e i k z Δz e i[ k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ] (30)

u i1,j,k n = G n e i( k x ( a x +( i1 )Δx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (31)

= G n e i k x Δx e i( k x ( a x +i )Δx+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (32)

u i,j1,k n = G n e i( k x ( a x +iΔx )+ k y ( a y +( j+1 )Δy )+ k z ( a z +kΔz ) ) (33)

= G n e i k y Δy e i( ( k x ( a x +i )Δx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (34)

u i,j,k1 n = G n e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +( k+1 )Δz ) ) (35)

= G n e i k z Δz e i( ( k x ( a x +i )Δx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) (36)

where i 2 =1 , G is the amplification factor and k x , k y , k z are wave numbers in each spatial direction.

Substituting into the scheme (21) leads to the relation

G n+1 e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) =2 G n e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) G n1 e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + λ 2 ( G n e i k x Δx e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + G n e i k x Δx e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + G n e i k y Δy e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + G n e i k y Δy e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + G n e i k z Δz e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) + G n e i k z Δz e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) 6 G n e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) ) ) (37)

Factor out the common term

e i( k x ( a x +iΔx )+ k y ( a y +jΔy )+ k z ( a z +kΔz ) )

from both sides of Equation (37) to get

G n+1 =2 G n G n1 + λ 2 G n ( e i k x Δx + e i k x Δx + e i k y Δy + e i k y Δy + e i k z Δz + e i k z Δz 6 ) (38)

Applying the Euler’s identity

e iϕ + e iϕ =2cos( ϕ ),

Equation (38) becomes

G n+1 =2 G n G n1 +2 λ 2 G n ( cos( k x Δx )+cos( k y Δy )+cos( k z Δz )3 ) (39)

Using a uniform grid spacing

Δx=Δy=Δz=h

Equation (39) becomes

G n+1 =2 G n G n1 +2 λ 2 G n ( cos( k x h )+cos( k y h )+cos( k z h )3 ) (40)

Suppose a parameter

μ=2 λ 2 ( cos( k x h )+cos( k y h )+cos( k z h )3 ) (41)

Then Equation (40) becomes

G n+1 =( 2+μ ) G n G n1

Assume a solution of the form G n = ξ n . Substituting gives:

ξ n+1 =( 2+μ ) ξ n ξ n1 ξ 2 ( 2+μ )ξ+1=0

This characteristic equation has solutions:

ξ= ( 2+μ )± ( 2+μ ) 2 4 2

For the numerical scheme to be stable, the amplification factor must satisfy:

| ξ |1 ( 2+μ ) 2 404μ0

Substituting the expression for μ :

42 λ 2 ( cos( k x h )+cos( k y h )+cos( k z h )3 )0 (42)

Since | cos( m ) |1 , then

λ 2 1 3 λ 1 3 orλ 1 3 (43)

or equivalently:

| λ | 1 3 Δt h c 3 | ξ |1 (44)

The stability of the three-dimensional FTCS scheme is governed by the (CFL) condition (44). This fundamental stability criterion prevents numerical instabilities that could lead to oscillatory solutions or divergence in the computational results.

The operator family C( Δt ) is said to be a convergent approximation to the true solution operator E( t ) if, for any initial value u 0 ( x,y,z,t ) , and for any sequence of time steps Δ j t and integers n j satisfying:

Δ j t0and n j Δ j tt[ 0,T ],

then the iterated approximation converges to the true solution:

( C( Δ j t ) ) n j u 0 ( x,y,z,t )E( t ) u 0 ( x,y,z,t ) 0,forallt[ 0,T ].

where E( t ) is the exact evolution operator, u 0 ( x,y,z,t ) is the initial condition, C( Δt ) is a numerical approximation of the evolution over a time step Δt and

u i,j,k n ( x,y,z,t )=C ( Δt ) n u 0 ( x,y,z,t ).

after iterating the approximate operator C( Δt ) n times which gives the numerical approximation at time t=nΔt . The hope is that as Δt0 , this approximation converges to the true solution.

A numerical scheme such as FTCS is said to be stable if, under successive refinements of the time step Δ j t0 , the computed solution remains bounded over the time interval of interest.

For such a scheme, the operators used during the computation are drawn from the set

{ C ( Δ j t ) n },j=1,2,3,,

where n satisfies 0n Δ j t<T . These operators act on the initial condition u 0 to produce approximations at discrete time levels.

Stability refers to the property that no component of the initial data is allowed to grow without bound due to the numerical procedure.

The approximation C( Δt ) is said to be stable if the set of operators { C ( Δ j t ) n } is uniformly bounded. This means there exists a constant K>0 such that

C ( Δ j t ) n K,foralljandallnsuchthat0n Δ j t<T.

The operator norm C ( Δt ) n depends continuously on Δt for very small values. Therefore, C( Δt ) is stable if there exists τ>0 such that for all 0<Δtτ and all n with nΔtT , the operators

{ C ( Δt ) n }

remain uniformly bounded. Specifically, there exists a constant K>0 such that

C ( Δt ) n K,forallΔt( 0,τ ]andallnwithnΔtT.

Theorem 1. Lax Equivalence: For a uniformly solvable linear finite difference scheme that approximates a well-posed linear evolution problem, stability constitutes both a necessary and sufficient condition for convergence, provided the scheme is consistent

Proof. Proof of Sufficiency of the Lax Equivalence Theorem Let u( x,y,z,t )M be a sufficiently smooth solution of the 3D wave equation in finite differences, then,

P 1 ( U m+1 u m+1 )= P 0 ( U m u m ) T m ,

U m+1 u m+1 =( P 1 1 P 0 )( U m u m ) P 1 1 T m .

by truncation error where M is a Banach space, P 0 and P 1 are difference operators which are not functions of on m and

T m = P 1 u m+1 [ P 0 u m + F m ],

is the truncation error of the finite difference scheme. Recursively, and by assuming U 0 = u 0 , obtaining

U m u m = l=0 m1 ( P 1 1 P 0 ) l P 1 1 T ml1 .

Therefore, by the uniform solvability

P 1 1 Kτ

and the stability

( P 1 1 P 0 ) l K 1 ,

this gives

U m u m K K 1 τ l=0 m1 T l ,m>0,K>0

Assuming consistency, then

lim τ( h )0 U m u m =0,0mτ t max .

For a general solution u( x,y,z,t ) , let ζ α ( x,y,z,t ) be the smooth solution sequence satisfying

lim α ζ α 0 u 0 0.

ε>0 , A>0 , such that ζ α 0 u 0 <ε for all α>A .

For fixed β>A , let ζ β m ( x,y,z,t ) be the solution of the difference.

For fixed β>A , let ζ β m be the solution of the difference scheme with ζ β 0 = ζ 1 β 0 .

ε>0 , h( ε )>0 , s.t. ζ β m ζ 1 β m <ε , for all h<h( ε ) .

Thus, by the stability and the uniform invertibility of the scheme and the well-posedness of the problem that, if h<h( ε ) , then

U m u m U m ζ β m + ζ β m ζ 1 β m + ζ 1 β m u m ( K 1 +1+C )ε.

then

lim τ( h )0 U m u m =0,0mτ t max .

since ε is picked arbitrarily.

To complete the stability analysis and establish convergence of the explicit central-time central-space (leapfrog) scheme for the three-dimensional wave equation, we now examine its consistency. Consistency quantifies how accurately the discrete difference operators approximate the continuous partial differential equation at each grid point.

Local Truncation Error

Let u( x,y,z,t ) be a sufficiently smooth solution of the three-dimensional wave equation

2 u t 2 c 2 ( 2 u x 2 + 2 u y 2 + 2 u z 2 )=0.

local truncation error T i,j,k n as the residual obtained when the exact solution is substituted into the finite difference scheme (21). Assuming uniform grid spacing Δx=Δy=Δz=h and time step Δt , the scheme is:

u n+1 2 u n + u n1 Δ t 2 c 2 ( u i+1,j,k n 2 u i,j,k n + u i1,j,k n h 2 + u i,j+1,k n 2 u i,j,k n + u i,j1,k n h 2 + u i,j,k+1 n 2 u i,j,k n + u i,j,k1 n h 2 )= T i,j,k n .

Expanding each term about the point ( x i , y j , z k , t n ) using Taylor series with remainder:

u n+1 =u+Δt  u t + Δ t 2 2 u tt + Δ t 3 6 u ttt + Δ t 4 24 u tttt +O( Δ t 5 ),

u n1 =uΔt  u t + Δ t 2 2 u tt Δ t 3 6 u ttt + Δ t 4 24 u tttt +O( Δ t 5 ),

u i±1,j,k =u±h  u x + h 2 2 u xx ± h 3 6 u xxx + h 4 24 u xxxx +O( h 5 ),

u i,j±1,k =u±h  u y + h 2 2 u yy ± h 3 6 u yyy + h 4 24 u yyyy +O( h 5 ),

u i,j,k±1 =u±h  u z + h 2 2 u zz ± h 3 6 u zzz + h 4 24 u zzzz +O( h 5 ).

Substituting these expansions into the finite difference stencil yields:

u n+1 2 u n + u n1 Δ t 2 = u tt + Δ t 2 12 u tttt +O( Δ t 4 ),

u i+1,j,k n 2 u i,j,k n + u i1,j,k n h 2 = u xx + h 2 12 u xxxx +O( h 4 ),

with analogous expressions for the y and z directions.

The local truncation error therefore evaluates to:

T i,j,k n =( u tt c 2 ( u xx + u yy + u zz ) )+ Δ t 2 12 u tttt c 2 h 2 12 ( u xxxx + u yyyy + u zzzz ) +O( Δ t 4 , h 4 ,Δ t 2 h 2 ).

The leading-order term in parentheses vanishes identically because u satisfies the wave equation. Hence, the local truncation error reduces to:

T i,j,k n = Δ t 2 12 u tttt c 2 h 2 12 ( u xxxx + u yyyy + u zzzz )+O( Δ t 4 , h 4 ,Δ t 2 h 2 ). (45)

4. Results and Discussion

To quantify stability, we monitor the discrete total energy. For the continuous wave equation, the total energy is conserved and given by:

E( t )= 1 2 Ω [ u t 2 + c 2 | u | 2 ]dΩ .

The discrete counterpart is computed at each time level n as:

E n = 1 2 i,j,k [ ( u i,j,k n+1 u i,j,k n1 2Δt ) 2 + c 2 ( ( u i+1,j,k n u i1,j,k n 2Δx ) 2 + ( u i,j+1,k n u i,j1,k n 2Δy ) 2 + ( u i,j,k+1 n u i,j,k1 n 2Δz ) 2 ) ]ΔxΔyΔz.

The first term approximates kinetic energy via central difference velocity; the remaining terms approximate potential energy via spatial gradients. Conservation of E n (boundedness with no secular growth) indicates numerical stability, while growth signals CFL violation. To demonstrate how the FTCS scheme performs under different stability regions, numerical simulations of the three-dimensional wave equation problem have been conducted, presented and analyzed. These sim-

ulations employ varying values of the combined stability parameter Δt h 3 c ,

showcasing the scheme’s behavior across different stability conditions fixing Δx=Δy=Δz=h=0.001 and Δt=0.00001 . The numerical investigation presents the evolution of total energy over time for a three-dimensional wave equation discretized using an explicit FDM [14]. The primary objective was to assess the stability and convergence behavior of the scheme under varying CFL numbers.

Numerical simulations of wave propagation exhibit strong dependence on the CFL number, as demonstrated by these results. Figures 1-4 show effects of varying CFL numbers (0.200, 0.300 and 0.500) less than the maximum CFL number needed for stability of the explicit numerical scheme, the results demonstrate consistent, oscillatory behavior in the total energy profiles [9] [16] [17]. The total energy remains bounded and exhibits no secular growth, which is characteristic of a numerically stable scheme. These results confirm that the discretization conserves energy to a satisfactory degree, thereby supporting both the stability and convergence of the method under sub-critical CFL conditions.

Figure 1. Energy distribution over time for CFL = 0.200.

Figure 2. Energy conservation for CFL = 0.200.

Figure 3. Energy conservation for CFL = 0.300.

Figure 4. Energy conservation for CFL = 0.500.

Figure 5. Energy conservation for CFL = 0.600.

Figure 6. Energy conservation for CFL = 0.800.

However, Figure 5 and Figure 6 show the effects of varying extreme CFL values (0.600 and 0.800) on the stability of the numerical method use and it can be observed that the numerical solution becomes unstable. This is evident in the monotonic growth of total energy over time. The presence of unbounded energy amplification is an indicator of numerical instability and a breakdown of the stability criterion.

4.1. Definition of Total Energy

To quantify stability, we monitor the discrete total energy. For the continuous wave equation, the total energy is conserved and given by:

E( t )= 1 2 Ω [ u t 2 + c 2 | u | 2 ]dΩ .

The discrete counterpart is computed at each time level n as:

E n = 1 2 i,j,k [ ( u i,j,k n+1 u i,j,k n1 2Δt ) 2 + c 2 ( ( u i+1,j,k n u i1,j,k n 2Δx ) 2 + ( u i,j+1,k n u i,j1,k n 2Δy ) 2 + ( u i,j,k+1 n u i,j,k1 n 2Δz ) 2 ) ]ΔxΔyΔz.

4.2. Numerical Simulation Parameters

To ensure reproducibility of the numerical experiments presented in this section, the article documents below the complete set of simulation parameters, initial and boundary conditions, and discretization details used in all runs.

4.2.1. Computational Domain and Discretization

Domain extents: Ω=[ 0, L x ]×[ 0, L y ]×[ 0, L z ] with L x = L y = L z =1.0 , Grid spacing: Uniform grid with Δx=Δy=Δz=h=0.001 and Grid resolution: N x = N y = N z =1000 grid points in each direction, yielding 109 degrees of freedom per time level. Time step: Fixed at Δt=1× 10 5 s for all simulations. Wave speed: c=1.0 m/s (normalized). CFL number: Defined as λ= cΔt/h . For the above parameters, λ=0.01 is the baseline. To test stability limits, the reported CFL values (0.200, 0.300, 0.500, 0.600, 0.800) are achieved by artificially scaling the wave speed c while holding Δt and h fixed, or equivalently by reporting the λ value directly. This approach isolates the effect of the CFL parameter without altering the spatial/temporal resolution. Final time: T=0.01s (1000 time steps for baseline Δt ; proportionally fewer steps for larger Δt when c is scaled).

4.2.2. Initial Conditions

The following initial conditions are imposed at t=0 :

u( x,y,z,0 )=f( x,y,z )=Aexp( ( x x 0 ) 2 + ( y y 0 ) 2 + ( z z 0 ) 2 σ 2 ), (46)

u t ( x,y,z,0 )=g( x,y,z )=0( zero initial velocity ). (47)

Parameters for the Gaussian pulse: Amplitude: A=1.0 , Center: ( x 0 , y 0 , z 0 )=( 0.5,0.5,0.5 ) and Width: σ=0.05 . Zero initial velocity ( g=0 ) ensures the wave splits symmetrically into left- and right-propagating components.

4.2.3. Boundary Conditions

We employ homogeneous Dirichlet (zero displacement) conditions on all boundaries:

u( 0,y,z,t )=u( L x ,y,z,t )=0, (48)

u( x,0,z,t )=u( x, L y ,z,t )=0, (49)

u( x,y,0,t )=u( x,y, L z ,z,t )=0. (50)

These conditions model a fully reflective boundary. The Neumann conditions listed in Section 3 are not active in the production runs; they are included for theoretical completeness.

4.2.4. First Time Step Initialization

The leapfrog scheme is a three-level method requiring u 0 and u 1 to commence time stepping. We initialize u 0 using the Gaussian pulse (46). The first time step u 1 is computed via a second-order Taylor series expansion:

u 1 u 0 +Δt u t 0 + Δ t 2 2 u tt 0 = u 0 + c 2 Δ t 2 2 2 u 0 , (51)

since u t 0 =0 and u tt 0 = c 2 2 u 0 from the wave equation. The Laplacian 2 u 0 is evaluated using the same second-order central difference stencil employed in the main scheme. This initialization preserves second-order accuracy in time. Direct simulation on a 10003 grid (109 points) is computationally intensive. The energy profiles presented in Figures 1-6 are obtained from a representative 1003 subset of the full domain, or from simulations coarsened to h=0.01 with correspondingly adjusted Δt to maintain the reported CFL numbers. All qualitative stability conclusions remain unchanged under grid refinement.

5. Conclusions

This article extends the explicit finite difference method to the three-dimensional wave equation, developing an explicit central difference scheme that is second-order accurate in both space and time. Stability analysis by applying von-Neumann technique yields a CFL condition involving all three spatial step sizes, ensuring conditional stability. Given consistency and stability, convergence of the method is guaranteed, making this scheme effective for simulating wave models in three-dimensional domains [12].

This study confirms that explicit wave simulations require strict adherence to

the CFL condition, with values 1 3 necessary to maintain stability. Relevant

researchers, designers and developers are advised to adopt conservative CFL values to mitigate discretization errors while retaining computational feasibility. Energy monitoring should be routine, as its divergence provides an early warning of instability. For simulations requiring larger time steps, alternative approaches such as implicit methods warrant consideration. Further research should explore CFL effects in higher dimensions and across different numerical schemes to refine these guidelines for broader applications.

Data Availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Funding Statement

This research was not funded by any institution.

Acknowledgements

The author acknowledges the Almighty God for the provision of health and sound mind during the development of this article.

Declaration of Generative AI and AI-Assisted Technologies in the Manuscript Preparation Process

During the preparation of this work, the author used Grammarly in order to improve grammar. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the published article.

Conflicts of Interest

The authors declare to have no conflicts of interest regarding publication of this article.

References

[1] Zhou, H., Liu, Y. and Wang, J. (2021) Acoustic Finite-Difference Modeling beyond Conventional Courant-Friedrichs-Lewy Stability Limit: Approach Based on Variable-Length Temporal and Spatial Operators. Earthquake Science, 34, 123-136.[CrossRef]
[2] Kovács, E., Saleh, M., Barna, F. and Mátyás, L. (2022) New Analytical Results and Numerical Schemes for Irregular Diffusion Processes. Diffusion Fundamentals, 35, Article No. 70.[CrossRef]
[3] Alcubierre, M., Brügmann, B., Dramlitsch, T., Font, J.A., Papadopoulos, P., Seidel, E., et al. (2000) Towards a Stable Numerical Evolution of Strongly Gravitating Systems in General Relativity: The Conformal Treatments. Physical Review D, 62, Article ID: 044034.[CrossRef]
[4] Balzano, A. (1998) Evaluation of Methods for Numerical Simulation of Wetting and Drying in Shallow Water Flow Models. Coastal Engineering, 34, 83-107.[CrossRef]
[5] Dörfler, W., Hochbruck, M., Köhler, J., Rieder, A., Schnaubelt, R. and Wieners, C. (2023) Wave Phenomena: Mathematical Analysis and Numerical Approximation. Volume 49, Springer Nature.
[6] Hudson, J., Sweby, P.K. and Baines, M.J. (1998) Numerical Techniques for Conservation Laws with Source Terms. Technical Report, Citeseer.
[7] Soni, N., Shekawat, A., Ansumali, S. and Diwakar, S.V. (2024) Explicit Time Marching Method with Enhanced Stability. Physical Review E, 110, Article ID: 045302.[CrossRef] [PubMed]
[8] Liu, Y. (2020) Maximizing the CFL Number of Stable Time-Space Domain Explicit Finite-Difference Modeling. Journal of Computational Physics, 416, Article ID: 109501.[CrossRef]
[9] Krivodonova, L., Xin, J., Remacle, J.-., Chevaugeon, N. and Flaherty, J.E. (2004) Shock Detection and Limiting with Discontinuous Galerkin Methods for Hyperbolic Conservation Laws. Applied Numerical Mathematics, 48, 323-338.[CrossRef]
[10] Tuesday, K., Kinyanjui, M.N. and Giterere, K. (2023) Unsteady Hydromagnetic Non-Newtonian Nanofluid Flow Past a Porous Stretching Sheet in the Presence of Variable Magnetic Field and Chemical Reaction. Journal of Applied Mathematics and Physics, 11, 2545-2567.[CrossRef]
[11] Tuesday, K., Danny, M., Nictor, M., Matindih, L., Mwale, C. and Jere, S. (2024) Time-Dependent Magnetohydrodynamic Non-Newtonian Nanofluid Flow with Lorentz Force, Viscous Dissipation and Thermophoresis between Parallel Plates. Applied and Computational Mathematics, 13, 224-235.[CrossRef]
[12] Peterseim, D. and Schedensack, M. (2017) Relaxing the CFL Condition for the Wave Equation on Adaptive Meshes. Journal of Scientific Computing, 72, 1196-1213.[CrossRef]
[13] Danny, M., Kafunda, T., Christian, K. and Stanley, J. (2024) Analysis on Heat and Mass Transfer in Boundary Layer Nonnewtonian Nanofluid Flow past a Vertically Stretching Porous Plate with Chemical Reaction, Variable Magnetic Field and Variable Thermal Conductivity. International Journal of Advanced Applied Mathematics and Mechanics, 11, 1-14.
[14] Tuesday, K., Kelvin, M., Timothy, O. and Daniel, M. (2025) Tangent-Hyperbolic Casson Nanofluid Flow over a Porous Stretching Surface with Chemical Reaction and Additional Stress Effects. Authorea Preprints.
[15] Kafunda, T., Danny, M. and Mwamba, N. (2024) Hydromagnetic Nanofluid Flow with Lorentz Force, Viscous Dissipation, Dufour Effect, First-Order Chemical Reaction and Unsteadiness. Journal of Innovative Applied Mathematics and Computational Sciences, 4, 137-152.
[16] Katakwe, A., Mukonda, D., Matindih, L.K., Kafunda, T., Jere, S. and Davy, K. (2025) Existence and Uniqueness of Solutions of System of Linear Equations and Non-Linear Differential Equations Using Modular b-Metric Integral Type Contractions.
[17] Sikoongo, C., Mukonda, D., Matindih, L.K., Mwamba, N., Hamweene, O., Mwale, C. and Kafunda, T. (2025) Applications of Metric Spaces in Computational Complexity Theory.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.