A numerical trim variation study for ships operating in off-design conditions. The validation of RANS code results and the explanation of the physical effects of the flow around a hull subject to trim variation