I posted a complete mathematical solution about one mouse-wheel-scroll above your post.... ?
Why do I post this stuff when nobody even reads it - its not like it was 25 pages back..... its all about
resonance which in pipes is explained below.
When the valve is closed its a pipe with one end closed....see if you can figure it out.... *HINT* when the wave motion is zero... pressure is high.....
Organ Pipe Resonance
A nice video... when the flames are higher its because the pressure in the tube is high, when engine speed matches the resonance..... one
can make the pressure behind the valve higher. Note that in this case its a "closed-closed" tube so the resonance nodes are not in the
same location as they would be in an engine, but the principle is clear.
NB - Its possible to confuse this with what is always talked about as a variety of badly named effects like "ram tuning", "inertia tuning"
and so on - which often include discussion about the pressure wave moving up and down the pipe.
However both things are happening at once, it is the little zones of high pressure moving up and down the pipe at resonance which
creates the "standing waves" (waves which dont change) in the first place. The standing waves are the measurable manifestation
of the pressure pulses moving up and down the tube - so its simply two different ways of looking at exactly the same thing.
Source for below:
Tubes
View attachment 555851