One-dimensional compressible flow