Shock- and rarefaction-paths for isothermal equations

A simple file which has as output the correct intermediate state for a Riemann problem for the isothermal equations.
24 Downloads
Updated 15 Nov 2018

View License

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
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.2

Updated the description.

1.0.1

test

1.0.0