OpenFOAM Valve tutorial can be found in directory Water-valve/OpenFOAM-cases.
Tutorial directory consists of meshFactory folder, where the mesh is generated from STL files created in SALOME. There are also three cases with different valve plug positions ( 5, 8 and 11 mm opened ) and three bash scripts.