A finite difference method, known as the relaxation method, is generalized from a class of relaxation schemes with the ultimate aim of numerically modelling hydraulic jumps at a phase interface. This method has been applied previously to model gravity currents arising from the instantaneous release of a dense volume of fluid. The relaxation scheme is an iterative, second order accurate, time-marching method which is able to capture shocks and interfaces without front tracking or calculation of the eigenvalues of the Jacobian matrix for the flux vector. In this paper, the relaxation scheme will be described, with specific attention paid to the new generalizations included to account for boundary conditions, spatially dependent flux terms, and simple forcing terms. Numerical results will be compared with simple theory using the inviscid Burgers equation, permitting the simplicity of the scheme to be portrayed through this example. The more general case of the shallow-water equations for a single layer in one spatial dimension will then be modelled numerically for an initial release boundary value problem to show that the method is widely applicable to problems involving two fluids of large density differences such as air and water where the systems are sufficiently decoupled.
[1]
R. LeVeque,et al.
Numerical Methods for Conservation Laws: From Analysis to Algorithms
,
2017
.
[2]
M. Ungarish.
Shallow-water models for gravity currents/intrusions in double-continuous-stratification systems
,
2011
.
[3]
William E. Schiesser,et al.
Linear and nonlinear waves
,
2009,
Scholarpedia.
[4]
T. Moodie,et al.
Jump Conditions for Hyperbolic Systems of Forced Conservation Laws with an Application to Gravity Currents
,
2001
.
[5]
S. F. Davis,et al.
An interface tracking method for hyperbolic systems of conservation laws
,
1992
.
[6]
Z. Xin,et al.
The relaxation schemes for systems of conservation laws in arbitrary space dimensions
,
1995
.
[7]
W. Rockwell Geyer,et al.
Gravity currents: In the environment and the laboratory
,
1989
.