The numerical predictions of cavitating flow around a marine propeller working in non-uniform inflow and an axial turbine are presented. The cavitating flow is modelled using the homogeneous (mixture) model. Time-dependent simulations are performed for the marine propeller case using OpenFOAM. Three calibrated mass transfer models are alternatively used to model the mass transfer rate due to cavitation and the two-equation SST (Shear Stress Transport) turbulence model is employed to close the system of the governing equations. The predictions of the cavitating flow in an axial turbine are carried out with ANSYS-CFX, where only the native mass transfer model with tuned parameters is used. Steady-state simulations are performed in combination with the SST turbulence model, while time-dependent results are obtained with the more advanced SAS (Scale Adaptive Simulation) SST model. The numerical results agree well with the available experimental measurements, and the simulations performed with the three different calibrated mass transfer models are close to each other for the propeller flow. Regarding the axial turbine the effect of the cavitation on the machine efficiency is well reproduced only by the time dependent simulations.