Analytic solution of the 1d Wave Equation
Versión 1.0.4 (3,68 KB) por
Manuel A. Diaz
Computing the exact solution for a Gaussian profile governed by 1-d wave equation with free flow BCs or with perfectly reflecting BCs.
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! : )
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.