A two-dimensional wave tank, velocity inlet, pressure outlet, top for pressure outlet, bottom for no slip wall.Write the inlet velocity function and the volume fraction of water in UDF.Compile outlet pressure and volume fraction.Use a sponge layer to eliminate waves.