Shock- and rarefaction-paths for isothermal equations
Shock- and rarefaction-paths for isothermal equations
This file computes the correct shock and rarefaction paths for the Riemann problem for the isothermal equations, given by
rho_t + m_x = 0
m_t + (m^2/rho+a^2 rho)_x=0.
The correct shock and rarefaction paths are plotted, and the correct intermediate state is given in the console.
The user can modify the speed of sound a, the left and right states and the plotting ranges.
Cite As
Jan Brekelmans (2024). Shock- and rarefaction-paths for isothermal equations (https://www.mathworks.com/matlabcentral/fileexchange/69447-shock-and-rarefaction-paths-for-isothermal-equations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.