Thickness dependence of the magnetoelastic effect of CoFe2O4 films grown on piezoelectric substrates