Hello,
Ansys Fluent allows you to specify spatially and temporally varying boundary conditions, using Expressions or UDF's, using which you can simulate a vibration boundary condition. If you want to include the solid in the simulation and if it is rigid, you can use the "Six-DOF" option in the "Dynamic Mesh" tab of Ansys Fluent. If the motion is restricted to a particular direction, like in vibration, you can constraint the 6-DOF using the properties panel or a UDF.
Best,
Kalyan