Skip to main content

MshockProg

Here’s a Java program which solves the reflected shock problem.

Please note: the simulation below is best viewed on a desktop computer. It may take a few minutes for the simulation to load.

General Instructions

To study the reflected shock problem, push the “Opposed” button on the blue bar at the top. Input to the program is made using the sliders, or input boxes at the lower left. To change the value of an input variable, simply move the slider. Or click on the input box, select and replace the old value, and hit Enter to send the new value to the program. For the reflected shock problem, set “Angle 2” to zero by moving the slider fully to the left. Output from the program is displayed in output boxes at the lower right. The user selects the Zone to display by using the choice button. The flow variables are presented as ratios to the previous zone (up) and to the free stream value (0). The graphic at the top shows the wedges in red and green and the shock wave generated by the wedge as a line. The line is colored blue for an oblique shock and magenta when the shock is a normal shock. The user can move the display by clicking on the graphic, holding down, and dragging the graphic. You can zoom in or out of the graphic by using the slider at the top. If you lose the graphic, click on “Find” to restore the initial display.

The ShockModeler simulation program, shown above, can also be used to study the intersection of multiple shock waves and the development of expansion fans.

Provide feedback