CFD Debugging - Negative densities

I have written an inviscid 2D flow solver for supersonic flow over a wedge. I eventually want to get to viscid flow. However, I cannot seem to find the source of error where the density, pressures, and temperatures go negative. The mathematical schemes are the MUSCL and AUSM + UP if you're interested. Again, please let me know if you find anything.
Thanks,
Thomas

Answers (0)

Categories

Find more on Computational Fluid Dynamics (CFD) in Help Center and File Exchange

Asked:

on 16 Mar 2023

Community Treasure Hunt

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

Start Hunting!