Courant-Friedrichs-Lewy Condition for Analysis of Convergence and Stability of Explicit Forward Time Central Space Scheme for Three-Dimensional Wave Equation ()
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
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
(1)
where
is the wave displacement,
is the spatial coordinate vector,
is time, and
is the constant wave speed [5] [9]. As discussed in [10]-[12], the Laplacian operator in three dimensions is
(2)
(3)
For one dimensional wave equation describing vibrations on a string given by
(4)
has a general solution consists of two traveling waves:
(5)
where:
is a right-moving wave,
is a left-moving wave,
is the wave propagation speed,
and
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:
(6)
and
(7)
which defines the magnitude of the velocity at which the wavefronts move through space. where
are spatial components of the wave vector
, which determine the direction of wave propagation in 3D space,
is the angular frequency, which determines how fast the wave oscillates in time,
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
—the wave equation requires approximation of the second-order time derivative
. This is accomplished by three-level central difference:
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 (
and
), making it a two-step explicit method. We discretize the cubic spatial domain
uniformly:
for integers
,
,
and
,
where
Time is discretized as
with time step
.
The numerical solution approximating
is denoted by
.
We define a uniform grid over the domain:
and let
. The following are the central differences in both time and space according to [9] [12]-[14]
(8)
(9)
(10)
(11)
Substituting these into Equation (3), the explicit finite difference updated scheme is:
(12)
(13)
(14)
(15)
CFL condition for the stability of explicit finite difference schemes applied to the three-dimensional wave equation and uniform grid, the time step
must satisfy:
(16)
where
= wave propagation speed,
= time step size and
= spatial grid spacing in
respectively. Using a uniform grid spacing
the CFL condition reduces to
Let the CFL number be:
According to [15], the finite difference formula become:
(17)
(18)
(19)
(20)
Substituting in (13)
(21)
(22)
To ensure stability, the CFL condition must be satisfied:
2.2. Boundary Conditions
(23)
(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
and
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 (
and
), 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:
(25)
Substituting the Fourier mode into each term:
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
where
,
is the amplification factor and
are wave numbers in each spatial direction.
Substituting into the scheme (21) leads to the relation
(37)
Factor out the common term
from both sides of Equation (37) to get
(38)
Applying the Euler’s identity
Equation (38) becomes
(39)
Using a uniform grid spacing
Equation (39) becomes
(40)
Suppose a parameter
(41)
Then Equation (40) becomes
Assume a solution of the form
. Substituting gives:
This characteristic equation has solutions:
For the numerical scheme to be stable, the amplification factor must satisfy:
Substituting the expression for
:
(42)
Since
, then
(43)
or equivalently:
(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
is said to be a convergent approximation to the true solution operator
if, for any initial value
, and for any sequence of time steps
and integers
satisfying:
then the iterated approximation converges to the true solution:
where
is the exact evolution operator,
is the initial condition,
is a numerical approximation of the evolution over a time step
and
after iterating the approximate operator
times which gives the numerical approximation at time
. The hope is that as
, 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
, 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
where
satisfies
. These operators act on the initial condition
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
is said to be stable if the set of operators
is uniformly bounded. This means there exists a constant
such that
The operator norm
depends continuously on
for very small values. Therefore,
is stable if there exists
such that for all
and all
with
, the operators
remain uniformly bounded. Specifically, there exists a constant
such that
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
be a sufficiently smooth solution of the 3D wave equation in finite differences, then,
by truncation error where
is a Banach space,
and
are difference operators which are not functions of on
and
is the truncation error of the finite difference scheme. Recursively, and by assuming
, obtaining
Therefore, by the uniform solvability
and the stability
,
this gives
Assuming consistency, then
For a general solution
, let
be the smooth solution sequence satisfying
,
, such that
for all
.
For fixed
, let
be the solution of the difference.
For fixed
, let
be the solution of the difference scheme with
.
,
, s.t.
, for all
.
Thus, by the stability and the uniform invertibility of the scheme and the well-posedness of the problem that, if
, then
then
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
be a sufficiently smooth solution of the three-dimensional wave equation
local truncation error
as the residual obtained when the exact solution is substituted into the finite difference scheme (21). Assuming uniform grid spacing
and time step
, the scheme is:
Expanding each term about the point
using Taylor series with remainder:
Substituting these expansions into the finite difference stencil yields:
with analogous expressions for the
and
directions.
The local truncation error therefore evaluates to:
The leading-order term in parentheses vanishes identically because
satisfies the wave equation. Hence, the local truncation error reduces to:
(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:
The discrete counterpart is computed at each time level
as:
The first term approximates kinetic energy via central difference velocity; the remaining terms approximate potential energy via spatial gradients. Conservation of
(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
,
showcasing the scheme’s behavior across different stability conditions fixing
and
. 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:
The discrete counterpart is computed at each time level
as:
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:
with
, Grid spacing: Uniform grid with
and Grid resolution:
grid points in each direction, yielding 109 degrees of freedom per time level. Time step: Fixed at
s for all simulations. Wave speed:
m/s (normalized). CFL number: Defined as
. For the above parameters,
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
while holding
and
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:
(1000 time steps for baseline
; proportionally fewer steps for larger
when
is scaled).
4.2.2. Initial Conditions
The following initial conditions are imposed at
:
(46)
(47)
Parameters for the Gaussian pulse: Amplitude:
, Center:
and Width:
. Zero initial velocity (
) 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:
(48)
(49)
(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
and
to commence time stepping. We initialize
using the Gaussian pulse (46). The first time step
is computed via a second-order Taylor series expansion:
(51)
since
and
from the wave equation. The Laplacian
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
with correspondingly adjusted
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
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.