Wave solves the (1D continuity, momentum, and energy) for unsteady gas flow. Instead of modeling the inside of the cylinder as a solid chunk, Wave treats ducts (pipes) as a series of meshes where pressure waves travel at the speed of sound.
The engine won't run without valves. WAVE requires specific data for the valves. ricardo wave tutorial