HYDRODYNAMICS OF A MODEL GAS IN A SLAB