Analytic solution of the 1d Wave Equation

Computing the exact solution for a Gaussian profile governed by 1-d wave equation with free flow BCs or with perfectly reflecting BCs.
233 Downloads
Updated 20 May 2021

View License

I constructed this solution to verify the accuracy and stabitlity of some FD-compact schemes.
This solution, was obtained throught greens function approach using the method of images. (These details are not given here. I only write/compute the final expression from the analysis).
I believe, it will be very usefull for those looking to verify the accurary of numerical boundary conditions of linearized froms of Euler and/or Navier-Stokes equations.
Happy coding! : )

Cite As

Manuel A. Diaz (2024). Analytic solution of the 1d Wave Equation (https://www.mathworks.com/matlabcentral/fileexchange/92448-analytic-solution-of-the-1d-wave-equation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

1dWaveEqExactSolution

Version Published Release Notes
1.0.4

Change profile image

1.0.3

Add a minor correction and update profile image.

1.0.2

Correct typos in the description XP

1.0.1

Correct typo on the title :P

1.0.0