OpenFOAM solver used is pimpleDyMFoam. pimpleDyMFoam is a transient solver for dealing with incompressible flow on a moving mesh using the PIMPLE (merged PISO-SIMPLE) algorithm. This is an example/tutorial from OpenFOAM test cases. OpenFOAM simulation files are also attached for download. Enjoy!