In some situations, the shock wave is not stationary. This kind of situation arises in many industrial applications. For example, when a valve is suddenly 5.4 closed and a shock propagates upstream. On the other extreme, when a valve is suddenly opened or a membrane is ruptured, a shock occurs and propagates downstream (the opposite direction of the previous case). In some industrial applications, a liquid (metal) is pushed in two rapid stages to a cavity through a pipe system. This liquid (metal) is pushing gas (mostly) air, which creates two shock stages. As a general rule, the shock can move downstream or upstream. The last situation is the most general case, which this section will be dealing with. There are more genera cases where the moving shock is created which include a change in the physical properties, but this book will not deal with them at this stage. The reluctance to deal with the most general case is due to fact it is highly specialized and complicated even beyond early graduate students level. In these changes (of opening a valve and closing a valve on the other side) create situations in which different shocks are moving in the tube. The general case is where two shocks collide into one shock and moves upstream or downstream is the general case. A specific example is common in die-casting: after the first shock moves a second shock is created in which its velocity is dictated by the upstream and downstream velocities.
In cases where the shock velocity can be approximated as a constant (in the majority of cases) or as near constant, the previous analysis, equations, and the tools developed in this chapter can be employed. The problem can be reduced to the previously studied shock, i.e., to the stationary case when the coordinates are attached to the shock front. In such a case, the steady state is obtained in the moving control value.
For this analysis, the coordinates move with the shock. Here, the prime ' denote the values of the static coordinates. Note that this notation is contrary to the conventional notation found in the literature. The reason for the deviation is that this choice reduces the programing work (especially for object-oriented programing like C++). An observer moving with the shock will notice that the pressure in the shock is