IHFOAM is a set of solvers and boundary conditions to generate and absorb water waves actively at the boundaries and to simulate their interaction with porous coastal structures.
You can find all the information regarding the model at its web site: http://ihfoam.ihcantabria.com/
The detailed instructions on how to download, compile and run the code can be found at: http://openfoamwiki.net/index.php/Contrib/IHFOAM
Reference materials and test cases can be requested for free at: http://ihfoam.ihcantabria.com/source-download/